/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.29
 * 
 * This file is not intended to be easily readable and contains a number of 
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG 
 * interface file instead. 
 * ----------------------------------------------------------------------------- */

#define SWIGPYTHON
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE

#ifdef __cplusplus
template<class T> class SwigValueWrapper {
    T *tt;
public:
    SwigValueWrapper() : tt(0) { }
    SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
    SwigValueWrapper(const T& t) : tt(new T(t)) { }
    ~SwigValueWrapper() { delete tt; } 
    SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
    operator T&() const { return *tt; }
    T *operator&() { return tt; }
private:
    SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
};
#endif

/* -----------------------------------------------------------------------------
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 * ----------------------------------------------------------------------------- */

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC)
#   if (__SUNPRO_CC <= 0x560)
#     define SWIGTEMPLATEDISAMBIGUATOR template
#   else
#     define SWIGTEMPLATEDISAMBIGUATOR 
#   endif
# else
#   define SWIGTEMPLATEDISAMBIGUATOR 
# endif
#endif

/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#   define SWIGINLINE inline
# else
#   define SWIGINLINE
# endif
#endif

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__)) 
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__)) 
# else
#   define SWIGUNUSED 
# endif
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#  ifndef GCC_HASCLASSVISIBILITY
#    define GCC_HASCLASSVISIBILITY
#  endif
#endif

#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#     define SWIGEXPORT __attribute__ ((visibility("default")))
#   else
#     define SWIGEXPORT
#   endif
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif 
#endif

/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
# define _CRT_SECURE_NO_DEPRECATE
#endif


/* Python.h has to appear first */

    #ifndef __STDC_CONSTANT_MACROS
    #define __STDC_CONSTANT_MACROS
    #endif
    #ifndef __STDC_LIMIT_MACROS
    #define __STDC_LIMIT_MACROS
    #endif
    #ifndef DEBUG_PYTHON
    #undef _DEBUG
    #endif
    #include <Python.h>

/* -----------------------------------------------------------------------------
 * swigrun.swg
 *
 * This file contains generic CAPI SWIG runtime support for pointer
 * type checking.
 * ----------------------------------------------------------------------------- */

/* This should only be incremented when either the layout of swig_type_info changes,
   or for whatever reason, the runtime changes incompatibly */
#define SWIG_RUNTIME_VERSION "2"

/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
#ifdef SWIG_TYPE_TABLE
# define SWIG_QUOTE_STRING(x) #x
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
#else
# define SWIG_TYPE_TABLE_NAME
#endif

/*
  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
  creating a static or dynamic library from the swig runtime code.
  In 99.9% of the cases, swig just needs to declare them as 'static'.
  
  But only do this if is strictly necessary, ie, if you have problems
  with your compiler or so.
*/

#ifndef SWIGRUNTIME
# define SWIGRUNTIME SWIGINTERN
#endif

#ifndef SWIGRUNTIMEINLINE
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#endif

/*  Generic buffer size */
#ifndef SWIG_BUFFER_SIZE
# define SWIG_BUFFER_SIZE 1024
#endif

/* Flags for pointer conversions */
#define SWIG_POINTER_DISOWN        0x1

/* Flags for new pointer objects */
#define SWIG_POINTER_OWN           0x1


/* 
   Flags/methods for returning states.
   
   The swig conversion methods, as ConvertPtr, return and integer 
   that tells if the conversion was successful or not. And if not,
   an error code can be returned (see swigerrors.swg for the codes).
   
   Use the following macros/flags to set or process the returning
   states.
   
   In old swig versions, you usually write code as:

     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
       // success code
     } else {
       //fail code
     }

   Now you can be more explicit as:

    int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
    } else {
      // fail code
    }

   that seems to be the same, but now you can also do

    Type *ptr;
    int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
      if (SWIG_IsNewObj(res) {
        ...
	delete *ptr;
      } else {
        ...
      }
    } else {
      // fail code
    }
    
   I.e., now SWIG_ConvertPtr can return new objects and you can
   identify the case and take care of the deallocation. Of course that
   requires also to SWIG_ConvertPtr to return new result values, as

      int SWIG_ConvertPtr(obj, ptr,...) {         
        if (<obj is ok>) {			       
          if (<need new object>) {		       
            *ptr = <ptr to new allocated object>; 
            return SWIG_NEWOBJ;		       
          } else {				       
            *ptr = <ptr to old object>;	       
            return SWIG_OLDOBJ;		       
          } 				       
        } else {				       
          return SWIG_BADOBJ;		       
        }					       
      }

   Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
   more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
   swig errors code.

   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
   allows to return the 'cast rank', for example, if you have this

       int food(double)
       int fooi(int);

   and you call
 
      food(1)   // cast rank '1'  (1 -> 1.0)
      fooi(1)   // cast rank '0'

   just use the SWIG_AddCast()/SWIG_CheckState()


 */
#define SWIG_OK                    (0) 
#define SWIG_ERROR                 (-1)
#define SWIG_IsOK(r)               (r >= 0)
#define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)  

/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT         (1 << 8)
/* The NewMask denotes the object was created (using new/malloc) */
#define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
/* The TmpMask is for in/out typemaps that use temporal objects */
#define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
/* Simple returning values */
#define SWIG_BADOBJ                (SWIG_ERROR)
#define SWIG_OLDOBJ                (SWIG_OK)
#define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
#define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
/* Check, add and del mask methods */
#define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
#define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
#define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
#define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
#define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
#define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))


/* Cast-Rank Mode */
#if defined(SWIG_CASTRANK_MODE)
#  ifndef SWIG_TypeRank
#    define SWIG_TypeRank             unsigned long
#  endif
#  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
#    define SWIG_MAXCASTRANK          (2)
#  endif
#  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
#  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIGINTERNINLINE int SWIG_AddCast(int r) { 
  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
SWIGINTERNINLINE int SWIG_CheckState(int r) { 
  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; 
}
#else /* no cast-rank mode */
#  define SWIG_AddCast
#  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif




#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef void *(*swig_converter_func)(void *);
typedef struct swig_type_info *(*swig_dycast_func)(void **);

/* Structure to store inforomation on one type */
typedef struct swig_type_info {
  const char             *name;			/* mangled name of this type */
  const char             *str;			/* human readable name of this type */
  swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
  struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
  void                   *clientdata;		/* language specific type data */
  int                    owndata;		/* flag if the structure owns the clientdata */
} swig_type_info;

/* Structure to store a type and conversion function used for casting */
typedef struct swig_cast_info {
  swig_type_info         *type;			/* pointer to type that is equivalent to this type */
  swig_converter_func     converter;		/* function to cast the void pointers */
  struct swig_cast_info  *next;			/* pointer to next cast in linked list */
  struct swig_cast_info  *prev;			/* pointer to the previous cast */
} swig_cast_info;

/* Structure used to store module information
 * Each module generates one structure like this, and the runtime collects
 * all of these structures and stores them in a circularly linked list.*/
typedef struct swig_module_info {
  swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
  size_t                 size;		        /* Number of types in this module */
  struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
  swig_type_info         **type_initial;	/* Array of initially generated type structures */
  swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
  void                    *clientdata;		/* Language specific module data */
} swig_module_info;

/* 
  Compare two type names skipping the space characters, therefore
  "char*" == "char *" and "Class<int>" == "Class<int >", etc.

  Return 0 when the two name types are equivalent, as in
  strncmp, but skipping ' '.
*/
SWIGRUNTIME int
SWIG_TypeNameComp(const char *f1, const char *l1,
		  const char *f2, const char *l2) {
  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
    while ((*f1 == ' ') && (f1 != l1)) ++f1;
    while ((*f2 == ' ') && (f2 != l2)) ++f2;
    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
  }
  return (l1 - f1) - (l2 - f2);
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if not equal, 1 if equal
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
SWIG_TypeCompare(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}


/* think of this as a c++ template<> or a scheme macro */
#define SWIG_TypeCheck_Template(comparison, ty)         \
  if (ty) {                                             \
    swig_cast_info *iter = ty->cast;                    \
    while (iter) {                                      \
      if (comparison) {                                 \
        if (iter == ty->cast) return iter;              \
        /* Move iter to the top of the linked list */   \
        iter->prev->next = iter->next;                  \
        if (iter->next)                                 \
          iter->next->prev = iter->prev;                \
        iter->next = ty->cast;                          \
        iter->prev = 0;                                 \
        if (ty->cast) ty->cast->prev = iter;            \
        ty->cast = iter;                                \
        return iter;                                    \
      }                                                 \
      iter = iter->next;                                \
    }                                                   \
  }                                                     \
  return 0

/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
}

/* Same as previous function, except strcmp is replaced with a pointer comparison */
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
  SWIG_TypeCheck_Template(iter->type == from, into);
}

/*
  Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
}

/* 
   Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
  swig_type_info *lastty = ty;
  if (!ty || !ty->dcast) return ty;
  while (ty && (ty->dcast)) {
    ty = (*ty->dcast)(ptr);
    if (ty) lastty = ty;
  }
  return lastty;
}

/*
  Return the name associated with this type
*/
SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info *ty) {
  return ty->name;
}

/*
  Return the pretty name associated with this type,
  that is an unmangled type name in a form presentable to the user.
*/
SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info *type) {
  /* The "str" field contains the equivalent pretty names of the
     type, separated by vertical-bar characters.  We choose
     to print the last name, as it is often (?) the most
     specific. */
  if (!type) return NULL;
  if (type->str != NULL) {
    const char *last_name = type->str;
    const char *s;
    for (s = type->str; *s; s++)
      if (*s == '|') last_name = s+1;
    return last_name;
  }
  else
    return type->name;
}

/* 
   Set the clientdata field for a type
*/
SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  swig_cast_info *cast = ti->cast;
  /* if (ti->clientdata == clientdata) return; */
  ti->clientdata = clientdata;
  
  while (cast) {
    if (!cast->converter) {
      swig_type_info *tc = cast->type;
      if (!tc->clientdata) {
	SWIG_TypeClientData(tc, clientdata);
      }
    }    
    cast = cast->next;
  }
}
SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
  SWIG_TypeClientData(ti, clientdata);
  ti->owndata = 1;
}
  
/*
  Search for a swig_type_info structure only by mangled name
  Search is a O(log #types)
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info *start, 
                            swig_module_info *end, 
		            const char *name) {
  swig_module_info *iter = start;
  do {
    if (iter->size) {
      register size_t l = 0;
      register size_t r = iter->size - 1;
      do {
	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
	register size_t i = (l + r) >> 1; 
	const char *iname = iter->types[i]->name;
	if (iname) {
	  register int compare = strcmp(name, iname);
	  if (compare == 0) {	    
	    return iter->types[i];
	  } else if (compare < 0) {
	    if (i) {
	      r = i - 1;
	    } else {
	      break;
	    }
	  } else if (compare > 0) {
	    l = i + 1;
	  }
	} else {
	  break; /* should never happen */
	}
      } while (l <= r);
    }
    iter = iter->next;
  } while (iter != end);
  return 0;
}

/*
  Search for a swig_type_info structure for either a mangled name or a human readable name.
  It first searches the mangled names of the types, which is a O(log #types)
  If a type is not found it then searches the human readable names, which is O(#types).
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info *start, 
                     swig_module_info *end, 
		     const char *name) {
  /* STEP 1: Search the name field using binary search */
  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
  if (ret) {
    return ret;
  } else {
    /* STEP 2: If the type hasn't been found, do a complete search
       of the str field (the human readable name) */
    swig_module_info *iter = start;
    do {
      register size_t i = 0;
      for (; i < iter->size; ++i) {
	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
	  return iter->types[i];
      }
      iter = iter->next;
    } while (iter != end);
  }
  
  /* neither found a match */
  return 0;
}

/* 
   Pack binary data into a string
*/
SWIGRUNTIME char *
SWIG_PackData(char *c, void *ptr, size_t sz) {
  static const char hex[17] = "0123456789abcdef";
  register const unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    register unsigned char uu = *u;
    *(c++) = hex[(uu & 0xf0) >> 4];
    *(c++) = hex[uu & 0xf];
  }
  return c;
}

/* 
   Unpack binary data from a string
*/
SWIGRUNTIME const char *
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
  register unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu = u + sz;
  for (; u != eu; ++u) {
    register char d = *(c++);
    register unsigned char uu;
    if ((d >= '0') && (d <= '9'))
      uu = ((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = ((d - ('a'-10)) << 4);
    else 
      return (char *) 0;
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (d - ('a'-10));
    else 
      return (char *) 0;
    *u = uu;
  }
  return c;
}

/* 
   Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
  char *r = buff;
  if ((2*sizeof(void *) + 2) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,&ptr,sizeof(void *));
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
  strcpy(r,name);
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      *ptr = (void *) 0;
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
}

SWIGRUNTIME char *
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  char *r = buff;
  size_t lname = (name ? strlen(name) : 0);
  if ((2*sz + 2 + lname) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  if (lname) {
    strncpy(r,name,lname+1);
  } else {
    *r = 0;
  }
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      memset(ptr,0,sz);
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sz);
}

#ifdef __cplusplus
}
#endif

/*  Errors in SWIG */
#define  SWIG_UnknownError    	   -1 
#define  SWIG_IOError        	   -2 
#define  SWIG_RuntimeError   	   -3 
#define  SWIG_IndexError     	   -4 
#define  SWIG_TypeError      	   -5 
#define  SWIG_DivisionByZero 	   -6 
#define  SWIG_OverflowError  	   -7 
#define  SWIG_SyntaxError    	   -8 
#define  SWIG_ValueError     	   -9 
#define  SWIG_SystemError    	   -10
#define  SWIG_AttributeError 	   -11
#define  SWIG_MemoryError    	   -12 
#define  SWIG_NullReferenceError   -13



/* Python.h has to appear first */

    #ifndef __STDC_CONSTANT_MACROS
    #define __STDC_CONSTANT_MACROS
    #endif
    #ifndef __STDC_LIMIT_MACROS
    #define __STDC_LIMIT_MACROS
    #endif
    #ifndef DEBUG_PYTHON
    #undef _DEBUG
    #endif
    #include <Python.h>

/* Add PyOS_snprintf for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
#  define PyOS_snprintf _snprintf
# else
#  define PyOS_snprintf snprintf
# endif
#endif

/* A crude PyString_FromFormat implementation for old Pythons */
#if PY_VERSION_HEX < 0x02020000

#ifndef SWIG_PYBUFFER_SIZE
# define SWIG_PYBUFFER_SIZE 1024
#endif

static PyObject *
PyString_FromFormat(const char *fmt, ...) {
  va_list ap;
  char buf[SWIG_PYBUFFER_SIZE * 2];
  int res;
  va_start(ap, fmt);
  res = vsnprintf(buf, sizeof(buf), fmt, ap);
  va_end(ap);
  return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
}
#endif

/* Add PyObject_Del for old Pythons */
#if PY_VERSION_HEX < 0x01060000
# define PyObject_Del(op) PyMem_DEL((op))
#endif
#ifndef PyObject_DEL
# define PyObject_DEL PyObject_Del
#endif

/* A crude PyExc_StopIteration exception for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# ifndef PyExc_StopIteration
#  define PyExc_StopIteration PyExc_RuntimeError
# endif
# ifndef PyObject_GenericGetAttr
#  define PyObject_GenericGetAttr 0
# endif
#endif
/* Py_NotImplemented is defined in 2.1 and up. */
#if PY_VERSION_HEX < 0x02010000
# ifndef Py_NotImplemented
#  define Py_NotImplemented PyExc_RuntimeError
# endif
#endif


/* A crude PyString_AsStringAndSize implementation for old Pythons */
#if PY_VERSION_HEX < 0x02010000
# ifndef PyString_AsStringAndSize
#  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
# endif
#endif

/* PySequence_Size for old Pythons */
#if PY_VERSION_HEX < 0x02000000
# ifndef PySequence_Size
#  define PySequence_Size PySequence_Length
# endif
#endif


/* PyBool_FromLong for old Pythons */
#if PY_VERSION_HEX < 0x02030000
static
PyObject *PyBool_FromLong(long ok)
{
  PyObject *result = ok ? Py_True : Py_False;
  Py_INCREF(result);
  return result;
}
#endif


/* -----------------------------------------------------------------------------
 * error manipulation
 * ----------------------------------------------------------------------------- */

SWIGRUNTIME PyObject*
SWIG_Python_ErrorType(int code) {
  PyObject* type = 0;
  switch(code) {
  case SWIG_MemoryError:
    type = PyExc_MemoryError;
    break;
  case SWIG_IOError:
    type = PyExc_IOError;
    break;
  case SWIG_RuntimeError:
    type = PyExc_RuntimeError;
    break;
  case SWIG_IndexError:
    type = PyExc_IndexError;
    break;
  case SWIG_TypeError:
    type = PyExc_TypeError;
    break;
  case SWIG_DivisionByZero:
    type = PyExc_ZeroDivisionError;
    break;
  case SWIG_OverflowError:
    type = PyExc_OverflowError;
    break;
  case SWIG_SyntaxError:
    type = PyExc_SyntaxError;
    break;
  case SWIG_ValueError:
    type = PyExc_ValueError;
    break;
  case SWIG_SystemError:
    type = PyExc_SystemError;
    break;
  case SWIG_AttributeError:
    type = PyExc_AttributeError;
    break;
  default:
    type = PyExc_RuntimeError;
  }
  return type;
}


SWIGRUNTIME void
SWIG_Python_AddErrorMsg(const char* mesg)
{
  PyObject *type = 0;
  PyObject *value = 0;
  PyObject *traceback = 0;

  if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
  if (value) {
    PyObject *old_str = PyObject_Str(value);
    PyErr_Clear();
    Py_XINCREF(type);
    PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
    Py_DECREF(old_str);
    Py_DECREF(value);
  } else {
    PyErr_Format(PyExc_RuntimeError, mesg);
  }
}



#if defined(SWIG_PYTHON_NO_THREADS)
#  if defined(SWIG_PYTHON_THREADS)
#    undef SWIG_PYTHON_THREADS
#  endif
#endif
#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
#  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
#    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
#      define SWIG_PYTHON_USE_GIL
#    endif
#  endif
#  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
#    ifndef SWIG_PYTHON_INITIALIZE_THREADS
#     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads() 
#    endif
#    ifdef __cplusplus /* C++ code */
       class SWIG_Python_Thread_Block {
         bool status;
         PyGILState_STATE state;
       public:
         void end() { if (status) { PyGILState_Release(state); status = false;} }
         SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
         ~SWIG_Python_Thread_Block() { end(); }
       };
       class SWIG_Python_Thread_Allow {
         bool status;
         PyThreadState *save;
       public:
         void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
         SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
         ~SWIG_Python_Thread_Allow() { end(); }
       };
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
#      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end()
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow
#      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end()
#    else /* C code */
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
#      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block)
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread()
#      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow)
#    endif
#  else /* Old thread way, not implemented, user must provide it */
#    if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
#      define SWIG_PYTHON_INITIALIZE_THREADS
#    endif
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
#      define SWIG_PYTHON_THREAD_BEGIN_BLOCK
#    endif
#    if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
#      define SWIG_PYTHON_THREAD_END_BLOCK
#    endif
#    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
#      define SWIG_PYTHON_THREAD_BEGIN_ALLOW
#    endif
#    if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
#      define SWIG_PYTHON_THREAD_END_ALLOW
#    endif
#  endif
#else /* No thread support */
#  define SWIG_PYTHON_INITIALIZE_THREADS
#  define SWIG_PYTHON_THREAD_BEGIN_BLOCK
#  define SWIG_PYTHON_THREAD_END_BLOCK
#  define SWIG_PYTHON_THREAD_BEGIN_ALLOW
#  define SWIG_PYTHON_THREAD_END_ALLOW
#endif

/* -----------------------------------------------------------------------------
 * Python API portion that goes into the runtime
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#if 0
} /* cc-mode */
#endif
#endif

/* -----------------------------------------------------------------------------
 * Constant declarations
 * ----------------------------------------------------------------------------- */

/* Constant Types */
#define SWIG_PY_POINTER 4
#define SWIG_PY_BINARY  5

/* Constant information structure */
typedef struct swig_const_info {
  int type;
  char *name;
  long lvalue;
  double dvalue;
  void   *pvalue;
  swig_type_info **ptype;
} swig_const_info;

#ifdef __cplusplus
#if 0
{ /* cc-mode */
#endif
}
#endif


/* -----------------------------------------------------------------------------
 * See the LICENSE file for information on copyright, usage and redistribution
 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
 *
 * pyrun.swg
 *
 * This file contains the runtime support for Python modules
 * and includes code for managing global variables and pointer
 * type checking.
 *
 * ----------------------------------------------------------------------------- */

/* Common SWIG API */

/* for raw pointers */
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
#define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags)
#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
#define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(ptr, type, flags)
#define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty) 
#define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src)
#define swig_owntype                                    int

/* for raw packed data */
#define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type)

/* for class or struct pointers */
#define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
#define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)

/* for C or C++ function pointers */
#define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
#define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(ptr, type, 0)

/* for C++ member pointers, ie, member methods */
#define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type)


/* Runtime API */

#define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule()
#define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer)
#define SWIG_NewClientData(obj)                         PySwigClientData_New(obj)

#define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                            
#define SWIG_SetErrorMsg                        	SWIG_Python_SetErrorMsg				   
#define SWIG_ErrorType(code)                    	SWIG_Python_ErrorType(code)                        
#define SWIG_Error(code, msg)            		SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) 
#define SWIG_fail                        		goto fail					   


/* Runtime API implementation */

/* Error manipulation */

SWIGINTERN void 
SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
  SWIG_PYTHON_THREAD_BEGIN_BLOCK; 
  PyErr_SetObject(errtype, obj);
  Py_DECREF(obj);
  SWIG_PYTHON_THREAD_END_BLOCK;
}

SWIGINTERN void 
SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
  PyErr_SetString(errtype, (char *) msg);
  SWIG_PYTHON_THREAD_END_BLOCK;
}

#define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)

/* Set a constant value */

SWIGINTERN void
SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {   
  PyDict_SetItemString(d, (char*) name, obj);
  Py_DECREF(obj);                            
}

/* Append a value to the result obj */

SWIGINTERN PyObject*
SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyList_Check(result)) {
      PyObject *o2 = result;
      result = PyList_New(1);
      PyList_SetItem(result, 0, o2);
    }
    PyList_Append(result,obj);
    Py_DECREF(obj);
  }
  return result;
#else
  PyObject*   o2;
  PyObject*   o3;
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyTuple_Check(result)) {
      o2 = result;
      result = PyTuple_New(1);
      PyTuple_SET_ITEM(result, 0, o2);
    }
    o3 = PyTuple_New(1);
    PyTuple_SET_ITEM(o3, 0, obj);
    o2 = result;
    result = PySequence_Concat(o2, o3);
    Py_DECREF(o2);
    Py_DECREF(o3);
  }
  return result;
#endif
}

/* Unpack the argument tuple */

SWIGINTERN int
SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
{
  if (!args) {
    if (!min && !max) {
      return 1;
    } else {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", 
		   name, (min == max ? "" : "at least "), min);
      return 0;
    }
  }  
  if (!PyTuple_Check(args)) {
    PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
    return 0;
  } else {
    register int l = PyTuple_GET_SIZE(args);
    if (l < min) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
		   name, (min == max ? "" : "at least "), min, l);
      return 0;
    } else if (l > max) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
		   name, (min == max ? "" : "at most "), max, l);
      return 0;
    } else {
      register int i;
      for (i = 0; i < l; ++i) {
	objs[i] = PyTuple_GET_ITEM(args, i);
      }
      for (; l < max; ++l) {
	objs[l] = 0;
      }
      return i + 1;
    }    
  }
}

/* A functor is a function object with one single object argument */
#if PY_VERSION_HEX >= 0x02020000
#define SWIG_Python_CallFunctor(functor, obj)	        PyObject_CallFunctionObjArgs(functor, obj, NULL);
#else
#define SWIG_Python_CallFunctor(functor, obj)	        PyObject_CallFunction(functor, "O", obj);
#endif

/*
  Helper for static pointer initialization for both C and C++ code, for example
  static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
*/
#ifdef __cplusplus
#define SWIG_STATIC_POINTER(var)  var
#else
#define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var
#endif

/* -----------------------------------------------------------------------------
 * Pointer declarations
 * ----------------------------------------------------------------------------- */

/* Flags for new pointer objects */
#define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1)
#define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)

#define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1)

#ifdef __cplusplus
extern "C" {
#if 0
} /* cc-mode */
#endif
#endif

/*  How to access Py_None */
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#  ifndef SWIG_PYTHON_NO_BUILD_NONE
#    ifndef SWIG_PYTHON_BUILD_NONE
#      define SWIG_PYTHON_BUILD_NONE
#    endif
#  endif
#endif

#ifdef SWIG_PYTHON_BUILD_NONE
#  ifdef Py_None
#   undef Py_None
#   define Py_None SWIG_Py_None()
#  endif
SWIGRUNTIMEINLINE PyObject * 
_SWIG_Py_None(void)
{
  PyObject *none = Py_BuildValue("");
  Py_DECREF(none);
  return none;
}
SWIGRUNTIME PyObject * 
SWIG_Py_None(void)
{
  static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
  return none;
}
#endif

/* The python void return value */

SWIGRUNTIMEINLINE PyObject * 
SWIG_Py_Void(void)
{
  PyObject *none = Py_None;
  Py_INCREF(none);
  return none;
}

/* PySwigClientData */

typedef struct {
  PyObject *klass;
  PyObject *newraw;
  PyObject *newargs;
  PyObject *destroy;
  int delargs;
  int implicitconv;
} PySwigClientData;

SWIGRUNTIMEINLINE int 
SWIG_Python_CheckImplicit(swig_type_info *ty)
{
  PySwigClientData *data = (PySwigClientData *)ty->clientdata;
  return data ? data->implicitconv : 0;
}

SWIGRUNTIMEINLINE PyObject *
SWIG_Python_ExceptionType(swig_type_info *desc) {
  PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
  PyObject *klass = data ? data->klass : 0;
  return (klass ? klass : PyExc_RuntimeError);
}


SWIGRUNTIME PySwigClientData * 
PySwigClientData_New(PyObject* obj)
{
  if (!obj) {
    return 0;
  } else {
    PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
    /* the klass element */
    data->klass = obj;
    Py_INCREF(data->klass);
    /* the newraw method and newargs arguments used to create a new raw instance */
    if (PyClass_Check(obj)) {
      data->newraw = 0;
      data->newargs = obj;
      Py_INCREF(obj);
    } else {
#if (PY_VERSION_HEX < 0x02020000)
      data->newraw = 0;
#else
      data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
#endif
      if (data->newraw) {
	Py_INCREF(data->newraw);
	data->newargs = PyTuple_New(1);
	PyTuple_SetItem(data->newargs, 0, obj);
      } else {
	data->newargs = obj;
      }
      Py_INCREF(data->newargs);
    }
    /* the destroy method, aka as the C++ delete method */
    data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
    if (PyErr_Occurred()) {
      PyErr_Clear();
      data->destroy = 0;
    }
    if (data->destroy) {
      int flags;
      Py_INCREF(data->destroy);
      flags = PyCFunction_GET_FLAGS(data->destroy);
#ifdef METH_O
      data->delargs = !(flags & (METH_O));
#else
      data->delargs = 0;
#endif
    } else {
      data->delargs = 0;
    }
    data->implicitconv = 0;
    return data;
  }
}

SWIGRUNTIME void 
PySwigClientData_Del(PySwigClientData* data)
{
  Py_XDECREF(data->newraw);
  Py_XDECREF(data->newargs);
  Py_XDECREF(data->destroy);
}

/* =============== PySwigObject =====================*/

typedef struct {
  PyObject_HEAD
  void *ptr;
  swig_type_info *ty;
  int own;
  PyObject *next;
} PySwigObject;

SWIGRUNTIME PyObject *
PySwigObject_long(PySwigObject *v)
{
  return PyLong_FromVoidPtr(v->ptr);
}

SWIGRUNTIME PyObject *
PySwigObject_format(const char* fmt, PySwigObject *v)
{
  PyObject *res = NULL;
  PyObject *args = PyTuple_New(1);
  if (args) {
    if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
      PyObject *ofmt = PyString_FromString(fmt);
      if (ofmt) {
	res = PyString_Format(ofmt,args);
	Py_DECREF(ofmt);
      }
      Py_DECREF(args);
    }
  }
  return res;
}

SWIGRUNTIME PyObject *
PySwigObject_oct(PySwigObject *v)
{
  return PySwigObject_format("%o",v);
}

SWIGRUNTIME PyObject *
PySwigObject_hex(PySwigObject *v)
{
  return PySwigObject_format("%x",v);
}

SWIGRUNTIME PyObject *
#ifdef METH_NOARGS
PySwigObject_repr(PySwigObject *v)
#else
PySwigObject_repr(PySwigObject *v, PyObject *args)
#endif
{
  const char *name = SWIG_TypePrettyName(v->ty);
  PyObject *hex = PySwigObject_hex(v);    
  PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
  Py_DECREF(hex);
  if (v->next) {
#ifdef METH_NOARGS
    PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
#else
    PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
#endif
    PyString_ConcatAndDel(&repr,nrep);
  }
  return repr;  
}

SWIGRUNTIME int
PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
#ifdef METH_NOARGS
  PyObject *repr = PySwigObject_repr(v);
#else
  PyObject *repr = PySwigObject_repr(v, NULL);
#endif
  if (repr) {
    fputs(PyString_AsString(repr), fp);
    Py_DECREF(repr);
    return 0; 
  } else {
    return 1; 
  }
}

SWIGRUNTIME PyObject *
PySwigObject_str(PySwigObject *v)
{
  char result[SWIG_BUFFER_SIZE];
  return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
    PyString_FromString(result) : 0;
}

SWIGRUNTIME int
PySwigObject_compare(PySwigObject *v, PySwigObject *w)
{
  void *i = v->ptr;
  void *j = w->ptr;
  return (i < j) ? -1 : ((i > j) ? 1 : 0);
}

SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);

SWIGRUNTIME PyTypeObject*
PySwigObject_type(void) {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
  return type;
}

SWIGRUNTIMEINLINE int
PySwigObject_Check(PyObject *op) {
  return ((op)->ob_type == PySwigObject_type())
    || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
}

SWIGRUNTIME PyObject *
PySwigObject_New(void *ptr, swig_type_info *ty, int own);

SWIGRUNTIME void
PySwigObject_dealloc(PyObject *v)
{
  PySwigObject *sobj = (PySwigObject *) v;
  PyObject *next = sobj->next;
  if (sobj->own) {
    swig_type_info *ty = sobj->ty;
    PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
    PyObject *destroy = data ? data->destroy : 0;
    if (destroy) {
      /* destroy is always a VARARGS method */
      PyObject *res;
      if (data->delargs) {
	/* we need to create a temporal object to carry the destroy operation */
	PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
	res = SWIG_Python_CallFunctor(destroy, tmp);
	Py_DECREF(tmp);
      } else {
	PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
	PyObject *mself = PyCFunction_GET_SELF(destroy);
	res = ((*meth)(mself, v));
      }
      Py_XDECREF(res);
    } else {
      const char *name = SWIG_TypePrettyName(ty);
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
      printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
#endif
    }
  } 
  Py_XDECREF(next);
  PyObject_DEL(v);
}

SWIGRUNTIME PyObject* 
PySwigObject_append(PyObject* v, PyObject* next)
{
  PySwigObject *sobj = (PySwigObject *) v;
#ifndef METH_O
  PyObject *tmp = 0;
  if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
  next = tmp;
#endif
  if (!PySwigObject_Check(next)) {
    return NULL;
  }
  sobj->next = next;
  Py_INCREF(next);
  return SWIG_Py_Void();
}

SWIGRUNTIME PyObject* 
#ifdef METH_NOARGS
PySwigObject_next(PyObject* v)
#else
PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  PySwigObject *sobj = (PySwigObject *) v;
  if (sobj->next) {    
    Py_INCREF(sobj->next);
    return sobj->next;
  } else {
    return SWIG_Py_Void();
  }
}

SWIGINTERN PyObject*
#ifdef METH_NOARGS
PySwigObject_disown(PyObject *v)
#else
PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  PySwigObject *sobj = (PySwigObject *)v;
  sobj->own = 0;
  return SWIG_Py_Void();
}

SWIGINTERN PyObject*
#ifdef METH_NOARGS
PySwigObject_acquire(PyObject *v)
#else
PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
  PySwigObject *sobj = (PySwigObject *)v;
  sobj->own = SWIG_POINTER_OWN;
  return SWIG_Py_Void();
}

SWIGINTERN PyObject*
PySwigObject_own(PyObject *v, PyObject *args)
{
  PyObject *val = 0;
#if (PY_VERSION_HEX < 0x02020000)
  if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
#else
  if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) 
#endif
    {
      return NULL;
    } 
  else
    {
      PySwigObject *sobj = (PySwigObject *)v;
      PyObject *obj = PyBool_FromLong(sobj->own);
      if (val) {
#ifdef METH_NOARGS
	if (PyObject_IsTrue(val)) {
	  PySwigObject_acquire(v);
	} else {
	  PySwigObject_disown(v);
	}
#else
	if (PyObject_IsTrue(val)) {
	  PySwigObject_acquire(v,args);
	} else {
	  PySwigObject_disown(v,args);
	}
#endif
      } 
      return obj;
    }
}

#ifdef METH_O
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)PySwigObject_disown,  METH_NOARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)PySwigObject_own,     METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)PySwigObject_append,  METH_O,       (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)PySwigObject_next,    METH_NOARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)PySwigObject_repr,    METH_NOARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#else
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)PySwigObject_disown,  METH_VARARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)PySwigObject_own,     METH_VARARGS,  (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)PySwigObject_append,  METH_VARARGS,  (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)PySwigObject_next,    METH_VARARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)PySwigObject_repr,   METH_VARARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#endif

#if PY_VERSION_HEX < 0x02020000
SWIGINTERN PyObject *
PySwigObject_getattr(PySwigObject *sobj,char *name)
{
  return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
}
#endif

SWIGRUNTIME PyTypeObject*
_PySwigObject_type(void) {
  static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
  
  static PyNumberMethods PySwigObject_as_number = {
    (binaryfunc)0, /*nb_add*/
    (binaryfunc)0, /*nb_subtract*/
    (binaryfunc)0, /*nb_multiply*/
    (binaryfunc)0, /*nb_divide*/
    (binaryfunc)0, /*nb_remainder*/
    (binaryfunc)0, /*nb_divmod*/
    (ternaryfunc)0,/*nb_power*/
    (unaryfunc)0,  /*nb_negative*/
    (unaryfunc)0,  /*nb_positive*/
    (unaryfunc)0,  /*nb_absolute*/
    (inquiry)0,    /*nb_nonzero*/
    0,		   /*nb_invert*/
    0,		   /*nb_lshift*/
    0,		   /*nb_rshift*/
    0,		   /*nb_and*/
    0,		   /*nb_xor*/
    0,		   /*nb_or*/
    (coercion)0,   /*nb_coerce*/
    (unaryfunc)PySwigObject_long, /*nb_int*/
    (unaryfunc)PySwigObject_long, /*nb_long*/
    (unaryfunc)0,                 /*nb_float*/
    (unaryfunc)PySwigObject_oct,  /*nb_oct*/
    (unaryfunc)PySwigObject_hex,  /*nb_hex*/
#if PY_VERSION_HEX >= 0x02020000
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ 
#elif PY_VERSION_HEX >= 0x02000000
    0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
#endif
  };

  static PyTypeObject pyswigobject_type;  
  static int type_init = 0;
  if (!type_init) {
    const PyTypeObject tmp
      = {
	PyObject_HEAD_INIT(NULL)
	0,				    /* ob_size */
	(char *)"PySwigObject",		    /* tp_name */
	sizeof(PySwigObject),		    /* tp_basicsize */
	0,			            /* tp_itemsize */
	(destructor)PySwigObject_dealloc,   /* tp_dealloc */
	(printfunc)PySwigObject_print,	    /* tp_print */
#if PY_VERSION_HEX < 0x02020000
	(getattrfunc)PySwigObject_getattr,  /* tp_getattr */ 
#else
	(getattrfunc)0,			    /* tp_getattr */ 
#endif
	(setattrfunc)0,			    /* tp_setattr */ 
	(cmpfunc)PySwigObject_compare,	    /* tp_compare */ 
	(reprfunc)PySwigObject_repr,	    /* tp_repr */    
	&PySwigObject_as_number,	    /* tp_as_number */
	0,				    /* tp_as_sequence */
	0,				    /* tp_as_mapping */
	(hashfunc)0,			    /* tp_hash */
	(ternaryfunc)0,			    /* tp_call */
	(reprfunc)PySwigObject_str,	    /* tp_str */
	PyObject_GenericGetAttr,            /* tp_getattro */
	0,				    /* tp_setattro */
	0,		                    /* tp_as_buffer */
	Py_TPFLAGS_DEFAULT,	            /* tp_flags */
	swigobject_doc, 	            /* tp_doc */        
	0,                                  /* tp_traverse */
	0,                                  /* tp_clear */
	0,                                  /* tp_richcompare */
	0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
	0,                                  /* tp_iter */
	0,                                  /* tp_iternext */
	swigobject_methods,		    /* tp_methods */ 
	0,			            /* tp_members */
	0,				    /* tp_getset */	    	
	0,			            /* tp_base */	        
	0,				    /* tp_dict */	    	
	0,				    /* tp_descr_get */  	
	0,				    /* tp_descr_set */  	
	0,				    /* tp_dictoffset */ 	
	0,				    /* tp_init */	    	
	0,				    /* tp_alloc */	    	
	0,			            /* tp_new */	    	
	0,	                            /* tp_free */	   
        0,                                  /* tp_is_gc */  
	0,				    /* tp_bases */   
	0,				    /* tp_mro */
	0,				    /* tp_cache */   
 	0,				    /* tp_subclasses */
	0,				    /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
	0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
	0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
    pyswigobject_type = tmp;
    pyswigobject_type.ob_type = &PyType_Type;
    type_init = 1;
  }
  return &pyswigobject_type;
}

SWIGRUNTIME PyObject *
PySwigObject_New(void *ptr, swig_type_info *ty, int own)
{
  PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
  if (sobj) {
    sobj->ptr  = ptr;
    sobj->ty   = ty;
    sobj->own  = own;
    sobj->next = 0;
  }
  return (PyObject *)sobj;
}

/* -----------------------------------------------------------------------------
 * Implements a simple Swig Packed type, and use it instead of string
 * ----------------------------------------------------------------------------- */

typedef struct {
  PyObject_HEAD
  void *pack;
  swig_type_info *ty;
  size_t size;
} PySwigPacked;

SWIGRUNTIME int
PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
  char result[SWIG_BUFFER_SIZE];
  fputs("<Swig Packed ", fp); 
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    fputs("at ", fp); 
    fputs(result, fp); 
  }
  fputs(v->ty->name,fp); 
  fputs(">", fp);
  return 0; 
}
  
SWIGRUNTIME PyObject *
PySwigPacked_repr(PySwigPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
  } else {
    return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
  }  
}

SWIGRUNTIME PyObject *
PySwigPacked_str(PySwigPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
    return PyString_FromFormat("%s%s", result, v->ty->name);
  } else {
    return PyString_FromString(v->ty->name);
  }  
}

SWIGRUNTIME int
PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
{
  size_t i = v->size;
  size_t j = w->size;
  int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
  return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
}

SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);

SWIGRUNTIME PyTypeObject*
PySwigPacked_type(void) {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
  return type;
}

SWIGRUNTIMEINLINE int
PySwigPacked_Check(PyObject *op) {
  return ((op)->ob_type == _PySwigPacked_type()) 
    || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
}

SWIGRUNTIME void
PySwigPacked_dealloc(PyObject *v)
{
  if (PySwigPacked_Check(v)) {
    PySwigPacked *sobj = (PySwigPacked *) v;
    free(sobj->pack);
  }
  PyObject_DEL(v);
}

SWIGRUNTIME PyTypeObject*
_PySwigPacked_type(void) {
  static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
  static PyTypeObject pyswigpacked_type;
  static int type_init = 0;  
  if (!type_init) {
    const PyTypeObject tmp
      = {
	PyObject_HEAD_INIT(NULL)
	0,				    /* ob_size */	
	(char *)"PySwigPacked",		    /* tp_name */	
	sizeof(PySwigPacked),		    /* tp_basicsize */	
	0,				    /* tp_itemsize */	
	(destructor)PySwigPacked_dealloc,   /* tp_dealloc */	
	(printfunc)PySwigPacked_print,	    /* tp_print */   	
	(getattrfunc)0,			    /* tp_getattr */ 	
	(setattrfunc)0,			    /* tp_setattr */ 	
	(cmpfunc)PySwigPacked_compare,	    /* tp_compare */ 	
	(reprfunc)PySwigPacked_repr,	    /* tp_repr */    	
	0,	                            /* tp_as_number */	
	0,				    /* tp_as_sequence */
	0,				    /* tp_as_mapping */	
	(hashfunc)0,			    /* tp_hash */	
	(ternaryfunc)0,			    /* tp_call */	
	(reprfunc)PySwigPacked_str,	    /* tp_str */	
	PyObject_GenericGetAttr,            /* tp_getattro */
	0,				    /* tp_setattro */
	0,		                    /* tp_as_buffer */
	Py_TPFLAGS_DEFAULT,	            /* tp_flags */
	swigpacked_doc, 	            /* tp_doc */
	0,                                  /* tp_traverse */
	0,                                  /* tp_clear */
	0,                                  /* tp_richcompare */
	0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
	0,                                  /* tp_iter */
	0,                                  /* tp_iternext */
	0,		                    /* tp_methods */ 
	0,			            /* tp_members */
	0,				    /* tp_getset */	    	
	0,			            /* tp_base */	        
	0,				    /* tp_dict */	    	
	0,				    /* tp_descr_get */  	
	0,				    /* tp_descr_set */  	
	0,				    /* tp_dictoffset */ 	
	0,				    /* tp_init */	    	
	0,				    /* tp_alloc */	    	
	0,			            /* tp_new */	    	
	0, 	                            /* tp_free */	   
        0,                                  /* tp_is_gc */  
	0,				    /* tp_bases */   
	0,				    /* tp_mro */
	0,				    /* tp_cache */   
 	0,				    /* tp_subclasses */
	0,				    /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
	0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
	0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
    pyswigpacked_type = tmp;
    pyswigpacked_type.ob_type = &PyType_Type;
    type_init = 1;
  }
  return &pyswigpacked_type;
}

SWIGRUNTIME PyObject *
PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
{
  PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
  if (sobj) {
    void *pack = malloc(size);
    if (pack) {
      memcpy(pack, ptr, size);
      sobj->pack = pack;
      sobj->ty   = ty;
      sobj->size = size;
    } else {
      PyObject_DEL((PyObject *) sobj);
      sobj = 0;
    }
  }
  return (PyObject *) sobj;
}

SWIGRUNTIME swig_type_info *
PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
{
  if (PySwigPacked_Check(obj)) {
    PySwigPacked *sobj = (PySwigPacked *)obj;
    if (sobj->size != size) return 0;
    memcpy(ptr, sobj->pack, size);
    return sobj->ty;
  } else {
    return 0;
  }
}

/* -----------------------------------------------------------------------------
 * pointers/data manipulation
 * ----------------------------------------------------------------------------- */

SWIGRUNTIMEINLINE PyObject *
_SWIG_This(void)
{
  return PyString_FromString("this");
}

SWIGRUNTIME PyObject *
SWIG_This(void)
{
  static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
  return swig_this;
}

/* #define SWIG_PYTHON_SLOW_GETSET_THIS */

SWIGRUNTIME PySwigObject *
SWIG_Python_GetSwigThis(PyObject *pyobj) 
{
  if (PySwigObject_Check(pyobj)) {
    return (PySwigObject *) pyobj;
  } else {
    PyObject *obj = 0;
#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
    if (PyInstance_Check(pyobj)) {
      obj = _PyInstance_Lookup(pyobj, SWIG_This());      
    } else {
      PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
      if (dictptr != NULL) {
	PyObject *dict = *dictptr;
	obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
      } else {
#ifdef PyWeakref_CheckProxy
	if (PyWeakref_CheckProxy(pyobj)) {
	  PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
	  return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
	}
#endif
	obj = PyObject_GetAttr(pyobj,SWIG_This());
	if (obj) {
	  Py_DECREF(obj);
	} else {
	  if (PyErr_Occurred()) PyErr_Clear();
	  return 0;
	}
      }
    }
#else
    obj = PyObject_GetAttr(pyobj,SWIG_This());
    if (obj) {
      Py_DECREF(obj);
    } else {
      if (PyErr_Occurred()) PyErr_Clear();
      return 0;
    }
#endif
    if (obj && !PySwigObject_Check(obj)) {
      /* a PyObject is called 'this', try to get the 'real this'
	 PySwigObject from it */ 
      return SWIG_Python_GetSwigThis(obj);
    }
    return (PySwigObject *)obj;
  }
}

/* Acquire a pointer value */

SWIGRUNTIME int
SWIG_Python_AcquirePtr(PyObject *obj, int own) {
  if (own) {
    PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
    if (sobj) {
      int oldown = sobj->own;
      sobj->own = own;
      return oldown;
    }
  }
  return 0;
}

/* Convert a pointer value */

SWIGRUNTIME int
SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
  if (!obj) return SWIG_ERROR;
  if (obj == Py_None) {
    if (ptr) *ptr = 0;
    return SWIG_OK;
  } else {
    PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
    while (sobj) {
      void *vptr = sobj->ptr;
      if (ty) {
	swig_type_info *to = sobj->ty;
	if (to == ty) {
	  /* no type cast needed */
	  if (ptr) *ptr = vptr;
	  break;
	} else {
	  swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
	  if (!tc) {
	    sobj = (PySwigObject *)sobj->next;
	  } else {
	    if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
	    break;
	  }
	}
      } else {
	if (ptr) *ptr = vptr;
	break;
      }
    }
    if (sobj) {
      if (own) *own = sobj->own;
      if (flags & SWIG_POINTER_DISOWN) {
	sobj->own = 0;
      }
      return SWIG_OK;
    } else {
      int res = SWIG_ERROR;
      if (flags & SWIG_POINTER_IMPLICIT_CONV) {
	PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
	if (data && !data->implicitconv) {
	  PyObject *klass = data->klass;
	  if (klass) {
	    PyObject *impconv;
	    data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
	    impconv = SWIG_Python_CallFunctor(klass, obj);
	    data->implicitconv = 0;
	    if (PyErr_Occurred()) {
	      PyErr_Clear();
	      impconv = 0;
	    }
	    if (impconv) {
	      PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
	      if (iobj) {
		void *vptr;
		res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
		if (SWIG_IsOK(res)) {
		  if (ptr) {
		    *ptr = vptr;
		    /* transfer the ownership to 'ptr' */
		    iobj->own = 0;
		    res = SWIG_AddCast(res);
		    res = SWIG_AddNewMask(res);
		  } else {
		    res = SWIG_AddCast(res);		    
		  }
		}
	      }
	      Py_DECREF(impconv);
	    }
	  }
	}
      }
      return res;
    }
  }
}

/* Convert a function ptr value */

SWIGRUNTIME int
SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
  if (!PyCFunction_Check(obj)) {
    return SWIG_ConvertPtr(obj, ptr, ty, 0);
  } else {
    void *vptr = 0;
    
    /* here we get the method pointer for callbacks */
    char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
    const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
    if (desc) {
      desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
      if (!desc) return SWIG_ERROR;
    }
    if (ty) {
      swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
      if (!tc) return SWIG_ERROR;
      *ptr = SWIG_TypeCast(tc,vptr);
    } else {
      *ptr = vptr;
    }
    return SWIG_OK;
  }
}

/* Convert a packed value value */

SWIGRUNTIME int
SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
  swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
  if (!to) return SWIG_ERROR;
  if (ty) {
    if (to != ty) {
      /* check type cast? */
      swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
      if (!tc) return SWIG_ERROR;
    }
  }
  return SWIG_OK;
}  

/* -----------------------------------------------------------------------------
 * Create a new pointer object
 * ----------------------------------------------------------------------------- */

/*
  Create a new instance object, whitout calling __init__, and set the
  'this' attribute.
*/

SWIGRUNTIME PyObject* 
SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
{
#if (PY_VERSION_HEX >= 0x02020000)
  PyObject *inst = 0;
  PyObject *newraw = data->newraw;
  if (newraw) {
    inst = PyObject_Call(newraw, data->newargs, NULL);
    if (inst) {
#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
      PyObject **dictptr = _PyObject_GetDictPtr(inst);
      if (dictptr != NULL) {
	PyObject *dict = *dictptr;
	if (dict == NULL) {
	  dict = PyDict_New();
	  *dictptr = dict;
	  PyDict_SetItem(dict, SWIG_This(), swig_this);
	}
      }
#else
      PyObject *key = SWIG_This();
      PyObject_SetAttr(inst, key, swig_this);
#endif
    }
  } else {
    PyObject *dict = PyDict_New();
    PyDict_SetItem(dict, SWIG_This(), swig_this);
    inst = PyInstance_NewRaw(data->newargs, dict);
    Py_DECREF(dict);
  }
  return inst;
#else
#if (PY_VERSION_HEX >= 0x02010000)
  PyObject *inst;
  PyObject *dict = PyDict_New();
  PyDict_SetItem(dict, SWIG_This(), swig_this);
  inst = PyInstance_NewRaw(data->newargs, dict);
  Py_DECREF(dict);
  return (PyObject *) inst;
#else
  PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
  if (inst == NULL) {
    return NULL;
  }
  inst->in_class = (PyClassObject *)data->newargs;
  Py_INCREF(inst->in_class);
  inst->in_dict = PyDict_New();
  if (inst->in_dict == NULL) {
    Py_DECREF(inst);
    return NULL;
  }
#ifdef Py_TPFLAGS_HAVE_WEAKREFS
  inst->in_weakreflist = NULL;
#endif
#ifdef Py_TPFLAGS_GC
  PyObject_GC_Init(inst);
#endif
  PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
  return (PyObject *) inst;
#endif
#endif
}

SWIGRUNTIME void
SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
{
 PyObject *dict;
#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
 PyObject **dictptr = _PyObject_GetDictPtr(inst);
 if (dictptr != NULL) {
   dict = *dictptr;
   if (dict == NULL) {
     dict = PyDict_New();
     *dictptr = dict;
   }
   PyDict_SetItem(dict, SWIG_This(), swig_this);
   return;
 }
#endif
 dict = PyObject_GetAttrString(inst, "__dict__");
 PyDict_SetItem(dict, SWIG_This(), swig_this);
 Py_DECREF(dict);
} 


SWIGINTERN PyObject *
SWIG_Python_InitShadowInstance(PyObject *args) {
  PyObject *obj[2];
  if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
    return NULL;
  } else {
    PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
    if (sthis) {
      PySwigObject_append((PyObject*) sthis, obj[1]);
    } else {
      SWIG_Python_SetSwigThis(obj[0], obj[1]);
    }
    return SWIG_Py_Void();
  }
}

/* Create a new pointer object */

SWIGRUNTIME PyObject *
SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
  if (!ptr) {
    return SWIG_Py_Void();
  } else {
    int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
    PyObject *robj = PySwigObject_New(ptr, type, own);
    PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
    if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
      PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
      if (inst) {
	Py_DECREF(robj);
	robj = inst;
      }
    }
    return robj;
  }
}

/* Create a new packed object */

SWIGRUNTIMEINLINE PyObject *
SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
  return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
}

/* -----------------------------------------------------------------------------*
 *  Get type list 
 * -----------------------------------------------------------------------------*/

#ifdef SWIG_LINK_RUNTIME
void *SWIG_ReturnGlobalTypeList(void *);
#endif

SWIGRUNTIME swig_module_info *
SWIG_Python_GetModule(void) {
  static void *type_pointer = (void *)0;
  /* first check if module already created */
  if (!type_pointer) {
#ifdef SWIG_LINK_RUNTIME
    type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
#else
    type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
				    (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
    if (PyErr_Occurred()) {
      PyErr_Clear();
      type_pointer = (void *)0;
    }
#endif
  }
  return (swig_module_info *) type_pointer;
}

#if PY_MAJOR_VERSION < 2
/* PyModule_AddObject function was introduced in Python 2.0.  The following function
   is copied out of Python/modsupport.c in python version 2.3.4 */
SWIGINTERN int
PyModule_AddObject(PyObject *m, char *name, PyObject *o)
{
  PyObject *dict;
  if (!PyModule_Check(m)) {
    PyErr_SetString(PyExc_TypeError,
		    "PyModule_AddObject() needs module as first arg");
    return SWIG_ERROR;
  }
  if (!o) {
    PyErr_SetString(PyExc_TypeError,
		    "PyModule_AddObject() needs non-NULL value");
    return SWIG_ERROR;
  }
  
  dict = PyModule_GetDict(m);
  if (dict == NULL) {
    /* Internal error -- modules must have a dict! */
    PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
		 PyModule_GetName(m));
    return SWIG_ERROR;
  }
  if (PyDict_SetItemString(dict, name, o))
    return SWIG_ERROR;
  Py_DECREF(o);
  return SWIG_OK;
}
#endif

SWIGRUNTIME void
SWIG_Python_DestroyModule(void *vptr)
{
  swig_module_info *swig_module = (swig_module_info *) vptr;
  swig_type_info **types = swig_module->types;
  size_t i;
  for (i =0; i < swig_module->size; ++i) {
    swig_type_info *ty = types[i];
    if (ty->owndata) {
      PySwigClientData *data = (PySwigClientData *) ty->clientdata;
      if (data) PySwigClientData_Del(data);
    }
  }
  Py_DECREF(SWIG_This());
}

SWIGRUNTIME void
SWIG_Python_SetModule(swig_module_info *swig_module) {
  static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */

  PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
				   swig_empty_runtime_method_table);
  PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
  if (pointer && module) {
    PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
  } else {
    Py_XDECREF(pointer);
  }
}

/* The python cached type query */
SWIGRUNTIME PyObject *
SWIG_Python_TypeCache() {
  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
  return cache;
}

SWIGRUNTIME swig_type_info *
SWIG_Python_TypeQuery(const char *type)
{
  PyObject *cache = SWIG_Python_TypeCache();
  PyObject *key = PyString_FromString(type); 
  PyObject *obj = PyDict_GetItem(cache, key);
  swig_type_info *descriptor;
  if (obj) {
    descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
  } else {
    swig_module_info *swig_module = SWIG_Python_GetModule();
    descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
    if (descriptor) {
      obj = PyCObject_FromVoidPtr(descriptor, NULL);
      PyDict_SetItem(cache, key, obj);
      Py_DECREF(obj);
    }
  }
  Py_DECREF(key);
  return descriptor;
}

/* 
   For backward compatibility only
*/
#define SWIG_POINTER_EXCEPTION  0
#define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg)
#define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags)

SWIGRUNTIME int
SWIG_Python_AddErrMesg(const char* mesg, int infront)
{
  if (PyErr_Occurred()) {
    PyObject *type = 0;
    PyObject *value = 0;
    PyObject *traceback = 0;
    PyErr_Fetch(&type, &value, &traceback);
    if (value) {
      PyObject *old_str = PyObject_Str(value);
      Py_XINCREF(type);
      PyErr_Clear();
      if (infront) {
	PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
      } else {
	PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
      }
      Py_DECREF(old_str);
    }
    return 1;
  } else {
    return 0;
  }
}
  
SWIGRUNTIME int
SWIG_Python_ArgFail(int argnum)
{
  if (PyErr_Occurred()) {
    /* add information about failing argument */
    char mesg[256];
    PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
    return SWIG_Python_AddErrMesg(mesg, 1);
  } else {
    return 0;
  }
}

SWIGRUNTIMEINLINE const char *
PySwigObject_GetDesc(PyObject *self)
{
  PySwigObject *v = (PySwigObject *)self;
  swig_type_info *ty = v ? v->ty : 0;
  return ty ? ty->str : (char*)"";
}

SWIGRUNTIME void
SWIG_Python_TypeError(const char *type, PyObject *obj)
{
  if (type) {
#if defined(SWIG_COBJECT_TYPES)
    if (obj && PySwigObject_Check(obj)) {
      const char *otype = (const char *) PySwigObject_GetDesc(obj);
      if (otype) {
	PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
		     type, otype);
	return;
      }
    } else 
#endif      
    {
      const char *otype = (obj ? obj->ob_type->tp_name : 0); 
      if (otype) {
	PyObject *str = PyObject_Str(obj);
	const char *cstr = str ? PyString_AsString(str) : 0;
	if (cstr) {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
		       type, otype, cstr);
	} else {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
		       type, otype);
	}
	Py_XDECREF(str);
	return;
      }
    }   
    PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
  } else {
    PyErr_Format(PyExc_TypeError, "unexpected type is received");
  }
}


/* Convert a pointer value, signal an exception on a type mismatch */
SWIGRUNTIME void *
SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
  void *result;
  if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
    PyErr_Clear();
    if (flags & SWIG_POINTER_EXCEPTION) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
      SWIG_Python_ArgFail(argnum);
    }
  }
  return result;
}


#ifdef __cplusplus
#if 0
{ /* cc-mode */
#endif
}
#endif



#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 

#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 



/* -------- TYPES TABLE (BEGIN) -------- */

#define SWIGTYPE_p_AllocatorType swig_types[0]
#define SWIGTYPE_p_CS__Memory__AllocatorMalloc swig_types[1]
#define SWIGTYPE_p_CS__TriangleTTint_t swig_types[2]
#define SWIGTYPE_p_CalAnimationCallback swig_types[3]
#define SWIGTYPE_p_CalCoreModel swig_types[4]
#define SWIGTYPE_p_CalModel swig_types[5]
#define SWIGTYPE_p_CapacityHandlerType swig_types[6]
#define SWIGTYPE_p_ContainedType swig_types[7]
#define SWIGTYPE_p_ElementHandlerType swig_types[8]
#define SWIGTYPE_p_FILE swig_types[9]
#define SWIGTYPE_p_FileFormatDescription swig_types[10]
#define SWIGTYPE_p_HashType swig_types[11]
#define SWIGTYPE_p_SndSysFilterLocation swig_types[12]
#define SWIGTYPE_p_ThisType swig_types[13]
#define SWIGTYPE_p_ValueType swig_types[14]
#define SWIGTYPE_p__csKeyCharType swig_types[15]
#define SWIGTYPE_p__csKeyEventType swig_types[16]
#define SWIGTYPE_p__csKeyModifierNumType swig_types[17]
#define SWIGTYPE_p__csKeyModifierType swig_types[18]
#define SWIGTYPE_p__csKeyModifiers swig_types[19]
#define SWIGTYPE_p__csMouseCursorID swig_types[20]
#define SWIGTYPE_p__csMouseEventType swig_types[21]
#define SWIGTYPE_p__csPyEventHandler swig_types[22]
#define SWIGTYPE_p_awsConnectionNode swig_types[23]
#define SWIGTYPE_p_basetype swig_types[24]
#define SWIGTYPE_p_bool swig_types[25]
#define SWIGTYPE_p_char swig_types[26]
#define SWIGTYPE_p_csAlphaMode swig_types[27]
#define SWIGTYPE_p_csArrayCapacityDefault swig_types[28]
#define SWIGTYPE_p_csArrayCapacityLinearTcsArrayThresholdVariable_t swig_types[29]
#define SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[30]
#define SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[31]
#define SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[32]
#define SWIGTYPE_p_csArrayTcsIntersectingTriangle_csArrayElementHandlerTcsIntersectingTriangle_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[33]
#define SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[34]
#define SWIGTYPE_p_csArrayTcsShaderVariable_p_csArrayElementHandlerTcsShaderVariable_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[35]
#define SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[36]
#define SWIGTYPE_p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[37]
#define SWIGTYPE_p_csArrayThresholdVariable swig_types[38]
#define SWIGTYPE_p_csArrayTiImage_p_csArrayElementHandlerTiImage_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[39]
#define SWIGTYPE_p_csArrayTiLight_p_csArrayElementHandlerTiLight_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[40]
#define SWIGTYPE_p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[41]
#define SWIGTYPE_p_csArrayTvoid_pp_csArrayElementHandlerTvoid_pp_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[42]
#define SWIGTYPE_p_csBSpline swig_types[43]
#define SWIGTYPE_p_csBitmapMetrics swig_types[44]
#define SWIGTYPE_p_csBox2 swig_types[45]
#define SWIGTYPE_p_csBox3 swig_types[46]
#define SWIGTYPE_p_csCatmullRomSpline swig_types[47]
#define SWIGTYPE_p_csColliderActor swig_types[48]
#define SWIGTYPE_p_csColliderHelper swig_types[49]
#define SWIGTYPE_p_csColliderWrapper swig_types[50]
#define SWIGTYPE_p_csCollisionPair swig_types[51]
#define SWIGTYPE_p_csColor swig_types[52]
#define SWIGTYPE_p_csColor4 swig_types[53]
#define SWIGTYPE_p_csCommandEventData swig_types[54]
#define SWIGTYPE_p_csCommandEventHelper swig_types[55]
#define SWIGTYPE_p_csCommandLineHelper swig_types[56]
#define SWIGTYPE_p_csCompressVertex swig_types[57]
#define SWIGTYPE_p_csCoreRenderMesh swig_types[58]
#define SWIGTYPE_p_csCubicSpline swig_types[59]
#define SWIGTYPE_p_csDVector3 swig_types[60]
#define SWIGTYPE_p_csEllipsoid swig_types[61]
#define SWIGTYPE_p_csEvent swig_types[62]
#define SWIGTYPE_p_csEventNameRegistry swig_types[63]
#define SWIGTYPE_p_csFileTime swig_types[64]
#define SWIGTYPE_p_csFlags swig_types[65]
#define SWIGTYPE_p_csFog swig_types[66]
#define SWIGTYPE_p_csFrustum swig_types[67]
#define SWIGTYPE_p_csFrustumContext swig_types[68]
#define SWIGTYPE_p_csGeomDebugHelper swig_types[69]
#define SWIGTYPE_p_csGlyphMetrics swig_types[70]
#define SWIGTYPE_p_csGraphics3DCaps swig_types[71]
#define SWIGTYPE_p_csHandlerID swig_types[72]
#define SWIGTYPE_p_csHashTcsRefTiShader_t_unsigned_long_CS__Memory__AllocatorMalloc_t swig_types[73]
#define SWIGTYPE_p_csHitBeamResult swig_types[74]
#define SWIGTYPE_p_csImageArea swig_types[75]
#define SWIGTYPE_p_csImageIOFileFormatDescription swig_types[76]
#define SWIGTYPE_p_csInitializer swig_types[77]
#define SWIGTYPE_p_csInputEventHelper swig_types[78]
#define SWIGTYPE_p_csIntersect2 swig_types[79]
#define SWIGTYPE_p_csIntersect3 swig_types[80]
#define SWIGTYPE_p_csIntersectingTriangle swig_types[81]
#define SWIGTYPE_p_csJoystickEventData swig_types[82]
#define SWIGTYPE_p_csJoystickEventHelper swig_types[83]
#define SWIGTYPE_p_csKeyEventData swig_types[84]
#define SWIGTYPE_p_csKeyEventHelper swig_types[85]
#define SWIGTYPE_p_csListenerProperties swig_types[86]
#define SWIGTYPE_p_csMath2 swig_types[87]
#define SWIGTYPE_p_csMath3 swig_types[88]
#define SWIGTYPE_p_csMatrix2 swig_types[89]
#define SWIGTYPE_p_csMatrix3 swig_types[90]
#define SWIGTYPE_p_csMeshedPolygon swig_types[91]
#define SWIGTYPE_p_csMouseEventData swig_types[92]
#define SWIGTYPE_p_csMouseEventHelper swig_types[93]
#define SWIGTYPE_p_csOBB swig_types[94]
#define SWIGTYPE_p_csObject swig_types[95]
#define SWIGTYPE_p_csOrthoTransform swig_types[96]
#define SWIGTYPE_p_csParticle swig_types[97]
#define SWIGTYPE_p_csParticleAux swig_types[98]
#define SWIGTYPE_p_csParticleBuffer swig_types[99]
#define SWIGTYPE_p_csPath swig_types[100]
#define SWIGTYPE_p_csPixelCoord swig_types[101]
#define SWIGTYPE_p_csPixelFormat swig_types[102]
#define SWIGTYPE_p_csPixmap swig_types[103]
#define SWIGTYPE_p_csPlane2 swig_types[104]
#define SWIGTYPE_p_csPlane3 swig_types[105]
#define SWIGTYPE_p_csPluginRequest swig_types[106]
#define SWIGTYPE_p_csPoly2D swig_types[107]
#define SWIGTYPE_p_csPoly2DFactory swig_types[108]
#define SWIGTYPE_p_csPoly3D swig_types[109]
#define SWIGTYPE_p_csPolygonMesh swig_types[110]
#define SWIGTYPE_p_csPolygonMeshBox swig_types[111]
#define SWIGTYPE_p_csPolygonRange swig_types[112]
#define SWIGTYPE_p_csPtrTcsFrustum_t swig_types[113]
#define SWIGTYPE_p_csPtrTiBase_t swig_types[114]
#define SWIGTYPE_p_csPtrTiEngineSequenceParameters_t swig_types[115]
#define SWIGTYPE_p_csPtrTiEventOutlet_t swig_types[116]
#define SWIGTYPE_p_csPtrTiGenMeshAnimationControlFactory_t swig_types[117]
#define SWIGTYPE_p_csPtrTiGenMeshAnimationControl_t swig_types[118]
#define SWIGTYPE_p_csPtrTiKeyComposer_t swig_types[119]
#define SWIGTYPE_p_csPtrTiLightIterator_t swig_types[120]
#define SWIGTYPE_p_csPtrTiLightingProcessData_t swig_types[121]
#define SWIGTYPE_p_csPtrTiLoaderContext_t swig_types[122]
#define SWIGTYPE_p_csPtrTiLoaderStatus_t swig_types[123]
#define SWIGTYPE_p_csPtrTiODEHinge2Joint_t swig_types[124]
#define SWIGTYPE_p_csPtrTiObjectIterator_t swig_types[125]
#define SWIGTYPE_p_csPtrTiObjectRegistryIterator_t swig_types[126]
#define SWIGTYPE_p_csPtrTiObjectWatcher_t swig_types[127]
#define SWIGTYPE_p_csPtrTiParameterESM_t swig_types[128]
#define SWIGTYPE_p_csPtrTiParticleBuiltinEffectorVelocityField_t swig_types[129]
#define SWIGTYPE_p_csPtrTiPluginIterator_t swig_types[130]
#define SWIGTYPE_p_csPtrTiPolygonHandle_t swig_types[131]
#define SWIGTYPE_p_csPtrTiRendererLightmap_t swig_types[132]
#define SWIGTYPE_p_csPtrTiRigidBody_t swig_types[133]
#define SWIGTYPE_p_csPtrTiSectorIterator_t swig_types[134]
#define SWIGTYPE_p_csPtrTiSequenceTrigger_t swig_types[135]
#define SWIGTYPE_p_csPtrTiSequenceWrapper_t swig_types[136]
#define SWIGTYPE_p_csPtrTiShaderPriorityList_t swig_types[137]
#define SWIGTYPE_p_csPtrTiShader_t swig_types[138]
#define SWIGTYPE_p_csPtrTiShadowBlockList_t swig_types[139]
#define SWIGTYPE_p_csPtrTiSuperLightmap_t swig_types[140]
#define SWIGTYPE_p_csPtrTiVisibilityObjectIterator_t swig_types[141]
#define SWIGTYPE_p_csQuaternion swig_types[142]
#define SWIGTYPE_p_csRGBcolor swig_types[143]
#define SWIGTYPE_p_csRGBpixel swig_types[144]
#define SWIGTYPE_p_csRandomGen swig_types[145]
#define SWIGTYPE_p_csRect swig_types[146]
#define SWIGTYPE_p_csRectRegion swig_types[147]
#define SWIGTYPE_p_csRefArrayTcsShaderVariable_t swig_types[148]
#define SWIGTYPE_p_csRefArrayTiAwsKey_t swig_types[149]
#define SWIGTYPE_p_csRefArrayTiObject_t swig_types[150]
#define SWIGTYPE_p_csRefArrayTiSceneNode_t swig_types[151]
#define SWIGTYPE_p_csRefArrayTiShader_t swig_types[152]
#define SWIGTYPE_p_csRefCount swig_types[153]
#define SWIGTYPE_p_csRefTiBase_t swig_types[154]
#define SWIGTYPE_p_csRefTiDocumentAttributeIterator_t swig_types[155]
#define SWIGTYPE_p_csRefTiDocumentAttribute_t swig_types[156]
#define SWIGTYPE_p_csRefTiDocumentNodeIterator_t swig_types[157]
#define SWIGTYPE_p_csRefTiDocumentNode_t swig_types[158]
#define SWIGTYPE_p_csRefTiDynamicsSystemCollider_t swig_types[159]
#define SWIGTYPE_p_csRefTiEventAttributeIterator_t swig_types[160]
#define SWIGTYPE_p_csRefTiEventHandlerRegistry_t swig_types[161]
#define SWIGTYPE_p_csRefTiEventHandler_t swig_types[162]
#define SWIGTYPE_p_csRefTiEventNameRegistry_t swig_types[163]
#define SWIGTYPE_p_csRefTiEvent_t swig_types[164]
#define SWIGTYPE_p_csRefTiGeneralFactoryState_t swig_types[165]
#define SWIGTYPE_p_csRefTiImage_t swig_types[166]
#define SWIGTYPE_p_csRefTiRenderBuffer_t swig_types[167]
#define SWIGTYPE_p_csRefTiRigidBody_t swig_types[168]
#define SWIGTYPE_p_csRefTiScriptObject_t swig_types[169]
#define SWIGTYPE_p_csRefTiString_t swig_types[170]
#define SWIGTYPE_p_csRenderBufferHolder swig_types[171]
#define SWIGTYPE_p_csRenderBufferName swig_types[172]
#define SWIGTYPE_p_csRenderMesh swig_types[173]
#define SWIGTYPE_p_csRenderMeshList swig_types[174]
#define SWIGTYPE_p_csRenderMeshModes swig_types[175]
#define SWIGTYPE_p_csReporterHelper swig_types[176]
#define SWIGTYPE_p_csReversibleTransform swig_types[177]
#define SWIGTYPE_p_csScreenBoxResult swig_types[178]
#define SWIGTYPE_p_csSectorHitBeamResult swig_types[179]
#define SWIGTYPE_p_csSegment2 swig_types[180]
#define SWIGTYPE_p_csSegment3 swig_types[181]
#define SWIGTYPE_p_csSetTcsPtrKeyTiMeshWrapper_t_CS__Memory__AllocatorMalloc_t swig_types[182]
#define SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t swig_types[183]
#define SWIGTYPE_p_csShaderMetadata swig_types[184]
#define SWIGTYPE_p_csShaderTagPresence swig_types[185]
#define SWIGTYPE_p_csShaderVariable swig_types[186]
#define SWIGTYPE_p_csSimplePixmap swig_types[187]
#define SWIGTYPE_p_csSimpleRenderMesh swig_types[188]
#define SWIGTYPE_p_csSndSysRendererSoftware swig_types[189]
#define SWIGTYPE_p_csSndSysSoundFormat swig_types[190]
#define SWIGTYPE_p_csSourceParameters3D swig_types[191]
#define SWIGTYPE_p_csSphere swig_types[192]
#define SWIGTYPE_p_csSpline swig_types[193]
#define SWIGTYPE_p_csSprite2DVertex swig_types[194]
#define SWIGTYPE_p_csSpriteCal3DActiveAnim swig_types[195]
#define SWIGTYPE_p_csSquaredDist swig_types[196]
#define SWIGTYPE_p_csStrKey swig_types[197]
#define SWIGTYPE_p_csString swig_types[198]
#define SWIGTYPE_p_csStringArray swig_types[199]
#define SWIGTYPE_p_csStringBase swig_types[200]
#define SWIGTYPE_p_csStringFastT36_t swig_types[201]
#define SWIGTYPE_p_csStringSet swig_types[202]
#define SWIGTYPE_p_csTinyDocumentSystem swig_types[203]
#define SWIGTYPE_p_csTraceBeamResult swig_types[204]
#define SWIGTYPE_p_csTransform swig_types[205]
#define SWIGTYPE_p_csTriangle swig_types[206]
#define SWIGTYPE_p_csVector2 swig_types[207]
#define SWIGTYPE_p_csVector3 swig_types[208]
#define SWIGTYPE_p_csVector3Array swig_types[209]
#define SWIGTYPE_p_csVector4 swig_types[210]
#define SWIGTYPE_p_csVertexAttrib swig_types[211]
#define SWIGTYPE_p_csVertexStatus swig_types[212]
#define SWIGTYPE_p_csView swig_types[213]
#define SWIGTYPE_p_csWrapPtr swig_types[214]
#define SWIGTYPE_p_csXRotMatrix3 swig_types[215]
#define SWIGTYPE_p_csXScaleMatrix3 swig_types[216]
#define SWIGTYPE_p_csYRotMatrix3 swig_types[217]
#define SWIGTYPE_p_csYScaleMatrix3 swig_types[218]
#define SWIGTYPE_p_csZRotMatrix3 swig_types[219]
#define SWIGTYPE_p_csZScaleMatrix3 swig_types[220]
#define SWIGTYPE_p_double swig_types[221]
#define SWIGTYPE_p_f_p_iBase__p__csPyEventHandler swig_types[222]
#define SWIGTYPE_p_f_p_iBase__p_csPath swig_types[223]
#define SWIGTYPE_p_f_p_iBase__p_iAnimTimeUpdateHandler swig_types[224]
#define SWIGTYPE_p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_t swig_types[225]
#define SWIGTYPE_p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_t swig_types[226]
#define SWIGTYPE_p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_t swig_types[227]
#define SWIGTYPE_p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_t swig_types[228]
#define SWIGTYPE_p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_t swig_types[229]
#define SWIGTYPE_p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_t swig_types[230]
#define SWIGTYPE_p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_t swig_types[231]
#define SWIGTYPE_p_f_p_iBase__p_iAws swig_types[232]
#define SWIGTYPE_p_f_p_iBase__p_iAwsComponent swig_types[233]
#define SWIGTYPE_p_f_p_iBase__p_iAwsComponentFactory swig_types[234]
#define SWIGTYPE_p_f_p_iBase__p_iAwsComponentNode swig_types[235]
#define SWIGTYPE_p_f_p_iBase__p_iAwsConnectionKey swig_types[236]
#define SWIGTYPE_p_f_p_iBase__p_iAwsConnectionNodeFactory swig_types[237]
#define SWIGTYPE_p_f_p_iBase__p_iAwsFloatKey swig_types[238]
#define SWIGTYPE_p_f_p_iBase__p_iAwsIntKey swig_types[239]
#define SWIGTYPE_p_f_p_iBase__p_iAwsKey swig_types[240]
#define SWIGTYPE_p_f_p_iBase__p_iAwsKeyContainer swig_types[241]
#define SWIGTYPE_p_f_p_iBase__p_iAwsKeyFactory swig_types[242]
#define SWIGTYPE_p_f_p_iBase__p_iAwsLayoutManager swig_types[243]
#define SWIGTYPE_p_f_p_iBase__p_iAwsPointKey swig_types[244]
#define SWIGTYPE_p_f_p_iBase__p_iAwsPrefManager swig_types[245]
#define SWIGTYPE_p_f_p_iBase__p_iAwsRGBKey swig_types[246]
#define SWIGTYPE_p_f_p_iBase__p_iAwsRectKey swig_types[247]
#define SWIGTYPE_p_f_p_iBase__p_iAwsSink swig_types[248]
#define SWIGTYPE_p_f_p_iBase__p_iAwsSinkManager swig_types[249]
#define SWIGTYPE_p_f_p_iBase__p_iAwsSlot swig_types[250]
#define SWIGTYPE_p_f_p_iBase__p_iAwsSource swig_types[251]
#define SWIGTYPE_p_f_p_iBase__p_iAwsStringKey swig_types[252]
#define SWIGTYPE_p_f_p_iBase__p_iBase swig_types[253]
#define SWIGTYPE_p_f_p_iBase__p_iBinaryLoaderPlugin swig_types[254]
#define SWIGTYPE_p_f_p_iBase__p_iBodyGroup swig_types[255]
#define SWIGTYPE_p_f_p_iBase__p_iCacheManager swig_types[256]
#define SWIGTYPE_p_f_p_iBase__p_iCamera swig_types[257]
#define SWIGTYPE_p_f_p_iBase__p_iCameraPosition swig_types[258]
#define SWIGTYPE_p_f_p_iBase__p_iCameraPositionList swig_types[259]
#define SWIGTYPE_p_f_p_iBase__p_iCameraSectorListener swig_types[260]
#define SWIGTYPE_p_f_p_iBase__p_iClipper2D swig_types[261]
#define SWIGTYPE_p_f_p_iBase__p_iCollideSystem swig_types[262]
#define SWIGTYPE_p_f_p_iBase__p_iCollider swig_types[263]
#define SWIGTYPE_p_f_p_iBase__p_iColoredVertices swig_types[264]
#define SWIGTYPE_p_f_p_iBase__p_iCommandLineParser swig_types[265]
#define SWIGTYPE_p_f_p_iBase__p_iComponent swig_types[266]
#define SWIGTYPE_p_f_p_iBase__p_iConfigFile swig_types[267]
#define SWIGTYPE_p_f_p_iBase__p_iConfigIterator swig_types[268]
#define SWIGTYPE_p_f_p_iBase__p_iConfigManager swig_types[269]
#define SWIGTYPE_p_f_p_iBase__p_iConsoleOutput swig_types[270]
#define SWIGTYPE_p_f_p_iBase__p_iConsoleWatcher swig_types[271]
#define SWIGTYPE_p_f_p_iBase__p_iDataBuffer swig_types[272]
#define SWIGTYPE_p_f_p_iBase__p_iDebugHelper swig_types[273]
#define SWIGTYPE_p_f_p_iBase__p_iDocument swig_types[274]
#define SWIGTYPE_p_f_p_iBase__p_iDocumentAttribute swig_types[275]
#define SWIGTYPE_p_f_p_iBase__p_iDocumentAttributeIterator swig_types[276]
#define SWIGTYPE_p_f_p_iBase__p_iDocumentNode swig_types[277]
#define SWIGTYPE_p_f_p_iBase__p_iDocumentNodeIterator swig_types[278]
#define SWIGTYPE_p_f_p_iBase__p_iDocumentSystem swig_types[279]
#define SWIGTYPE_p_f_p_iBase__p_iDynamicSystem swig_types[280]
#define SWIGTYPE_p_f_p_iBase__p_iDynamics swig_types[281]
#define SWIGTYPE_p_f_p_iBase__p_iDynamicsColliderCollisionCallback swig_types[282]
#define SWIGTYPE_p_f_p_iBase__p_iDynamicsCollisionCallback swig_types[283]
#define SWIGTYPE_p_f_p_iBase__p_iDynamicsMoveCallback swig_types[284]
#define SWIGTYPE_p_f_p_iBase__p_iDynamicsSystemCollider swig_types[285]
#define SWIGTYPE_p_f_p_iBase__p_iEngine swig_types[286]
#define SWIGTYPE_p_f_p_iBase__p_iEngineFrameCallback swig_types[287]
#define SWIGTYPE_p_f_p_iBase__p_iEngineSectorCallback swig_types[288]
#define SWIGTYPE_p_f_p_iBase__p_iEngineSequenceManager swig_types[289]
#define SWIGTYPE_p_f_p_iBase__p_iEngineSequenceParameters swig_types[290]
#define SWIGTYPE_p_f_p_iBase__p_iEvent swig_types[291]
#define SWIGTYPE_p_f_p_iBase__p_iEventAttributeIterator swig_types[292]
#define SWIGTYPE_p_f_p_iBase__p_iEventCord swig_types[293]
#define SWIGTYPE_p_f_p_iBase__p_iEventHandler swig_types[294]
#define SWIGTYPE_p_f_p_iBase__p_iEventNameRegistry swig_types[295]
#define SWIGTYPE_p_f_p_iBase__p_iEventOutlet swig_types[296]
#define SWIGTYPE_p_f_p_iBase__p_iEventPlug swig_types[297]
#define SWIGTYPE_p_f_p_iBase__p_iEventQueue swig_types[298]
#define SWIGTYPE_p_f_p_iBase__p_iFactory swig_types[299]
#define SWIGTYPE_p_f_p_iBase__p_iFile swig_types[300]
#define SWIGTYPE_p_f_p_iBase__p_iFont swig_types[301]
#define SWIGTYPE_p_f_p_iBase__p_iFontDeleteNotify swig_types[302]
#define SWIGTYPE_p_f_p_iBase__p_iFontServer swig_types[303]
#define SWIGTYPE_p_f_p_iBase__p_iFrustumView swig_types[304]
#define SWIGTYPE_p_f_p_iBase__p_iFrustumViewUserdata swig_types[305]
#define SWIGTYPE_p_f_p_iBase__p_iGenMeshAnimationControl swig_types[306]
#define SWIGTYPE_p_f_p_iBase__p_iGenMeshAnimationControlFactory swig_types[307]
#define SWIGTYPE_p_f_p_iBase__p_iGenMeshAnimationControlType swig_types[308]
#define SWIGTYPE_p_f_p_iBase__p_iGenMeshSkeletonControlState swig_types[309]
#define SWIGTYPE_p_f_p_iBase__p_iGeneralFactoryState swig_types[310]
#define SWIGTYPE_p_f_p_iBase__p_iGeneralMeshCommonState swig_types[311]
#define SWIGTYPE_p_f_p_iBase__p_iGeneralMeshState swig_types[312]
#define SWIGTYPE_p_f_p_iBase__p_iGeneralMeshSubMesh swig_types[313]
#define SWIGTYPE_p_f_p_iBase__p_iGraphics2D swig_types[314]
#define SWIGTYPE_p_f_p_iBase__p_iGraphics3D swig_types[315]
#define SWIGTYPE_p_f_p_iBase__p_iHalo swig_types[316]
#define SWIGTYPE_p_f_p_iBase__p_iImage swig_types[317]
#define SWIGTYPE_p_f_p_iBase__p_iImageIO swig_types[318]
#define SWIGTYPE_p_f_p_iBase__p_iJoint swig_types[319]
#define SWIGTYPE_p_f_p_iBase__p_iJoystickDriver swig_types[320]
#define SWIGTYPE_p_f_p_iBase__p_iKeyComposer swig_types[321]
#define SWIGTYPE_p_f_p_iBase__p_iKeyboardDriver swig_types[322]
#define SWIGTYPE_p_f_p_iBase__p_iLight swig_types[323]
#define SWIGTYPE_p_f_p_iBase__p_iLightCallback swig_types[324]
#define SWIGTYPE_p_f_p_iBase__p_iLightIterator swig_types[325]
#define SWIGTYPE_p_f_p_iBase__p_iLightList swig_types[326]
#define SWIGTYPE_p_f_p_iBase__p_iLightVisibleCallback swig_types[327]
#define SWIGTYPE_p_f_p_iBase__p_iLightingProcessData swig_types[328]
#define SWIGTYPE_p_f_p_iBase__p_iLightingProcessInfo swig_types[329]
#define SWIGTYPE_p_f_p_iBase__p_iLoader swig_types[330]
#define SWIGTYPE_p_f_p_iBase__p_iLoaderPlugin swig_types[331]
#define SWIGTYPE_p_f_p_iBase__p_iLoaderStatus swig_types[332]
#define SWIGTYPE_p_f_p_iBase__p_iMapNode swig_types[333]
#define SWIGTYPE_p_f_p_iBase__p_iMaterial swig_types[334]
#define SWIGTYPE_p_f_p_iBase__p_iMaterialEngine swig_types[335]
#define SWIGTYPE_p_f_p_iBase__p_iMaterialList swig_types[336]
#define SWIGTYPE_p_f_p_iBase__p_iMaterialWrapper swig_types[337]
#define SWIGTYPE_p_f_p_iBase__p_iMeshDrawCallback swig_types[338]
#define SWIGTYPE_p_f_p_iBase__p_iMeshFactoryList swig_types[339]
#define SWIGTYPE_p_f_p_iBase__p_iMeshFactoryWrapper swig_types[340]
#define SWIGTYPE_p_f_p_iBase__p_iMeshList swig_types[341]
#define SWIGTYPE_p_f_p_iBase__p_iMeshObject swig_types[342]
#define SWIGTYPE_p_f_p_iBase__p_iMeshObjectDrawCallback swig_types[343]
#define SWIGTYPE_p_f_p_iBase__p_iMeshObjectFactory swig_types[344]
#define SWIGTYPE_p_f_p_iBase__p_iMeshObjectType swig_types[345]
#define SWIGTYPE_p_f_p_iBase__p_iMeshWrapper swig_types[346]
#define SWIGTYPE_p_f_p_iBase__p_iMeshWrapperIterator swig_types[347]
#define SWIGTYPE_p_f_p_iBase__p_iMissingLoaderData swig_types[348]
#define SWIGTYPE_p_f_p_iBase__p_iMouseDriver swig_types[349]
#define SWIGTYPE_p_f_p_iBase__p_iMovable swig_types[350]
#define SWIGTYPE_p_f_p_iBase__p_iMovableListener swig_types[351]
#define SWIGTYPE_p_f_p_iBase__p_iMovieRecorder swig_types[352]
#define SWIGTYPE_p_f_p_iBase__p_iNativeWindow swig_types[353]
#define SWIGTYPE_p_f_p_iBase__p_iNativeWindowManager swig_types[354]
#define SWIGTYPE_p_f_p_iBase__p_iODEAMotorJoint swig_types[355]
#define SWIGTYPE_p_f_p_iBase__p_iODEBallJoint swig_types[356]
#define SWIGTYPE_p_f_p_iBase__p_iODEDynamicState swig_types[357]
#define SWIGTYPE_p_f_p_iBase__p_iODEDynamicSystemState swig_types[358]
#define SWIGTYPE_p_f_p_iBase__p_iODEFrameUpdateCallback swig_types[359]
#define SWIGTYPE_p_f_p_iBase__p_iODEGeneralJointState swig_types[360]
#define SWIGTYPE_p_f_p_iBase__p_iODEHinge2Joint swig_types[361]
#define SWIGTYPE_p_f_p_iBase__p_iODEHingeJoint swig_types[362]
#define SWIGTYPE_p_f_p_iBase__p_iODEJointState swig_types[363]
#define SWIGTYPE_p_f_p_iBase__p_iODESliderJoint swig_types[364]
#define SWIGTYPE_p_f_p_iBase__p_iODEUniversalJoint swig_types[365]
#define SWIGTYPE_p_f_p_iBase__p_iObject swig_types[366]
#define SWIGTYPE_p_f_p_iBase__p_iObjectIterator swig_types[367]
#define SWIGTYPE_p_f_p_iBase__p_iObjectModel swig_types[368]
#define SWIGTYPE_p_f_p_iBase__p_iObjectModelListener swig_types[369]
#define SWIGTYPE_p_f_p_iBase__p_iObjectNameChangeListener swig_types[370]
#define SWIGTYPE_p_f_p_iBase__p_iObjectRegistry swig_types[371]
#define SWIGTYPE_p_f_p_iBase__p_iObjectRegistryIterator swig_types[372]
#define SWIGTYPE_p_f_p_iBase__p_iOffscreenCanvasCallback swig_types[373]
#define SWIGTYPE_p_f_p_iBase__p_iParameterESM swig_types[374]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEffectorFactory swig_types[375]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEffectorForce swig_types[376]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEffectorLinColor swig_types[377]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEffectorVelocityField swig_types[378]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEmitterBase swig_types[379]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEmitterBox swig_types[380]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEmitterCone swig_types[381]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEmitterCylinder swig_types[382]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEmitterFactory swig_types[383]
#define SWIGTYPE_p_f_p_iBase__p_iParticleBuiltinEmitterSphere swig_types[384]
#define SWIGTYPE_p_f_p_iBase__p_iParticleEffector swig_types[385]
#define SWIGTYPE_p_f_p_iBase__p_iParticleEmitter swig_types[386]
#define SWIGTYPE_p_f_p_iBase__p_iParticleSystem swig_types[387]
#define SWIGTYPE_p_f_p_iBase__p_iParticleSystemBase swig_types[388]
#define SWIGTYPE_p_f_p_iBase__p_iParticleSystemFactory swig_types[389]
#define SWIGTYPE_p_f_p_iBase__p_iPath swig_types[390]
#define SWIGTYPE_p_f_p_iBase__p_iPluginIterator swig_types[391]
#define SWIGTYPE_p_f_p_iBase__p_iPluginManager swig_types[392]
#define SWIGTYPE_p_f_p_iBase__p_iPolygonHandle swig_types[393]
#define SWIGTYPE_p_f_p_iBase__p_iPolygonMesh swig_types[394]
#define SWIGTYPE_p_f_p_iBase__p_iPortal swig_types[395]
#define SWIGTYPE_p_f_p_iBase__p_iPortalCallback swig_types[396]
#define SWIGTYPE_p_f_p_iBase__p_iPortalContainer swig_types[397]
#define SWIGTYPE_p_f_p_iBase__p_iRegion swig_types[398]
#define SWIGTYPE_p_f_p_iBase__p_iRegionList swig_types[399]
#define SWIGTYPE_p_f_p_iBase__p_iRendererLightmap swig_types[400]
#define SWIGTYPE_p_f_p_iBase__p_iReporter swig_types[401]
#define SWIGTYPE_p_f_p_iBase__p_iReporterIterator swig_types[402]
#define SWIGTYPE_p_f_p_iBase__p_iReporterListener swig_types[403]
#define SWIGTYPE_p_f_p_iBase__p_iRigidBody swig_types[404]
#define SWIGTYPE_p_f_p_iBase__p_iSCF swig_types[405]
#define SWIGTYPE_p_f_p_iBase__p_iSaver swig_types[406]
#define SWIGTYPE_p_f_p_iBase__p_iSceneNode swig_types[407]
#define SWIGTYPE_p_f_p_iBase__p_iSceneNodeArray swig_types[408]
#define SWIGTYPE_p_f_p_iBase__p_iScript swig_types[409]
#define SWIGTYPE_p_f_p_iBase__p_iScriptObject swig_types[410]
#define SWIGTYPE_p_f_p_iBase__p_iSector swig_types[411]
#define SWIGTYPE_p_f_p_iBase__p_iSectorCallback swig_types[412]
#define SWIGTYPE_p_f_p_iBase__p_iSectorIterator swig_types[413]
#define SWIGTYPE_p_f_p_iBase__p_iSectorList swig_types[414]
#define SWIGTYPE_p_f_p_iBase__p_iSectorMeshCallback swig_types[415]
#define SWIGTYPE_p_f_p_iBase__p_iSequenceTimedOperation swig_types[416]
#define SWIGTYPE_p_f_p_iBase__p_iSequenceTrigger swig_types[417]
#define SWIGTYPE_p_f_p_iBase__p_iSequenceWrapper swig_types[418]
#define SWIGTYPE_p_f_p_iBase__p_iShader swig_types[419]
#define SWIGTYPE_p_f_p_iBase__p_iShaderCompiler swig_types[420]
#define SWIGTYPE_p_f_p_iBase__p_iShaderManager swig_types[421]
#define SWIGTYPE_p_f_p_iBase__p_iShaderPriorityList swig_types[422]
#define SWIGTYPE_p_f_p_iBase__p_iShaderVarStack swig_types[423]
#define SWIGTYPE_p_f_p_iBase__p_iShaderVariableAccessor swig_types[424]
#define SWIGTYPE_p_f_p_iBase__p_iShaderVariableContext swig_types[425]
#define SWIGTYPE_p_f_p_iBase__p_iSimpleFormerState swig_types[426]
#define SWIGTYPE_p_f_p_iBase__p_iSkeleton swig_types[427]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonBone swig_types[428]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonBoneFactory swig_types[429]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonBoneRagdollInfo swig_types[430]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonBoneUpdateCallback swig_types[431]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonFactory swig_types[432]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonGraveyard swig_types[433]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonScript swig_types[434]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonScriptCallback swig_types[435]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonScriptKeyFrame swig_types[436]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonSocket swig_types[437]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonSocketFactory swig_types[438]
#define SWIGTYPE_p_f_p_iBase__p_iSkeletonUpdateCallback swig_types[439]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysData swig_types[440]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysListener swig_types[441]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysLoader swig_types[442]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysManager swig_types[443]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysRenderer swig_types[444]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysRendererCallback swig_types[445]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysRendererSoftware swig_types[446]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysSoftwareDriver swig_types[447]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysSoftwareFilter3D swig_types[448]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysSoftwareOutputFilter swig_types[449]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysSource swig_types[450]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysSourceSoftware swig_types[451]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysSourceSoftware3D swig_types[452]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysStream swig_types[453]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysStreamCallback swig_types[454]
#define SWIGTYPE_p_f_p_iBase__p_iSndSysWrapper swig_types[455]
#define SWIGTYPE_p_f_p_iBase__p_iSprite2DFactoryState swig_types[456]
#define SWIGTYPE_p_f_p_iBase__p_iSprite2DState swig_types[457]
#define SWIGTYPE_p_f_p_iBase__p_iSprite2DUVAnimation swig_types[458]
#define SWIGTYPE_p_f_p_iBase__p_iSprite2DUVAnimationFrame swig_types[459]
#define SWIGTYPE_p_f_p_iBase__p_iSprite3DFactoryState swig_types[460]
#define SWIGTYPE_p_f_p_iBase__p_iSprite3DState swig_types[461]
#define SWIGTYPE_p_f_p_iBase__p_iSpriteAction swig_types[462]
#define SWIGTYPE_p_f_p_iBase__p_iSpriteCal3DFactoryState swig_types[463]
#define SWIGTYPE_p_f_p_iBase__p_iSpriteCal3DSocket swig_types[464]
#define SWIGTYPE_p_f_p_iBase__p_iSpriteCal3DState swig_types[465]
#define SWIGTYPE_p_f_p_iBase__p_iSpriteFrame swig_types[466]
#define SWIGTYPE_p_f_p_iBase__p_iSpriteSocket swig_types[467]
#define SWIGTYPE_p_f_p_iBase__p_iStandardReporterListener swig_types[468]
#define SWIGTYPE_p_f_p_iBase__p_iString swig_types[469]
#define SWIGTYPE_p_f_p_iBase__p_iStringArray swig_types[470]
#define SWIGTYPE_p_f_p_iBase__p_iStringSet swig_types[471]
#define SWIGTYPE_p_f_p_iBase__p_iSuperLightmap swig_types[472]
#define SWIGTYPE_p_f_p_iBase__p_iTerraFormer swig_types[473]
#define SWIGTYPE_p_f_p_iBase__p_iTerraSampler swig_types[474]
#define SWIGTYPE_p_f_p_iBase__p_iTerrainFactoryState swig_types[475]
#define SWIGTYPE_p_f_p_iBase__p_iTerrainObjectState swig_types[476]
#define SWIGTYPE_p_f_p_iBase__p_iTextureCallback swig_types[477]
#define SWIGTYPE_p_f_p_iBase__p_iTextureHandle swig_types[478]
#define SWIGTYPE_p_f_p_iBase__p_iTextureList swig_types[479]
#define SWIGTYPE_p_f_p_iBase__p_iTextureManager swig_types[480]
#define SWIGTYPE_p_f_p_iBase__p_iTextureWrapper swig_types[481]
#define SWIGTYPE_p_f_p_iBase__p_iThingEnvironment swig_types[482]
#define SWIGTYPE_p_f_p_iBase__p_iThingFactoryState swig_types[483]
#define SWIGTYPE_p_f_p_iBase__p_iThingState swig_types[484]
#define SWIGTYPE_p_f_p_iBase__p_iVFS swig_types[485]
#define SWIGTYPE_p_f_p_iBase__p_iView swig_types[486]
#define SWIGTYPE_p_f_p_iBase__p_iVirtualClock swig_types[487]
#define SWIGTYPE_p_f_p_iBase__p_iVisibilityCuller swig_types[488]
#define SWIGTYPE_p_f_p_iBase__p_iVisibilityCullerListener swig_types[489]
#define SWIGTYPE_p_f_p_iBase__p_iVisibilityObject swig_types[490]
#define SWIGTYPE_p_f_p_iBase__p_iVisibilityObjectIterator swig_types[491]
#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t swig_types[492]
#define SWIGTYPE_p_f_p_iMeshWrapper_p_iFrustumView_bool__void swig_types[493]
#define SWIGTYPE_p_f_unsigned_long_int_p_iAwsSource__void swig_types[494]
#define SWIGTYPE_p_f_unsigned_long_p_void_p_iAwsSource__void swig_types[495]
#define SWIGTYPE_p_float swig_types[496]
#define SWIGTYPE_p_iAnimTimeUpdateHandler swig_types[497]
#define SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t swig_types[498]
#define SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t swig_types[499]
#define SWIGTYPE_p_iArrayChangeElementsTcsShaderVariable_p_t swig_types[500]
#define SWIGTYPE_p_iArrayChangeElementsTcsSprite2DVertex_t swig_types[501]
#define SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t swig_types[502]
#define SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t swig_types[503]
#define SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t swig_types[504]
#define SWIGTYPE_p_iAws swig_types[505]
#define SWIGTYPE_p_iAwsCanvas swig_types[506]
#define SWIGTYPE_p_iAwsComponent swig_types[507]
#define SWIGTYPE_p_iAwsComponentFactory swig_types[508]
#define SWIGTYPE_p_iAwsComponentNode swig_types[509]
#define SWIGTYPE_p_iAwsConnectionKey swig_types[510]
#define SWIGTYPE_p_iAwsConnectionNodeFactory swig_types[511]
#define SWIGTYPE_p_iAwsFloatKey swig_types[512]
#define SWIGTYPE_p_iAwsIntKey swig_types[513]
#define SWIGTYPE_p_iAwsKey swig_types[514]
#define SWIGTYPE_p_iAwsKeyContainer swig_types[515]
#define SWIGTYPE_p_iAwsKeyFactory swig_types[516]
#define SWIGTYPE_p_iAwsLayoutManager swig_types[517]
#define SWIGTYPE_p_iAwsParmList swig_types[518]
#define SWIGTYPE_p_iAwsPointKey swig_types[519]
#define SWIGTYPE_p_iAwsPrefManager swig_types[520]
#define SWIGTYPE_p_iAwsRGBKey swig_types[521]
#define SWIGTYPE_p_iAwsRGBKey__RGB swig_types[522]
#define SWIGTYPE_p_iAwsRectKey swig_types[523]
#define SWIGTYPE_p_iAwsSink swig_types[524]
#define SWIGTYPE_p_iAwsSinkManager swig_types[525]
#define SWIGTYPE_p_iAwsSlot swig_types[526]
#define SWIGTYPE_p_iAwsSource swig_types[527]
#define SWIGTYPE_p_iAwsStringKey swig_types[528]
#define SWIGTYPE_p_iBase swig_types[529]
#define SWIGTYPE_p_iBaseHalo swig_types[530]
#define SWIGTYPE_p_iBinaryLoaderPlugin swig_types[531]
#define SWIGTYPE_p_iBodyGroup swig_types[532]
#define SWIGTYPE_p_iCacheManager swig_types[533]
#define SWIGTYPE_p_iCamera swig_types[534]
#define SWIGTYPE_p_iCameraPosition swig_types[535]
#define SWIGTYPE_p_iCameraPositionList swig_types[536]
#define SWIGTYPE_p_iCameraSectorListener swig_types[537]
#define SWIGTYPE_p_iClipper2D swig_types[538]
#define SWIGTYPE_p_iCollection swig_types[539]
#define SWIGTYPE_p_iCollectionList swig_types[540]
#define SWIGTYPE_p_iCollideSystem swig_types[541]
#define SWIGTYPE_p_iCollider swig_types[542]
#define SWIGTYPE_p_iColoredVertices swig_types[543]
#define SWIGTYPE_p_iCommandLineParser swig_types[544]
#define SWIGTYPE_p_iComponent swig_types[545]
#define SWIGTYPE_p_iConfigFile swig_types[546]
#define SWIGTYPE_p_iConfigIterator swig_types[547]
#define SWIGTYPE_p_iConfigManager swig_types[548]
#define SWIGTYPE_p_iConsoleOutput swig_types[549]
#define SWIGTYPE_p_iConsoleWatcher swig_types[550]
#define SWIGTYPE_p_iCrossHalo swig_types[551]
#define SWIGTYPE_p_iDataBuffer swig_types[552]
#define SWIGTYPE_p_iDebugHelper swig_types[553]
#define SWIGTYPE_p_iDocument swig_types[554]
#define SWIGTYPE_p_iDocumentAttribute swig_types[555]
#define SWIGTYPE_p_iDocumentAttributeIterator swig_types[556]
#define SWIGTYPE_p_iDocumentNode swig_types[557]
#define SWIGTYPE_p_iDocumentNodeIterator swig_types[558]
#define SWIGTYPE_p_iDocumentSystem swig_types[559]
#define SWIGTYPE_p_iDynamicSystem swig_types[560]
#define SWIGTYPE_p_iDynamics swig_types[561]
#define SWIGTYPE_p_iDynamicsColliderCollisionCallback swig_types[562]
#define SWIGTYPE_p_iDynamicsCollisionCallback swig_types[563]
#define SWIGTYPE_p_iDynamicsMoveCallback swig_types[564]
#define SWIGTYPE_p_iDynamicsSystemCollider swig_types[565]
#define SWIGTYPE_p_iEngine swig_types[566]
#define SWIGTYPE_p_iEngineFrameCallback swig_types[567]
#define SWIGTYPE_p_iEngineSectorCallback swig_types[568]
#define SWIGTYPE_p_iEngineSequenceManager swig_types[569]
#define SWIGTYPE_p_iEngineSequenceParameters swig_types[570]
#define SWIGTYPE_p_iEvent swig_types[571]
#define SWIGTYPE_p_iEventAttributeIterator swig_types[572]
#define SWIGTYPE_p_iEventCord swig_types[573]
#define SWIGTYPE_p_iEventHandler swig_types[574]
#define SWIGTYPE_p_iEventNameRegistry swig_types[575]
#define SWIGTYPE_p_iEventOutlet swig_types[576]
#define SWIGTYPE_p_iEventPlug swig_types[577]
#define SWIGTYPE_p_iEventQueue swig_types[578]
#define SWIGTYPE_p_iFactory swig_types[579]
#define SWIGTYPE_p_iFile swig_types[580]
#define SWIGTYPE_p_iFlareHalo swig_types[581]
#define SWIGTYPE_p_iFont swig_types[582]
#define SWIGTYPE_p_iFontDeleteNotify swig_types[583]
#define SWIGTYPE_p_iFontServer swig_types[584]
#define SWIGTYPE_p_iFrustumView swig_types[585]
#define SWIGTYPE_p_iFrustumViewUserdata swig_types[586]
#define SWIGTYPE_p_iGenMeshAnimationControl swig_types[587]
#define SWIGTYPE_p_iGenMeshAnimationControlFactory swig_types[588]
#define SWIGTYPE_p_iGenMeshAnimationControlType swig_types[589]
#define SWIGTYPE_p_iGenMeshSkeletonControlState swig_types[590]
#define SWIGTYPE_p_iGeneralFactoryState swig_types[591]
#define SWIGTYPE_p_iGeneralMeshCommonState swig_types[592]
#define SWIGTYPE_p_iGeneralMeshState swig_types[593]
#define SWIGTYPE_p_iGeneralMeshSubMesh swig_types[594]
#define SWIGTYPE_p_iGraphics2D swig_types[595]
#define SWIGTYPE_p_iGraphics3D swig_types[596]
#define SWIGTYPE_p_iHalo swig_types[597]
#define SWIGTYPE_p_iImage swig_types[598]
#define SWIGTYPE_p_iImageIO swig_types[599]
#define SWIGTYPE_p_iJoint swig_types[600]
#define SWIGTYPE_p_iJoystickDriver swig_types[601]
#define SWIGTYPE_p_iKeyComposer swig_types[602]
#define SWIGTYPE_p_iKeyboardDriver swig_types[603]
#define SWIGTYPE_p_iLODControl swig_types[604]
#define SWIGTYPE_p_iLight swig_types[605]
#define SWIGTYPE_p_iLightCallback swig_types[606]
#define SWIGTYPE_p_iLightIterator swig_types[607]
#define SWIGTYPE_p_iLightList swig_types[608]
#define SWIGTYPE_p_iLightVisibleCallback swig_types[609]
#define SWIGTYPE_p_iLightingInfo swig_types[610]
#define SWIGTYPE_p_iLightingProcessData swig_types[611]
#define SWIGTYPE_p_iLightingProcessInfo swig_types[612]
#define SWIGTYPE_p_iLoader swig_types[613]
#define SWIGTYPE_p_iLoaderContext swig_types[614]
#define SWIGTYPE_p_iLoaderPlugin swig_types[615]
#define SWIGTYPE_p_iLoaderStatus swig_types[616]
#define SWIGTYPE_p_iMapNode swig_types[617]
#define SWIGTYPE_p_iMaterial swig_types[618]
#define SWIGTYPE_p_iMaterialEngine swig_types[619]
#define SWIGTYPE_p_iMaterialList swig_types[620]
#define SWIGTYPE_p_iMaterialWrapper swig_types[621]
#define SWIGTYPE_p_iMeshDrawCallback swig_types[622]
#define SWIGTYPE_p_iMeshFactoryList swig_types[623]
#define SWIGTYPE_p_iMeshFactoryWrapper swig_types[624]
#define SWIGTYPE_p_iMeshGenerator swig_types[625]
#define SWIGTYPE_p_iMeshList swig_types[626]
#define SWIGTYPE_p_iMeshObject swig_types[627]
#define SWIGTYPE_p_iMeshObjectDrawCallback swig_types[628]
#define SWIGTYPE_p_iMeshObjectFactory swig_types[629]
#define SWIGTYPE_p_iMeshObjectType swig_types[630]
#define SWIGTYPE_p_iMeshWrapper swig_types[631]
#define SWIGTYPE_p_iMeshWrapperIterator swig_types[632]
#define SWIGTYPE_p_iMissingLoaderData swig_types[633]
#define SWIGTYPE_p_iMouseDriver swig_types[634]
#define SWIGTYPE_p_iMovable swig_types[635]
#define SWIGTYPE_p_iMovableListener swig_types[636]
#define SWIGTYPE_p_iMovieRecorder swig_types[637]
#define SWIGTYPE_p_iNativeWindow swig_types[638]
#define SWIGTYPE_p_iNativeWindowManager swig_types[639]
#define SWIGTYPE_p_iNovaHalo swig_types[640]
#define SWIGTYPE_p_iODEAMotorJoint swig_types[641]
#define SWIGTYPE_p_iODEBallJoint swig_types[642]
#define SWIGTYPE_p_iODEDynamicState swig_types[643]
#define SWIGTYPE_p_iODEDynamicSystemState swig_types[644]
#define SWIGTYPE_p_iODEFrameUpdateCallback swig_types[645]
#define SWIGTYPE_p_iODEGeneralJointState swig_types[646]
#define SWIGTYPE_p_iODEHinge2Joint swig_types[647]
#define SWIGTYPE_p_iODEHingeJoint swig_types[648]
#define SWIGTYPE_p_iODEJointState swig_types[649]
#define SWIGTYPE_p_iODESliderJoint swig_types[650]
#define SWIGTYPE_p_iODEUniversalJoint swig_types[651]
#define SWIGTYPE_p_iObject swig_types[652]
#define SWIGTYPE_p_iObjectIterator swig_types[653]
#define SWIGTYPE_p_iObjectModel swig_types[654]
#define SWIGTYPE_p_iObjectModelListener swig_types[655]
#define SWIGTYPE_p_iObjectNameChangeListener swig_types[656]
#define SWIGTYPE_p_iObjectRegistry swig_types[657]
#define SWIGTYPE_p_iObjectRegistryIterator swig_types[658]
#define SWIGTYPE_p_iOffscreenCanvasCallback swig_types[659]
#define SWIGTYPE_p_iParameterESM swig_types[660]
#define SWIGTYPE_p_iParticleBuiltinEffectorFactory swig_types[661]
#define SWIGTYPE_p_iParticleBuiltinEffectorForce swig_types[662]
#define SWIGTYPE_p_iParticleBuiltinEffectorLinColor swig_types[663]
#define SWIGTYPE_p_iParticleBuiltinEffectorVelocityField swig_types[664]
#define SWIGTYPE_p_iParticleBuiltinEmitterBase swig_types[665]
#define SWIGTYPE_p_iParticleBuiltinEmitterBox swig_types[666]
#define SWIGTYPE_p_iParticleBuiltinEmitterCone swig_types[667]
#define SWIGTYPE_p_iParticleBuiltinEmitterCylinder swig_types[668]
#define SWIGTYPE_p_iParticleBuiltinEmitterFactory swig_types[669]
#define SWIGTYPE_p_iParticleBuiltinEmitterSphere swig_types[670]
#define SWIGTYPE_p_iParticleEffector swig_types[671]
#define SWIGTYPE_p_iParticleEmitter swig_types[672]
#define SWIGTYPE_p_iParticleSystem swig_types[673]
#define SWIGTYPE_p_iParticleSystemBase swig_types[674]
#define SWIGTYPE_p_iParticleSystemFactory swig_types[675]
#define SWIGTYPE_p_iPath swig_types[676]
#define SWIGTYPE_p_iPluginIterator swig_types[677]
#define SWIGTYPE_p_iPluginManager swig_types[678]
#define SWIGTYPE_p_iPolygonHandle swig_types[679]
#define SWIGTYPE_p_iPolygonMesh swig_types[680]
#define SWIGTYPE_p_iPortal swig_types[681]
#define SWIGTYPE_p_iPortalCallback swig_types[682]
#define SWIGTYPE_p_iPortalContainer swig_types[683]
#define SWIGTYPE_p_iProgressMeter swig_types[684]
#define SWIGTYPE_p_iRegion swig_types[685]
#define SWIGTYPE_p_iRegionList swig_types[686]
#define SWIGTYPE_p_iRenderBuffer swig_types[687]
#define SWIGTYPE_p_iRenderLoop swig_types[688]
#define SWIGTYPE_p_iRenderLoopManager swig_types[689]
#define SWIGTYPE_p_iRenderView swig_types[690]
#define SWIGTYPE_p_iRendererLightmap swig_types[691]
#define SWIGTYPE_p_iReporter swig_types[692]
#define SWIGTYPE_p_iReporterIterator swig_types[693]
#define SWIGTYPE_p_iReporterListener swig_types[694]
#define SWIGTYPE_p_iRigidBody swig_types[695]
#define SWIGTYPE_p_iSCF swig_types[696]
#define SWIGTYPE_p_iSaver swig_types[697]
#define SWIGTYPE_p_iSceneNode swig_types[698]
#define SWIGTYPE_p_iSceneNodeArray swig_types[699]
#define SWIGTYPE_p_iScript swig_types[700]
#define SWIGTYPE_p_iScriptObject swig_types[701]
#define SWIGTYPE_p_iSector swig_types[702]
#define SWIGTYPE_p_iSectorCallback swig_types[703]
#define SWIGTYPE_p_iSectorIterator swig_types[704]
#define SWIGTYPE_p_iSectorList swig_types[705]
#define SWIGTYPE_p_iSectorMeshCallback swig_types[706]
#define SWIGTYPE_p_iSequence swig_types[707]
#define SWIGTYPE_p_iSequenceManager swig_types[708]
#define SWIGTYPE_p_iSequenceTimedOperation swig_types[709]
#define SWIGTYPE_p_iSequenceTrigger swig_types[710]
#define SWIGTYPE_p_iSequenceWrapper swig_types[711]
#define SWIGTYPE_p_iShader swig_types[712]
#define SWIGTYPE_p_iShaderCompiler swig_types[713]
#define SWIGTYPE_p_iShaderManager swig_types[714]
#define SWIGTYPE_p_iShaderPriorityList swig_types[715]
#define SWIGTYPE_p_iShaderVarStack swig_types[716]
#define SWIGTYPE_p_iShaderVariableAccessor swig_types[717]
#define SWIGTYPE_p_iShaderVariableContext swig_types[718]
#define SWIGTYPE_p_iShadowBlockList swig_types[719]
#define SWIGTYPE_p_iShadowCaster swig_types[720]
#define SWIGTYPE_p_iShadowReceiver swig_types[721]
#define SWIGTYPE_p_iSharedVariable swig_types[722]
#define SWIGTYPE_p_iSharedVariableList swig_types[723]
#define SWIGTYPE_p_iSimpleFormerState swig_types[724]
#define SWIGTYPE_p_iSkeleton swig_types[725]
#define SWIGTYPE_p_iSkeletonBone swig_types[726]
#define SWIGTYPE_p_iSkeletonBoneFactory swig_types[727]
#define SWIGTYPE_p_iSkeletonBoneRagdollInfo swig_types[728]
#define SWIGTYPE_p_iSkeletonBoneUpdateCallback swig_types[729]
#define SWIGTYPE_p_iSkeletonFactory swig_types[730]
#define SWIGTYPE_p_iSkeletonGraveyard swig_types[731]
#define SWIGTYPE_p_iSkeletonScript swig_types[732]
#define SWIGTYPE_p_iSkeletonScriptCallback swig_types[733]
#define SWIGTYPE_p_iSkeletonScriptKeyFrame swig_types[734]
#define SWIGTYPE_p_iSkeletonSocket swig_types[735]
#define SWIGTYPE_p_iSkeletonSocketFactory swig_types[736]
#define SWIGTYPE_p_iSkeletonUpdateCallback swig_types[737]
#define SWIGTYPE_p_iSndSysData swig_types[738]
#define SWIGTYPE_p_iSndSysListener swig_types[739]
#define SWIGTYPE_p_iSndSysLoader swig_types[740]
#define SWIGTYPE_p_iSndSysManager swig_types[741]
#define SWIGTYPE_p_iSndSysRenderer swig_types[742]
#define SWIGTYPE_p_iSndSysRendererCallback swig_types[743]
#define SWIGTYPE_p_iSndSysRendererSoftware swig_types[744]
#define SWIGTYPE_p_iSndSysSoftwareDriver swig_types[745]
#define SWIGTYPE_p_iSndSysSoftwareFilter3D swig_types[746]
#define SWIGTYPE_p_iSndSysSoftwareFilter3DProperties swig_types[747]
#define SWIGTYPE_p_iSndSysSoftwareOutputFilter swig_types[748]
#define SWIGTYPE_p_iSndSysSource swig_types[749]
#define SWIGTYPE_p_iSndSysSourceSoftware swig_types[750]
#define SWIGTYPE_p_iSndSysSourceSoftware3D swig_types[751]
#define SWIGTYPE_p_iSndSysStream swig_types[752]
#define SWIGTYPE_p_iSndSysStreamCallback swig_types[753]
#define SWIGTYPE_p_iSndSysWrapper swig_types[754]
#define SWIGTYPE_p_iSprite2DFactoryState swig_types[755]
#define SWIGTYPE_p_iSprite2DState swig_types[756]
#define SWIGTYPE_p_iSprite2DUVAnimation swig_types[757]
#define SWIGTYPE_p_iSprite2DUVAnimationFrame swig_types[758]
#define SWIGTYPE_p_iSprite3DFactoryState swig_types[759]
#define SWIGTYPE_p_iSprite3DState swig_types[760]
#define SWIGTYPE_p_iSpriteAction swig_types[761]
#define SWIGTYPE_p_iSpriteCal3DFactoryState swig_types[762]
#define SWIGTYPE_p_iSpriteCal3DSocket swig_types[763]
#define SWIGTYPE_p_iSpriteCal3DState swig_types[764]
#define SWIGTYPE_p_iSpriteFrame swig_types[765]
#define SWIGTYPE_p_iSpriteSocket swig_types[766]
#define SWIGTYPE_p_iStandardReporterListener swig_types[767]
#define SWIGTYPE_p_iStreamSource swig_types[768]
#define SWIGTYPE_p_iString swig_types[769]
#define SWIGTYPE_p_iStringArray swig_types[770]
#define SWIGTYPE_p_iStringSet swig_types[771]
#define SWIGTYPE_p_iSuperLightmap swig_types[772]
#define SWIGTYPE_p_iTerraFormer swig_types[773]
#define SWIGTYPE_p_iTerraSampler swig_types[774]
#define SWIGTYPE_p_iTerrainFactoryState swig_types[775]
#define SWIGTYPE_p_iTerrainObjectState swig_types[776]
#define SWIGTYPE_p_iTextureCallback swig_types[777]
#define SWIGTYPE_p_iTextureHandle swig_types[778]
#define SWIGTYPE_p_iTextureList swig_types[779]
#define SWIGTYPE_p_iTextureManager swig_types[780]
#define SWIGTYPE_p_iTextureWrapper swig_types[781]
#define SWIGTYPE_p_iThingEnvironment swig_types[782]
#define SWIGTYPE_p_iThingFactoryState swig_types[783]
#define SWIGTYPE_p_iThingState swig_types[784]
#define SWIGTYPE_p_iVFS swig_types[785]
#define SWIGTYPE_p_iVerbosityManager swig_types[786]
#define SWIGTYPE_p_iView swig_types[787]
#define SWIGTYPE_p_iVirtualClock swig_types[788]
#define SWIGTYPE_p_iVisibilityCuller swig_types[789]
#define SWIGTYPE_p_iVisibilityCullerListener swig_types[790]
#define SWIGTYPE_p_iVisibilityObject swig_types[791]
#define SWIGTYPE_p_iVisibilityObjectIterator swig_types[792]
#define SWIGTYPE_p_int swig_types[793]
#define SWIGTYPE_p_int16_t swig_types[794]
#define SWIGTYPE_p_int32_t swig_types[795]
#define SWIGTYPE_p_int64_t swig_types[796]
#define SWIGTYPE_p_int8_t swig_types[797]
#define SWIGTYPE_p_int_least64_t swig_types[798]
#define SWIGTYPE_p_p__csPyEventHandler swig_types[799]
#define SWIGTYPE_p_p_char swig_types[800]
#define SWIGTYPE_p_p_csImageIOFileFormatDescription swig_types[801]
#define SWIGTYPE_p_p_csOrthoTransform swig_types[802]
#define SWIGTYPE_p_p_csPath swig_types[803]
#define SWIGTYPE_p_p_csRenderMesh swig_types[804]
#define SWIGTYPE_p_p_csReversibleTransform swig_types[805]
#define SWIGTYPE_p_p_csShaderVariable swig_types[806]
#define SWIGTYPE_p_p_csVector3 swig_types[807]
#define SWIGTYPE_p_p_iAnimTimeUpdateHandler swig_types[808]
#define SWIGTYPE_p_p_iArrayChangeAllTcsShaderVariable_p_t swig_types[809]
#define SWIGTYPE_p_p_iArrayChangeAllTcsSprite2DVertex_t swig_types[810]
#define SWIGTYPE_p_p_iArrayChangeElementsTcsShaderVariable_p_t swig_types[811]
#define SWIGTYPE_p_p_iArrayChangeElementsTcsSprite2DVertex_t swig_types[812]
#define SWIGTYPE_p_p_iArrayReadOnlyTcsShaderVariable_p_t swig_types[813]
#define SWIGTYPE_p_p_iArrayReadOnlyTcsSprite2DVertex_t swig_types[814]
#define SWIGTYPE_p_p_iArrayReadOnlyTiSceneNode_p_t swig_types[815]
#define SWIGTYPE_p_p_iAws swig_types[816]
#define SWIGTYPE_p_p_iAwsComponent swig_types[817]
#define SWIGTYPE_p_p_iAwsComponentFactory swig_types[818]
#define SWIGTYPE_p_p_iAwsComponentNode swig_types[819]
#define SWIGTYPE_p_p_iAwsConnectionKey swig_types[820]
#define SWIGTYPE_p_p_iAwsConnectionNodeFactory swig_types[821]
#define SWIGTYPE_p_p_iAwsFloatKey swig_types[822]
#define SWIGTYPE_p_p_iAwsIntKey swig_types[823]
#define SWIGTYPE_p_p_iAwsKey swig_types[824]
#define SWIGTYPE_p_p_iAwsKeyContainer swig_types[825]
#define SWIGTYPE_p_p_iAwsKeyFactory swig_types[826]
#define SWIGTYPE_p_p_iAwsLayoutManager swig_types[827]
#define SWIGTYPE_p_p_iAwsPointKey swig_types[828]
#define SWIGTYPE_p_p_iAwsPrefManager swig_types[829]
#define SWIGTYPE_p_p_iAwsRGBKey swig_types[830]
#define SWIGTYPE_p_p_iAwsRectKey swig_types[831]
#define SWIGTYPE_p_p_iAwsSink swig_types[832]
#define SWIGTYPE_p_p_iAwsSinkManager swig_types[833]
#define SWIGTYPE_p_p_iAwsSlot swig_types[834]
#define SWIGTYPE_p_p_iAwsSource swig_types[835]
#define SWIGTYPE_p_p_iAwsStringKey swig_types[836]
#define SWIGTYPE_p_p_iBase swig_types[837]
#define SWIGTYPE_p_p_iBinaryLoaderPlugin swig_types[838]
#define SWIGTYPE_p_p_iBodyGroup swig_types[839]
#define SWIGTYPE_p_p_iCacheManager swig_types[840]
#define SWIGTYPE_p_p_iCamera swig_types[841]
#define SWIGTYPE_p_p_iCameraPosition swig_types[842]
#define SWIGTYPE_p_p_iCameraPositionList swig_types[843]
#define SWIGTYPE_p_p_iCameraSectorListener swig_types[844]
#define SWIGTYPE_p_p_iClipper2D swig_types[845]
#define SWIGTYPE_p_p_iCollideSystem swig_types[846]
#define SWIGTYPE_p_p_iCollider swig_types[847]
#define SWIGTYPE_p_p_iColoredVertices swig_types[848]
#define SWIGTYPE_p_p_iCommandLineParser swig_types[849]
#define SWIGTYPE_p_p_iComponent swig_types[850]
#define SWIGTYPE_p_p_iConfigFile swig_types[851]
#define SWIGTYPE_p_p_iConfigIterator swig_types[852]
#define SWIGTYPE_p_p_iConfigManager swig_types[853]
#define SWIGTYPE_p_p_iConsoleOutput swig_types[854]
#define SWIGTYPE_p_p_iConsoleWatcher swig_types[855]
#define SWIGTYPE_p_p_iDataBuffer swig_types[856]
#define SWIGTYPE_p_p_iDebugHelper swig_types[857]
#define SWIGTYPE_p_p_iDocument swig_types[858]
#define SWIGTYPE_p_p_iDocumentAttribute swig_types[859]
#define SWIGTYPE_p_p_iDocumentAttributeIterator swig_types[860]
#define SWIGTYPE_p_p_iDocumentNode swig_types[861]
#define SWIGTYPE_p_p_iDocumentNodeIterator swig_types[862]
#define SWIGTYPE_p_p_iDocumentSystem swig_types[863]
#define SWIGTYPE_p_p_iDynamicSystem swig_types[864]
#define SWIGTYPE_p_p_iDynamics swig_types[865]
#define SWIGTYPE_p_p_iDynamicsColliderCollisionCallback swig_types[866]
#define SWIGTYPE_p_p_iDynamicsCollisionCallback swig_types[867]
#define SWIGTYPE_p_p_iDynamicsMoveCallback swig_types[868]
#define SWIGTYPE_p_p_iDynamicsSystemCollider swig_types[869]
#define SWIGTYPE_p_p_iEngine swig_types[870]
#define SWIGTYPE_p_p_iEngineFrameCallback swig_types[871]
#define SWIGTYPE_p_p_iEngineSectorCallback swig_types[872]
#define SWIGTYPE_p_p_iEngineSequenceManager swig_types[873]
#define SWIGTYPE_p_p_iEngineSequenceParameters swig_types[874]
#define SWIGTYPE_p_p_iEvent swig_types[875]
#define SWIGTYPE_p_p_iEventAttributeIterator swig_types[876]
#define SWIGTYPE_p_p_iEventCord swig_types[877]
#define SWIGTYPE_p_p_iEventHandler swig_types[878]
#define SWIGTYPE_p_p_iEventNameRegistry swig_types[879]
#define SWIGTYPE_p_p_iEventOutlet swig_types[880]
#define SWIGTYPE_p_p_iEventPlug swig_types[881]
#define SWIGTYPE_p_p_iEventQueue swig_types[882]
#define SWIGTYPE_p_p_iFactory swig_types[883]
#define SWIGTYPE_p_p_iFile swig_types[884]
#define SWIGTYPE_p_p_iFont swig_types[885]
#define SWIGTYPE_p_p_iFontDeleteNotify swig_types[886]
#define SWIGTYPE_p_p_iFontServer swig_types[887]
#define SWIGTYPE_p_p_iFrustumView swig_types[888]
#define SWIGTYPE_p_p_iFrustumViewUserdata swig_types[889]
#define SWIGTYPE_p_p_iGenMeshAnimationControl swig_types[890]
#define SWIGTYPE_p_p_iGenMeshAnimationControlFactory swig_types[891]
#define SWIGTYPE_p_p_iGenMeshAnimationControlType swig_types[892]
#define SWIGTYPE_p_p_iGenMeshSkeletonControlState swig_types[893]
#define SWIGTYPE_p_p_iGeneralFactoryState swig_types[894]
#define SWIGTYPE_p_p_iGeneralMeshCommonState swig_types[895]
#define SWIGTYPE_p_p_iGeneralMeshState swig_types[896]
#define SWIGTYPE_p_p_iGeneralMeshSubMesh swig_types[897]
#define SWIGTYPE_p_p_iGraphics2D swig_types[898]
#define SWIGTYPE_p_p_iGraphics3D swig_types[899]
#define SWIGTYPE_p_p_iHalo swig_types[900]
#define SWIGTYPE_p_p_iImage swig_types[901]
#define SWIGTYPE_p_p_iImageIO swig_types[902]
#define SWIGTYPE_p_p_iJoint swig_types[903]
#define SWIGTYPE_p_p_iJoystickDriver swig_types[904]
#define SWIGTYPE_p_p_iKeyComposer swig_types[905]
#define SWIGTYPE_p_p_iKeyboardDriver swig_types[906]
#define SWIGTYPE_p_p_iLight swig_types[907]
#define SWIGTYPE_p_p_iLightCallback swig_types[908]
#define SWIGTYPE_p_p_iLightIterator swig_types[909]
#define SWIGTYPE_p_p_iLightList swig_types[910]
#define SWIGTYPE_p_p_iLightVisibleCallback swig_types[911]
#define SWIGTYPE_p_p_iLightingProcessData swig_types[912]
#define SWIGTYPE_p_p_iLightingProcessInfo swig_types[913]
#define SWIGTYPE_p_p_iLoader swig_types[914]
#define SWIGTYPE_p_p_iLoaderPlugin swig_types[915]
#define SWIGTYPE_p_p_iLoaderStatus swig_types[916]
#define SWIGTYPE_p_p_iMapNode swig_types[917]
#define SWIGTYPE_p_p_iMaterial swig_types[918]
#define SWIGTYPE_p_p_iMaterialEngine swig_types[919]
#define SWIGTYPE_p_p_iMaterialList swig_types[920]
#define SWIGTYPE_p_p_iMaterialWrapper swig_types[921]
#define SWIGTYPE_p_p_iMeshDrawCallback swig_types[922]
#define SWIGTYPE_p_p_iMeshFactoryList swig_types[923]
#define SWIGTYPE_p_p_iMeshFactoryWrapper swig_types[924]
#define SWIGTYPE_p_p_iMeshList swig_types[925]
#define SWIGTYPE_p_p_iMeshObject swig_types[926]
#define SWIGTYPE_p_p_iMeshObjectDrawCallback swig_types[927]
#define SWIGTYPE_p_p_iMeshObjectFactory swig_types[928]
#define SWIGTYPE_p_p_iMeshObjectType swig_types[929]
#define SWIGTYPE_p_p_iMeshWrapper swig_types[930]
#define SWIGTYPE_p_p_iMeshWrapperIterator swig_types[931]
#define SWIGTYPE_p_p_iMissingLoaderData swig_types[932]
#define SWIGTYPE_p_p_iMouseDriver swig_types[933]
#define SWIGTYPE_p_p_iMovable swig_types[934]
#define SWIGTYPE_p_p_iMovableListener swig_types[935]
#define SWIGTYPE_p_p_iMovieRecorder swig_types[936]
#define SWIGTYPE_p_p_iNativeWindow swig_types[937]
#define SWIGTYPE_p_p_iNativeWindowManager swig_types[938]
#define SWIGTYPE_p_p_iODEAMotorJoint swig_types[939]
#define SWIGTYPE_p_p_iODEBallJoint swig_types[940]
#define SWIGTYPE_p_p_iODEDynamicState swig_types[941]
#define SWIGTYPE_p_p_iODEDynamicSystemState swig_types[942]
#define SWIGTYPE_p_p_iODEFrameUpdateCallback swig_types[943]
#define SWIGTYPE_p_p_iODEGeneralJointState swig_types[944]
#define SWIGTYPE_p_p_iODEHinge2Joint swig_types[945]
#define SWIGTYPE_p_p_iODEHingeJoint swig_types[946]
#define SWIGTYPE_p_p_iODEJointState swig_types[947]
#define SWIGTYPE_p_p_iODESliderJoint swig_types[948]
#define SWIGTYPE_p_p_iODEUniversalJoint swig_types[949]
#define SWIGTYPE_p_p_iObject swig_types[950]
#define SWIGTYPE_p_p_iObjectIterator swig_types[951]
#define SWIGTYPE_p_p_iObjectModel swig_types[952]
#define SWIGTYPE_p_p_iObjectModelListener swig_types[953]
#define SWIGTYPE_p_p_iObjectNameChangeListener swig_types[954]
#define SWIGTYPE_p_p_iObjectRegistry swig_types[955]
#define SWIGTYPE_p_p_iObjectRegistryIterator swig_types[956]
#define SWIGTYPE_p_p_iOffscreenCanvasCallback swig_types[957]
#define SWIGTYPE_p_p_iParameterESM swig_types[958]
#define SWIGTYPE_p_p_iParticleBuiltinEffectorFactory swig_types[959]
#define SWIGTYPE_p_p_iParticleBuiltinEffectorForce swig_types[960]
#define SWIGTYPE_p_p_iParticleBuiltinEffectorLinColor swig_types[961]
#define SWIGTYPE_p_p_iParticleBuiltinEffectorVelocityField swig_types[962]
#define SWIGTYPE_p_p_iParticleBuiltinEmitterBase swig_types[963]
#define SWIGTYPE_p_p_iParticleBuiltinEmitterBox swig_types[964]
#define SWIGTYPE_p_p_iParticleBuiltinEmitterCone swig_types[965]
#define SWIGTYPE_p_p_iParticleBuiltinEmitterCylinder swig_types[966]
#define SWIGTYPE_p_p_iParticleBuiltinEmitterFactory swig_types[967]
#define SWIGTYPE_p_p_iParticleBuiltinEmitterSphere swig_types[968]
#define SWIGTYPE_p_p_iParticleEffector swig_types[969]
#define SWIGTYPE_p_p_iParticleEmitter swig_types[970]
#define SWIGTYPE_p_p_iParticleSystem swig_types[971]
#define SWIGTYPE_p_p_iParticleSystemBase swig_types[972]
#define SWIGTYPE_p_p_iParticleSystemFactory swig_types[973]
#define SWIGTYPE_p_p_iPath swig_types[974]
#define SWIGTYPE_p_p_iPluginIterator swig_types[975]
#define SWIGTYPE_p_p_iPluginManager swig_types[976]
#define SWIGTYPE_p_p_iPolygonHandle swig_types[977]
#define SWIGTYPE_p_p_iPolygonMesh swig_types[978]
#define SWIGTYPE_p_p_iPortal swig_types[979]
#define SWIGTYPE_p_p_iPortalCallback swig_types[980]
#define SWIGTYPE_p_p_iPortalContainer swig_types[981]
#define SWIGTYPE_p_p_iRegion swig_types[982]
#define SWIGTYPE_p_p_iRegionList swig_types[983]
#define SWIGTYPE_p_p_iRenderBuffer swig_types[984]
#define SWIGTYPE_p_p_iRendererLightmap swig_types[985]
#define SWIGTYPE_p_p_iReporter swig_types[986]
#define SWIGTYPE_p_p_iReporterIterator swig_types[987]
#define SWIGTYPE_p_p_iReporterListener swig_types[988]
#define SWIGTYPE_p_p_iRigidBody swig_types[989]
#define SWIGTYPE_p_p_iSCF swig_types[990]
#define SWIGTYPE_p_p_iSaver swig_types[991]
#define SWIGTYPE_p_p_iSceneNode swig_types[992]
#define SWIGTYPE_p_p_iSceneNodeArray swig_types[993]
#define SWIGTYPE_p_p_iScript swig_types[994]
#define SWIGTYPE_p_p_iScriptObject swig_types[995]
#define SWIGTYPE_p_p_iSector swig_types[996]
#define SWIGTYPE_p_p_iSectorCallback swig_types[997]
#define SWIGTYPE_p_p_iSectorIterator swig_types[998]
#define SWIGTYPE_p_p_iSectorList swig_types[999]
#define SWIGTYPE_p_p_iSectorMeshCallback swig_types[1000]
#define SWIGTYPE_p_p_iSequenceTimedOperation swig_types[1001]
#define SWIGTYPE_p_p_iSequenceTrigger swig_types[1002]
#define SWIGTYPE_p_p_iSequenceWrapper swig_types[1003]
#define SWIGTYPE_p_p_iShader swig_types[1004]
#define SWIGTYPE_p_p_iShaderCompiler swig_types[1005]
#define SWIGTYPE_p_p_iShaderManager swig_types[1006]
#define SWIGTYPE_p_p_iShaderPriorityList swig_types[1007]
#define SWIGTYPE_p_p_iShaderVarStack swig_types[1008]
#define SWIGTYPE_p_p_iShaderVariableAccessor swig_types[1009]
#define SWIGTYPE_p_p_iShaderVariableContext swig_types[1010]
#define SWIGTYPE_p_p_iSimpleFormerState swig_types[1011]
#define SWIGTYPE_p_p_iSkeleton swig_types[1012]
#define SWIGTYPE_p_p_iSkeletonBone swig_types[1013]
#define SWIGTYPE_p_p_iSkeletonBoneFactory swig_types[1014]
#define SWIGTYPE_p_p_iSkeletonBoneRagdollInfo swig_types[1015]
#define SWIGTYPE_p_p_iSkeletonBoneUpdateCallback swig_types[1016]
#define SWIGTYPE_p_p_iSkeletonFactory swig_types[1017]
#define SWIGTYPE_p_p_iSkeletonGraveyard swig_types[1018]
#define SWIGTYPE_p_p_iSkeletonScript swig_types[1019]
#define SWIGTYPE_p_p_iSkeletonScriptCallback swig_types[1020]
#define SWIGTYPE_p_p_iSkeletonScriptKeyFrame swig_types[1021]
#define SWIGTYPE_p_p_iSkeletonSocket swig_types[1022]
#define SWIGTYPE_p_p_iSkeletonSocketFactory swig_types[1023]
#define SWIGTYPE_p_p_iSkeletonUpdateCallback swig_types[1024]
#define SWIGTYPE_p_p_iSndSysData swig_types[1025]
#define SWIGTYPE_p_p_iSndSysListener swig_types[1026]
#define SWIGTYPE_p_p_iSndSysLoader swig_types[1027]
#define SWIGTYPE_p_p_iSndSysManager swig_types[1028]
#define SWIGTYPE_p_p_iSndSysRenderer swig_types[1029]
#define SWIGTYPE_p_p_iSndSysRendererCallback swig_types[1030]
#define SWIGTYPE_p_p_iSndSysRendererSoftware swig_types[1031]
#define SWIGTYPE_p_p_iSndSysSoftwareDriver swig_types[1032]
#define SWIGTYPE_p_p_iSndSysSoftwareFilter3D swig_types[1033]
#define SWIGTYPE_p_p_iSndSysSoftwareOutputFilter swig_types[1034]
#define SWIGTYPE_p_p_iSndSysSource swig_types[1035]
#define SWIGTYPE_p_p_iSndSysSourceSoftware swig_types[1036]
#define SWIGTYPE_p_p_iSndSysSourceSoftware3D swig_types[1037]
#define SWIGTYPE_p_p_iSndSysStream swig_types[1038]
#define SWIGTYPE_p_p_iSndSysStreamCallback swig_types[1039]
#define SWIGTYPE_p_p_iSndSysWrapper swig_types[1040]
#define SWIGTYPE_p_p_iSprite2DFactoryState swig_types[1041]
#define SWIGTYPE_p_p_iSprite2DState swig_types[1042]
#define SWIGTYPE_p_p_iSprite2DUVAnimation swig_types[1043]
#define SWIGTYPE_p_p_iSprite2DUVAnimationFrame swig_types[1044]
#define SWIGTYPE_p_p_iSprite3DFactoryState swig_types[1045]
#define SWIGTYPE_p_p_iSprite3DState swig_types[1046]
#define SWIGTYPE_p_p_iSpriteAction swig_types[1047]
#define SWIGTYPE_p_p_iSpriteCal3DFactoryState swig_types[1048]
#define SWIGTYPE_p_p_iSpriteCal3DSocket swig_types[1049]
#define SWIGTYPE_p_p_iSpriteCal3DState swig_types[1050]
#define SWIGTYPE_p_p_iSpriteFrame swig_types[1051]
#define SWIGTYPE_p_p_iSpriteSocket swig_types[1052]
#define SWIGTYPE_p_p_iStandardReporterListener swig_types[1053]
#define SWIGTYPE_p_p_iString swig_types[1054]
#define SWIGTYPE_p_p_iStringArray swig_types[1055]
#define SWIGTYPE_p_p_iStringSet swig_types[1056]
#define SWIGTYPE_p_p_iSuperLightmap swig_types[1057]
#define SWIGTYPE_p_p_iTerraFormer swig_types[1058]
#define SWIGTYPE_p_p_iTerraSampler swig_types[1059]
#define SWIGTYPE_p_p_iTerrainFactoryState swig_types[1060]
#define SWIGTYPE_p_p_iTerrainObjectState swig_types[1061]
#define SWIGTYPE_p_p_iTextureCallback swig_types[1062]
#define SWIGTYPE_p_p_iTextureHandle swig_types[1063]
#define SWIGTYPE_p_p_iTextureList swig_types[1064]
#define SWIGTYPE_p_p_iTextureManager swig_types[1065]
#define SWIGTYPE_p_p_iTextureWrapper swig_types[1066]
#define SWIGTYPE_p_p_iThingEnvironment swig_types[1067]
#define SWIGTYPE_p_p_iThingFactoryState swig_types[1068]
#define SWIGTYPE_p_p_iThingState swig_types[1069]
#define SWIGTYPE_p_p_iVFS swig_types[1070]
#define SWIGTYPE_p_p_iView swig_types[1071]
#define SWIGTYPE_p_p_iVirtualClock swig_types[1072]
#define SWIGTYPE_p_p_iVisibilityCuller swig_types[1073]
#define SWIGTYPE_p_p_iVisibilityCullerListener swig_types[1074]
#define SWIGTYPE_p_p_iVisibilityObject swig_types[1075]
#define SWIGTYPE_p_p_iVisibilityObjectIterator swig_types[1076]
#define SWIGTYPE_p_p_scfImplementation1TcsPath_iPath_t swig_types[1077]
#define SWIGTYPE_p_p_void swig_types[1078]
#define SWIGTYPE_p_scfImplementation1TcsPath_iPath_t swig_types[1079]
#define SWIGTYPE_p_size_t swig_types[1080]
#define SWIGTYPE_p_uint16_t swig_types[1081]
#define SWIGTYPE_p_uint32_t swig_types[1082]
#define SWIGTYPE_p_uint64_t swig_types[1083]
#define SWIGTYPE_p_uint8_t swig_types[1084]
#define SWIGTYPE_p_uint_least64_t swig_types[1085]
#define SWIGTYPE_p_unsigned_char swig_types[1086]
#define SWIGTYPE_p_unsigned_int swig_types[1087]
#define SWIGTYPE_p_unsigned_long swig_types[1088]
#define SWIGTYPE_p_utf32_char swig_types[1089]
#define SWIGTYPE_p_void swig_types[1090]
#define SWIGTYPE_p_wchar_t swig_types[1091]
static swig_type_info *swig_types[1093];
static swig_module_info swig_module = {swig_types, 1092, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)

/* -------- TYPES TABLE (END) -------- */

#if (PY_VERSION_HEX <= 0x02000000)
# if !defined(SWIG_PYTHON_CLASSIC)
#  error "This python version requires to use swig with the '-classic' option"
# endif
#endif

/*-----------------------------------------------
              @(target):= _cspace.so
  ------------------------------------------------*/
#define SWIG_init SWIG_init_cspace

#define SWIG_name    "_cspace"

#define SWIGVERSION 0x010329 


#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) 
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) 


#include <stdexcept>


namespace swig {
  class PyObject_ptr {
  protected:
    PyObject *_obj;

  public:
    PyObject_ptr() :_obj(0)
    {
    }

    PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
    {
      Py_XINCREF(_obj);      
    }
    
    PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
    {
      if (initial_ref) Py_XINCREF(_obj);
    }
    
    PyObject_ptr & operator=(const PyObject_ptr& item) 
    {
      Py_XINCREF(item._obj);
      Py_XDECREF(_obj);
      _obj = item._obj;
      return *this;      
    }
    
    ~PyObject_ptr() 
    {
      Py_XDECREF(_obj);
    }
    
    operator PyObject *() const
    {
      return _obj;
    }

    PyObject *operator->() const
    {
      return _obj;
    }
  };
}


namespace swig {
  struct PyObject_var : PyObject_ptr {
    PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
    
    PyObject_var & operator = (PyObject* obj)
    {
      Py_XDECREF(_obj);
      _obj = obj;
      return *this;      
    }
  };
}


#include "crystalspace.h"


  #define SWIG_From_long   PyInt_FromLong 


SWIGINTERNINLINE PyObject *
SWIG_From_int  (int value)
{    
  return SWIG_From_long  (value);
}



  // This pointer wrapper can be used to prevent code-bloat by macros
  // acting as template functions.  Examples are SCF_QUERY_INTERFACE()
  // and CS_QUERY_REGISTRY().  Also note that CS should never need to
  // use virtual inheritance as long as it has SCF.
  //
  // Ref - A managed reference to the iBase pointer of the wrapped
  //    interface.
  // Type
  //    The SCF interface name which this pointer represents (for
  //    instance, "iEngine").
  // Version - The version of the interface this pointer represents.

  struct csWrapPtr
  {
    csRef<iBase> Ref;
    const char *Type;
    scfInterfaceVersion Version;
    csWrapPtr (const char *t, scfInterfaceVersion v, iBase *r)
    : Ref (r), Type (t), Version(v) {}
    csWrapPtr (const char *t, scfInterfaceVersion v, csPtr<iBase> r)
    : Ref (r), Type (t), Version(v) {}
    csWrapPtr (const char *t, scfInterfaceVersion v, csRef<iBase> r)
    : Ref (r), Type (t), Version(v) {}
    csWrapPtr (const csWrapPtr &p)
    : Ref (p.Ref), Type (p.Type), Version(p.Version) {}
  };



SWIGINTERN swig_type_info*
SWIG_pchar_descriptor()
{
  static int init = 0;
  static swig_type_info* info = 0;
  if (!init) {
    info = SWIG_TypeQuery("_p_char");
    init = 1;
  }
  return info;
}


SWIGINTERNINLINE PyObject *
SWIG_FromCharPtrAndSize(const char* carray, size_t size)
{
  if (carray) {
    if (size > INT_MAX) {
      swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
      return pchar_descriptor ? 
	SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void();
    } else {
      return PyString_FromStringAndSize(carray, static_cast< int >(size));
    }
  } else {
    return SWIG_Py_Void();
  }
}


SWIGINTERNINLINE PyObject * 
SWIG_FromCharPtr(const char *cptr)
{ 
  return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
}


#include <limits.h>
#ifndef LLONG_MIN
# define LLONG_MIN	LONG_LONG_MIN
#endif
#ifndef LLONG_MAX
# define LLONG_MAX	LONG_LONG_MAX
#endif
#ifndef ULLONG_MAX
# define ULLONG_MAX	ULONG_LONG_MAX
#endif


SWIGINTERN int
SWIG_AsVal_double (PyObject *obj, double *val)
{
  int res = SWIG_TypeError;
  if (PyFloat_Check(obj)) {
    if (val) *val = PyFloat_AsDouble(obj);
    return SWIG_OK;
  } else if (PyInt_Check(obj)) {
    if (val) *val = PyInt_AsLong(obj);
    return SWIG_OK;
  } else if (PyLong_Check(obj)) {
    double v = PyLong_AsDouble(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    double d = PyFloat_AsDouble(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = d;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      long v = PyLong_AsLong(obj);
      if (!PyErr_Occurred()) {
	if (val) *val = v;
	return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
      } else {
	PyErr_Clear();
      }
    }
  }
#endif
  return res;
}


#include <float.h>


#include <math.h>


SWIGINTERNINLINE int
SWIG_CanCastAsInteger(double *d, double min, double max) {
  double x = *d;
  if ((min <= x && x <= max)) {
   double fx = floor(x);
   double cx = ceil(x);
   double rd =  ((x - fx) < 0.5) ? fx : cx; /* simple rint */
   if ((errno == EDOM) || (errno == ERANGE)) {
     errno = 0;
   } else {
     double summ, reps, diff;
     if (rd < x) {
       diff = x - rd;
     } else if (rd > x) {
       diff = rd - x;
     } else {
       return 1;
     }
     summ = rd + x;
     reps = diff/summ;
     if (reps < 8*DBL_EPSILON) {
       *d = rd;
       return 1;
     }
   }
  }
  return 0;
}


SWIGINTERN int
SWIG_AsVal_long (PyObject *obj, long* val)
{
  if (PyInt_Check(obj)) {
    if (val) *val = PyInt_AsLong(obj);
    return SWIG_OK;
  } else if (PyLong_Check(obj)) {
    long v = PyLong_AsLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    long v = PyInt_AsLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      double d;
      int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
	if (val) *val = (long)(d);
	return res;
      }
    }
  }
#endif
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsVal_int (PyObject * obj, int *val)
{
  long v;
  int res = SWIG_AsVal_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < INT_MIN || v > INT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< int >(v);
    }
  }  
  return res;
}


SWIGINTERN int
SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
{
  if (PyString_Check(obj)) {
    char *cstr; int len;
    PyString_AsStringAndSize(obj, &cstr, &len);
    if (cptr)  {
      if (alloc) {
	/* 
	   In python the user should not be able to modify the inner
	   string representation. To warranty that, if you define
	   SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
	   buffer is always returned.

	   The default behavior is just to return the pointer value,
	   so, be careful.
	*/ 
#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
	if (*alloc != SWIG_OLDOBJ) 
#else
	if (*alloc == SWIG_NEWOBJ) 
#endif
	  {
	    *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
	    *alloc = SWIG_NEWOBJ;
	  }
	else {
	  *cptr = cstr;
	  *alloc = SWIG_OLDOBJ;
	}
      } else {
	*cptr = PyString_AsString(obj);
      }
    }
    if (psize) *psize = len + 1;
    return SWIG_OK;
  } else {
    swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
    if (pchar_descriptor) {
      void* vptr = 0;
      if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
	if (cptr) *cptr = (char *) vptr;
	if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
	if (alloc) *alloc = SWIG_OLDOBJ;
	return SWIG_OK;
      }
    }
  }
  return SWIG_TypeError;
}





PyObject *
_csRef_to_Python (const csRef<iBase> & ref, void * ptr, const char * name)
{
  if (!ref.IsValid())
  {
    Py_INCREF(Py_None);
    return Py_None;
  }
  ref->IncRef();
  return SWIG_NewPointerObj((void *)ptr, SWIG_TypeQuery(name), 1);
}


PyObject *
_csWrapPtr_to_Python (const csWrapPtr & wp)
{
  if (!wp.Ref.IsValid())
  {
    Py_INCREF(Py_None);
    return Py_None;
  }
  iBase * ibase = (iBase *)wp.Ref;
  void * ptr = ibase->QueryInterface(iSCF::SCF->GetInterfaceID(wp.Type), wp.Version);
  ibase->DecRef(); // Undo IncRef from QueryInterface

  // This is a bit tricky: We want the generated Python 'result' object
  // to own one reference to the wrapped object, so we want to call
  // Python's iBase.IncRef() to gain that reference. In order to do this,
  // we create a second Python object (an iBase) and invoke its IncRef()
  // method. This IncRef() is done on the Python side so that Python code
  // can override IncRef() if needed. Note carefully that this means we
  // are actually creating _two_ Python objects, and each Python object
  // will invoke DecRef() on the wrapped pointer at destruction time. (We
  // destroy the iBase object manually below; and the 'result' object
  // gets destroyed when it goes out of scope in the Python program.)
  // Because DecRef() is being invoked twice (once for each Python
  // object), we must ensure that IncRef() is invoked twice, hence the
  // extra C++ `ibase->IncRef()'. (We don't bother doing this on the
  // Python side because this reference count manipulation is for our own
  // internal correctness.)

  CS_ALLOC_STACK_ARRAY(char, type_name, strlen(wp.Type) + 3);
  strcat(strcpy(type_name, wp.Type), " *");
  PyObject *result = SWIG_NewPointerObj(ptr, SWIG_TypeQuery(type_name), 1);
  PyObject * ibase_obj = SWIG_NewPointerObj (
    ptr, SWIG_TypeQuery(type_name), 1);
  PyObject * res_obj = PyObject_CallMethod(ibase_obj, "IncRef", "()");
  if (!res_obj)
  {
    // Calling Python IncRef() failed; something wrong here.
    Py_XDECREF(result);
    result = 0;
  }
  Py_XDECREF(ibase_obj);
  Py_XDECREF(res_obj);
  return result;
}


SWIGINTERN int
SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) 
{
  if (PyInt_Check(obj)) {
    long v = PyInt_AsLong(obj);
    if (v >= 0) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      return SWIG_OverflowError;
    }
  } else if (PyLong_Check(obj)) {
    unsigned long v = PyLong_AsUnsignedLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    unsigned long v = PyLong_AsUnsignedLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      double d;
      int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
	if (val) *val = (unsigned long)(d);
	return res;
      }
    }
  }
#endif
  return SWIG_TypeError;
}


SWIGINTERNINLINE int
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
  if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
  return res;
}


SWIGINTERNINLINE PyObject* 
SWIG_From_unsigned_SS_long  (unsigned long value)
{
  return (value > LONG_MAX) ?
    PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); 
}


SWIGINTERNINLINE PyObject *
SWIG_From_size_t  (size_t value)
{    
  return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value));
}


SWIGINTERNINLINE PyObject*
  SWIG_From_bool  (bool value)
{
  return PyBool_FromLong(value ? 1 : 0);
}

SWIGINTERN int iBase_scfGetVersion(){ return scfInterfaceTraits<iBase>::GetVersion(); }

SWIGINTERN int
SWIG_AsVal_bool (PyObject *obj, bool *val)
{
  if (obj == Py_True) {
    if (val) *val = true;
    return SWIG_OK;
  } else if (obj == Py_False) {
    if (val) *val = false;
    return SWIG_OK;
  } else {
    long v = 0;
    int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
    if (SWIG_IsOK(res) && val) *val = v ? true : false;
    return res;
  }
}

SWIGINTERN void delete_iSCF(iSCF *self){ if (self) self->DecRef(); }
SWIGINTERN int iSCF_scfGetVersion(){ return scfInterfaceTraits<iSCF>::GetVersion(); }
SWIGINTERN void delete_iFactory(iFactory *self){ if (self) self->DecRef(); }
SWIGINTERN int iFactory_scfGetVersion(){ return scfInterfaceTraits<iFactory>::GetVersion(); }

SWIGINTERNINLINE PyObject *
SWIG_From_unsigned_SS_int  (unsigned int value)
{    
  return SWIG_From_unsigned_SS_long  (value);
}

SWIGINTERN void delete_iDebugHelper(iDebugHelper *self){ if (self) self->DecRef(); }
SWIGINTERN int iDebugHelper_scfGetVersion(){ return scfInterfaceTraits<iDebugHelper>::GetVersion(); }
SWIGINTERN void delete_iCommandLineParser(iCommandLineParser *self){ if (self) self->DecRef(); }
SWIGINTERN int iCommandLineParser_scfGetVersion(){ return scfInterfaceTraits<iCommandLineParser>::GetVersion(); }

SWIGINTERN int
SWIG_AsVal_float (PyObject * obj, float *val)
{
  double v;
  int res = SWIG_AsVal_double (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < -FLT_MAX || v > FLT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< float >(v);
    }
  }  
  return res;
}


  #define SWIG_From_double   PyFloat_FromDouble 


SWIGINTERNINLINE PyObject *
SWIG_From_float  (float value)
{    
  return SWIG_From_double  (value);
}

SWIGINTERN csColor csColor_operator_Sa_(csColor const *self,csColor const &c){ return *self + c; }
SWIGINTERN csColor csColor_operator_Ss_(csColor const *self,csColor const &c){ return *self - c; }
SWIGINTERN csColor csColor___rmul__(csColor const *self,float f){ return f * *self; }
SWIGINTERN int csSet_Sl_csStringID_Sg____len__(csSet<csStringID > *self){return self->GetSize();}
SWIGINTERN bool csSet_Sl_csStringID_Sg____contains__(csSet<csStringID > *self,csStringID o){return self->Contains(o);}
SWIGINTERN void csSet_Sl_csStringID_Sg__append(csSet<csStringID > *self,csStringID o){return self->Add(o);}
SWIGINTERN bool csSet_Sl_csStringID_Sg____delitem__(csSet<csStringID > *self,csStringID o){ return self->Delete(o);}
SWIGINTERN void delete_iString(iString *self){ if (self) self->DecRef(); }
SWIGINTERN int iString_scfGetVersion(){ return scfInterfaceTraits<iString>::GetVersion(); }
SWIGINTERN char iString___getitem__(iString const *self,size_t i){ return self->GetAt(i); }

SWIGINTERNINLINE PyObject *
SWIG_From_char  (char c) 
{ 
  return SWIG_FromCharPtrAndSize(&c,1);
}


SWIGINTERN int
SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
{ 
  char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
  int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
  if (SWIG_IsOK(res)) {
    if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
    if (csize <= size) {
      if (val) {
	if (csize) memcpy(val, cptr, csize*sizeof(char));
	if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
      }
      if (alloc == SWIG_NEWOBJ) {
	delete[] cptr;
	res = SWIG_DelNewMask(res);
      }      
      return res;
    }
    if (alloc == SWIG_NEWOBJ) delete[] cptr;
  }
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsVal_char (PyObject * obj, char *val)
{    
  int res = SWIG_AsCharArray(obj, val, 1);
  if (!SWIG_IsOK(res)) {
    long v;
    res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
    if (SWIG_IsOK(res)) {
      if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
	if (val) *val = static_cast< char >(v);
      } else {
	res = SWIG_OverflowError;
      }
    }
  }
  return res;
}

SWIGINTERN void iString___setitem__(iString *self,size_t i,char c){ self->SetAt(i, c); }
SWIGINTERN char csString___getitem__(csString const *self,size_t i){ return self->operator[](i); }
SWIGINTERN void csString___setitem__(csString *self,size_t i,char c){ self->operator[](i) = c; }
SWIGINTERN void csString___delitem__(csString *self,size_t i){ self->DeleteAt(i); }
SWIGINTERN csVector2 csVector2_operator_Sa_(csVector2 const *self,csVector2 const &v){ return *self + v; }
SWIGINTERN csVector2 csVector2_operator_Ss_(csVector2 const *self,csVector2 const &v){ return *self - v; }
SWIGINTERN float csVector2_operator_Sm___SWIG_0(csVector2 const *self,csVector2 const &v){ return *self * v; }
SWIGINTERN csVector2 csVector2_operator_Sm___SWIG_1(csVector2 const *self,float f){ return *self * f; }
SWIGINTERN csVector2 csVector2_operator_Sd_(csVector2 const *self,float f){ return *self * f; }
SWIGINTERN bool csVector2_operator_Se__Se_(csVector2 const *self,csVector2 const &v){ return *self == v; }
SWIGINTERN bool csVector2_operator_SN__Se_(csVector2 const *self,csVector2 const &v){ return *self != v; }
SWIGINTERN bool csVector2_operator_Sl_(csVector2 const *self,float f){ return *self < f; }
SWIGINTERN bool csVector2_operator_Sg_(csVector2 const *self,float f){ return f > *self; }
SWIGINTERN csVector2 csVector2___rmul__(csVector2 const *self,float f){ return f * *self; }
SWIGINTERN float csVector2___abs__(csVector2 const *self){ return self->Norm(); }
SWIGINTERN float csVector2___getitem__(csVector2 const *self,int i){ return i ? self->y : self->x; }
SWIGINTERN void csVector2___setitem__(csVector2 *self,int i,float v){ if (i) self->y = v; else self->x = v; }
SWIGINTERN csVector3 csVector3_operator_Sa_(csVector3 const *self,csVector3 const &v){ return *self + v; }
SWIGINTERN csVector3 csVector3_operator_Ss_(csVector3 const *self,csVector3 const &v){ return *self - v; }
SWIGINTERN float csVector3_operator_Sm___SWIG_0(csVector3 const *self,csVector3 const &v){ return *self * v; }
SWIGINTERN csVector3 csVector3_operator_Sm___SWIG_1(csVector3 const *self,float f){ return *self * f; }
SWIGINTERN csVector3 csVector3_operator_Sd___SWIG_0(csVector3 const *self,float f){ return *self * f; }
SWIGINTERN bool csVector3_operator_Se__Se_(csVector3 const *self,csVector3 const &v){ return *self == v; }
SWIGINTERN bool csVector3_operator_SN__Se_(csVector3 const *self,csVector3 const &v){ return *self != v; }
SWIGINTERN bool csVector3_operator_Sl_(csVector3 const *self,float f){ return *self < f; }
SWIGINTERN bool csVector3_operator_Sg_(csVector3 const *self,float f){ return f > *self; }
SWIGINTERN csVector3 &csVector3_operator_Sm__Se___SWIG_1(csVector3 *self,csTransform const &t){ return *self *= t; }
SWIGINTERN csVector3 &csVector3_operator_Sd__Se___SWIG_1(csVector3 *self,csReversibleTransform const &t){ return *self /= t; }
SWIGINTERN csVector3 csVector3_operator_Sd___SWIG_1(csVector3 *self,csReversibleTransform const &t){ return *self / t; }
SWIGINTERN csVector3 csVector3_project(csVector3 const *self,csVector3 const &what){ return what << *self; }
SWIGINTERN csVector3 csVector3___rmul__(csVector3 const *self,float f){ return f * *self; }
SWIGINTERN float csVector3___abs__(csVector3 const *self){ return self->Norm(); }
SWIGINTERN float csVector3___getitem__(csVector3 const *self,int i){ return self->operator[](i); }
SWIGINTERN void csVector3___setitem__(csVector3 *self,int i,float v){ self->operator[](i) = v; }
SWIGINTERN bool csVector3___nonzero__(csVector3 const *self){ return !self->IsZero(); }
SWIGINTERN csMatrix3 csMatrix3_operator_Sa_(csMatrix3 *self,csMatrix3 const &m){ return *self + m; }
SWIGINTERN csMatrix3 csMatrix3_operator_Ss_(csMatrix3 *self,csMatrix3 const &m){ return *self - m; }
SWIGINTERN csMatrix3 csMatrix3_operator_Sm___SWIG_0(csMatrix3 *self,csMatrix3 const &m){ return *self * m; }
SWIGINTERN csVector3 csMatrix3_operator_Sm___SWIG_1(csMatrix3 *self,csVector3 const &v){ return *self * v; }
SWIGINTERN csMatrix3 csMatrix3_operator_Sm___SWIG_2(csMatrix3 *self,float f){ return *self * f; }
SWIGINTERN csMatrix3 csMatrix3_operator_Sd_(csMatrix3 *self,float f){ return *self / f; }
SWIGINTERN bool csMatrix3_operator_Se__Se_(csMatrix3 const *self,csMatrix3 const &m){ return *self == m; }
SWIGINTERN bool csMatrix3_operator_SN__Se_(csMatrix3 const *self,csMatrix3 const &m){ return *self != m; }
SWIGINTERN bool csMatrix3_operator_Sl_(csMatrix3 const *self,float f){ return *self < f; }
SWIGINTERN csMatrix3 csMatrix3_operator_Sm___SWIG_3(csMatrix3 const *self,csTransform const &t){ return *self * t; }
SWIGINTERN csMatrix3 &csMatrix3_operator_Sm__Se___SWIG_2(csMatrix3 *self,csTransform const &t){ return *self *= t; }
SWIGINTERN csMatrix3 csMatrix3___rmul__(csMatrix3 *self,float f){ return f * *self; }
SWIGINTERN csVector3 csTransform_operator_Sm___SWIG_0(csTransform const *self,csVector3 const &v){ return *self * v; }
SWIGINTERN csPlane3 csTransform_operator_Sm___SWIG_1(csTransform const *self,csPlane3 const &p){ return *self * p; }
SWIGINTERN csSphere csTransform_operator_Sm___SWIG_2(csTransform const *self,csSphere const &s){ return *self * s; }
SWIGINTERN csMatrix3 csTransform_operator_Sm___SWIG_3(csTransform const *self,csMatrix3 const &m){ return *self * m; }
SWIGINTERN csTransform csTransform_operator_Sm___SWIG_4(csTransform const *self,csReversibleTransform const &t){ return *self * t; }
SWIGINTERN csVector3 csTransform___rmul____SWIG_0(csTransform const *self,csVector3 const &v){ return v * *self; }
SWIGINTERN csPlane3 csTransform___rmul____SWIG_1(csTransform const *self,csPlane3 const &p){ return p * *self; }
SWIGINTERN csSphere csTransform___rmul____SWIG_2(csTransform const *self,csSphere const &s){ return s * *self; }
SWIGINTERN csReversibleTransform &csReversibleTransform_operator_Sm__Se_(csReversibleTransform *self,csReversibleTransform const &t){ return *self *= t; }
SWIGINTERN csReversibleTransform csReversibleTransform_operator_Sm_(csReversibleTransform *self,csReversibleTransform const &t){ return *self * t; }
SWIGINTERN csReversibleTransform &csReversibleTransform_operator_Sd__Se_(csReversibleTransform *self,csReversibleTransform const &t){ return *self /= t; }
SWIGINTERN csReversibleTransform csReversibleTransform_operator_Sd_(csReversibleTransform *self,csReversibleTransform const &t){ return *self / t; }
SWIGINTERN csSphere &csSphere_operator_Sm__Se_(csSphere *self,csTransform const &t){ return *self *= t; }
SWIGINTERN csSphere csSphere_operator_Sd_(csSphere *self,csReversibleTransform const &t){ return *self / t; }
SWIGINTERN csPlane3 &csPlane3_operator_Sm__Se_(csPlane3 *self,csTransform const &t){ return *self *= t; }
SWIGINTERN csPlane3 &csPlane3_operator_Sd__Se_(csPlane3 *self,csReversibleTransform const &t){ return *self /= t; }
SWIGINTERN csPlane3 csPlane3_operator_Sd_(csPlane3 *self,csReversibleTransform const &t){ return *self / t; }
SWIGINTERN csVector2 &csPoly2D___getitem__(csPoly2D *self,int i){ return self->operator[](i); }
SWIGINTERN csVector3 &csPoly3D___getitem__(csPoly3D *self,int i){ return self->operator[](i); }
SWIGINTERN csQuaternion csQuaternion_operator_Sa_(csQuaternion *self,csQuaternion const &q){ return *self + q; }
SWIGINTERN csQuaternion csQuaternion_operator_Ss_(csQuaternion *self,csQuaternion const &q){ return *self - q; }
SWIGINTERN csQuaternion csQuaternion_operator_Sm_(csQuaternion *self,csQuaternion const &q){ return *self * q; }
SWIGINTERN csBox2 csBox2_operator_Sa___SWIG_0(csBox2 const *self,csBox2 const &b){ return *self + b; }
SWIGINTERN csBox2 csBox2_operator_Sm_(csBox2 const *self,csBox2 const &b){ return *self * b; }
SWIGINTERN bool csBox2_operator_SN__Se_(csBox2 const *self,csBox2 const &b){ return *self != b; }
SWIGINTERN bool csBox2_operator_Sl___SWIG_0(csBox2 const *self,csBox2 const &b){ return *self < b; }
SWIGINTERN bool csBox2_operator_Sg_(csBox2 const *self,csBox2 const &b){ return b > *self; }
SWIGINTERN csBox2 csBox2_operator_Sa___SWIG_1(csBox2 const *self,csVector2 const &point){ return *self + point; }
SWIGINTERN bool csBox2_operator_Sl___SWIG_1(csBox2 const *self,csVector2 const &point){ return point < *self; }
SWIGINTERN csBox3 csBox3_operator_Sa___SWIG_0(csBox3 const *self,csBox3 const &b){ return *self + b; }
SWIGINTERN csBox3 csBox3_operator_Sm_(csBox3 const *self,csBox3 const &b){ return *self * b; }
SWIGINTERN bool csBox3_operator_SN__Se_(csBox3 const *self,csBox3 const &b){ return *self != b; }
SWIGINTERN bool csBox3_operator_Sl___SWIG_0(csBox3 const *self,csBox3 const &b){ return *self < b; }
SWIGINTERN bool csBox3_operator_Sg_(csBox3 const *self,csBox3 const &b){ return b > *self; }
SWIGINTERN csBox3 csBox3_operator_Sa___SWIG_1(csBox3 const *self,csVector3 const &point){ return *self + point; }
SWIGINTERN bool csBox3_operator_Sl___SWIG_1(csBox3 const *self,csVector3 const &point){ return point < *self; }

SWIGINTERN int
SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > UCHAR_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned char >(v);
    }
  }  
  return res;
}


SWIGINTERNINLINE PyObject *
SWIG_From_unsigned_SS_char  (unsigned char value)
{    
  return SWIG_From_unsigned_SS_long  (value);
}

SWIGINTERN void delete_iAwsKey(iAwsKey *self){ if (self) self->DecRef(); }
SWIGINTERN int iAwsKey_scfGetVersion(){ return scfInterfaceTraits<iAwsKey>::GetVersion(); }

SWIGINTERN int
SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > UINT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned int >(v);
    }
  }  
  return res;
}

SWIGINTERN void delete_iAws(iAws *self){ if (self) self->DecRef(); }
SWIGINTERN int iAws_scfGetVersion(){ return scfInterfaceTraits<iAws>::GetVersion(); }
SWIGINTERN bool iAws_SetupCanvas__SWIG_3(iAws *self,iGraphics2D *g2d=0,iGraphics3D *g3d=0){ return self->SetupCanvas(0, g2d, g3d); }
SWIGINTERN void delete_iObjectModelListener(iObjectModelListener *self){ if (self) self->DecRef(); }
SWIGINTERN int iObjectModelListener_scfGetVersion(){ return scfInterfaceTraits<iObjectModelListener>::GetVersion(); }
SWIGINTERN void delete_iObjectModel(iObjectModel *self){ if (self) self->DecRef(); }
SWIGINTERN int iObjectModel_scfGetVersion(){ return scfInterfaceTraits<iObjectModel>::GetVersion(); }
SWIGINTERN void delete_iPath(iPath *self){ if (self) self->DecRef(); }
SWIGINTERN int iPath_scfGetVersion(){ return scfInterfaceTraits<iPath>::GetVersion(); }
SWIGINTERN void delete_iPolygonMesh(iPolygonMesh *self){ if (self) self->DecRef(); }
SWIGINTERN int iPolygonMesh_scfGetVersion(){ return scfInterfaceTraits<iPolygonMesh>::GetVersion(); }
SWIGINTERN void delete_iFrustumViewUserdata(iFrustumViewUserdata *self){ if (self) self->DecRef(); }
SWIGINTERN int iFrustumViewUserdata_scfGetVersion(){ return scfInterfaceTraits<iFrustumViewUserdata>::GetVersion(); }
SWIGINTERN void delete_iFrustumView(iFrustumView *self){ if (self) self->DecRef(); }
SWIGINTERN int iFrustumView_scfGetVersion(){ return scfInterfaceTraits<iFrustumView>::GetVersion(); }
SWIGINTERN void delete_iLight(iLight *self){ if (self) self->DecRef(); }
SWIGINTERN int iLight_scfGetVersion(){ return scfInterfaceTraits<iLight>::GetVersion(); }
SWIGINTERN void delete_iLightList(iLightList *self){ if (self) self->DecRef(); }
SWIGINTERN int iLightList_scfGetVersion(){ return scfInterfaceTraits<iLightList>::GetVersion(); }
SWIGINTERN iLight *iLightList___getitem____SWIG_0(iLightList *self,int n){return self->Get(n);}
SWIGINTERN bool iLightList___contains____SWIG_0(iLightList *self,iLight *obj){
		if (self->Find(obj) == 
				(int)csArrayItemNotFound)
			return false;
		return true;
	}
SWIGINTERN bool iLightList___delitem__(iLightList *self,int n){ return self->Remove(n); }
SWIGINTERN int iLightList___len__(iLightList *self){ return self->GetCount(); }
SWIGINTERN void iLightList_append(iLightList *self,iLight *e){ self->Add(e); }
SWIGINTERN iLight *iLightList___getitem____SWIG_1(iLightList *self,char const *name){return self->FindByName(name);}
SWIGINTERN bool iLightList___contains____SWIG_1(iLightList *self,char const *name){
		if (self->FindByName(name))
			return true;
		return false;
	}
SWIGINTERN void delete_iSector(iSector *self){ if (self) self->DecRef(); }
SWIGINTERN int iSector_scfGetVersion(){ return scfInterfaceTraits<iSector>::GetVersion(); }
SWIGINTERN void delete_iSectorList(iSectorList *self){ if (self) self->DecRef(); }
SWIGINTERN int iSectorList_scfGetVersion(){ return scfInterfaceTraits<iSectorList>::GetVersion(); }
SWIGINTERN iSector *iSectorList___getitem____SWIG_0(iSectorList *self,int n){return self->Get(n);}
SWIGINTERN bool iSectorList___contains____SWIG_0(iSectorList *self,iSector *obj){
		if (self->Find(obj) == 
				(int)csArrayItemNotFound)
			return false;
		return true;
	}
SWIGINTERN bool iSectorList___delitem__(iSectorList *self,int n){ return self->Remove(n); }
SWIGINTERN int iSectorList___len__(iSectorList *self){ return self->GetCount(); }
SWIGINTERN void iSectorList_append(iSectorList *self,iSector *e){ self->Add(e); }
SWIGINTERN iSector *iSectorList___getitem____SWIG_1(iSectorList *self,char const *name){return self->FindByName(name);}
SWIGINTERN bool iSectorList___contains____SWIG_1(iSectorList *self,char const *name){
		if (self->FindByName(name))
			return true;
		return false;
	}
SWIGINTERN void delete_iEngine(iEngine *self){ if (self) self->DecRef(); }
SWIGINTERN int iEngine_scfGetVersion(){ return scfInterfaceTraits<iEngine>::GetVersion(); }
SWIGINTERN void delete_iCamera(iCamera *self){ if (self) self->DecRef(); }
SWIGINTERN int iCamera_scfGetVersion(){ return scfInterfaceTraits<iCamera>::GetVersion(); }
SWIGINTERN void delete_iCameraPosition(iCameraPosition *self){ if (self) self->DecRef(); }
SWIGINTERN int iCameraPosition_scfGetVersion(){ return scfInterfaceTraits<iCameraPosition>::GetVersion(); }
SWIGINTERN iCameraPosition *iCameraPositionList___getitem____SWIG_0(iCameraPositionList *self,int n){return self->Get(n);}
SWIGINTERN bool iCameraPositionList___contains____SWIG_0(iCameraPositionList *self,iCameraPosition *obj){
		if (self->Find(obj) == 
				(int)csArrayItemNotFound)
			return false;
		return true;
	}
SWIGINTERN bool iCameraPositionList___delitem__(iCameraPositionList *self,int n){ return self->Remove(n); }
SWIGINTERN int iCameraPositionList___len__(iCameraPositionList *self){ return self->GetCount(); }
SWIGINTERN void iCameraPositionList_append(iCameraPositionList *self,iCameraPosition *e){ self->Add(e); }
SWIGINTERN iCameraPosition *iCameraPositionList___getitem____SWIG_1(iCameraPositionList *self,char const *name){return self->FindByName(name);}
SWIGINTERN bool iCameraPositionList___contains____SWIG_1(iCameraPositionList *self,char const *name){
		if (self->FindByName(name))
			return true;
		return false;
	}
SWIGINTERN void delete_iTextureWrapper(iTextureWrapper *self){ if (self) self->DecRef(); }
SWIGINTERN int iTextureWrapper_scfGetVersion(){ return scfInterfaceTraits<iTextureWrapper>::GetVersion(); }
SWIGINTERN void delete_iTextureList(iTextureList *self){ if (self) self->DecRef(); }
SWIGINTERN int iTextureList_scfGetVersion(){ return scfInterfaceTraits<iTextureList>::GetVersion(); }
SWIGINTERN iTextureWrapper *iTextureList___getitem____SWIG_0(iTextureList *self,int n){return self->Get(n);}
SWIGINTERN bool iTextureList___contains____SWIG_0(iTextureList *self,iTextureWrapper *obj){
		if (self->Find(obj) == 
				(int)csArrayItemNotFound)
			return false;
		return true;
	}
SWIGINTERN bool iTextureList___delitem__(iTextureList *self,int n){ return self->Remove(n); }
SWIGINTERN int iTextureList___len__(iTextureList *self){ return self->GetCount(); }
SWIGINTERN void iTextureList_append(iTextureList *self,iTextureWrapper *e){ self->Add(e); }
SWIGINTERN iTextureWrapper *iTextureList___getitem____SWIG_1(iTextureList *self,char const *name){return self->FindByName(name);}
SWIGINTERN bool iTextureList___contains____SWIG_1(iTextureList *self,char const *name){
		if (self->FindByName(name))
			return true;
		return false;
	}
SWIGINTERN void delete_iMaterialWrapper(iMaterialWrapper *self){ if (self) self->DecRef(); }
SWIGINTERN int iMaterialWrapper_scfGetVersion(){ return scfInterfaceTraits<iMaterialWrapper>::GetVersion(); }
SWIGINTERN iMaterialWrapper *iMaterialList___getitem____SWIG_0(iMaterialList *self,int n){return self->Get(n);}
SWIGINTERN bool iMaterialList___contains____SWIG_0(iMaterialList *self,iMaterialWrapper *obj){
		if (self->Find(obj) == 
				(int)csArrayItemNotFound)
			return false;
		return true;
	}
SWIGINTERN bool iMaterialList___delitem__(iMaterialList *self,int n){ return self->Remove(n); }
SWIGINTERN int iMaterialList___len__(iMaterialList *self){ return self->GetCount(); }
SWIGINTERN void iMaterialList_append(iMaterialList *self,iMaterialWrapper *e){ self->Add(e); }
SWIGINTERN iMaterialWrapper *iMaterialList___getitem____SWIG_1(iMaterialList *self,char const *name){return self->FindByName(name);}
SWIGINTERN bool iMaterialList___contains____SWIG_1(iMaterialList *self,char const *name){
		if (self->FindByName(name))
			return true;
		return false;
	}
SWIGINTERN void delete_iSceneNodeArray(iSceneNodeArray *self){ if (self) self->DecRef(); }
SWIGINTERN int iSceneNodeArray_scfGetVersion(){ return scfInterfaceTraits<iSceneNodeArray>::GetVersion(); }
SWIGINTERN void delete_iSceneNode(iSceneNode *self){ if (self) self->DecRef(); }
SWIGINTERN int iSceneNode_scfGetVersion(){ return scfInterfaceTraits<iSceneNode>::GetVersion(); }
SWIGINTERN void delete_iMeshWrapper(iMeshWrapper *self){ if (self) self->DecRef(); }
SWIGINTERN int iMeshWrapper_scfGetVersion(){ return scfInterfaceTraits<iMeshWrapper>::GetVersion(); }
SWIGINTERN void delete_iMeshFactoryWrapper(iMeshFactoryWrapper *self){ if (self) self->DecRef(); }
SWIGINTERN int iMeshFactoryWrapper_scfGetVersion(){ return scfInterfaceTraits<iMeshFactoryWrapper>::GetVersion(); }
SWIGINTERN iMeshWrapper *iMeshList___getitem____SWIG_0(iMeshList *self,int n){return self->Get(n);}
SWIGINTERN bool iMeshList___contains____SWIG_0(iMeshList *self,iMeshWrapper *obj){
		if (self->Find(obj) == 
				(int)csArrayItemNotFound)
			return false;
		return true;
	}
SWIGINTERN bool iMeshList___delitem__(iMeshList *self,int n){ return self->Remove(n); }
SWIGINTERN int iMeshList___len__(iMeshList *self){ return self->GetCount(); }
SWIGINTERN void iMeshList_append(iMeshList *self,iMeshWrapper *e){ self->Add(e); }
SWIGINTERN iMeshWrapper *iMeshList___getitem____SWIG_1(iMeshList *self,char const *name){return self->FindByName(name);}
SWIGINTERN bool iMeshList___contains____SWIG_1(iMeshList *self,char const *name){
		if (self->FindByName(name))
			return true;
		return false;
	}
SWIGINTERN iMeshFactoryWrapper *iMeshFactoryList___getitem____SWIG_0(iMeshFactoryList *self,int n){return self->Get(n);}
SWIGINTERN bool iMeshFactoryList___contains____SWIG_0(iMeshFactoryList *self,iMeshFactoryWrapper *obj){
		if (self->Find(obj) == 
				(int)csArrayItemNotFound)
			return false;
		return true;
	}
SWIGINTERN bool iMeshFactoryList___delitem__(iMeshFactoryList *self,int n){ return self->Remove(n); }
SWIGINTERN int iMeshFactoryList___len__(iMeshFactoryList *self){ return self->GetCount(); }
SWIGINTERN void iMeshFactoryList_append(iMeshFactoryList *self,iMeshFactoryWrapper *e){ self->Add(e); }
SWIGINTERN iMeshFactoryWrapper *iMeshFactoryList___getitem____SWIG_1(iMeshFactoryList *self,char const *name){return self->FindByName(name);}
SWIGINTERN bool iMeshFactoryList___contains____SWIG_1(iMeshFactoryList *self,char const *name){
		if (self->FindByName(name))
			return true;
		return false;
	}
SWIGINTERN void delete_iMeshWrapperIterator(iMeshWrapperIterator *self){ if (self) self->DecRef(); }
SWIGINTERN int iMeshWrapperIterator_scfGetVersion(){ return scfInterfaceTraits<iMeshWrapperIterator>::GetVersion(); }
SWIGINTERN void delete_iMovableListener(iMovableListener *self){ if (self) self->DecRef(); }
SWIGINTERN int iMovableListener_scfGetVersion(){ return scfInterfaceTraits<iMovableListener>::GetVersion(); }
SWIGINTERN void delete_iMovable(iMovable *self){ if (self) self->DecRef(); }
SWIGINTERN int iMovable_scfGetVersion(){ return scfInterfaceTraits<iMovable>::GetVersion(); }
SWIGINTERN iRegion *iRegionList___getitem____SWIG_0(iRegionList *self,int n){return self->Get(n);}
SWIGINTERN bool iRegionList___contains____SWIG_0(iRegionList *self,iRegion *obj){
		if (self->Find(obj) == 
				(int)csArrayItemNotFound)
			return false;
		return true;
	}
SWIGINTERN bool iRegionList___delitem__(iRegionList *self,int n){ return self->Remove(n); }
SWIGINTERN int iRegionList___len__(iRegionList *self){ return self->GetCount(); }
SWIGINTERN void iRegionList_append(iRegionList *self,iRegion *e){ self->Add(e); }
SWIGINTERN iRegion *iRegionList___getitem____SWIG_1(iRegionList *self,char const *name){return self->FindByName(name);}
SWIGINTERN bool iRegionList___contains____SWIG_1(iRegionList *self,char const *name){
		if (self->FindByName(name))
			return true;
		return false;
	}
SWIGINTERN void delete_iVisibilityCuller(iVisibilityCuller *self){ if (self) self->DecRef(); }
SWIGINTERN int iVisibilityCuller_scfGetVersion(){ return scfInterfaceTraits<iVisibilityCuller>::GetVersion(); }
SWIGINTERN void delete_iPortal(iPortal *self){ if (self) self->DecRef(); }
SWIGINTERN int iPortal_scfGetVersion(){ return scfInterfaceTraits<iPortal>::GetVersion(); }
SWIGINTERN void delete_iPortalContainer(iPortalContainer *self){ if (self) self->DecRef(); }
SWIGINTERN int iPortalContainer_scfGetVersion(){ return scfInterfaceTraits<iPortalContainer>::GetVersion(); }
SWIGINTERN void delete_iGeneralMeshState(iGeneralMeshState *self){ if (self) self->DecRef(); }
SWIGINTERN int iGeneralMeshState_scfGetVersion(){ return scfInterfaceTraits<iGeneralMeshState>::GetVersion(); }
SWIGINTERN void delete_iGeneralFactoryState(iGeneralFactoryState *self){ if (self) self->DecRef(); }
SWIGINTERN int iGeneralFactoryState_scfGetVersion(){ return scfInterfaceTraits<iGeneralFactoryState>::GetVersion(); }
SWIGINTERN csVector3 *iGeneralFactoryState_GetVertexByIndex(iGeneralFactoryState *self,int index){ return &(self->GetVertices()[index]); }
SWIGINTERN csVector2 *iGeneralFactoryState_GetTexelByIndex(iGeneralFactoryState *self,int index){ return &(self->GetTexels()[index]); }
SWIGINTERN csVector3 *iGeneralFactoryState_GetNormalByIndex(iGeneralFactoryState *self,int index){ return &(self->GetNormals()[index]); }
SWIGINTERN csTriangle *iGeneralFactoryState_GetTriangleByIndex(iGeneralFactoryState *self,int index){ return &(self->GetTriangles()[index]); }
SWIGINTERN csColor *iGeneralFactoryState_GetColorByIndex(iGeneralFactoryState *self,int index){ return &(self->GetColors()[index]); }
SWIGINTERN void delete_iSkeletonBone(iSkeletonBone *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeletonBone_scfGetVersion(){ return scfInterfaceTraits<iSkeletonBone>::GetVersion(); }
SWIGINTERN void delete_iSkeletonScriptKeyFrame(iSkeletonScriptKeyFrame *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeletonScriptKeyFrame_scfGetVersion(){ return scfInterfaceTraits<iSkeletonScriptKeyFrame>::GetVersion(); }
SWIGINTERN void delete_iSkeletonScript(iSkeletonScript *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeletonScript_scfGetVersion(){ return scfInterfaceTraits<iSkeletonScript>::GetVersion(); }
SWIGINTERN void delete_iSkeleton(iSkeleton *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeleton_scfGetVersion(){ return scfInterfaceTraits<iSkeleton>::GetVersion(); }
SWIGINTERN void delete_iSkeletonSocket(iSkeletonSocket *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeletonSocket_scfGetVersion(){ return scfInterfaceTraits<iSkeletonSocket>::GetVersion(); }
SWIGINTERN void delete_iSkeletonBoneRagdollInfo(iSkeletonBoneRagdollInfo *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeletonBoneRagdollInfo_scfGetVersion(){ return scfInterfaceTraits<iSkeletonBoneRagdollInfo>::GetVersion(); }
SWIGINTERN void delete_iSkeletonBoneFactory(iSkeletonBoneFactory *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeletonBoneFactory_scfGetVersion(){ return scfInterfaceTraits<iSkeletonBoneFactory>::GetVersion(); }
SWIGINTERN void delete_iSkeletonSocketFactory(iSkeletonSocketFactory *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeletonSocketFactory_scfGetVersion(){ return scfInterfaceTraits<iSkeletonSocketFactory>::GetVersion(); }
SWIGINTERN void delete_iSkeletonFactory(iSkeletonFactory *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeletonFactory_scfGetVersion(){ return scfInterfaceTraits<iSkeletonFactory>::GetVersion(); }
SWIGINTERN void delete_iSkeletonGraveyard(iSkeletonGraveyard *self){ if (self) self->DecRef(); }
SWIGINTERN int iSkeletonGraveyard_scfGetVersion(){ return scfInterfaceTraits<iSkeletonGraveyard>::GetVersion(); }
SWIGINTERN void delete_iGenMeshSkeletonControlState(iGenMeshSkeletonControlState *self){ if (self) self->DecRef(); }
SWIGINTERN int iGenMeshSkeletonControlState_scfGetVersion(){ return scfInterfaceTraits<iGenMeshSkeletonControlState>::GetVersion(); }
SWIGINTERN void delete_iSprite2DState(iSprite2DState *self){ if (self) self->DecRef(); }
SWIGINTERN int iSprite2DState_scfGetVersion(){ return scfInterfaceTraits<iSprite2DState>::GetVersion(); }
SWIGINTERN csSprite2DVertex *iSprite2DState_GetVertexByIndex(iSprite2DState *self,int index){ return &self->GetVertices()->Get(index); }
SWIGINTERN int iSprite2DState_GetVertexCount(iSprite2DState *self){ return self->GetVertices()->GetSize(); }
SWIGINTERN void delete_iSprite3DState(iSprite3DState *self){ if (self) self->DecRef(); }
SWIGINTERN int iSprite3DState_scfGetVersion(){ return scfInterfaceTraits<iSprite3DState>::GetVersion(); }
SWIGINTERN void delete_iSpriteCal3DState(iSpriteCal3DState *self){ if (self) self->DecRef(); }
SWIGINTERN int iSpriteCal3DState_scfGetVersion(){ return scfInterfaceTraits<iSpriteCal3DState>::GetVersion(); }
SWIGINTERN void delete_iMeshObject(iMeshObject *self){ if (self) self->DecRef(); }
SWIGINTERN int iMeshObject_scfGetVersion(){ return scfInterfaceTraits<iMeshObject>::GetVersion(); }
SWIGINTERN void delete_iMeshObjectFactory(iMeshObjectFactory *self){ if (self) self->DecRef(); }
SWIGINTERN int iMeshObjectFactory_scfGetVersion(){ return scfInterfaceTraits<iMeshObjectFactory>::GetVersion(); }
SWIGINTERN void delete_iMeshObjectType(iMeshObjectType *self){ if (self) self->DecRef(); }
SWIGINTERN int iMeshObjectType_scfGetVersion(){ return scfInterfaceTraits<iMeshObjectType>::GetVersion(); }
SWIGINTERN void delete_iThingFactoryState(iThingFactoryState *self){ if (self) self->DecRef(); }
SWIGINTERN int iThingFactoryState_scfGetVersion(){ return scfInterfaceTraits<iThingFactoryState>::GetVersion(); }
SWIGINTERN void delete_iThingState(iThingState *self){ if (self) self->DecRef(); }
SWIGINTERN int iThingState_scfGetVersion(){ return scfInterfaceTraits<iThingState>::GetVersion(); }
SWIGINTERN void delete_iTerrainObjectState(iTerrainObjectState *self){ if (self) self->DecRef(); }
SWIGINTERN int iTerrainObjectState_scfGetVersion(){ return scfInterfaceTraits<iTerrainObjectState>::GetVersion(); }
SWIGINTERN void delete_iTerrainFactoryState(iTerrainFactoryState *self){ if (self) self->DecRef(); }
SWIGINTERN int iTerrainFactoryState_scfGetVersion(){ return scfInterfaceTraits<iTerrainFactoryState>::GetVersion(); }
SWIGINTERN void delete_iParticleEmitter(iParticleEmitter *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleEmitter_scfGetVersion(){ return scfInterfaceTraits<iParticleEmitter>::GetVersion(); }
SWIGINTERN void delete_iParticleEffector(iParticleEffector *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleEffector_scfGetVersion(){ return scfInterfaceTraits<iParticleEffector>::GetVersion(); }
SWIGINTERN void delete_iParticleSystemBase(iParticleSystemBase *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleSystemBase_scfGetVersion(){ return scfInterfaceTraits<iParticleSystemBase>::GetVersion(); }
SWIGINTERN void delete_iParticleSystemFactory(iParticleSystemFactory *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleSystemFactory_scfGetVersion(){ return scfInterfaceTraits<iParticleSystemFactory>::GetVersion(); }
SWIGINTERN void delete_iParticleSystem(iParticleSystem *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleSystem_scfGetVersion(){ return scfInterfaceTraits<iParticleSystem>::GetVersion(); }
SWIGINTERN void delete_iParticleBuiltinEmitterBase(iParticleBuiltinEmitterBase *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleBuiltinEmitterBase_scfGetVersion(){ return scfInterfaceTraits<iParticleBuiltinEmitterBase>::GetVersion(); }
SWIGINTERN void delete_iParticleBuiltinEmitterSphere(iParticleBuiltinEmitterSphere *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleBuiltinEmitterSphere_scfGetVersion(){ return scfInterfaceTraits<iParticleBuiltinEmitterSphere>::GetVersion(); }
SWIGINTERN void delete_iParticleBuiltinEmitterCone(iParticleBuiltinEmitterCone *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleBuiltinEmitterCone_scfGetVersion(){ return scfInterfaceTraits<iParticleBuiltinEmitterCone>::GetVersion(); }
SWIGINTERN void delete_iParticleBuiltinEmitterBox(iParticleBuiltinEmitterBox *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleBuiltinEmitterBox_scfGetVersion(){ return scfInterfaceTraits<iParticleBuiltinEmitterBox>::GetVersion(); }
SWIGINTERN void delete_iParticleBuiltinEmitterCylinder(iParticleBuiltinEmitterCylinder *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleBuiltinEmitterCylinder_scfGetVersion(){ return scfInterfaceTraits<iParticleBuiltinEmitterCylinder>::GetVersion(); }
SWIGINTERN void delete_iParticleBuiltinEmitterFactory(iParticleBuiltinEmitterFactory *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleBuiltinEmitterFactory_scfGetVersion(){ return scfInterfaceTraits<iParticleBuiltinEmitterFactory>::GetVersion(); }
SWIGINTERN void delete_iParticleBuiltinEffectorForce(iParticleBuiltinEffectorForce *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleBuiltinEffectorForce_scfGetVersion(){ return scfInterfaceTraits<iParticleBuiltinEffectorForce>::GetVersion(); }
SWIGINTERN void delete_iParticleBuiltinEffectorLinColor(iParticleBuiltinEffectorLinColor *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleBuiltinEffectorLinColor_scfGetVersion(){ return scfInterfaceTraits<iParticleBuiltinEffectorLinColor>::GetVersion(); }
SWIGINTERN void delete_iParticleBuiltinEffectorFactory(iParticleBuiltinEffectorFactory *self){ if (self) self->DecRef(); }
SWIGINTERN int iParticleBuiltinEffectorFactory_scfGetVersion(){ return scfInterfaceTraits<iParticleBuiltinEffectorFactory>::GetVersion(); }
SWIGINTERN void delete_iLoader(iLoader *self){ if (self) self->DecRef(); }
SWIGINTERN int iLoader_scfGetVersion(){ return scfInterfaceTraits<iLoader>::GetVersion(); }
SWIGINTERN void delete_iLoaderPlugin(iLoaderPlugin *self){ if (self) self->DecRef(); }
SWIGINTERN int iLoaderPlugin_scfGetVersion(){ return scfInterfaceTraits<iLoaderPlugin>::GetVersion(); }
SWIGINTERN void delete_iBinaryLoaderPlugin(iBinaryLoaderPlugin *self){ if (self) self->DecRef(); }
SWIGINTERN int iBinaryLoaderPlugin_scfGetVersion(){ return scfInterfaceTraits<iBinaryLoaderPlugin>::GetVersion(); }
SWIGINTERN void delete_iSndSysData(iSndSysData *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysData_scfGetVersion(){ return scfInterfaceTraits<iSndSysData>::GetVersion(); }
SWIGINTERN void delete_iSndSysSoftwareFilter3D(iSndSysSoftwareFilter3D *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysSoftwareFilter3D_scfGetVersion(){ return scfInterfaceTraits<iSndSysSoftwareFilter3D>::GetVersion(); }
SWIGINTERN void delete_iSndSysListener(iSndSysListener *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysListener_scfGetVersion(){ return scfInterfaceTraits<iSndSysListener>::GetVersion(); }
SWIGINTERN void delete_iSndSysLoader(iSndSysLoader *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysLoader_scfGetVersion(){ return scfInterfaceTraits<iSndSysLoader>::GetVersion(); }
SWIGINTERN void delete_iSndSysWrapper(iSndSysWrapper *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysWrapper_scfGetVersion(){ return scfInterfaceTraits<iSndSysWrapper>::GetVersion(); }
SWIGINTERN void delete_iSndSysManager(iSndSysManager *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysManager_scfGetVersion(){ return scfInterfaceTraits<iSndSysManager>::GetVersion(); }
SWIGINTERN void delete_iSndSysSource(iSndSysSource *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysSource_scfGetVersion(){ return scfInterfaceTraits<iSndSysSource>::GetVersion(); }
SWIGINTERN void delete_iSndSysStream(iSndSysStream *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysStream_scfGetVersion(){ return scfInterfaceTraits<iSndSysStream>::GetVersion(); }
SWIGINTERN void delete_iSndSysRenderer(iSndSysRenderer *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysRenderer_scfGetVersion(){ return scfInterfaceTraits<iSndSysRenderer>::GetVersion(); }
SWIGINTERN void delete_iSndSysSoftwareDriver(iSndSysSoftwareDriver *self){ if (self) self->DecRef(); }
SWIGINTERN int iSndSysSoftwareDriver_scfGetVersion(){ return scfInterfaceTraits<iSndSysSoftwareDriver>::GetVersion(); }
SWIGINTERN void delete_iComponent(iComponent *self){ if (self) self->DecRef(); }
SWIGINTERN int iComponent_scfGetVersion(){ return scfInterfaceTraits<iComponent>::GetVersion(); }
SWIGINTERN void delete_iCacheManager(iCacheManager *self){ if (self) self->DecRef(); }
SWIGINTERN int iCacheManager_scfGetVersion(){ return scfInterfaceTraits<iCacheManager>::GetVersion(); }
SWIGINTERN void delete_iFile(iFile *self){ if (self) self->DecRef(); }
SWIGINTERN int iFile_scfGetVersion(){ return scfInterfaceTraits<iFile>::GetVersion(); }
SWIGINTERN void delete_iVFS(iVFS *self){ if (self) self->DecRef(); }
SWIGINTERN int iVFS_scfGetVersion(){ return scfInterfaceTraits<iVFS>::GetVersion(); }
SWIGINTERN void delete_iObject(iObject *self){ if (self) self->DecRef(); }
SWIGINTERN int iObject_scfGetVersion(){ return scfInterfaceTraits<iObject>::GetVersion(); }
SWIGINTERN void delete_iStringSet(iStringSet *self){ if (self) self->DecRef(); }
SWIGINTERN int iStringSet_scfGetVersion(){ return scfInterfaceTraits<iStringSet>::GetVersion(); }
SWIGINTERN void delete_iObjectRegistry(iObjectRegistry *self){ if (self) self->DecRef(); }
SWIGINTERN int iObjectRegistry_scfGetVersion(){ return scfInterfaceTraits<iObjectRegistry>::GetVersion(); }
SWIGINTERN void delete_iVirtualClock(iVirtualClock *self){ if (self) self->DecRef(); }
SWIGINTERN int iVirtualClock_scfGetVersion(){ return scfInterfaceTraits<iVirtualClock>::GetVersion(); }
SWIGINTERN csEventError iEvent_RetrieveString(iEvent *self,char const *name,char *&v){
		return self->Retrieve(name,(const char *&)v);
	}
SWIGINTERN void delete_iEvent(iEvent *self){ if (self) self->DecRef(); }
SWIGINTERN int iEvent_scfGetVersion(){ return scfInterfaceTraits<iEvent>::GetVersion(); }
SWIGINTERN void delete_iEventQueue(iEventQueue *self){ if (self) self->DecRef(); }
SWIGINTERN int iEventQueue_scfGetVersion(){ return scfInterfaceTraits<iEventQueue>::GetVersion(); }
SWIGINTERN void delete_iEventNameRegistry(iEventNameRegistry *self){ if (self) self->DecRef(); }
SWIGINTERN int iEventNameRegistry_scfGetVersion(){ return scfInterfaceTraits<iEventNameRegistry>::GetVersion(); }
SWIGINTERN void delete_iEventHandler(iEventHandler *self){ if (self) self->DecRef(); }
SWIGINTERN int iEventHandler_scfGetVersion(){ return scfInterfaceTraits<iEventHandler>::GetVersion(); }
SWIGINTERN void delete_iPluginManager(iPluginManager *self){ if (self) self->DecRef(); }
SWIGINTERN int iPluginManager_scfGetVersion(){ return scfInterfaceTraits<iPluginManager>::GetVersion(); }
SWIGINTERN void delete_iKeyboardDriver(iKeyboardDriver *self){ if (self) self->DecRef(); }
SWIGINTERN int iKeyboardDriver_scfGetVersion(){ return scfInterfaceTraits<iKeyboardDriver>::GetVersion(); }
SWIGINTERN bool iKeyboardDriver_GetKeyState__SWIG_1(iKeyboardDriver *self,char const *key){ return self->GetKeyState ((int) key[0]); }
SWIGINTERN void delete_iMouseDriver(iMouseDriver *self){ if (self) self->DecRef(); }
SWIGINTERN int iMouseDriver_scfGetVersion(){ return scfInterfaceTraits<iMouseDriver>::GetVersion(); }
SWIGINTERN void delete_iConfigFile(iConfigFile *self){ if (self) self->DecRef(); }
SWIGINTERN int iConfigFile_scfGetVersion(){ return scfInterfaceTraits<iConfigFile>::GetVersion(); }
SWIGINTERN void delete_iConfigIterator(iConfigIterator *self){ if (self) self->DecRef(); }
SWIGINTERN int iConfigIterator_scfGetVersion(){ return scfInterfaceTraits<iConfigIterator>::GetVersion(); }
SWIGINTERN void delete_iConfigManager(iConfigManager *self){ if (self) self->DecRef(); }
SWIGINTERN int iConfigManager_scfGetVersion(){ return scfInterfaceTraits<iConfigManager>::GetVersion(); }
SWIGINTERN void delete_iStringArray(iStringArray *self){ if (self) self->DecRef(); }
SWIGINTERN int iStringArray_scfGetVersion(){ return scfInterfaceTraits<iStringArray>::GetVersion(); }
SWIGINTERN void delete_iDocument(iDocument *self){ if (self) self->DecRef(); }
SWIGINTERN int iDocument_scfGetVersion(){ return scfInterfaceTraits<iDocument>::GetVersion(); }
SWIGINTERN void delete_iDocumentSystem(iDocumentSystem *self){ if (self) self->DecRef(); }
SWIGINTERN int iDocumentSystem_scfGetVersion(){ return scfInterfaceTraits<iDocumentSystem>::GetVersion(); }
SWIGINTERN void delete_iDataBuffer(iDataBuffer *self){ if (self) self->DecRef(); }
SWIGINTERN int iDataBuffer_scfGetVersion(){ return scfInterfaceTraits<iDataBuffer>::GetVersion(); }
SWIGINTERN void delete_iGraphics2D(iGraphics2D *self){ if (self) self->DecRef(); }
SWIGINTERN int iGraphics2D_scfGetVersion(){ return scfInterfaceTraits<iGraphics2D>::GetVersion(); }
SWIGINTERN PyObject *iGraphics2D__PerformExtension(iGraphics2D *self,char const *clazz,char const *command,PyObject *args){
    if (!command || !strlen(command))
    {
      // error
    }
    else if (!strcasecmp(command, "flush"))
    {
      // csGraphics2DGLCommon
      bool ok = self->PerformExtension(command);
      return PyInt_FromLong(long(ok));
    }
    else if (!strcasecmp(command, "getstatecache"))
    {
      // csGraphics2DGLCommon
      // not implemented
    }
    else if (!strcasecmp(command, "getextmanager"))
    {
      // csGraphics2DGLCommon
      // not implemented
    }
    else if (!strcasecmp(command, "fullscreen"))
    {
      // csGraphics2DDDraw8, csGraphics2DGLX
      int val = PyInt_AsLong(PyTuple_GetItem(args, 0));
      bool ok = self->PerformExtension(command, val);
      return PyInt_FromLong(long(ok));
    }
    else if (!strcasecmp(command, "hardware_accelerated"))
    {
      // csGraphics2DOpenGL, csGraphics2DGLX
      bool yes = false;
      bool ok = self->PerformExtension(command, &yes);
      PyObject * res = PyTuple_New(2);
      PyTuple_SetItem(res, 0, PyInt_FromLong(long(ok)));
      PyTuple_SetItem(res, 1, PyInt_FromLong(long(yes)));
      return res;
    }
    else if (!strcasecmp(command, "configureopengl"))
    {
      // csGraphics2DOpenGL
      bool ok = self->PerformExtension(command);
      return PyInt_FromLong(long(ok));
    }
  return PyInt_FromLong(0);
  }
SWIGINTERN void delete_iGraphics3D(iGraphics3D *self){ if (self) self->DecRef(); }
SWIGINTERN int iGraphics3D_scfGetVersion(){ return scfInterfaceTraits<iGraphics3D>::GetVersion(); }
SWIGINTERN void delete_iFont(iFont *self){ if (self) self->DecRef(); }
SWIGINTERN int iFont_scfGetVersion(){ return scfInterfaceTraits<iFont>::GetVersion(); }
SWIGINTERN void delete_iFontServer(iFontServer *self){ if (self) self->DecRef(); }
SWIGINTERN int iFontServer_scfGetVersion(){ return scfInterfaceTraits<iFontServer>::GetVersion(); }
SWIGINTERN void delete_iHalo(iHalo *self){ if (self) self->DecRef(); }
SWIGINTERN int iHalo_scfGetVersion(){ return scfInterfaceTraits<iHalo>::GetVersion(); }
SWIGINTERN void delete_iShaderVariableContext(iShaderVariableContext *self){ if (self) self->DecRef(); }
SWIGINTERN int iShaderVariableContext_scfGetVersion(){ return scfInterfaceTraits<iShaderVariableContext>::GetVersion(); }
SWIGINTERN void delete_iShaderManager(iShaderManager *self){ if (self) self->DecRef(); }
SWIGINTERN int iShaderManager_scfGetVersion(){ return scfInterfaceTraits<iShaderManager>::GetVersion(); }
SWIGINTERN void delete_iTextureHandle(iTextureHandle *self){ if (self) self->DecRef(); }
SWIGINTERN int iTextureHandle_scfGetVersion(){ return scfInterfaceTraits<iTextureHandle>::GetVersion(); }
SWIGINTERN void delete_iTextureManager(iTextureManager *self){ if (self) self->DecRef(); }
SWIGINTERN int iTextureManager_scfGetVersion(){ return scfInterfaceTraits<iTextureManager>::GetVersion(); }
SWIGINTERN void delete_iMaterial(iMaterial *self){ if (self) self->DecRef(); }
SWIGINTERN int iMaterial_scfGetVersion(){ return scfInterfaceTraits<iMaterial>::GetVersion(); }
SWIGINTERN void delete_iImage(iImage *self){ if (self) self->DecRef(); }
SWIGINTERN int iImage_scfGetVersion(){ return scfInterfaceTraits<iImage>::GetVersion(); }
SWIGINTERN void delete_iImageIO(iImageIO *self){ if (self) self->DecRef(); }
SWIGINTERN int iImageIO_scfGetVersion(){ return scfInterfaceTraits<iImageIO>::GetVersion(); }
SWIGINTERN void delete_iReporterListener(iReporterListener *self){ if (self) self->DecRef(); }
SWIGINTERN int iReporterListener_scfGetVersion(){ return scfInterfaceTraits<iReporterListener>::GetVersion(); }
SWIGINTERN void delete_iReporterIterator(iReporterIterator *self){ if (self) self->DecRef(); }
SWIGINTERN int iReporterIterator_scfGetVersion(){ return scfInterfaceTraits<iReporterIterator>::GetVersion(); }
SWIGINTERN void delete_iReporter(iReporter *self){ if (self) self->DecRef(); }
SWIGINTERN int iReporter_scfGetVersion(){ return scfInterfaceTraits<iReporter>::GetVersion(); }
SWIGINTERN void delete_iStandardReporterListener(iStandardReporterListener *self){ if (self) self->DecRef(); }
SWIGINTERN int iStandardReporterListener_scfGetVersion(){ return scfInterfaceTraits<iStandardReporterListener>::GetVersion(); }
SWIGINTERN void delete_iView(iView *self){ if (self) self->DecRef(); }
SWIGINTERN int iView_scfGetVersion(){ return scfInterfaceTraits<iView>::GetVersion(); }
SWIGINTERN void delete_iCollider(iCollider *self){ if (self) self->DecRef(); }
SWIGINTERN int iCollider_scfGetVersion(){ return scfInterfaceTraits<iCollider>::GetVersion(); }
SWIGINTERN void delete_iCollideSystem(iCollideSystem *self){ if (self) self->DecRef(); }
SWIGINTERN int iCollideSystem_scfGetVersion(){ return scfInterfaceTraits<iCollideSystem>::GetVersion(); }
SWIGINTERN csCollisionPair *iCollideSystem_GetCollisionPairByIndex(iCollideSystem *self,int index){ return self->GetCollisionPairs() + index; }
SWIGINTERN void delete_iDynamics(iDynamics *self){ if (self) self->DecRef(); }
SWIGINTERN int iDynamics_scfGetVersion(){ return scfInterfaceTraits<iDynamics>::GetVersion(); }
SWIGINTERN void delete_iDynamicSystem(iDynamicSystem *self){ if (self) self->DecRef(); }
SWIGINTERN int iDynamicSystem_scfGetVersion(){ return scfInterfaceTraits<iDynamicSystem>::GetVersion(); }
SWIGINTERN void delete_iBodyGroup(iBodyGroup *self){ if (self) self->DecRef(); }
SWIGINTERN int iBodyGroup_scfGetVersion(){ return scfInterfaceTraits<iBodyGroup>::GetVersion(); }
SWIGINTERN void delete_iJoint(iJoint *self){ if (self) self->DecRef(); }
SWIGINTERN int iJoint_scfGetVersion(){ return scfInterfaceTraits<iJoint>::GetVersion(); }
SWIGINTERN void delete_iODEDynamicState(iODEDynamicState *self){ if (self) self->DecRef(); }
SWIGINTERN int iODEDynamicState_scfGetVersion(){ return scfInterfaceTraits<iODEDynamicState>::GetVersion(); }
SWIGINTERN void delete_iODEDynamicSystemState(iODEDynamicSystemState *self){ if (self) self->DecRef(); }
SWIGINTERN int iODEDynamicSystemState_scfGetVersion(){ return scfInterfaceTraits<iODEDynamicSystemState>::GetVersion(); }
SWIGINTERN void delete_iODEJointState(iODEJointState *self){ if (self) self->DecRef(); }
SWIGINTERN int iODEJointState_scfGetVersion(){ return scfInterfaceTraits<iODEJointState>::GetVersion(); }
SWIGINTERN void delete_iODESliderJoint(iODESliderJoint *self){ if (self) self->DecRef(); }
SWIGINTERN int iODESliderJoint_scfGetVersion(){ return scfInterfaceTraits<iODESliderJoint>::GetVersion(); }
SWIGINTERN void delete_iODEUniversalJoint(iODEUniversalJoint *self){ if (self) self->DecRef(); }
SWIGINTERN int iODEUniversalJoint_scfGetVersion(){ return scfInterfaceTraits<iODEUniversalJoint>::GetVersion(); }
SWIGINTERN void delete_iODEAMotorJoint(iODEAMotorJoint *self){ if (self) self->DecRef(); }
SWIGINTERN int iODEAMotorJoint_scfGetVersion(){ return scfInterfaceTraits<iODEAMotorJoint>::GetVersion(); }
SWIGINTERN void delete_iODEHingeJoint(iODEHingeJoint *self){ if (self) self->DecRef(); }
SWIGINTERN int iODEHingeJoint_scfGetVersion(){ return scfInterfaceTraits<iODEHingeJoint>::GetVersion(); }
SWIGINTERN void delete_iODEBallJoint(iODEBallJoint *self){ if (self) self->DecRef(); }
SWIGINTERN int iODEBallJoint_scfGetVersion(){ return scfInterfaceTraits<iODEBallJoint>::GetVersion(); }
SWIGINTERN void delete_iMovieRecorder(iMovieRecorder *self){ if (self) self->DecRef(); }
SWIGINTERN int iMovieRecorder_scfGetVersion(){ return scfInterfaceTraits<iMovieRecorder>::GetVersion(); }
SWIGINTERN void delete_iMapNode(iMapNode *self){ if (self) self->DecRef(); }
SWIGINTERN int iMapNode_scfGetVersion(){ return scfInterfaceTraits<iMapNode>::GetVersion(); }
SWIGINTERN void delete_iScriptObject(iScriptObject *self){ if (self) self->DecRef(); }
SWIGINTERN int iScriptObject_scfGetVersion(){ return scfInterfaceTraits<iScriptObject>::GetVersion(); }
SWIGINTERN void delete_iScript(iScript *self){ if (self) self->DecRef(); }
SWIGINTERN int iScript_scfGetVersion(){ return scfInterfaceTraits<iScript>::GetVersion(); }
SWIGINTERN void delete_iSimpleFormerState(iSimpleFormerState *self){ if (self) self->DecRef(); }
SWIGINTERN int iSimpleFormerState_scfGetVersion(){ return scfInterfaceTraits<iSimpleFormerState>::GetVersion(); }
SWIGINTERN void delete_iTerraFormer(iTerraFormer *self){ if (self) self->DecRef(); }
SWIGINTERN int iTerraFormer_scfGetVersion(){ return scfInterfaceTraits<iTerraFormer>::GetVersion(); }
SWIGINTERN void delete_iTerraSampler(iTerraSampler *self){ if (self) self->DecRef(); }
SWIGINTERN int iTerraSampler_scfGetVersion(){ return scfInterfaceTraits<iTerraSampler>::GetVersion(); }

  /// note that these values are only valid until the next call.
  csMouseEventData * iEvent_Mouse_get (iEvent * event)
  { 
    static csMouseEventData p; 
    if(!csMouseEventHelper::GetEventData(event, p)) return 0;
    return &p; 
  }
  csJoystickEventData * iEvent_Joystick_get (iEvent * event)
  { 
    static csJoystickEventData p; 
    if(!csJoystickEventHelper::GetEventData(event, p)) return 0;
    return &p; 
  }
  csCommandEventData * iEvent_Command_get (iEvent * event)
  { 
    static csCommandEventData p; 
    if(!csCommandEventHelper::GetEventData(event, p)) return 0;
    return &p; 
  }


#undef SCF_QUERY_INTERFACE
#undef SCF_QUERY_INTERFACE_SAFE
#undef CS_QUERY_REGISTRY
#undef CS_QUERY_REGISTRY_TAG_INTERFACE
#undef CS_QUERY_PLUGIN_CLASS
#undef CS_LOAD_PLUGIN
#undef CS_GET_CHILD_OBJECT
#undef CS_GET_NAMED_CHILD_OBJECT
#undef CS_GET_FIRST_NAMED_CHILD_OBJECT

csWrapPtr CS_QUERY_REGISTRY (iObjectRegistry *reg, const char *iface,
  int iface_ver)
{
  iBase *b = reg->Get(iface, iSCF::SCF->GetInterfaceID (iface), iface_ver);
  return csWrapPtr (iface, iface_ver, b);
}

csWrapPtr CS_QUERY_REGISTRY_TAG_INTERFACE (iObjectRegistry *reg,
  const char *tag, const char *iface, int iface_ver)
{
  iBase *b = reg->Get(tag, iSCF::SCF->GetInterfaceID (iface), iface_ver);
  return csWrapPtr (iface, iface_ver, b);
}

csWrapPtr SCF_QUERY_INTERFACE (iBase *obj, const char *iface, int iface_ver)
{
  // This call to QueryInterface ensures that IncRef is called and that
  // the object supports the interface.  However, for type safety and
  // object layout reasons the void pointer returned by QueryInterface
  // can't be wrapped inside the csWrapPtr so obj must be wrapped.
  if (obj->QueryInterface(iSCF::SCF->GetInterfaceID(iface), iface_ver))
    return csWrapPtr (iface, iface_ver, obj);
  else
    return csWrapPtr (iface, iface_ver, 0);
}

csWrapPtr SCF_QUERY_INTERFACE_SAFE (iBase *obj, const char *iface,
  int iface_ver)
{
  if (!obj)
    return csWrapPtr (iface, iface_ver, 0);

  // This call to QueryInterface ensures that IncRef is called and that
  // the object supports the interface.  However, for type safety and
  // object layout reasons the void pointer returned by QueryInterface
  // can't be wrapped inside the csWrapPtr so obj must be wrapped.
  if (obj->QueryInterface(iSCF::SCF->GetInterfaceID(iface), iface_ver))
    return csWrapPtr (iface, iface_ver, obj);
  else
    return csWrapPtr (iface, iface_ver, 0);
}

csWrapPtr CS_QUERY_PLUGIN_CLASS (iPluginManager *obj, const char *id,
  const char *iface, int iface_ver)
{
  return csWrapPtr (iface, iface_ver, obj->QueryPlugin (id, iface, iface_ver));
}

csWrapPtr CS_LOAD_PLUGIN (iPluginManager *obj, const char *id,
  const char *iface, int iface_ver)
{
  return csWrapPtr (iface, iface_ver, obj->LoadPlugin(id));
}

csWrapPtr CS_GET_CHILD_OBJECT (iObject *obj, const char *iface, int iface_ver)
{
  return csWrapPtr (iface, iface_ver, obj->GetChild(iSCF::SCF->GetInterfaceID (iface),
    iface_ver));
}

csWrapPtr CS_GET_NAMED_CHILD_OBJECT (iObject *obj, const char *iface,
  int iface_ver, const char *name)
{
  return csWrapPtr (iface, iface_ver, obj->GetChild(iSCF::SCF->GetInterfaceID (iface),
    iface_ver, name));
}

csWrapPtr CS_GET_FIRST_NAMED_CHILD_OBJECT (iObject *obj, const char *iface,
  int iface_ver, const char *name)
{
  return csWrapPtr (iface, iface_ver, obj->GetChild(iSCF::SCF->GetInterfaceID (iface),
    iface_ver, name, true));
}



  struct _csPyEventHandler : public iEventHandler
  {
    SCF_DECLARE_IBASE;
    _csPyEventHandler (PyObject * obj) : _pySelf(obj)
    {
      SCF_CONSTRUCT_IBASE(0);
      IncRef();
    }
    virtual ~_csPyEventHandler ()
    {
      SCF_DESTRUCT_IBASE();
      DecRef();
    }
    virtual bool HandleEvent (iEvent & event)
    {
      PyObject * event_obj = SWIG_NewPointerObj(
        (void *) &event, SWIG_TypeQuery("iEvent *"), 0
      );
      PyObject * result = PyObject_CallMethod(_pySelf, "HandleEvent", "(O)",
        event_obj
      );
      Py_DECREF(event_obj);
      if (!result)
      {
        return false;
      }
      bool res = PyInt_AsLong(result);
      Py_DECREF(result);
      return res;
    }

  static const char * StaticHandlerName() {return "crystalspace.cspython";};
  CS_CONST_METHOD static const csHandlerID StaticID(csRef<iEventHandlerRegistry> &reg) 
  { return reg->GetGenericID(StaticHandlerName()); }			;
  CS_CONST_METHOD virtual const char * GenericName() const		
  { return StaticHandlerName(); }					;
  CS_CONST_METHOD virtual csHandlerID GenericID(csRef<iEventHandlerRegistry> &reg) const 
  { return StaticID(reg); };


  CS_CONST_METHOD virtual const csHandlerID * GenericPrec (		
    csRef<iEventHandlerRegistry> &, csRef<iEventNameRegistry> &, 	
    csEventID) const { return 0; }	
  CS_CONST_METHOD virtual const csHandlerID * GenericSucc (		
    csRef<iEventHandlerRegistry> &, csRef<iEventNameRegistry> &, 	
    csEventID) const { return 0; }

  CS_CONST_METHOD virtual const csHandlerID * InstancePrec (		
      csRef<iEventHandlerRegistry> &r1, csRef<iEventNameRegistry> &r2, 	
    csEventID e) const { return GenericPrec(r1, r2, e); } 
  CS_CONST_METHOD virtual const csHandlerID * InstanceSucc (		
    csRef<iEventHandlerRegistry> &r1, csRef<iEventNameRegistry> &r2, 	
    csEventID e) const { return GenericSucc(r1, r2, e); }

  private:
    PyObject * _pySelf;
  };



  SCF_IMPLEMENT_IBASE(_csPyEventHandler)
    SCF_IMPLEMENTS_INTERFACE(iEventHandler)
  SCF_IMPLEMENT_IBASE_END



#ifdef __cplusplus
extern "C" {
#endif

// Not `static' because it is published for use by other clients in same DLL.
PyObject* csWrapTypedObject(void* objectptr, const char *typetag,
  int own)
{
  swig_type_info *ti = SWIG_TypeQuery (typetag);
  PyObject *obj = SWIG_NewPointerObj (objectptr, ti, own);
  return obj;
}
#ifdef __cplusplus
}
#endif


#ifdef __cplusplus
extern "C" {
#endif
SWIGINTERN PyObject *_wrap_csWrapPtr_Ref_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csWrapPtr *arg1 = (csWrapPtr *) 0 ;
  csRef<iBase > *arg2 = (csRef<iBase > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csWrapPtr_Ref_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csWrapPtr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csWrapPtr_Ref_set" "', argument " "1"" of type '" "csWrapPtr *""'"); 
  }
  arg1 = reinterpret_cast< csWrapPtr * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csRefTiBase_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csWrapPtr_Ref_set" "', argument " "2"" of type '" "csRef<iBase > *""'"); 
  }
  arg2 = reinterpret_cast< csRef<iBase > * >(argp2);
  if (arg1) (arg1)->Ref = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csWrapPtr_Ref_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csWrapPtr *arg1 = (csWrapPtr *) 0 ;
  csRef<iBase > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csWrapPtr_Ref_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csWrapPtr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csWrapPtr_Ref_get" "', argument " "1"" of type '" "csWrapPtr *""'"); 
  }
  arg1 = reinterpret_cast< csWrapPtr * >(argp1);
  result = (csRef<iBase > *)& ((arg1)->Ref);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRefTiBase_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csWrapPtr_Type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csWrapPtr *arg1 = (csWrapPtr *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csWrapPtr_Type_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csWrapPtr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csWrapPtr_Type_get" "', argument " "1"" of type '" "csWrapPtr *""'"); 
  }
  arg1 = reinterpret_cast< csWrapPtr * >(argp1);
  result = (char *) ((arg1)->Type);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csWrapPtr_Version_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csWrapPtr *arg1 = (csWrapPtr *) 0 ;
  scfInterfaceVersion arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csWrapPtr_Version_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csWrapPtr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csWrapPtr_Version_set" "', argument " "1"" of type '" "csWrapPtr *""'"); 
  }
  arg1 = reinterpret_cast< csWrapPtr * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csWrapPtr_Version_set" "', argument " "2"" of type '" "scfInterfaceVersion""'");
  } 
  arg2 = static_cast< scfInterfaceVersion >(val2);
  if (arg1) (arg1)->Version = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csWrapPtr_Version_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csWrapPtr *arg1 = (csWrapPtr *) 0 ;
  scfInterfaceVersion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csWrapPtr_Version_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csWrapPtr, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csWrapPtr_Version_get" "', argument " "1"" of type '" "csWrapPtr *""'"); 
  }
  arg1 = reinterpret_cast< csWrapPtr * >(argp1);
  result = (scfInterfaceVersion) ((arg1)->Version);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csWrapPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  scfInterfaceVersion arg2 ;
  iBase *arg3 = (iBase *) 0 ;
  csWrapPtr *result = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csWrapPtr",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csWrapPtr" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csWrapPtr" "', argument " "2"" of type '" "scfInterfaceVersion""'");
  } 
  arg2 = static_cast< scfInterfaceVersion >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csWrapPtr" "', argument " "3"" of type '" "iBase *""'"); 
  }
  arg3 = reinterpret_cast< iBase * >(argp3);
  result = (csWrapPtr *)new csWrapPtr((char const *)arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csWrapPtr, SWIG_POINTER_NEW |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csWrapPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  scfInterfaceVersion arg2 ;
  SwigValueWrapper<csPtr<iBase > > arg3 ;
  csWrapPtr *result = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csWrapPtr",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csWrapPtr" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csWrapPtr" "', argument " "2"" of type '" "scfInterfaceVersion""'");
  } 
  arg2 = static_cast< scfInterfaceVersion >(val2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPtrTiBase_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csWrapPtr" "', argument " "3"" of type '" "csPtr<iBase >""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csWrapPtr" "', argument " "3"" of type '" "csPtr<iBase >""'");
    } else {
      csPtr<iBase > * temp = reinterpret_cast< csPtr<iBase > * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (csWrapPtr *)new csWrapPtr((char const *)arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csWrapPtr, SWIG_POINTER_NEW |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csWrapPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  scfInterfaceVersion arg2 ;
  SwigValueWrapper<csRef<iBase > > arg3 ;
  csWrapPtr *result = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csWrapPtr",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csWrapPtr" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csWrapPtr" "', argument " "2"" of type '" "scfInterfaceVersion""'");
  } 
  arg2 = static_cast< scfInterfaceVersion >(val2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiBase_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csWrapPtr" "', argument " "3"" of type '" "csRef<iBase >""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csWrapPtr" "', argument " "3"" of type '" "csRef<iBase >""'");
    } else {
      csRef<iBase > * temp = reinterpret_cast< csRef<iBase > * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (csWrapPtr *)new csWrapPtr((char const *)arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csWrapPtr, SWIG_POINTER_NEW |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csWrapPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csWrapPtr *arg1 = 0 ;
  csWrapPtr *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csWrapPtr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csWrapPtr,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csWrapPtr" "', argument " "1"" of type '" "csWrapPtr const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csWrapPtr" "', argument " "1"" of type '" "csWrapPtr const &""'"); 
  }
  arg1 = reinterpret_cast< csWrapPtr * >(argp1);
  result = (csWrapPtr *)new csWrapPtr((csWrapPtr const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csWrapPtr, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csWrapPtr(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csWrapPtr, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csWrapPtr__SWIG_3(self, args);
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csPtrTiBase_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csWrapPtr__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csRefTiBase_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csWrapPtr__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csWrapPtr__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csWrapPtr'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csWrapPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csWrapPtr *arg1 = (csWrapPtr *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csWrapPtr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csWrapPtr, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csWrapPtr" "', argument " "1"" of type '" "csWrapPtr *""'"); 
  }
  arg1 = reinterpret_cast< csWrapPtr * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csWrapPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csWrapPtr, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csArrayThresholdVariable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csArrayThresholdVariable *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csArrayThresholdVariable",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csArrayThresholdVariable" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csArrayThresholdVariable *)new csArrayThresholdVariable(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayThresholdVariable, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csArrayThresholdVariable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayThresholdVariable *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csArrayThresholdVariable")) SWIG_fail;
  result = (csArrayThresholdVariable *)new csArrayThresholdVariable();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayThresholdVariable, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csArrayThresholdVariable(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csArrayThresholdVariable__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csArrayThresholdVariable__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csArrayThresholdVariable'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csArrayThresholdVariable_GetThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayThresholdVariable *arg1 = (csArrayThresholdVariable *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csArrayThresholdVariable_GetThreshold",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayThresholdVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csArrayThresholdVariable_GetThreshold" "', argument " "1"" of type '" "csArrayThresholdVariable const *""'"); 
  }
  arg1 = reinterpret_cast< csArrayThresholdVariable * >(argp1);
  result = ((csArrayThresholdVariable const *)arg1)->GetThreshold();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csArrayThresholdVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayThresholdVariable *arg1 = (csArrayThresholdVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csArrayThresholdVariable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayThresholdVariable, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csArrayThresholdVariable" "', argument " "1"" of type '" "csArrayThresholdVariable *""'"); 
  }
  arg1 = reinterpret_cast< csArrayThresholdVariable * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csArrayThresholdVariable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csArrayThresholdVariable, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csArrayThresholdVariableCapacityLinear__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayCapacityLinear<csArrayThresholdVariable > *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csArrayThresholdVariableCapacityLinear")) SWIG_fail;
  result = (csArrayCapacityLinear<csArrayThresholdVariable > *)new csArrayCapacityLinear<csArrayThresholdVariable >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayCapacityLinearTcsArrayThresholdVariable_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csArrayThresholdVariableCapacityLinear__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayThresholdVariable *arg1 = 0 ;
  csArrayCapacityLinear<csArrayThresholdVariable > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csArrayThresholdVariableCapacityLinear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayThresholdVariable,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csArrayThresholdVariableCapacityLinear" "', argument " "1"" of type '" "csArrayThresholdVariable const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csArrayThresholdVariableCapacityLinear" "', argument " "1"" of type '" "csArrayThresholdVariable const &""'"); 
  }
  arg1 = reinterpret_cast< csArrayThresholdVariable * >(argp1);
  result = (csArrayCapacityLinear<csArrayThresholdVariable > *)new csArrayCapacityLinear<csArrayThresholdVariable >((csArrayThresholdVariable const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayCapacityLinearTcsArrayThresholdVariable_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csArrayThresholdVariableCapacityLinear__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csArrayCapacityLinear<csArrayThresholdVariable > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csArrayThresholdVariableCapacityLinear",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csArrayThresholdVariableCapacityLinear" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csArrayCapacityLinear<csArrayThresholdVariable > *)new csArrayCapacityLinear<csArrayThresholdVariable >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayCapacityLinearTcsArrayThresholdVariable_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csArrayThresholdVariableCapacityLinear(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csArrayThresholdVariableCapacityLinear__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csArrayThresholdVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csArrayThresholdVariableCapacityLinear__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csArrayThresholdVariableCapacityLinear__SWIG_2(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csArrayThresholdVariableCapacityLinear'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csArrayThresholdVariableCapacityLinear_IsCapacityExcessive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayCapacityLinear<csArrayThresholdVariable > *arg1 = (csArrayCapacityLinear<csArrayThresholdVariable > *) 0 ;
  size_t arg2 ;
  size_t arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csArrayThresholdVariableCapacityLinear_IsCapacityExcessive",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayCapacityLinearTcsArrayThresholdVariable_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csArrayThresholdVariableCapacityLinear_IsCapacityExcessive" "', argument " "1"" of type '" "csArrayCapacityLinear<csArrayThresholdVariable > const *""'"); 
  }
  arg1 = reinterpret_cast< csArrayCapacityLinear<csArrayThresholdVariable > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csArrayThresholdVariableCapacityLinear_IsCapacityExcessive" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csArrayThresholdVariableCapacityLinear_IsCapacityExcessive" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (bool)((csArrayCapacityLinear<csArrayThresholdVariable > const *)arg1)->IsCapacityExcessive(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csArrayThresholdVariableCapacityLinear_GetCapacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayCapacityLinear<csArrayThresholdVariable > *arg1 = (csArrayCapacityLinear<csArrayThresholdVariable > *) 0 ;
  size_t arg2 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csArrayThresholdVariableCapacityLinear_GetCapacity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayCapacityLinearTcsArrayThresholdVariable_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csArrayThresholdVariableCapacityLinear_GetCapacity" "', argument " "1"" of type '" "csArrayCapacityLinear<csArrayThresholdVariable > const *""'"); 
  }
  arg1 = reinterpret_cast< csArrayCapacityLinear<csArrayThresholdVariable > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csArrayThresholdVariableCapacityLinear_GetCapacity" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = ((csArrayCapacityLinear<csArrayThresholdVariable > const *)arg1)->GetCapacity(arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csArrayThresholdVariableCapacityLinear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayCapacityLinear<csArrayThresholdVariable > *arg1 = (csArrayCapacityLinear<csArrayThresholdVariable > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csArrayThresholdVariableCapacityLinear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayCapacityLinearTcsArrayThresholdVariable_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csArrayThresholdVariableCapacityLinear" "', argument " "1"" of type '" "csArrayCapacityLinear<csArrayThresholdVariable > *""'"); 
  }
  arg1 = reinterpret_cast< csArrayCapacityLinear<csArrayThresholdVariable > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csArrayThresholdVariableCapacityLinear_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csArrayCapacityLinearTcsArrayThresholdVariable_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csArrayCapacityDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayCapacityDefault *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csArrayCapacityDefault")) SWIG_fail;
  result = (csArrayCapacityDefault *)new csArrayCapacityDefault();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayCapacityDefault, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csArrayCapacityDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayThresholdVariable *arg1 = 0 ;
  csArrayCapacityDefault *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csArrayCapacityDefault",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayThresholdVariable,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csArrayCapacityDefault" "', argument " "1"" of type '" "csArrayThresholdVariable const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csArrayCapacityDefault" "', argument " "1"" of type '" "csArrayThresholdVariable const &""'"); 
  }
  arg1 = reinterpret_cast< csArrayThresholdVariable * >(argp1);
  result = (csArrayCapacityDefault *)new csArrayCapacityDefault((csArrayThresholdVariable const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayCapacityDefault, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csArrayCapacityDefault__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csArrayCapacityDefault *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csArrayCapacityDefault",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csArrayCapacityDefault" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csArrayCapacityDefault *)new csArrayCapacityDefault(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayCapacityDefault, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csArrayCapacityDefault(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csArrayCapacityDefault__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csArrayThresholdVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csArrayCapacityDefault__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csArrayCapacityDefault__SWIG_2(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csArrayCapacityDefault'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csArrayCapacityDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArrayCapacityDefault *arg1 = (csArrayCapacityDefault *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csArrayCapacityDefault",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayCapacityDefault, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csArrayCapacityDefault" "', argument " "1"" of type '" "csArrayCapacityDefault *""'"); 
  }
  arg1 = reinterpret_cast< csArrayCapacityDefault * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csArrayCapacityDefault_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csArrayCapacityDefault, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN int csArrayItemNotFound_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable csArrayItemNotFound is read-only.");
  return 1;
}


SWIGINTERN PyObject *csArrayItemNotFound_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_size_t(static_cast< size_t >(csArrayItemNotFound));
  return pyobj;
}


SWIGINTERN PyObject *_wrap_scfCompatibleVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfInterfaceVersion arg1 ;
  scfInterfaceVersion arg2 ;
  bool result;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:scfCompatibleVersion",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "scfCompatibleVersion" "', argument " "1"" of type '" "scfInterfaceVersion""'");
  } 
  arg1 = static_cast< scfInterfaceVersion >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scfCompatibleVersion" "', argument " "2"" of type '" "scfInterfaceVersion""'");
  } 
  arg2 = static_cast< scfInterfaceVersion >(val2);
  result = (bool)scfCompatibleVersion(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBase_IncRef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iBase_IncRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBase_IncRef" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  (arg1)->IncRef();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBase_DecRef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iBase_DecRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBase_DecRef" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  (arg1)->DecRef();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBase_GetRefCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iBase_GetRefCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBase_GetRefCount" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  result = (int)(arg1)->GetRefCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBase_QueryInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  scfInterfaceID arg2 ;
  int arg3 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iBase_QueryInterface",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBase_QueryInterface" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iBase_QueryInterface" "', argument " "2"" of type '" "scfInterfaceID""'");
  } 
  arg2 = static_cast< scfInterfaceID >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iBase_QueryInterface" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (void *)(arg1)->QueryInterface(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBase_AddRefOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  void **arg2 = (void **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iBase_AddRefOwner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBase_AddRefOwner" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iBase_AddRefOwner" "', argument " "2"" of type '" "void **""'"); 
  }
  arg2 = reinterpret_cast< void ** >(argp2);
  (arg1)->AddRefOwner(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBase_RemoveRefOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  void **arg2 = (void **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iBase_RemoveRefOwner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBase_RemoveRefOwner" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iBase_RemoveRefOwner" "', argument " "2"" of type '" "void **""'"); 
  }
  arg2 = reinterpret_cast< void ** >(argp2);
  (arg1)->RemoveRefOwner(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBase_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iBase_scfGetVersion")) SWIG_fail;
  result = (int)iBase_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iBase, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN int iSCF_SCF_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable iSCF_SCF is read-only.");
  return 1;
}


SWIGINTERN PyObject *iSCF_SCF_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(iSCF::SCF), SWIGTYPE_p_iSCF,  0 );
  return pyobj;
}


SWIGINTERN PyObject *_wrap_iSCF_SCF_get(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(args)) {
  return iSCF_SCF_get();
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClasses__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  iDocument *arg2 = (iDocument *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSCF_RegisterClasses",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClasses" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterClasses" "', argument " "2"" of type '" "iDocument *""'"); 
  }
  arg2 = reinterpret_cast< iDocument * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClasses" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->RegisterClasses(arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClasses__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  iDocument *arg2 = (iDocument *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_RegisterClasses",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClasses" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterClasses" "', argument " "2"" of type '" "iDocument *""'"); 
  }
  arg2 = reinterpret_cast< iDocument * >(argp2);
  (arg1)->RegisterClasses(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClasses__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSCF_RegisterClasses",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClasses" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterClasses" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClasses" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->RegisterClasses((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClasses__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_RegisterClasses",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClasses" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterClasses" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->RegisterClasses((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClasses__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  iDocument *arg3 = (iDocument *) 0 ;
  char *arg4 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSCF_RegisterClasses",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClasses" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterClasses" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClasses" "', argument " "3"" of type '" "iDocument *""'"); 
  }
  arg3 = reinterpret_cast< iDocument * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSCF_RegisterClasses" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  (arg1)->RegisterClasses((char const *)arg2,arg3,(char const *)arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClasses__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  iDocument *arg3 = (iDocument *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSCF_RegisterClasses",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClasses" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterClasses" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClasses" "', argument " "3"" of type '" "iDocument *""'"); 
  }
  arg3 = reinterpret_cast< iDocument * >(argp3);
  (arg1)->RegisterClasses((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClasses(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocument, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSCF_RegisterClasses__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSCF_RegisterClasses__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocument, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSCF_RegisterClasses__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDocument, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSCF_RegisterClasses__SWIG_5(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSCF_RegisterClasses__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDocument, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSCF_RegisterClasses__SWIG_4(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSCF_RegisterClasses'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_ClassRegistered(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_ClassRegistered",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_ClassRegistered" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_ClassRegistered" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->ClassRegistered((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_CreateInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_CreateInstance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_CreateInstance" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_CreateInstance" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iBase *)(arg1)->CreateInstance((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_GetClassDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_GetClassDescription",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_GetClassDescription" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_GetClassDescription" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (char *)(arg1)->GetClassDescription((char const *)arg2);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_GetClassDependencies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_GetClassDependencies",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_GetClassDependencies" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_GetClassDependencies" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (char *)(arg1)->GetClassDependencies((char const *)arg2);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_GetPluginMetadata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csRef<iDocument > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_GetPluginMetadata",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_GetPluginMetadata" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_GetPluginMetadata" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->GetPluginMetadata((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDocument> ref((csRef<iDocument>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDocument *)ref), (void *)(iDocument *)ref, "iDocument" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_UnloadUnusedModules(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSCF_UnloadUnusedModules",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_UnloadUnusedModules" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  (arg1)->UnloadUnusedModules();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClass__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  int res7 ;
  char *buf7 = 0 ;
  int alloc7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iSCF_RegisterClass",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClass" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterClass" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClass" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSCF_RegisterClass" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSCF_RegisterClass" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iSCF_RegisterClass" "', argument " "6"" of type '" "char const *""'");
  }
  arg6 = buf6;
  res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7);
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iSCF_RegisterClass" "', argument " "7"" of type '" "char const *""'");
  }
  arg7 = buf7;
  result = (bool)(arg1)->RegisterClass((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClass__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iSCF_RegisterClass",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClass" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterClass" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClass" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSCF_RegisterClass" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSCF_RegisterClass" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iSCF_RegisterClass" "', argument " "6"" of type '" "char const *""'");
  }
  arg6 = buf6;
  result = (bool)(arg1)->RegisterClass((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClass__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSCF_RegisterClass",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClass" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterClass" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClass" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSCF_RegisterClass" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSCF_RegisterClass" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  result = (bool)(arg1)->RegisterClass((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClass__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  scfFactoryFunc arg2 = (scfFactoryFunc) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iSCF_RegisterClass",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClass" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_iBase__p_iBase);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "iSCF_RegisterClass" "', argument " "2"" of type '" "scfFactoryFunc""'"); 
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClass" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSCF_RegisterClass" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSCF_RegisterClass" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iSCF_RegisterClass" "', argument " "6"" of type '" "char const *""'");
  }
  arg6 = buf6;
  result = (bool)(arg1)->RegisterClass(arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClass__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  scfFactoryFunc arg2 = (scfFactoryFunc) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSCF_RegisterClass",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClass" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_iBase__p_iBase);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "iSCF_RegisterClass" "', argument " "2"" of type '" "scfFactoryFunc""'"); 
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClass" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSCF_RegisterClass" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSCF_RegisterClass" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  result = (bool)(arg1)->RegisterClass(arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClass__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  scfFactoryFunc arg2 = (scfFactoryFunc) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSCF_RegisterClass",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterClass" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_iBase__p_iBase);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "iSCF_RegisterClass" "', argument " "2"" of type '" "scfFactoryFunc""'"); 
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterClass" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSCF_RegisterClass" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->RegisterClass(arg2,(char const *)arg3,(char const *)arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterClass(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *ptr = 0;
      int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_iBase__p_iBase);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSCF_RegisterClass__SWIG_5(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *ptr = 0;
      int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_iBase__p_iBase);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iSCF_RegisterClass__SWIG_4(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iSCF_RegisterClass__SWIG_2(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *ptr = 0;
      int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_iBase__p_iBase);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              int res = SWIG_AsCharPtrAndSize(argv[5], 0, NULL, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iSCF_RegisterClass__SWIG_3(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              int res = SWIG_AsCharPtrAndSize(argv[5], 0, NULL, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iSCF_RegisterClass__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              int res = SWIG_AsCharPtrAndSize(argv[5], 0, NULL, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                int res = SWIG_AsCharPtrAndSize(argv[6], 0, NULL, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iSCF_RegisterClass__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSCF_RegisterClass'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterFactoryFunc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  scfFactoryFunc arg2 = (scfFactoryFunc) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSCF_RegisterFactoryFunc",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterFactoryFunc" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_iBase__p_iBase);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "iSCF_RegisterFactoryFunc" "', argument " "2"" of type '" "scfFactoryFunc""'"); 
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSCF_RegisterFactoryFunc" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->RegisterFactoryFunc(arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_UnregisterClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_UnregisterClass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_UnregisterClass" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_UnregisterClass" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->UnregisterClass((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_GetInterfaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  scfInterfaceID arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_GetInterfaceName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_GetInterfaceName" "', argument " "1"" of type '" "iSCF const *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSCF_GetInterfaceName" "', argument " "2"" of type '" "scfInterfaceID""'");
  } 
  arg2 = static_cast< scfInterfaceID >(val2);
  result = (char *)((iSCF const *)arg1)->GetInterfaceName(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_GetInterfaceID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  scfInterfaceID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_GetInterfaceID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_GetInterfaceID" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_GetInterfaceID" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (scfInterfaceID)(arg1)->GetInterfaceID((char const *)arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_Finish(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSCF_Finish",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_Finish" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  (arg1)->Finish();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_QueryClassList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csRef<iStringArray > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_QueryClassList",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_QueryClassList" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_QueryClassList" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->QueryClassList((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iStringArray> ref((csRef<iStringArray>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iStringArray *)ref), (void *)(iStringArray *)ref, "iStringArray" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_ScanPluginsPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  char *arg4 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSCF_ScanPluginsPath",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_ScanPluginsPath" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_ScanPluginsPath" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSCF_ScanPluginsPath" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSCF_ScanPluginsPath" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  (arg1)->ScanPluginsPath((char const *)arg2,arg3,(char const *)arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_ScanPluginsPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSCF_ScanPluginsPath",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_ScanPluginsPath" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_ScanPluginsPath" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSCF_ScanPluginsPath" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->ScanPluginsPath((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_ScanPluginsPath__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_ScanPluginsPath",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_ScanPluginsPath" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_ScanPluginsPath" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->ScanPluginsPath((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_ScanPluginsPath(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSCF_ScanPluginsPath__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSCF_ScanPluginsPath__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSCF, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSCF_ScanPluginsPath__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSCF_ScanPluginsPath'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_RegisterPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSCF_RegisterPlugin",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSCF_RegisterPlugin" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSCF_RegisterPlugin" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->RegisterPlugin((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSCF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSCF *arg1 = (iSCF *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSCF",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSCF, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSCF" "', argument " "1"" of type '" "iSCF *""'"); 
  }
  arg1 = reinterpret_cast< iSCF * >(argp1);
  delete_iSCF(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSCF_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSCF_scfGetVersion")) SWIG_fail;
  result = (int)iSCF_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSCF_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSCF, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iFactory_CreateInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFactory *arg1 = (iFactory *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFactory_CreateInstance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFactory_CreateInstance" "', argument " "1"" of type '" "iFactory *""'"); 
  }
  arg1 = reinterpret_cast< iFactory * >(argp1);
  result = (iBase *)(arg1)->CreateInstance();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFactory_TryUnload(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFactory *arg1 = (iFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFactory_TryUnload",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFactory_TryUnload" "', argument " "1"" of type '" "iFactory *""'"); 
  }
  arg1 = reinterpret_cast< iFactory * >(argp1);
  (arg1)->TryUnload();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFactory_QueryDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFactory *arg1 = (iFactory *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFactory_QueryDescription",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFactory_QueryDescription" "', argument " "1"" of type '" "iFactory *""'"); 
  }
  arg1 = reinterpret_cast< iFactory * >(argp1);
  result = (char *)(arg1)->QueryDescription();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFactory_QueryDependencies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFactory *arg1 = (iFactory *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFactory_QueryDependencies",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFactory_QueryDependencies" "', argument " "1"" of type '" "iFactory *""'"); 
  }
  arg1 = reinterpret_cast< iFactory * >(argp1);
  result = (char *)(arg1)->QueryDependencies();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFactory_QueryClassID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFactory *arg1 = (iFactory *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFactory_QueryClassID",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFactory_QueryClassID" "', argument " "1"" of type '" "iFactory *""'"); 
  }
  arg1 = reinterpret_cast< iFactory * >(argp1);
  result = (char *)(arg1)->QueryClassID();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFactory_QueryModuleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFactory *arg1 = (iFactory *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFactory_QueryModuleName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFactory_QueryModuleName" "', argument " "1"" of type '" "iFactory *""'"); 
  }
  arg1 = reinterpret_cast< iFactory * >(argp1);
  result = (char *)(arg1)->QueryModuleName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFactory *arg1 = (iFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iFactory" "', argument " "1"" of type '" "iFactory *""'"); 
  }
  arg1 = reinterpret_cast< iFactory * >(argp1);
  delete_iFactory(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFactory_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iFactory_scfGetVersion")) SWIG_fail;
  result = (int)iFactory_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_scfRegisterStaticClass__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfFactoryFunc arg1 = (scfFactoryFunc) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:scfRegisterStaticClass",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  {
    int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_iBase__p_iBase);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "scfRegisterStaticClass" "', argument " "1"" of type '" "scfFactoryFunc""'"); 
    }
  }
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scfRegisterStaticClass" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "scfRegisterStaticClass" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "scfRegisterStaticClass" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  scfRegisterStaticClass(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_scfRegisterStaticClass__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfFactoryFunc arg1 = (scfFactoryFunc) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:scfRegisterStaticClass",&obj0,&obj1,&obj2)) SWIG_fail;
  {
    int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_iBase__p_iBase);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "scfRegisterStaticClass" "', argument " "1"" of type '" "scfFactoryFunc""'"); 
    }
  }
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scfRegisterStaticClass" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "scfRegisterStaticClass" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  scfRegisterStaticClass(arg1,(char const *)arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_scfRegisterStaticClass(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *ptr = 0;
    int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_p_iBase__p_iBase);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_scfRegisterStaticClass__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *ptr = 0;
    int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_p_iBase__p_iBase);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_scfRegisterStaticClass__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'scfRegisterStaticClass'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_scfRegisterStaticClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:scfRegisterStaticClasses",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scfRegisterStaticClasses" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  scfRegisterStaticClasses((char const *)arg1);
  resultobj = SWIG_Py_Void();
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_scfRegisterStaticFactoryFunc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfFactoryFunc arg1 = (scfFactoryFunc) 0 ;
  char *arg2 = (char *) 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:scfRegisterStaticFactoryFunc",&obj0,&obj1)) SWIG_fail;
  {
    int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_iBase__p_iBase);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "scfRegisterStaticFactoryFunc" "', argument " "1"" of type '" "scfFactoryFunc""'"); 
    }
  }
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scfRegisterStaticFactoryFunc" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  scfRegisterStaticFactoryFunc(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDebugHelper_GetSupportedTests(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDebugHelper *arg1 = (iDebugHelper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDebugHelper_GetSupportedTests",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDebugHelper_GetSupportedTests" "', argument " "1"" of type '" "iDebugHelper const *""'"); 
  }
  arg1 = reinterpret_cast< iDebugHelper * >(argp1);
  result = (int)((iDebugHelper const *)arg1)->GetSupportedTests();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDebugHelper_UnitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDebugHelper *arg1 = (iDebugHelper *) 0 ;
  SwigValueWrapper<csPtr<iString > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDebugHelper_UnitTest",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDebugHelper_UnitTest" "', argument " "1"" of type '" "iDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< iDebugHelper * >(argp1);
  result = (arg1)->UnitTest();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iString> ref((csPtr<iString>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iString *)ref), (void *)(iString *)ref, "iString" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDebugHelper_StateTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDebugHelper *arg1 = (iDebugHelper *) 0 ;
  SwigValueWrapper<csPtr<iString > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDebugHelper_StateTest",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDebugHelper_StateTest" "', argument " "1"" of type '" "iDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< iDebugHelper * >(argp1);
  result = (arg1)->StateTest();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iString> ref((csPtr<iString>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iString *)ref), (void *)(iString *)ref, "iString" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDebugHelper_Benchmark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDebugHelper *arg1 = (iDebugHelper *) 0 ;
  int arg2 ;
  csTicks result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDebugHelper_Benchmark",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDebugHelper_Benchmark" "', argument " "1"" of type '" "iDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< iDebugHelper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDebugHelper_Benchmark" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csTicks)(arg1)->Benchmark(arg2);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDebugHelper_Dump__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDebugHelper *arg1 = (iDebugHelper *) 0 ;
  SwigValueWrapper<csPtr<iString > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDebugHelper_Dump",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDebugHelper_Dump" "', argument " "1"" of type '" "iDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< iDebugHelper * >(argp1);
  result = (arg1)->Dump();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iString> ref((csPtr<iString>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iString *)ref), (void *)(iString *)ref, "iString" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDebugHelper_Dump__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDebugHelper *arg1 = (iDebugHelper *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDebugHelper_Dump",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDebugHelper_Dump" "', argument " "1"" of type '" "iDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< iDebugHelper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDebugHelper_Dump" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  (arg1)->Dump(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDebugHelper_Dump(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDebugHelper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iDebugHelper_Dump__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDebugHelper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDebugHelper_Dump__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDebugHelper_Dump'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDebugHelper_DebugCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDebugHelper *arg1 = (iDebugHelper *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDebugHelper_DebugCommand",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDebugHelper_DebugCommand" "', argument " "1"" of type '" "iDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< iDebugHelper * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDebugHelper_DebugCommand" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->DebugCommand((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDebugHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDebugHelper *arg1 = (iDebugHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDebugHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDebugHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDebugHelper" "', argument " "1"" of type '" "iDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< iDebugHelper * >(argp1);
  delete_iDebugHelper(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDebugHelper_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iDebugHelper_scfGetVersion")) SWIG_fail;
  result = (int)iDebugHelper_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDebugHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDebugHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iCommandLineParser_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  int arg2 ;
  char **arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCommandLineParser_Initialize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_Initialize" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  {
    if (!PyList_Check(obj1))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    arg2 = PyList_Size(obj1);
    typedef char * Char_Ptr;
    arg3 = new Char_Ptr[arg2 + 1];
    for (int i = 0; i < arg2; ++i)
    {
      PyObject * o = PyList_GetItem(obj1, i);
      if (!PyString_Check(o))
      {
        PyErr_SetString(PyExc_TypeError, "list must contain strings");
        delete [] arg3;
        return 0;
      }
      arg3[i] = PyString_AsString(o);
    }
    arg3[arg2] = 0;
  }
  (arg1)->Initialize(arg2,(char const *const (*))arg3);
  resultobj = SWIG_Py_Void();
  {
    delete [] arg3;
  }
  return resultobj;
fail:
  {
    delete [] arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCommandLineParser_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_Reset" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetOption__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t arg3 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCommandLineParser_GetOption",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetOption" "', argument " "1"" of type '" "iCommandLineParser const *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_GetOption" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCommandLineParser_GetOption" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (char *)((iCommandLineParser const *)arg1)->GetOption((char const *)arg2,arg3);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetOption__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCommandLineParser_GetOption",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetOption" "', argument " "1"" of type '" "iCommandLineParser const *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_GetOption" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (char *)((iCommandLineParser const *)arg1)->GetOption((char const *)arg2);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetOption(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCommandLineParser_GetOption__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iCommandLineParser_GetOption__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCommandLineParser_GetOption'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  size_t arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCommandLineParser_GetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetName" "', argument " "1"" of type '" "iCommandLineParser const *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCommandLineParser_GetName" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (char *)((iCommandLineParser const *)arg1)->GetName(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCommandLineParser_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetName" "', argument " "1"" of type '" "iCommandLineParser const *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  result = (char *)((iCommandLineParser const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetName(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iCommandLineParser_GetName__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iCommandLineParser_GetName__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCommandLineParser_GetName'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_AddOption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCommandLineParser_AddOption",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_AddOption" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_AddOption" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCommandLineParser_AddOption" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->AddOption((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_AddName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCommandLineParser_AddName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_AddName" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_AddName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->AddName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_ReplaceOption__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  size_t arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  size_t val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iCommandLineParser_ReplaceOption",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_ReplaceOption" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_ReplaceOption" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCommandLineParser_ReplaceOption" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_size_t(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iCommandLineParser_ReplaceOption" "', argument " "4"" of type '" "size_t""'");
  } 
  arg4 = static_cast< size_t >(val4);
  result = (bool)(arg1)->ReplaceOption((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_ReplaceOption__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCommandLineParser_ReplaceOption",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_ReplaceOption" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_ReplaceOption" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCommandLineParser_ReplaceOption" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->ReplaceOption((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_ReplaceOption(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iCommandLineParser_ReplaceOption__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_size_t(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iCommandLineParser_ReplaceOption__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCommandLineParser_ReplaceOption'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_ReplaceName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCommandLineParser_ReplaceName",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_ReplaceName" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_ReplaceName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCommandLineParser_ReplaceName" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (bool)(arg1)->ReplaceName((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_ReplaceName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCommandLineParser_ReplaceName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_ReplaceName" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_ReplaceName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->ReplaceName((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_ReplaceName(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCommandLineParser_ReplaceName__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iCommandLineParser_ReplaceName__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCommandLineParser_ReplaceName'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetBoolOption__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCommandLineParser_GetBoolOption",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetBoolOption" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_GetBoolOption" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCommandLineParser_GetBoolOption" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->GetBoolOption((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetBoolOption__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCommandLineParser_GetBoolOption",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetBoolOption" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCommandLineParser_GetBoolOption" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->GetBoolOption((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetBoolOption(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCommandLineParser_GetBoolOption__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iCommandLineParser_GetBoolOption__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCommandLineParser_GetBoolOption'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetResourceDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCommandLineParser_GetResourceDir",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetResourceDir" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  result = (char *)(arg1)->GetResourceDir();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetAppDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCommandLineParser_GetAppDir",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetAppDir" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  result = (char *)(arg1)->GetAppDir();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetAppPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCommandLineParser_GetAppPath",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetAppPath" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  result = (char *)(arg1)->GetAppPath();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_GetOptionName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  size_t arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCommandLineParser_GetOptionName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCommandLineParser_GetOptionName" "', argument " "1"" of type '" "iCommandLineParser const *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCommandLineParser_GetOptionName" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (char *)((iCommandLineParser const *)arg1)->GetOptionName(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iCommandLineParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCommandLineParser *arg1 = (iCommandLineParser *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iCommandLineParser",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCommandLineParser, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iCommandLineParser" "', argument " "1"" of type '" "iCommandLineParser *""'"); 
  }
  arg1 = reinterpret_cast< iCommandLineParser * >(argp1);
  delete_iCommandLineParser(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCommandLineParser_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iCommandLineParser_scfGetVersion")) SWIG_fail;
  result = (int)iCommandLineParser_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iCommandLineParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iCommandLineParser, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csColor_red_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor_red_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_red_set" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor_red_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->red = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_red_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColor_red_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_red_get" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  result = (float) ((arg1)->red);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_green_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor_green_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_green_set" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor_green_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->green = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_green_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColor_green_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_green_get" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  result = (float) ((arg1)->green);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_blue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor_blue_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_blue_set" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor_blue_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->blue = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_blue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColor_blue_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_blue_get" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  result = (float) ((arg1)->blue);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csColor")) SWIG_fail;
  result = (csColor *)new csColor();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  csColor *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csColor",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csColor" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csColor" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csColor" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (csColor *)new csColor(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csColor" "', argument " "1"" of type '" "csColor const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csColor" "', argument " "1"" of type '" "csColor const &""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  result = (csColor *)new csColor((csColor const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColor(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csColor__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csColor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csColor__SWIG_2(self, args);
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_csColor__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csColor'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csColor_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_Set" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csColor_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csColor_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->Set(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_Set" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor_Set" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor_Set" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  (arg1)->Set((csColor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor_Set__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csColor_Set__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColor_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_Clamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csColor_Clamp",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_Clamp" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor_Clamp" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csColor_Clamp" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csColor_Clamp" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->Clamp(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_ClampDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColor_ClampDown",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_ClampDown" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  (arg1)->ClampDown();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  csColor *arg2 = 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_assign" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor_assign" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor_assign" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  {
    csColor &_result_ref = (arg1)->operator =((csColor const &)*arg2);
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___imul__" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor___imul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csColor &_result_ref = (arg1)->operator *=(arg2);
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  csColor *arg2 = 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___iadd__" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor___iadd__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor___iadd__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  {
    csColor &_result_ref = (arg1)->operator +=((csColor const &)*arg2);
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  csColor *arg2 = 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___isub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___isub__" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor___isub__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor___isub__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  {
    csColor &_result_ref = (arg1)->operator -=((csColor const &)*arg2);
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  csColor *arg2 = 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___imul__" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor___imul__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor___imul__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  {
    csColor &_result_ref = (arg1)->operator *=((csColor const &)*arg2);
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___imul__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor___imul____SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csColor___imul____SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColor___imul__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  csColor result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___mul__" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor___mul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (arg1)->operator *(arg2);
  resultobj = SWIG_NewPointerObj((new csColor(static_cast< const csColor& >(result))), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  csColor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___eq__" "', argument " "1"" of type '" "csColor const *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor___eq__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor___eq__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  result = (bool)((csColor const *)arg1)->operator ==((csColor const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  csColor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___ne__" "', argument " "1"" of type '" "csColor const *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor___ne__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor___ne__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  result = (bool)((csColor const *)arg1)->operator !=((csColor const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csColor_Add",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_Add" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor_Add" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csColor_Add" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csColor_Add" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->Add(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor_Subtract(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csColor_Subtract",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor_Subtract" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor_Subtract" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csColor_Subtract" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csColor_Subtract" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->Subtract(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  csColor *arg2 = 0 ;
  csColor result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___add__" "', argument " "1"" of type '" "csColor const *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor___add__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor___add__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  result = csColor_operator_Sa_((csColor const *)arg1,(csColor const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csColor(static_cast< const csColor& >(result))), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  csColor *arg2 = 0 ;
  csColor result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___sub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___sub__" "', argument " "1"" of type '" "csColor const *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor___sub__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor___sub__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  result = csColor_operator_Ss_((csColor const *)arg1,(csColor const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csColor(static_cast< const csColor& >(result))), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  float arg2 ;
  csColor result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor___rmul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor___rmul__" "', argument " "1"" of type '" "csColor const *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor___rmul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csColor___rmul__((csColor const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csColor(static_cast< const csColor& >(result))), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = (csColor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csColor" "', argument " "1"" of type '" "csColor *""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csColor, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csColor4_alpha_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4_alpha_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4_alpha_set" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor4_alpha_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->alpha = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4_alpha_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColor4_alpha_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4_alpha_get" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  result = (float) ((arg1)->alpha);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColor4__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csColor4")) SWIG_fail;
  result = (csColor4 *)new csColor4();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColor4__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  csColor4 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csColor4",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csColor4" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csColor4" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csColor4" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csColor4" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (csColor4 *)new csColor4(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColor4__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  csColor4 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csColor4",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csColor4" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csColor4" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csColor4" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (csColor4 *)new csColor4(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColor4__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor *arg1 = 0 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csColor4",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csColor4" "', argument " "1"" of type '" "csColor const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csColor4" "', argument " "1"" of type '" "csColor const &""'"); 
  }
  arg1 = reinterpret_cast< csColor * >(argp1);
  result = (csColor4 *)new csColor4((csColor const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColor4(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csColor4__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csColor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csColor4__SWIG_3(self, args);
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_csColor4__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_csColor4__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csColor4'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4_Set" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4_Set" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4_Set" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  (arg1)->Set((csColor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor4 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4_Set" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor4,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4_Set" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4_Set" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  arg2 = reinterpret_cast< csColor4 * >(argp2);
  (arg1)->Set((csColor4 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4_Set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csColor4_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4_Set" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor4_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csColor4_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csColor4_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->Set(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4_Set__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csColor4_Set",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4_Set" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor4_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csColor4_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csColor4_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csColor4_Set" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->Set(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor4, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor4_Set__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor4_Set__SWIG_0(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csColor4_Set__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csColor4_Set__SWIG_3(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColor4_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4_assign__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor4 *arg2 = 0 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4_assign" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor4,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4_assign" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4_assign" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  arg2 = reinterpret_cast< csColor4 * >(argp2);
  {
    csColor4 &_result_ref = (arg1)->operator =((csColor4 const &)*arg2);
    result = (csColor4 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4_assign__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor *arg2 = 0 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4_assign" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4_assign" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4_assign" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  {
    csColor4 &_result_ref = (arg1)->operator =((csColor const &)*arg2);
    result = (csColor4 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4_assign(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor4, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor4_assign__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor4_assign__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColor4_assign'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  float arg2 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4___imul__" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColor4___imul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csColor4 &_result_ref = (arg1)->operator *=(arg2);
    result = (csColor4 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor4 *arg2 = 0 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4___iadd__" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor4,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4___iadd__" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4___iadd__" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  arg2 = reinterpret_cast< csColor4 * >(argp2);
  {
    csColor4 &_result_ref = (arg1)->operator +=((csColor4 const &)*arg2);
    result = (csColor4 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor *arg2 = 0 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4___iadd__" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4___iadd__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4___iadd__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  {
    csColor4 &_result_ref = (arg1)->operator +=((csColor const &)*arg2);
    result = (csColor4 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4___iadd__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor4, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor4___iadd____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor4___iadd____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColor4___iadd__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4___isub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor4 *arg2 = 0 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4___isub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4___isub__" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor4,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4___isub__" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4___isub__" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  arg2 = reinterpret_cast< csColor4 * >(argp2);
  {
    csColor4 &_result_ref = (arg1)->operator -=((csColor4 const &)*arg2);
    result = (csColor4 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4___isub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor *arg2 = 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4___isub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4___isub__" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4___isub__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4___isub__" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  {
    csColor &_result_ref = (arg1)->operator -=((csColor const &)*arg2);
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4___isub__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor4, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor4___isub____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColor4, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColor4___isub____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColor4___isub__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor4 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4___eq__" "', argument " "1"" of type '" "csColor4 const *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor4,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4___eq__" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4___eq__" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  arg2 = reinterpret_cast< csColor4 * >(argp2);
  result = (bool)((csColor4 const *)arg1)->operator ==((csColor4 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColor4___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  csColor4 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColor4___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColor4___ne__" "', argument " "1"" of type '" "csColor4 const *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor4,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColor4___ne__" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColor4___ne__" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  arg2 = reinterpret_cast< csColor4 * >(argp2);
  result = (bool)((csColor4 const *)arg1)->operator !=((csColor4 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csColor4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColor4 *arg1 = (csColor4 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csColor4",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColor4, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csColor4" "', argument " "1"" of type '" "csColor4 *""'"); 
  }
  arg1 = reinterpret_cast< csColor4 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csColor4_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csColor4, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csCommandLineHelper_Help__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iCommandLineParser *arg2 = (iCommandLineParser *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCommandLineHelper_Help",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandLineHelper_Help" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCommandLineHelper_Help" "', argument " "2"" of type '" "iCommandLineParser *""'"); 
  }
  arg2 = reinterpret_cast< iCommandLineParser * >(argp2);
  csCommandLineHelper::Help(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandLineHelper_Help__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCommandLineHelper_Help",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandLineHelper_Help" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  csCommandLineHelper::Help(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandLineHelper_Help(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csCommandLineHelper_Help__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csCommandLineHelper_Help__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csCommandLineHelper_Help'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandLineHelper_CheckHelp__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iCommandLineParser *arg2 = (iCommandLineParser *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCommandLineHelper_CheckHelp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandLineHelper_CheckHelp" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCommandLineHelper_CheckHelp" "', argument " "2"" of type '" "iCommandLineParser *""'"); 
  }
  arg2 = reinterpret_cast< iCommandLineParser * >(argp2);
  result = (bool)csCommandLineHelper::CheckHelp(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandLineHelper_CheckHelp__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCommandLineHelper_CheckHelp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandLineHelper_CheckHelp" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (bool)csCommandLineHelper::CheckHelp(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandLineHelper_CheckHelp(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csCommandLineHelper_CheckHelp__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCommandLineParser, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csCommandLineHelper_CheckHelp__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csCommandLineHelper_CheckHelp'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCommandLineHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandLineHelper *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csCommandLineHelper")) SWIG_fail;
  result = (csCommandLineHelper *)new csCommandLineHelper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCommandLineHelper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csCommandLineHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandLineHelper *arg1 = (csCommandLineHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csCommandLineHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCommandLineHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csCommandLineHelper" "', argument " "1"" of type '" "csCommandLineHelper *""'"); 
  }
  arg1 = reinterpret_cast< csCommandLineHelper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csCommandLineHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csCommandLineHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csStringSet__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csStringSet *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csStringSet",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csStringSet" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csStringSet *)new csStringSet(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csStringSet, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStringSet__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csStringSet")) SWIG_fail;
  result = (csStringSet *)new csStringSet();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csStringSet, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStringSet__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = 0 ;
  csStringSet *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csStringSet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csStringSet,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csStringSet" "', argument " "1"" of type '" "csStringSet const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csStringSet" "', argument " "1"" of type '" "csStringSet const &""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  result = (csStringSet *)new csStringSet((csStringSet const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csStringSet, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStringSet(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csStringSet__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csStringSet__SWIG_2(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csStringSet__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csStringSet'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csStringSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csStringSet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csStringSet" "', argument " "1"" of type '" "csStringSet *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  csStringSet *arg2 = 0 ;
  csStringSet *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringSet_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_assign" "', argument " "1"" of type '" "csStringSet *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csStringSet,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csStringSet_assign" "', argument " "2"" of type '" "csStringSet const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csStringSet_assign" "', argument " "2"" of type '" "csStringSet const &""'"); 
  }
  arg2 = reinterpret_cast< csStringSet * >(argp2);
  {
    csStringSet &_result_ref = (arg1)->operator =((csStringSet const &)*arg2);
    result = (csStringSet *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csStringSet, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Request__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  char *arg2 = (char *) 0 ;
  csStringID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringSet_Request",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_Request" "', argument " "1"" of type '" "csStringSet *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csStringSet_Request" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (csStringID)(arg1)->Request((char const *)arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Request__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  csStringID arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringSet_Request",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_Request" "', argument " "1"" of type '" "csStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringSet_Request" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (char *)((csStringSet const *)arg1)->Request(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Request(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csStringSet_Request__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csStringSet_Request__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csStringSet_Request'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Contains__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringSet_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_Contains" "', argument " "1"" of type '" "csStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csStringSet_Contains" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)((csStringSet const *)arg1)->Contains((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Contains__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  csStringID arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringSet_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_Contains" "', argument " "1"" of type '" "csStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringSet_Contains" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (bool)((csStringSet const *)arg1)->Contains(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Contains(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csStringSet_Contains__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csStringSet_Contains__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csStringSet_Contains'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Delete__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringSet_Delete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_Delete" "', argument " "1"" of type '" "csStringSet *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csStringSet_Delete" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->Delete((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Delete__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  csStringID arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringSet_Delete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_Delete" "', argument " "1"" of type '" "csStringSet *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringSet_Delete" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (bool)(arg1)->Delete(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Delete(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csStringSet_Delete__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csStringSet_Delete__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csStringSet_Delete'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStringSet_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_Empty" "', argument " "1"" of type '" "csStringSet *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  (arg1)->Empty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStringSet_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_Clear" "', argument " "1"" of type '" "csStringSet *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStringSet_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_GetSize" "', argument " "1"" of type '" "csStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  result = ((csStringSet const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringSet_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringSet *arg1 = (csStringSet *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStringSet_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringSet_IsEmpty" "', argument " "1"" of type '" "csStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< csStringSet * >(argp1);
  result = (bool)((csStringSet const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csStringSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csStringSet, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csStringIDSet__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  int arg3 ;
  csSet<csStringID > *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csStringIDSet",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csStringIDSet" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csStringIDSet" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csStringIDSet" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (csSet<csStringID > *)new csSet<csStringID >(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStringIDSet__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  csSet<csStringID > *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csStringIDSet",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csStringIDSet" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csStringIDSet" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csSet<csStringID > *)new csSet<csStringID >(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStringIDSet__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  csSet<csStringID > *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csStringIDSet",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csStringIDSet" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  result = (csSet<csStringID > *)new csSet<csStringID >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStringIDSet__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csStringIDSet")) SWIG_fail;
  result = (csSet<csStringID > *)new csSet<csStringID >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStringIDSet(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csStringIDSet__SWIG_3(self, args);
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csStringIDSet__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_csStringIDSet__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_csStringIDSet__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csStringIDSet'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  csStringID *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csStringID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringIDSet_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_Add" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringIDSet_Add" "', argument " "2"" of type '" "csStringID""'");
  } 
  temp2 = static_cast< csStringID >(val2);
  arg2 = &temp2;
  (arg1)->Add((csStringID const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_AddNoTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  csStringID *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csStringID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringIDSet_AddNoTest",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_AddNoTest" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringIDSet_AddNoTest" "', argument " "2"" of type '" "csStringID""'");
  } 
  temp2 = static_cast< csStringID >(val2);
  arg2 = &temp2;
  (arg1)->AddNoTest((csStringID const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  csStringID *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csStringID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringIDSet_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_Contains" "', argument " "1"" of type '" "csSet<csStringID > const *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringIDSet_Contains" "', argument " "2"" of type '" "csStringID""'");
  } 
  temp2 = static_cast< csStringID >(val2);
  arg2 = &temp2;
  result = (bool)((csSet<csStringID > const *)arg1)->Contains((csStringID const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_In(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  csStringID *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csStringID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringIDSet_In",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_In" "', argument " "1"" of type '" "csSet<csStringID > const *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringIDSet_In" "', argument " "2"" of type '" "csStringID""'");
  } 
  temp2 = static_cast< csStringID >(val2);
  arg2 = &temp2;
  result = (bool)((csSet<csStringID > const *)arg1)->In((csStringID const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_DeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStringIDSet_DeleteAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_DeleteAll" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  (arg1)->DeleteAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStringIDSet_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_Empty" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  (arg1)->Empty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  csStringID *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csStringID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringIDSet_Delete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_Delete" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringIDSet_Delete" "', argument " "2"" of type '" "csStringID""'");
  } 
  temp2 = static_cast< csStringID >(val2);
  arg2 = &temp2;
  result = (bool)(arg1)->Delete((csStringID const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStringIDSet_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_GetSize" "', argument " "1"" of type '" "csSet<csStringID > const *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  result = ((csSet<csStringID > const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStringIDSet_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_IsEmpty" "', argument " "1"" of type '" "csSet<csStringID > const *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  result = (bool)((csSet<csStringID > const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStringIDSet___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet___len__" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  result = (int)csSet_Sl_csStringID_Sg____len__(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  csStringID arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringIDSet___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet___contains__" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringIDSet___contains__" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (bool)csSet_Sl_csStringID_Sg____contains__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  csStringID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringIDSet_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet_append" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringIDSet_append" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  csSet_Sl_csStringID_Sg__append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStringIDSet___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  csStringID arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStringIDSet___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStringIDSet___delitem__" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csStringIDSet___delitem__" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (bool)csSet_Sl_csStringID_Sg____delitem__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csStringIDSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSet<csStringID > *arg1 = (csSet<csStringID > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csStringIDSet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csStringIDSet" "', argument " "1"" of type '" "csSet<csStringID > *""'"); 
  }
  arg1 = reinterpret_cast< csSet<csStringID > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csStringIDSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iString_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iString *arg1 = (iString *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iString_GetData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iString_GetData" "', argument " "1"" of type '" "iString const *""'"); 
  }
  arg1 = reinterpret_cast< iString * >(argp1);
  result = (char *)((iString const *)arg1)->GetData();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iString___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iString *arg1 = (iString *) 0 ;
  iString *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iString___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iString___ne__" "', argument " "1"" of type '" "iString const *""'"); 
  }
  arg1 = reinterpret_cast< iString * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iString,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iString___ne__" "', argument " "2"" of type '" "iString const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iString___ne__" "', argument " "2"" of type '" "iString const &""'"); 
  }
  arg2 = reinterpret_cast< iString * >(argp2);
  result = (bool)((iString const *)arg1)->operator !=((iString const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iString *arg1 = (iString *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iString, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iString" "', argument " "1"" of type '" "iString *""'"); 
  }
  arg1 = reinterpret_cast< iString * >(argp1);
  delete_iString(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iString_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iString_scfGetVersion")) SWIG_fail;
  result = (int)iString_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iString___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iString *arg1 = (iString *) 0 ;
  size_t arg2 ;
  char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iString___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iString___getitem__" "', argument " "1"" of type '" "iString const *""'"); 
  }
  arg1 = reinterpret_cast< iString * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iString___getitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (char)iString___getitem__((iString const *)arg1,arg2);
  resultobj = SWIG_From_char(static_cast< char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iString___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iString *arg1 = (iString *) 0 ;
  size_t arg2 ;
  char arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  char val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iString___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iString___setitem__" "', argument " "1"" of type '" "iString *""'"); 
  }
  arg1 = reinterpret_cast< iString * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iString___setitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_char(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iString___setitem__" "', argument " "3"" of type '" "char""'");
  } 
  arg3 = static_cast< char >(val3);
  iString___setitem__(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iString, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csString *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csString")) SWIG_fail;
  result = (csString *)new csString();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csString, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csString *arg1 = 0 ;
  csString *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csString,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csString" "', argument " "1"" of type '" "csString const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csString" "', argument " "1"" of type '" "csString const &""'"); 
  }
  arg1 = reinterpret_cast< csString * >(argp1);
  result = (csString *)new csString((csString const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csString, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringBase *arg1 = 0 ;
  csString *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csStringBase,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csString" "', argument " "1"" of type '" "csStringBase const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csString" "', argument " "1"" of type '" "csStringBase const &""'"); 
  }
  arg1 = reinterpret_cast< csStringBase * >(argp1);
  result = (csString *)new csString((csStringBase const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csString, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csString__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  csString *result = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csString",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csString" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  result = (csString *)new csString((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csString, SWIG_POINTER_NEW |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csString__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  size_t arg2 ;
  csString *result = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csString" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csString" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (csString *)new csString((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csString, SWIG_POINTER_NEW |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csString(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csString__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csString, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csString__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csStringBase, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csString__SWIG_2(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csString__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_csString__SWIG_4(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csString'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csString___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csString *arg1 = (csString *) 0 ;
  size_t arg2 ;
  char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csString___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csString, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csString___getitem__" "', argument " "1"" of type '" "csString const *""'"); 
  }
  arg1 = reinterpret_cast< csString * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csString___getitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (char)csString___getitem__((csString const *)arg1,arg2);
  resultobj = SWIG_From_char(static_cast< char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csString___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csString *arg1 = (csString *) 0 ;
  size_t arg2 ;
  char arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  char val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csString___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csString, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csString___setitem__" "', argument " "1"" of type '" "csString *""'"); 
  }
  arg1 = reinterpret_cast< csString * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csString___setitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_char(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csString___setitem__" "', argument " "3"" of type '" "char""'");
  } 
  arg3 = static_cast< char >(val3);
  csString___setitem__(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csString___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csString *arg1 = (csString *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csString___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csString, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csString___delitem__" "', argument " "1"" of type '" "csString *""'"); 
  }
  arg1 = reinterpret_cast< csString * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csString___delitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  csString___delitem__(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csString *arg1 = (csString *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csString, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csString" "', argument " "1"" of type '" "csString *""'"); 
  }
  arg1 = reinterpret_cast< csString * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csString, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csRefCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRefCount *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csRefCount")) SWIG_fail;
  result = (csRefCount *)new csRefCount();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRefCount, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRefCount_IncRef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRefCount *arg1 = (csRefCount *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRefCount_IncRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRefCount, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRefCount_IncRef" "', argument " "1"" of type '" "csRefCount *""'"); 
  }
  arg1 = reinterpret_cast< csRefCount * >(argp1);
  (arg1)->IncRef();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRefCount_DecRef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRefCount *arg1 = (csRefCount *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRefCount_DecRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRefCount, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRefCount_DecRef" "', argument " "1"" of type '" "csRefCount *""'"); 
  }
  arg1 = reinterpret_cast< csRefCount * >(argp1);
  (arg1)->DecRef();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRefCount_GetRefCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRefCount *arg1 = (csRefCount *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRefCount_GetRefCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRefCount, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRefCount_GetRefCount" "', argument " "1"" of type '" "csRefCount const *""'"); 
  }
  arg1 = reinterpret_cast< csRefCount * >(argp1);
  result = (int)((csRefCount const *)arg1)->GetRefCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csRefCount_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csRefCount, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csVector2_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2_x_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_x_set" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2_x_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->x = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector2_x_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_x_get" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = (float) ((arg1)->x);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2_y_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_y_set" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2_y_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->y = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector2_y_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_y_get" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = (float) ((arg1)->y);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csVector2")) SWIG_fail;
  result = (csVector2 *)new csVector2();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  csVector2 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csVector2",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csVector2" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  result = (csVector2 *)new csVector2(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector2__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  csVector2 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csVector2",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csVector2" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csVector2" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (csVector2 *)new csVector2(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector2__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csVector2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csVector2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csVector2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = (csVector2 *)new csVector2((csVector2 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector2(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csVector2__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csVector2__SWIG_3(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csVector2__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_csVector2__SWIG_2(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csVector2'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_Description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector2_Description",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_Description" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = ((csVector2 const *)arg1)->Description();
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csVector2_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_Set" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csVector2_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->Set(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_Set" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2_Set" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2_Set" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  (arg1)->Set((csVector2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_Set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float *arg2 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_Set" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2_Set" "', argument " "2"" of type '" "float const *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  (arg1)->Set((float const *)arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_Set__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_Set" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Set(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector2_Set__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector2_Set__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csVector2_Set__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csVector2_Set__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csVector2_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float *arg2 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_Get" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2_Get" "', argument " "2"" of type '" "float *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  (arg1)->Get(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_Norm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector2_Norm",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_Norm" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = (float)((csVector2 const *)arg1)->Norm();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_SquaredNorm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector2_SquaredNorm",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_SquaredNorm" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = (float)((csVector2 const *)arg1)->SquaredNorm();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_Rotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2_Rotate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_Rotate" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2_Rotate" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Rotate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2_IsLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csVector2_IsLeft",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2_IsLeft" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2_IsLeft" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2_IsLeft" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csVector2_IsLeft" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2_IsLeft" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (float)(arg1)->IsLeft((csVector2 const &)*arg2,(csVector2 const &)*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___iadd__" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2___iadd__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2___iadd__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  {
    csVector2 &_result_ref = (arg1)->operator +=((csVector2 const &)*arg2);
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___isub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___isub__" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2___isub__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2___isub__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  {
    csVector2 &_result_ref = (arg1)->operator -=((csVector2 const &)*arg2);
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___imul__" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2___imul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csVector2 &_result_ref = (arg1)->operator *=(arg2);
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___idiv__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___idiv__" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2___idiv__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csVector2 &_result_ref = (arg1)->operator /=(arg2);
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___pos__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector2___pos__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___pos__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = ((csVector2 const *)arg1)->operator +();
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector2___neg__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___neg__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = ((csVector2 const *)arg1)->operator -();
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___add__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2___add__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2___add__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = csVector2_operator_Sa_((csVector2 const *)arg1,(csVector2 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___sub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___sub__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2___sub__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2___sub__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = csVector2_operator_Ss_((csVector2 const *)arg1,(csVector2 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___mul__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2___mul__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2___mul__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (float)csVector2_operator_Sm___SWIG_0((csVector2 const *)arg1,(csVector2 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___mul__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2___mul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csVector2_operator_Sm___SWIG_1((csVector2 const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___mul__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector2___mul____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csVector2___mul____SWIG_1(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_csVector2___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___div__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___div__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2___div__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csVector2_operator_Sd_((csVector2 const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___eq__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2___eq__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2___eq__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)csVector2_operator_Se__Se_((csVector2 const *)arg1,(csVector2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___ne__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector2___ne__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector2___ne__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)csVector2_operator_SN__Se_((csVector2 const *)arg1,(csVector2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___lt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___lt__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2___lt__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (bool)csVector2_operator_Sl_((csVector2 const *)arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___gt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___gt__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2___gt__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (bool)csVector2_operator_Sg_((csVector2 const *)arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float arg2 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___rmul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___rmul__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2___rmul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csVector2___rmul__((csVector2 const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___abs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector2___abs__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___abs__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = (float)csVector2___abs__((csVector2 const *)arg1);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector2___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___getitem__" "', argument " "1"" of type '" "csVector2 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)csVector2___getitem__((csVector2 const *)arg1,arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector2___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csVector2___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector2___setitem__" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector2___setitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csVector2___setitem__" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  csVector2___setitem__(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csVector2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csVector2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csVector2" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csVector2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csVector2, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csVector3_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3_x_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_x_set" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3_x_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->x = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_x_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_x_get" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (float) ((arg1)->x);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3_y_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_y_set" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3_y_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->y = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_y_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_y_get" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (float) ((arg1)->y);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3_z_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_z_set" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3_z_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->z = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_z_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_z_get" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (float) ((arg1)->z);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csVector3")) SWIG_fail;
  result = (csVector3 *)new csVector3();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  csVector3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csVector3",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csVector3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  result = (csVector3 *)new csVector3(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector3__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  csVector3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csVector3",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csVector3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csVector3" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csVector3" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (csVector3 *)new csVector3(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector3__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  csVector3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csVector3",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csVector3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csVector3" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (csVector3 *)new csVector3(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector3__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csVector3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csVector3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csVector3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (csVector3 *)new csVector3((csVector3 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector3__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csDVector3 *arg1 = 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csVector3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csDVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csVector3" "', argument " "1"" of type '" "csDVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csVector3" "', argument " "1"" of type '" "csDVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csDVector3 * >(argp1);
  result = (csVector3 *)new csVector3((csDVector3 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector3(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csVector3__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csVector3__SWIG_4(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csDVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csVector3__SWIG_5(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csVector3__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_csVector3__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_csVector3__SWIG_2(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csVector3'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_Description",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Description" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = ((csVector3 const *)arg1)->Description();
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Cross(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csVector3_Cross",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Cross" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3_Cross" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3_Cross" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csVector3_Cross" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3_Cross" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->Cross((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___iadd__" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___iadd__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___iadd__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  {
    csVector3 &_result_ref = (arg1)->operator +=((csVector3 const &)*arg2);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___isub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___isub__" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___isub__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___isub__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  {
    csVector3 &_result_ref = (arg1)->operator -=((csVector3 const &)*arg2);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___imul__" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3___imul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csVector3 &_result_ref = (arg1)->operator *=(arg2);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___idiv__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___idiv__" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3___idiv__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csVector3 &_result_ref = (arg1)->operator /=(arg2);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___pos__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3___pos__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___pos__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = ((csVector3 const *)arg1)->operator +();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3___neg__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___neg__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = ((csVector3 const *)arg1)->operator -();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csVector3_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Set" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csVector3_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csVector3_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->Set(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Set" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->Set((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float *arg2 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Set" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3_Set" "', argument " "2"" of type '" "float const *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  (arg1)->Set((float const *)arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Set__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Set" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Set(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector3_Set__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector3_Set__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csVector3_Set__SWIG_3(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csVector3_Set__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csVector3_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float *arg2 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Get" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3_Get" "', argument " "2"" of type '" "float *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  (arg1)->Get(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Norm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_Norm",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Norm" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (float)((csVector3 const *)arg1)->Norm();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_SquaredNorm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_SquaredNorm",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_SquaredNorm" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (float)((csVector3 const *)arg1)->SquaredNorm();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Unit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_Unit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Unit" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = ((csVector3 const *)arg1)->Unit();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_Normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_Normalize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_Normalize" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  (arg1)->Normalize();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_IsZero__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3_IsZero",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_IsZero" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3_IsZero" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (bool)((csVector3 const *)arg1)->IsZero(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_IsZero__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_IsZero",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_IsZero" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (bool)((csVector3 const *)arg1)->IsZero();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_IsZero(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csVector3_IsZero__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csVector3_IsZero__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csVector3_IsZero'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_UnitAxisClamped(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_UnitAxisClamped",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_UnitAxisClamped" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = ((csVector3 const *)arg1)->UnitAxisClamped();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3_DominantAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3_DominantAxis",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_DominantAxis" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = ((csVector3 const *)arg1)->DominantAxis();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___add__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___add__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___add__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = csVector3_operator_Sa_((csVector3 const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___sub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___sub__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___sub__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___sub__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = csVector3_operator_Ss_((csVector3 const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___mul__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___mul__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___mul__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (float)csVector3_operator_Sm___SWIG_0((csVector3 const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___mul__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3___mul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csVector3_operator_Sm___SWIG_1((csVector3 const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___mul__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector3___mul____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csVector3___mul____SWIG_1(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_csVector3___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___div__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___div__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3___div__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csVector3_operator_Sd___SWIG_0((csVector3 const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___eq__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___eq__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___eq__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)csVector3_operator_Se__Se_((csVector3 const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___ne__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___ne__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___ne__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)csVector3_operator_SN__Se_((csVector3 const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___lt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___lt__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3___lt__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (bool)csVector3_operator_Sl_((csVector3 const *)arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___gt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___gt__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3___gt__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (bool)csVector3_operator_Sg_((csVector3 const *)arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csTransform *arg2 = 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___imul__" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___imul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___imul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csTransform * >(argp2);
  {
    csVector3 &_result_ref = csVector3_operator_Sm__Se___SWIG_1(arg1,(csTransform const &)*arg2);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___imul__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector3___imul____SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csVector3___imul____SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csVector3___imul__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___idiv__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___idiv__" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___idiv__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___idiv__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  {
    csVector3 &_result_ref = csVector3_operator_Sd__Se___SWIG_1(arg1,(csReversibleTransform const &)*arg2);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___idiv__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector3___idiv____SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csVector3___idiv____SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csVector3___idiv__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___div__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___div__" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3___div__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3___div__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  result = csVector3_operator_Sd___SWIG_1(arg1,(csReversibleTransform const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___div__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector3___div____SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csVector3___div____SWIG_0(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_csVector3_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3_project",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3_project" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3_project" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3_project" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = csVector3_project((csVector3 const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float arg2 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___rmul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___rmul__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3___rmul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csVector3___rmul__((csVector3 const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___abs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3___abs__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___abs__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (float)csVector3___abs__((csVector3 const *)arg1);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___getitem__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)csVector3___getitem__((csVector3 const *)arg1,arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csVector3___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___setitem__" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3___setitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csVector3___setitem__" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  csVector3___setitem__(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3___nonzero__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3___nonzero__" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (bool)csVector3___nonzero__((csVector3 const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csVector3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csVector3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csVector3" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csVector3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csVector3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csMatrix2_m11_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix2_m11_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_m11_set" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix2_m11_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m11 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_m11_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_m11_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_m11_get" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = (float) ((arg1)->m11);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_m12_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix2_m12_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_m12_set" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix2_m12_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m12 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_m12_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_m12_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_m12_get" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = (float) ((arg1)->m12);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_m21_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix2_m21_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_m21_set" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix2_m21_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m21 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_m21_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_m21_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_m21_get" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = (float) ((arg1)->m21);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_m22_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix2_m22_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_m22_set" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix2_m22_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m22 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_m22_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_m22_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_m22_get" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = (float) ((arg1)->m22);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMatrix2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csMatrix2")) SWIG_fail;
  result = (csMatrix2 *)new csMatrix2();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMatrix2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  csMatrix2 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csMatrix2",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csMatrix2" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csMatrix2" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csMatrix2" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csMatrix2" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (csMatrix2 *)new csMatrix2(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMatrix2(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csMatrix2__SWIG_0(self, args);
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_csMatrix2__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csMatrix2'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_Row1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_Row1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_Row1" "', argument " "1"" of type '" "csMatrix2 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = ((csMatrix2 const *)arg1)->Row1();
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_Row2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_Row2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_Row2" "', argument " "1"" of type '" "csMatrix2 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = ((csMatrix2 const *)arg1)->Row2();
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_Col1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_Col1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_Col1" "', argument " "1"" of type '" "csMatrix2 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = ((csMatrix2 const *)arg1)->Col1();
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_Col2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_Col2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_Col2" "', argument " "1"" of type '" "csMatrix2 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = ((csMatrix2 const *)arg1)->Col2();
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csMatrix2_Set",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_Set" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix2_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csMatrix2_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csMatrix2_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csMatrix2_Set" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->Set(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csMatrix2 *arg2 = 0 ;
  csMatrix2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix2___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2___iadd__" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix2___iadd__" "', argument " "2"" of type '" "csMatrix2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix2___iadd__" "', argument " "2"" of type '" "csMatrix2 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix2 * >(argp2);
  {
    csMatrix2 &_result_ref = (arg1)->operator +=((csMatrix2 const &)*arg2);
    result = (csMatrix2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csMatrix2 *arg2 = 0 ;
  csMatrix2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix2___isub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2___isub__" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix2___isub__" "', argument " "2"" of type '" "csMatrix2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix2___isub__" "', argument " "2"" of type '" "csMatrix2 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix2 * >(argp2);
  {
    csMatrix2 &_result_ref = (arg1)->operator -=((csMatrix2 const &)*arg2);
    result = (csMatrix2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csMatrix2 *arg2 = 0 ;
  csMatrix2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix2___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2___imul__" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix2___imul__" "', argument " "2"" of type '" "csMatrix2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix2___imul__" "', argument " "2"" of type '" "csMatrix2 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix2 * >(argp2);
  {
    csMatrix2 &_result_ref = (arg1)->operator *=((csMatrix2 const &)*arg2);
    result = (csMatrix2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float arg2 ;
  csMatrix2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix2___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2___imul__" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix2___imul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csMatrix2 &_result_ref = (arg1)->operator *=(arg2);
    result = (csMatrix2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2___imul__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMatrix2___imul____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csMatrix2___imul____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csMatrix2___imul__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float arg2 ;
  csMatrix2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix2___idiv__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2___idiv__" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix2___idiv__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csMatrix2 &_result_ref = (arg1)->operator /=(arg2);
    result = (csMatrix2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2___pos__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csMatrix2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2___pos__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2___pos__" "', argument " "1"" of type '" "csMatrix2 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = ((csMatrix2 const *)arg1)->operator +();
  resultobj = SWIG_NewPointerObj((new csMatrix2(static_cast< const csMatrix2& >(result))), SWIGTYPE_p_csMatrix2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csMatrix2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2___neg__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2___neg__" "', argument " "1"" of type '" "csMatrix2 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = ((csMatrix2 const *)arg1)->operator -();
  resultobj = SWIG_NewPointerObj((new csMatrix2(static_cast< const csMatrix2& >(result))), SWIGTYPE_p_csMatrix2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_Transpose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_Transpose",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_Transpose" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  (arg1)->Transpose();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_GetTranspose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csMatrix2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_GetTranspose",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_GetTranspose" "', argument " "1"" of type '" "csMatrix2 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = ((csMatrix2 const *)arg1)->GetTranspose();
  resultobj = SWIG_NewPointerObj((new csMatrix2(static_cast< const csMatrix2& >(result))), SWIGTYPE_p_csMatrix2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_GetInverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  csMatrix2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_GetInverse",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_GetInverse" "', argument " "1"" of type '" "csMatrix2 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = ((csMatrix2 const *)arg1)->GetInverse();
  resultobj = SWIG_NewPointerObj((new csMatrix2(static_cast< const csMatrix2& >(result))), SWIGTYPE_p_csMatrix2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_Invert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_Invert",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_Invert" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  (arg1)->Invert();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_Determinant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_Determinant",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_Determinant" "', argument " "1"" of type '" "csMatrix2 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  result = (float)((csMatrix2 const *)arg1)->Determinant();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix2_Identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix2_Identity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix2_Identity" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  (arg1)->Identity();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csMatrix2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix2 *arg1 = (csMatrix2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csMatrix2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csMatrix2" "', argument " "1"" of type '" "csMatrix2 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix2 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csMatrix2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csMatrix2, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csMatrix3_m11_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_m11_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m11_set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_m11_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m11 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m11_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_m11_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m11_get" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float) ((arg1)->m11);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m12_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_m12_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m12_set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_m12_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m12 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m12_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_m12_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m12_get" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float) ((arg1)->m12);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m13_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_m13_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m13_set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_m13_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m13 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m13_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_m13_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m13_get" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float) ((arg1)->m13);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m21_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_m21_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m21_set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_m21_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m21 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m21_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_m21_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m21_get" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float) ((arg1)->m21);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m22_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_m22_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m22_set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_m22_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m22 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m22_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_m22_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m22_get" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float) ((arg1)->m22);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m23_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_m23_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m23_set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_m23_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m23 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m23_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_m23_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m23_get" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float) ((arg1)->m23);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m31_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_m31_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m31_set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_m31_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m31 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m31_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_m31_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m31_get" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float) ((arg1)->m31);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m32_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_m32_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m32_set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_m32_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m32 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m32_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_m32_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m32_get" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float) ((arg1)->m32);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m33_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_m33_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m33_set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_m33_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->m33 = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_m33_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_m33_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_m33_get" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float) ((arg1)->m33);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMatrix3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csMatrix3")) SWIG_fail;
  result = (csMatrix3 *)new csMatrix3();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMatrix3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  float arg8 ;
  float arg9 ;
  csMatrix3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  float val8 ;
  int ecode8 = 0 ;
  float val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO:new_csMatrix3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csMatrix3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csMatrix3" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csMatrix3" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csMatrix3" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_csMatrix3" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_csMatrix3" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_csMatrix3" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  ecode8 = SWIG_AsVal_float(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_csMatrix3" "', argument " "8"" of type '" "float""'");
  } 
  arg8 = static_cast< float >(val8);
  ecode9 = SWIG_AsVal_float(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_csMatrix3" "', argument " "9"" of type '" "float""'");
  } 
  arg9 = static_cast< float >(val9);
  result = (csMatrix3 *)new csMatrix3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMatrix3__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = 0 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csMatrix3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csMatrix3" "', argument " "1"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csMatrix3" "', argument " "1"" of type '" "csMatrix3 const &""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (csMatrix3 *)new csMatrix3((csMatrix3 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMatrix3__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  csMatrix3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csMatrix3",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csMatrix3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csMatrix3" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csMatrix3" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csMatrix3" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (csMatrix3 *)new csMatrix3(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMatrix3__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = 0 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csMatrix3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csMatrix3" "', argument " "1"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csMatrix3" "', argument " "1"" of type '" "csQuaternion const &""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = (csMatrix3 *)new csMatrix3((csQuaternion const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMatrix3(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[10];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 9); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csMatrix3__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csMatrix3__SWIG_2(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csQuaternion, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csMatrix3__SWIG_4(self, args);
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_csMatrix3__SWIG_3(self, args);
          }
        }
      }
    }
  }
  if (argc == 9) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_float(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    {
                      int res = SWIG_AsVal_float(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      return _wrap_new_csMatrix3__SWIG_1(self, args);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csMatrix3'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Row1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Row1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Row1" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->Row1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Row2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Row2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Row2" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->Row2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Row3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Row3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Row3" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->Row3();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Col1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Col1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Col1" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->Col1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Col2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Col2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Col2" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->Col2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Col3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Col3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Col3" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->Col3();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  float arg8 ;
  float arg9 ;
  float arg10 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  float val8 ;
  int ecode8 = 0 ;
  float val9 ;
  int ecode9 = 0 ;
  float val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:csMatrix3_Set",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csMatrix3_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csMatrix3_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csMatrix3_Set" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csMatrix3_Set" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "csMatrix3_Set" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  ecode8 = SWIG_AsVal_float(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "csMatrix3_Set" "', argument " "8"" of type '" "float""'");
  } 
  arg8 = static_cast< float >(val8);
  ecode9 = SWIG_AsVal_float(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "csMatrix3_Set" "', argument " "9"" of type '" "float""'");
  } 
  arg9 = static_cast< float >(val9);
  ecode10 = SWIG_AsVal_float(obj9, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "csMatrix3_Set" "', argument " "10"" of type '" "float""'");
  } 
  arg10 = static_cast< float >(val10);
  (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3_Set" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3_Set" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->Set((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csQuaternion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Set" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3_Set" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3_Set" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  (arg1)->Set((csQuaternion const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[11];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 10); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMatrix3_Set__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csQuaternion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMatrix3_Set__SWIG_2(self, args);
      }
    }
  }
  if (argc == 10) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_float(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    {
                      int res = SWIG_AsVal_float(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      {
                        int res = SWIG_AsVal_float(argv[9], NULL);
                        _v = SWIG_CheckState(res);
                      }
                      if (_v) {
                        return _wrap_csMatrix3_Set__SWIG_0(self, args);
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csMatrix3_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_assign" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3_assign" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3_assign" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  {
    csMatrix3 &_result_ref = (arg1)->operator =((csMatrix3 const &)*arg2);
    result = (csMatrix3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___iadd__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___iadd__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___iadd__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  {
    csMatrix3 &_result_ref = (arg1)->operator +=((csMatrix3 const &)*arg2);
    result = (csMatrix3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___isub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___isub__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___isub__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___isub__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  {
    csMatrix3 &_result_ref = (arg1)->operator -=((csMatrix3 const &)*arg2);
    result = (csMatrix3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___imul__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___imul__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___imul__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  {
    csMatrix3 &_result_ref = (arg1)->operator *=((csMatrix3 const &)*arg2);
    result = (csMatrix3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___imul__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3___imul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csMatrix3 &_result_ref = (arg1)->operator *=(arg2);
    result = (csMatrix3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___idiv__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___idiv__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3___idiv__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  {
    csMatrix3 &_result_ref = (arg1)->operator /=(arg2);
    result = (csMatrix3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___pos__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3___pos__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___pos__" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->operator +();
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3___neg__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___neg__" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->operator -();
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Transpose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Transpose",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Transpose" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  (arg1)->Transpose();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_GetTranspose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_GetTranspose",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_GetTranspose" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->GetTranspose();
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_GetInverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_GetInverse",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_GetInverse" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = ((csMatrix3 const *)arg1)->GetInverse();
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Invert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Invert",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Invert" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  (arg1)->Invert();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Determinant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Determinant",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Determinant" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (float)((csMatrix3 const *)arg1)->Determinant();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_Identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_Identity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_Identity" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  (arg1)->Identity();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3_IsIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMatrix3_IsIdentity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3_IsIdentity" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  result = (bool)((csMatrix3 const *)arg1)->IsIdentity();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___add__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___add__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___add__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  result = csMatrix3_operator_Sa_(arg1,(csMatrix3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___sub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___sub__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___sub__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___sub__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  result = csMatrix3_operator_Ss_(arg1,(csMatrix3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___mul__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___mul__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___mul__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  result = csMatrix3_operator_Sm___SWIG_0(arg1,(csMatrix3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___mul__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___mul__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___mul__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = csMatrix3_operator_Sm___SWIG_1(arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___mul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___mul__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3___mul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csMatrix3_operator_Sm___SWIG_2(arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___div__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___div__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3___div__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csMatrix3_operator_Sd_(arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___eq__" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___eq__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___eq__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  result = (bool)csMatrix3_operator_Se__Se_((csMatrix3 const *)arg1,(csMatrix3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csMatrix3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___ne__" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___ne__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___ne__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  result = (bool)csMatrix3_operator_SN__Se_((csMatrix3 const *)arg1,(csMatrix3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___lt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___lt__" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3___lt__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (bool)csMatrix3_operator_Sl_((csMatrix3 const *)arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___mul____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csTransform *arg2 = 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___mul__" "', argument " "1"" of type '" "csMatrix3 const *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___mul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___mul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csTransform * >(argp2);
  result = csMatrix3_operator_Sm___SWIG_3((csMatrix3 const *)arg1,(csTransform const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___mul__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMatrix3___mul____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMatrix3___mul____SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMatrix3___mul____SWIG_3(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csMatrix3___mul____SWIG_2(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_csMatrix3___imul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  csTransform *arg2 = 0 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___imul__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMatrix3___imul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMatrix3___imul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csTransform * >(argp2);
  {
    csMatrix3 &_result_ref = csMatrix3_operator_Sm__Se___SWIG_2(arg1,(csTransform const &)*arg2);
    result = (csMatrix3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___imul__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMatrix3___imul____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMatrix3___imul____SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csMatrix3___imul____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csMatrix3___imul__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMatrix3___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  float arg2 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMatrix3___rmul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMatrix3___rmul__" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMatrix3___rmul__" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = csMatrix3___rmul__(arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = (csMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csMatrix3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csMatrix3" "', argument " "1"" of type '" "csMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csMatrix3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csMatrix3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csXRotMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  csXRotMatrix3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csXRotMatrix3",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csXRotMatrix3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  result = (csXRotMatrix3 *)new csXRotMatrix3(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csXRotMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csXRotMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csXRotMatrix3 *arg1 = (csXRotMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csXRotMatrix3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csXRotMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csXRotMatrix3" "', argument " "1"" of type '" "csXRotMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csXRotMatrix3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csXRotMatrix3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csXRotMatrix3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csYRotMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  csYRotMatrix3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csYRotMatrix3",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csYRotMatrix3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  result = (csYRotMatrix3 *)new csYRotMatrix3(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csYRotMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csYRotMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csYRotMatrix3 *arg1 = (csYRotMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csYRotMatrix3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csYRotMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csYRotMatrix3" "', argument " "1"" of type '" "csYRotMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csYRotMatrix3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csYRotMatrix3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csYRotMatrix3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csZRotMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  csZRotMatrix3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csZRotMatrix3",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csZRotMatrix3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  result = (csZRotMatrix3 *)new csZRotMatrix3(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csZRotMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csZRotMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csZRotMatrix3 *arg1 = (csZRotMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csZRotMatrix3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csZRotMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csZRotMatrix3" "', argument " "1"" of type '" "csZRotMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csZRotMatrix3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csZRotMatrix3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csZRotMatrix3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csXScaleMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  csXScaleMatrix3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csXScaleMatrix3",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csXScaleMatrix3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  result = (csXScaleMatrix3 *)new csXScaleMatrix3(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csXScaleMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csXScaleMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csXScaleMatrix3 *arg1 = (csXScaleMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csXScaleMatrix3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csXScaleMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csXScaleMatrix3" "', argument " "1"" of type '" "csXScaleMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csXScaleMatrix3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csXScaleMatrix3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csXScaleMatrix3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csYScaleMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  csYScaleMatrix3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csYScaleMatrix3",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csYScaleMatrix3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  result = (csYScaleMatrix3 *)new csYScaleMatrix3(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csYScaleMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csYScaleMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csYScaleMatrix3 *arg1 = (csYScaleMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csYScaleMatrix3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csYScaleMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csYScaleMatrix3" "', argument " "1"" of type '" "csYScaleMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csYScaleMatrix3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csYScaleMatrix3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csYScaleMatrix3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csZScaleMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  csZScaleMatrix3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csZScaleMatrix3",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csZScaleMatrix3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  result = (csZScaleMatrix3 *)new csZScaleMatrix3(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csZScaleMatrix3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csZScaleMatrix3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csZScaleMatrix3 *arg1 = (csZScaleMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csZScaleMatrix3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csZScaleMatrix3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csZScaleMatrix3" "', argument " "1"" of type '" "csZScaleMatrix3 *""'"); 
  }
  arg1 = reinterpret_cast< csZScaleMatrix3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csZScaleMatrix3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csZScaleMatrix3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_csTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csTransform" "', argument " "1"" of type '" "csTransform *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csTransform")) SWIG_fail;
  result = (csTransform *)new csTransform();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTransform, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csTransform" "', argument " "1"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csTransform" "', argument " "1"" of type '" "csMatrix3 const &""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csTransform" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csTransform" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (csTransform *)new csTransform((csMatrix3 const &)*arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTransform, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csTransform(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csTransform__SWIG_0(self, args);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csTransform__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csTransform'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTransform_Identity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_Identity" "', argument " "1"" of type '" "csTransform *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  (arg1)->Identity();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_IsIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTransform_IsIdentity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_IsIdentity" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  result = (bool)((csTransform const *)arg1)->IsIdentity();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_GetO2T(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTransform_GetO2T",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_GetO2T" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  {
    csMatrix3 const &_result_ref = ((csTransform const *)arg1)->GetO2T();
    result = (csMatrix3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_GetO2TTranslation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTransform_GetO2TTranslation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_GetO2TTranslation" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  {
    csVector3 const &_result_ref = ((csTransform const *)arg1)->GetO2TTranslation();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTransform_GetOrigin",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_GetOrigin" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  {
    csVector3 const &_result_ref = ((csTransform const *)arg1)->GetOrigin();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_SetO2T(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform_SetO2T",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_SetO2T" "', argument " "1"" of type '" "csTransform *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_SetO2T" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_SetO2T" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->SetO2T((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_SetO2TTranslation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform_SetO2TTranslation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_SetO2TTranslation" "', argument " "1"" of type '" "csTransform *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_SetO2TTranslation" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_SetO2TTranslation" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetO2TTranslation((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform_SetOrigin",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_SetOrigin" "', argument " "1"" of type '" "csTransform *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_SetOrigin" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_SetOrigin" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetOrigin((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Translate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform_Translate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_Translate" "', argument " "1"" of type '" "csTransform *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_Translate" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_Translate" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->Translate((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Other2This__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform_Other2This",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_Other2This" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_Other2This" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_Other2This" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = ((csTransform const *)arg1)->Other2This((csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Other2ThisRelative__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform_Other2ThisRelative",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_Other2ThisRelative" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_Other2ThisRelative" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_Other2ThisRelative" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = ((csTransform const *)arg1)->Other2ThisRelative((csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Other2This__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csPlane3 *arg2 = 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform_Other2This",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_Other2This" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_Other2This" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_Other2This" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = ((csTransform const *)arg1)->Other2This((csPlane3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Other2ThisRelative__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csPlane3 *arg2 = 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform_Other2ThisRelative",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_Other2ThisRelative" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_Other2ThisRelative" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_Other2ThisRelative" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = ((csTransform const *)arg1)->Other2ThisRelative((csPlane3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Other2ThisRelative(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform_Other2ThisRelative__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform_Other2ThisRelative__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csTransform_Other2ThisRelative'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Other2This__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csPlane3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csPlane3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csTransform_Other2This",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_Other2This" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_Other2This" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_Other2This" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csTransform_Other2This" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_Other2This" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csPlane3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csTransform_Other2This" "', argument " "4"" of type '" "csPlane3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_Other2This" "', argument " "4"" of type '" "csPlane3 &""'"); 
  }
  arg4 = reinterpret_cast< csPlane3 * >(argp4);
  ((csTransform const *)arg1)->Other2This((csPlane3 const &)*arg2,(csVector3 const &)*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Other2This__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csSphere *arg2 = 0 ;
  csSphere result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform_Other2This",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_Other2This" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform_Other2This" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_Other2This" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  arg2 = reinterpret_cast< csSphere * >(argp2);
  result = ((csTransform const *)arg1)->Other2This((csSphere const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csSphere(static_cast< const csSphere& >(result))), SWIGTYPE_p_csSphere, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_Other2This(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform_Other2This__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform_Other2This__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSphere, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform_Other2This__SWIG_3(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csPlane3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csTransform_Other2This__SWIG_2(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csTransform_Other2This'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_GetReflect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  csTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTransform_GetReflect",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_GetReflect" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform_GetReflect" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  result = csTransform::GetReflect((csPlane3 const &)*arg1);
  resultobj = SWIG_NewPointerObj((new csTransform(static_cast< const csTransform& >(result))), SWIGTYPE_p_csTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_GetFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTransform_GetFront",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_GetFront" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  result = ((csTransform const *)arg1)->GetFront();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_GetUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTransform_GetUp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_GetUp" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  result = ((csTransform const *)arg1)->GetUp();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform_GetRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTransform_GetRight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform_GetRight" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  result = ((csTransform const *)arg1)->GetRight();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform___mul__" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = csTransform_operator_Sm___SWIG_0((csTransform const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csPlane3 *arg2 = 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform___mul__" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = csTransform_operator_Sm___SWIG_1((csTransform const *)arg1,(csPlane3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform___mul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csSphere *arg2 = 0 ;
  csSphere result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform___mul__" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  arg2 = reinterpret_cast< csSphere * >(argp2);
  result = csTransform_operator_Sm___SWIG_2((csTransform const *)arg1,(csSphere const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csSphere(static_cast< const csSphere& >(result))), SWIGTYPE_p_csSphere, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform___mul____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csMatrix3 *arg2 = 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform___mul__" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  result = csTransform_operator_Sm___SWIG_3((csTransform const *)arg1,(csMatrix3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform___mul____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform___mul__" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform___mul__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  result = csTransform_operator_Sm___SWIG_4((csTransform const *)arg1,(csReversibleTransform const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csTransform(static_cast< const csTransform& >(result))), SWIGTYPE_p_csTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform___mul__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform___mul____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform___mul____SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSphere, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform___mul____SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform___mul____SWIG_3(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform___mul____SWIG_4(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_csTransform___rmul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform___rmul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform___rmul__" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform___rmul__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform___rmul__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = csTransform___rmul____SWIG_0((csTransform const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform___rmul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csPlane3 *arg2 = 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform___rmul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform___rmul__" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform___rmul__" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform___rmul__" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = csTransform___rmul____SWIG_1((csTransform const *)arg1,(csPlane3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform___rmul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = (csTransform *) 0 ;
  csSphere *arg2 = 0 ;
  csSphere result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTransform___rmul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTransform___rmul__" "', argument " "1"" of type '" "csTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTransform___rmul__" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csTransform___rmul__" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  arg2 = reinterpret_cast< csSphere * >(argp2);
  result = csTransform___rmul____SWIG_2((csTransform const *)arg1,(csSphere const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csSphere(static_cast< const csSphere& >(result))), SWIGTYPE_p_csSphere, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTransform___rmul__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform___rmul____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform___rmul____SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSphere, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csTransform___rmul____SWIG_2(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *csTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csTransform, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csReversibleTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csReversibleTransform")) SWIG_fail;
  result = (csReversibleTransform *)new csReversibleTransform();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csReversibleTransform__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csReversibleTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csReversibleTransform" "', argument " "1"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csReversibleTransform" "', argument " "1"" of type '" "csMatrix3 const &""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csReversibleTransform" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csReversibleTransform" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (csReversibleTransform *)new csReversibleTransform((csMatrix3 const &)*arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csReversibleTransform__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csReversibleTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csReversibleTransform" "', argument " "1"" of type '" "csTransform const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csReversibleTransform" "', argument " "1"" of type '" "csTransform const &""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  result = (csReversibleTransform *)new csReversibleTransform((csTransform const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csReversibleTransform__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csReversibleTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csReversibleTransform" "', argument " "1"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csReversibleTransform" "', argument " "1"" of type '" "csReversibleTransform const &""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  result = (csReversibleTransform *)new csReversibleTransform((csReversibleTransform const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csReversibleTransform(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csReversibleTransform__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csReversibleTransform__SWIG_4(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csReversibleTransform__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csReversibleTransform__SWIG_2(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csReversibleTransform'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_GetT2O(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csMatrix3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csReversibleTransform_GetT2O",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_GetT2O" "', argument " "1"" of type '" "csReversibleTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  {
    csMatrix3 const &_result_ref = ((csReversibleTransform const *)arg1)->GetT2O();
    result = (csMatrix3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMatrix3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_GetT2OTranslation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csReversibleTransform_GetT2OTranslation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_GetT2OTranslation" "', argument " "1"" of type '" "csReversibleTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  result = ((csReversibleTransform const *)arg1)->GetT2OTranslation();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_GetInverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csReversibleTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csReversibleTransform_GetInverse",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_GetInverse" "', argument " "1"" of type '" "csReversibleTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  result = ((csReversibleTransform const *)arg1)->GetInverse();
  resultobj = SWIG_NewPointerObj((new csReversibleTransform(static_cast< const csReversibleTransform& >(result))), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_SetO2T(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform_SetO2T",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_SetO2T" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_SetO2T" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_SetO2T" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->SetO2T((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_SetT2O(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform_SetT2O",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_SetT2O" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_SetT2O" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_SetT2O" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->SetT2O((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_This2Other__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform_This2Other",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_This2Other" "', argument " "1"" of type '" "csReversibleTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_This2Other" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_This2Other" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = ((csReversibleTransform const *)arg1)->This2Other((csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_This2OtherRelative__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform_This2OtherRelative",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_This2OtherRelative" "', argument " "1"" of type '" "csReversibleTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_This2OtherRelative" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_This2OtherRelative" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = ((csReversibleTransform const *)arg1)->This2OtherRelative((csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_This2Other__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csPlane3 *arg2 = 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform_This2Other",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_This2Other" "', argument " "1"" of type '" "csReversibleTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_This2Other" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_This2Other" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = ((csReversibleTransform const *)arg1)->This2Other((csPlane3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_This2OtherRelative__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csPlane3 *arg2 = 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform_This2OtherRelative",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_This2OtherRelative" "', argument " "1"" of type '" "csReversibleTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_This2OtherRelative" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_This2OtherRelative" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = ((csReversibleTransform const *)arg1)->This2OtherRelative((csPlane3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_This2OtherRelative(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csReversibleTransform_This2OtherRelative__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csReversibleTransform_This2OtherRelative__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csReversibleTransform_This2OtherRelative'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_This2Other__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csPlane3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csPlane3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csReversibleTransform_This2Other",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_This2Other" "', argument " "1"" of type '" "csReversibleTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_This2Other" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_This2Other" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csReversibleTransform_This2Other" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_This2Other" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csPlane3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csReversibleTransform_This2Other" "', argument " "4"" of type '" "csPlane3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_This2Other" "', argument " "4"" of type '" "csPlane3 &""'"); 
  }
  arg4 = reinterpret_cast< csPlane3 * >(argp4);
  ((csReversibleTransform const *)arg1)->This2Other((csPlane3 const &)*arg2,(csVector3 const &)*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_This2Other__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csSphere *arg2 = 0 ;
  csSphere result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform_This2Other",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_This2Other" "', argument " "1"" of type '" "csReversibleTransform const *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_This2Other" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_This2Other" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  arg2 = reinterpret_cast< csSphere * >(argp2);
  result = ((csReversibleTransform const *)arg1)->This2Other((csSphere const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csSphere(static_cast< const csSphere& >(result))), SWIGTYPE_p_csSphere, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_This2Other(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csReversibleTransform_This2Other__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csReversibleTransform_This2Other__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSphere, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csReversibleTransform_This2Other__SWIG_3(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csPlane3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csReversibleTransform_This2Other__SWIG_2(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csReversibleTransform_This2Other'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_RotateOther__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csReversibleTransform_RotateOther",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_RotateOther" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_RotateOther" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_RotateOther" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csReversibleTransform_RotateOther" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->RotateOther((csVector3 const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_RotateThis__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csReversibleTransform_RotateThis",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_RotateThis" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_RotateThis" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_RotateThis" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csReversibleTransform_RotateThis" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->RotateThis((csVector3 const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_RotateOther__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform_RotateOther",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_RotateOther" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_RotateOther" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_RotateOther" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->RotateOther((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_RotateOther(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csReversibleTransform_RotateOther__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csReversibleTransform_RotateOther__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csReversibleTransform_RotateOther'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_RotateThis__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform_RotateThis",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_RotateThis" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_RotateThis" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_RotateThis" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->RotateThis((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_RotateThis(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csReversibleTransform_RotateThis__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csReversibleTransform_RotateThis__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csReversibleTransform_RotateThis'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform_LookAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csReversibleTransform_LookAt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform_LookAt" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform_LookAt" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_LookAt" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csReversibleTransform_LookAt" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform_LookAt" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->LookAt((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform___imul__" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform___imul__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform___imul__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  {
    csReversibleTransform &_result_ref = csReversibleTransform_operator_Sm__Se_(arg1,(csReversibleTransform const &)*arg2);
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csReversibleTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform___mul__" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform___mul__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform___mul__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  result = csReversibleTransform_operator_Sm_(arg1,(csReversibleTransform const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csReversibleTransform(static_cast< const csReversibleTransform& >(result))), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform___idiv__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform___idiv__" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform___idiv__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform___idiv__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  {
    csReversibleTransform &_result_ref = csReversibleTransform_operator_Sd__Se_(arg1,(csReversibleTransform const &)*arg2);
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReversibleTransform___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csReversibleTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csReversibleTransform___div__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReversibleTransform___div__" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csReversibleTransform___div__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csReversibleTransform___div__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  result = csReversibleTransform_operator_Sd_(arg1,(csReversibleTransform const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csReversibleTransform(static_cast< const csReversibleTransform& >(result))), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csReversibleTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReversibleTransform *arg1 = (csReversibleTransform *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csReversibleTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csReversibleTransform" "', argument " "1"" of type '" "csReversibleTransform *""'"); 
  }
  arg1 = reinterpret_cast< csReversibleTransform * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csReversibleTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csReversibleTransform, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csOrthoTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csOrthoTransform *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csOrthoTransform")) SWIG_fail;
  result = (csOrthoTransform *)new csOrthoTransform();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csOrthoTransform, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csOrthoTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMatrix3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csOrthoTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csOrthoTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csOrthoTransform" "', argument " "1"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csOrthoTransform" "', argument " "1"" of type '" "csMatrix3 const &""'"); 
  }
  arg1 = reinterpret_cast< csMatrix3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csOrthoTransform" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csOrthoTransform" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (csOrthoTransform *)new csOrthoTransform((csMatrix3 const &)*arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csOrthoTransform, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csOrthoTransform__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTransform *arg1 = 0 ;
  csOrthoTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csOrthoTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csOrthoTransform" "', argument " "1"" of type '" "csTransform const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csOrthoTransform" "', argument " "1"" of type '" "csTransform const &""'"); 
  }
  arg1 = reinterpret_cast< csTransform * >(argp1);
  result = (csOrthoTransform *)new csOrthoTransform((csTransform const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csOrthoTransform, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csOrthoTransform(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csOrthoTransform__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csTransform, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csOrthoTransform__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csMatrix3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csOrthoTransform__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csOrthoTransform'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csOrthoTransform_SetO2T(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csOrthoTransform *arg1 = (csOrthoTransform *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csOrthoTransform_SetO2T",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csOrthoTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csOrthoTransform_SetO2T" "', argument " "1"" of type '" "csOrthoTransform *""'"); 
  }
  arg1 = reinterpret_cast< csOrthoTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csOrthoTransform_SetO2T" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csOrthoTransform_SetO2T" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->SetO2T((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csOrthoTransform_SetT2O(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csOrthoTransform *arg1 = (csOrthoTransform *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csOrthoTransform_SetT2O",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csOrthoTransform, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csOrthoTransform_SetT2O" "', argument " "1"" of type '" "csOrthoTransform *""'"); 
  }
  arg1 = reinterpret_cast< csOrthoTransform * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csOrthoTransform_SetT2O" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csOrthoTransform_SetT2O" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->SetT2O((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csOrthoTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csOrthoTransform *arg1 = (csOrthoTransform *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csOrthoTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csOrthoTransform, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csOrthoTransform" "', argument " "1"" of type '" "csOrthoTransform *""'"); 
  }
  arg1 = reinterpret_cast< csOrthoTransform * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csOrthoTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csOrthoTransform, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csSphere__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csSphere")) SWIG_fail;
  result = (csSphere *)new csSphere();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSphere, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSphere__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  float arg2 ;
  csSphere *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csSphere",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csSphere" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csSphere" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csSphere" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (csSphere *)new csSphere((csVector3 const &)*arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSphere, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSphere__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = 0 ;
  csSphere *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csSphere",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csSphere" "', argument " "1"" of type '" "csSphere const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csSphere" "', argument " "1"" of type '" "csSphere const &""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  result = (csSphere *)new csSphere((csSphere const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSphere, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSphere(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csSphere__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSphere, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csSphere__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_csSphere__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csSphere'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSphere_GetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = (csSphere *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSphere_GetCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSphere, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSphere_GetCenter" "', argument " "1"" of type '" "csSphere const *""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  {
    csVector3 const &_result_ref = ((csSphere const *)arg1)->GetCenter();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSphere_SetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = (csSphere *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSphere_SetCenter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSphere, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSphere_SetCenter" "', argument " "1"" of type '" "csSphere *""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSphere_SetCenter" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSphere_SetCenter" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetCenter((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSphere_GetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = (csSphere *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSphere_GetRadius",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSphere, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSphere_GetRadius" "', argument " "1"" of type '" "csSphere const *""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  result = (float)((csSphere const *)arg1)->GetRadius();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSphere_SetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = (csSphere *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSphere_SetRadius",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSphere, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSphere_SetRadius" "', argument " "1"" of type '" "csSphere *""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSphere_SetRadius" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetRadius(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSphere_Union(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = (csSphere *) 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSphere_Union",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSphere, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSphere_Union" "', argument " "1"" of type '" "csSphere *""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSphere_Union" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSphere_Union" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csSphere_Union" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->Union((csVector3 const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSphere___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = (csSphere *) 0 ;
  csSphere *arg2 = 0 ;
  csSphere *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSphere___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSphere, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSphere___iadd__" "', argument " "1"" of type '" "csSphere *""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSphere___iadd__" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSphere___iadd__" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  arg2 = reinterpret_cast< csSphere * >(argp2);
  {
    csSphere &_result_ref = (arg1)->operator +=((csSphere const &)*arg2);
    result = (csSphere *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSphere, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSphere___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = (csSphere *) 0 ;
  csTransform *arg2 = 0 ;
  csSphere *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSphere___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSphere, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSphere___imul__" "', argument " "1"" of type '" "csSphere *""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSphere___imul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSphere___imul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csTransform * >(argp2);
  {
    csSphere &_result_ref = csSphere_operator_Sm__Se_(arg1,(csTransform const &)*arg2);
    result = (csSphere *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSphere, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSphere___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = (csSphere *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csSphere result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSphere___div__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSphere, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSphere___div__" "', argument " "1"" of type '" "csSphere *""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSphere___div__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSphere___div__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  result = csSphere_operator_Sd_(arg1,(csReversibleTransform const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csSphere(static_cast< const csSphere& >(result))), SWIGTYPE_p_csSphere, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSphere *arg1 = (csSphere *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSphere",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSphere, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSphere" "', argument " "1"" of type '" "csSphere *""'"); 
  }
  arg1 = reinterpret_cast< csSphere * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSphere, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csEllipsoid__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEllipsoid *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csEllipsoid")) SWIG_fail;
  result = (csEllipsoid *)new csEllipsoid();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEllipsoid, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csEllipsoid__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csEllipsoid *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csEllipsoid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csEllipsoid" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csEllipsoid" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csEllipsoid" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csEllipsoid" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (csEllipsoid *)new csEllipsoid((csVector3 const &)*arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEllipsoid, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csEllipsoid__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEllipsoid *arg1 = 0 ;
  csEllipsoid *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csEllipsoid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csEllipsoid,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csEllipsoid" "', argument " "1"" of type '" "csEllipsoid const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csEllipsoid" "', argument " "1"" of type '" "csEllipsoid const &""'"); 
  }
  arg1 = reinterpret_cast< csEllipsoid * >(argp1);
  result = (csEllipsoid *)new csEllipsoid((csEllipsoid const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEllipsoid, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csEllipsoid(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csEllipsoid__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csEllipsoid, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csEllipsoid__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csEllipsoid__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csEllipsoid'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEllipsoid_GetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEllipsoid *arg1 = (csEllipsoid *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csEllipsoid_GetCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEllipsoid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEllipsoid_GetCenter" "', argument " "1"" of type '" "csEllipsoid const *""'"); 
  }
  arg1 = reinterpret_cast< csEllipsoid * >(argp1);
  {
    csVector3 const &_result_ref = ((csEllipsoid const *)arg1)->GetCenter();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEllipsoid_SetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEllipsoid *arg1 = (csEllipsoid *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csEllipsoid_SetCenter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEllipsoid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEllipsoid_SetCenter" "', argument " "1"" of type '" "csEllipsoid *""'"); 
  }
  arg1 = reinterpret_cast< csEllipsoid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csEllipsoid_SetCenter" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csEllipsoid_SetCenter" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetCenter((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEllipsoid_GetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEllipsoid *arg1 = (csEllipsoid *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csEllipsoid_GetRadius",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEllipsoid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEllipsoid_GetRadius" "', argument " "1"" of type '" "csEllipsoid const *""'"); 
  }
  arg1 = reinterpret_cast< csEllipsoid * >(argp1);
  {
    csVector3 const &_result_ref = ((csEllipsoid const *)arg1)->GetRadius();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEllipsoid_SetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEllipsoid *arg1 = (csEllipsoid *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csEllipsoid_SetRadius",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEllipsoid, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEllipsoid_SetRadius" "', argument " "1"" of type '" "csEllipsoid *""'"); 
  }
  arg1 = reinterpret_cast< csEllipsoid * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csEllipsoid_SetRadius" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csEllipsoid_SetRadius" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetRadius((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csEllipsoid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEllipsoid *arg1 = (csEllipsoid *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csEllipsoid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEllipsoid, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csEllipsoid" "', argument " "1"" of type '" "csEllipsoid *""'"); 
  }
  arg1 = reinterpret_cast< csEllipsoid * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csEllipsoid_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csEllipsoid, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csPlane2_norm_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane2_norm_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_norm_set" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane2_norm_set" "', argument " "2"" of type '" "csVector2 *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  if (arg1) (arg1)->norm = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_norm_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane2_norm_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_norm_get" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  result = (csVector2 *)& ((arg1)->norm);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_CC_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane2_CC_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_CC_set" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPlane2_CC_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->CC = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_CC_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane2_CC_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_CC_get" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  result = (float) ((arg1)->CC);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csPlane2")) SWIG_fail;
  result = (csPlane2 *)new csPlane2();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  float arg2 ;
  csPlane2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csPlane2",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPlane2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csPlane2" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (csPlane2 *)new csPlane2((csVector2 const &)*arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane2__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csPlane2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPlane2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPlane2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = (csPlane2 *)new csPlane2((csVector2 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane2__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  csPlane2 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csPlane2",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPlane2" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csPlane2" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csPlane2" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (csPlane2 *)new csPlane2(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane2__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  csPlane2 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csPlane2",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPlane2" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csPlane2" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (csPlane2 *)new csPlane2(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPlane2_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_Set" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane2_Set" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane2_Set" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPlane2_Set" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane2_Set" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  (arg1)->Set((csVector2 const &)*arg2,(csVector2 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  csSegment2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane2_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_Set" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane2_Set" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane2_Set" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  arg2 = reinterpret_cast< csSegment2 * >(argp2);
  (arg1)->Set((csSegment2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane2__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = 0 ;
  csPlane2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csPlane2",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPlane2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csPlane2" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane2" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (csPlane2 *)new csPlane2((csVector2 const &)*arg1,(csVector2 const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane2__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = 0 ;
  csPlane2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPlane2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPlane2" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane2" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  result = (csPlane2 *)new csPlane2((csSegment2 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane2(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csPlane2__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csPlane2__SWIG_2(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSegment2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csPlane2__SWIG_6(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csPlane2__SWIG_5(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_csPlane2__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_csPlane2__SWIG_4(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_csPlane2__SWIG_3(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csPlane2'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Normal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane2_Normal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_Normal" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  {
    csVector2 &_result_ref = (arg1)->Normal();
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_GetNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane2_GetNormal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_GetNormal" "', argument " "1"" of type '" "csPlane2 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  result = ((csPlane2 const *)arg1)->GetNormal();
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_A(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane2_A",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_A" "', argument " "1"" of type '" "csPlane2 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  result = (float)((csPlane2 const *)arg1)->A();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_B(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane2_B",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_B" "', argument " "1"" of type '" "csPlane2 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  result = (float)((csPlane2 const *)arg1)->B();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_C(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane2_C",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_C" "', argument " "1"" of type '" "csPlane2 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  result = (float)((csPlane2 const *)arg1)->C();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPlane2_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_Set" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPlane2_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPlane2_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPlane2_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->Set(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSegment2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csPlane2_Set__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csPlane2_Set__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csPlane2_Set__SWIG_2(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPlane2_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Classify__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  csVector2 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane2_Classify",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_Classify" "', argument " "1"" of type '" "csPlane2 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane2_Classify" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane2_Classify" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (float)((csPlane2 const *)arg1)->Classify((csVector2 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Classify__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  csVector2 *arg4 = 0 ;
  float result;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPlane2_Classify",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csPlane2_Classify" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPlane2_Classify" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPlane2_Classify" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csPlane2_Classify" "', argument " "4"" of type '" "csVector2 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane2_Classify" "', argument " "4"" of type '" "csVector2 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector2 * >(argp4);
  result = (float)csPlane2::Classify(arg1,arg2,arg3,(csVector2 const &)*arg4);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Classify(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csPlane2_Classify__SWIG_0(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector2, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csPlane2_Classify__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPlane2_Classify'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Distance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  csVector2 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane2_Distance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_Distance" "', argument " "1"" of type '" "csPlane2 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane2_Distance" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane2_Distance" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (float)((csPlane2 const *)arg1)->Distance((csVector2 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_SquaredDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  csVector2 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane2_SquaredDistance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_SquaredDistance" "', argument " "1"" of type '" "csPlane2 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane2_SquaredDistance" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane2_SquaredDistance" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (float)((csPlane2 const *)arg1)->SquaredDistance((csVector2 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Invert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane2_Invert",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_Invert" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  (arg1)->Invert();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane2_Normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane2_Normalize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane2_Normalize" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  (arg1)->Normalize();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPlane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = (csPlane2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPlane2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPlane2" "', argument " "1"" of type '" "csPlane2 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPlane2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPlane2, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csPlane3_norm_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane3_norm_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_norm_set" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_norm_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->norm = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_norm_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_norm_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_norm_get" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  result = (csVector3 *)& ((arg1)->norm);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_DD_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane3_DD_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_DD_set" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPlane3_DD_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->DD = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_DD_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_DD_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_DD_get" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  result = (float) ((arg1)->DD);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csPlane3")) SWIG_fail;
  result = (csPlane3 *)new csPlane3();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  float arg2 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csPlane3",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPlane3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csPlane3" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (csPlane3 *)new csPlane3((csVector3 const &)*arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane3__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPlane3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPlane3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (csPlane3 *)new csPlane3((csVector3 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane3__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  csPlane3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csPlane3",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPlane3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csPlane3" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csPlane3" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csPlane3" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (csPlane3 *)new csPlane3(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane3__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  csPlane3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csPlane3",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPlane3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csPlane3" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csPlane3" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (csPlane3 *)new csPlane3(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane3__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csPlane3",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPlane3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csPlane3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csPlane3" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane3" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (csPlane3 *)new csPlane3((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane3__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csPlane3",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPlane3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csPlane3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPlane3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (csPlane3 *)new csPlane3((csVector3 const &)*arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPlane3(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csPlane3__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csPlane3__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csPlane3__SWIG_6(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_csPlane3__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csPlane3__SWIG_5(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_csPlane3__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_csPlane3__SWIG_3(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csPlane3'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Normal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_Normal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Normal" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  {
    csVector3 const &_result_ref = ((csPlane3 const *)arg1)->Normal();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_A(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_A",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_A" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  result = (float)((csPlane3 const *)arg1)->A();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_B(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_B",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_B" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  result = (float)((csPlane3 const *)arg1)->B();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_C(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_C",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_C" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  result = (float)((csPlane3 const *)arg1)->C();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_D" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  result = (float)((csPlane3 const *)arg1)->D();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_GetNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_GetNormal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_GetNormal" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  {
    csVector3 const &_result_ref = ((csPlane3 const *)arg1)->GetNormal();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csPlane3_Set",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Set" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPlane3_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPlane3_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPlane3_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csPlane3_Set" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->Set(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPlane3_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Set" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPlane3_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->Set((csVector3 const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPlane3_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Set" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPlane3_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csPlane3_Set" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_Set" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  (arg1)->Set((csVector3 const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Set__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPlane3_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Set" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPlane3_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->Set((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csPlane3_Set__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csPlane3_Set__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csPlane3_Set__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csPlane3_Set__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPlane3_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane3_SetOrigin",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_SetOrigin" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_SetOrigin" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_SetOrigin" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetOrigin((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Classify__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane3_Classify",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Classify" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_Classify" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_Classify" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (float)((csPlane3 const *)arg1)->Classify((csVector3 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Classify__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  csVector3 *arg5 = 0 ;
  float result;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csPlane3_Classify",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csPlane3_Classify" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPlane3_Classify" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPlane3_Classify" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPlane3_Classify" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csPlane3_Classify" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_Classify" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (float)csPlane3::Classify(arg1,arg2,arg3,arg4,(csVector3 const &)*arg5);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Classify(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csPlane3_Classify__SWIG_0(self, args);
      }
    }
  }
  if (argc == 5) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_csPlane3_Classify__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPlane3_Classify'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Distance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane3_Distance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Distance" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_Distance" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_Distance" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (float)((csPlane3 const *)arg1)->Distance((csVector3 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Invert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_Invert",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Invert" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  (arg1)->Invert();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_Normalize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Normalize" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  (arg1)->Normalize();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_FindPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_FindPoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_FindPoint" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  result = ((csPlane3 const *)arg1)->FindPoint();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_ClipPolygon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 **arg2 = 0 ;
  int *arg3 = 0 ;
  bool arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPlane3_ClipPolygon",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_ClipPolygon" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_ClipPolygon" "', argument " "2"" of type '" "csVector3 *&""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_ClipPolygon" "', argument " "2"" of type '" "csVector3 *&""'"); 
  }
  arg2 = reinterpret_cast< csVector3 ** >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPlane3_ClipPolygon" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_ClipPolygon" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPlane3_ClipPolygon" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  result = (bool)(arg1)->ClipPolygon(*arg2,*arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_ClipPolygon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 **arg2 = 0 ;
  int *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPlane3_ClipPolygon",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_ClipPolygon" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_ClipPolygon" "', argument " "2"" of type '" "csVector3 *&""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_ClipPolygon" "', argument " "2"" of type '" "csVector3 *&""'"); 
  }
  arg2 = reinterpret_cast< csVector3 ** >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPlane3_ClipPolygon" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_ClipPolygon" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  result = (bool)(arg1)->ClipPolygon(*arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_ClipPolygon__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  size_t arg3 ;
  csVector3 *arg4 = (csVector3 *) 0 ;
  size_t *arg5 = 0 ;
  csVertexStatus *arg6 = (csVertexStatus *) 0 ;
  bool arg7 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:csPlane3_ClipPolygon",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_ClipPolygon" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_ClipPolygon" "', argument " "2"" of type '" "csVector3 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPlane3_ClipPolygon" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csPlane3_ClipPolygon" "', argument " "4"" of type '" "csVector3 *""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csPlane3_ClipPolygon" "', argument " "5"" of type '" "size_t &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_ClipPolygon" "', argument " "5"" of type '" "size_t &""'"); 
  }
  arg5 = reinterpret_cast< size_t * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_csVertexStatus, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csPlane3_ClipPolygon" "', argument " "6"" of type '" "csVertexStatus *""'"); 
  }
  arg6 = reinterpret_cast< csVertexStatus * >(argp6);
  ecode7 = SWIG_AsVal_bool(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "csPlane3_ClipPolygon" "', argument " "7"" of type '" "bool""'");
  } 
  arg7 = static_cast< bool >(val7);
  result = ((csPlane3 const *)arg1)->ClipPolygon((csVector3 const *)arg2,arg3,arg4,*arg5,arg6,arg7);
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_ClipPolygon__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  size_t arg3 ;
  csVector3 *arg4 = (csVector3 *) 0 ;
  size_t *arg5 = 0 ;
  csVertexStatus *arg6 = (csVertexStatus *) 0 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:csPlane3_ClipPolygon",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_ClipPolygon" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3_ClipPolygon" "', argument " "2"" of type '" "csVector3 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPlane3_ClipPolygon" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csPlane3_ClipPolygon" "', argument " "4"" of type '" "csVector3 *""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csPlane3_ClipPolygon" "', argument " "5"" of type '" "size_t &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3_ClipPolygon" "', argument " "5"" of type '" "size_t &""'"); 
  }
  arg5 = reinterpret_cast< size_t * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_csVertexStatus, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csPlane3_ClipPolygon" "', argument " "6"" of type '" "csVertexStatus *""'"); 
  }
  arg6 = reinterpret_cast< csVertexStatus * >(argp6);
  result = ((csPlane3 const *)arg1)->ClipPolygon((csVector3 const *)arg2,arg3,arg4,*arg5,arg6);
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_ClipPolygon(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csPlane3_ClipPolygon__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csPlane3_ClipPolygon__SWIG_0(self, args);
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_size_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_csVertexStatus, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_csPlane3_ClipPolygon__SWIG_3(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_size_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_csVertexStatus, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                {
                  int res = SWIG_AsVal_bool(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_csPlane3_ClipPolygon__SWIG_2(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPlane3_ClipPolygon'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3_Description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlane3_Description",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3_Description" "', argument " "1"" of type '" "csPlane3 const *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  result = ((csPlane3 const *)arg1)->Description();
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csTransform *arg2 = 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane3___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3___imul__" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3___imul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3___imul__" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csTransform * >(argp2);
  {
    csPlane3 &_result_ref = csPlane3_operator_Sm__Se_(arg1,(csTransform const &)*arg2);
    result = (csPlane3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane3___idiv__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3___idiv__" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3___idiv__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3___idiv__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  {
    csPlane3 &_result_ref = csPlane3_operator_Sd__Se_(arg1,(csReversibleTransform const &)*arg2);
    result = (csPlane3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlane3___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPlane3___div__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlane3___div__" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPlane3___div__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPlane3___div__" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  result = csPlane3_operator_Sd_(arg1,(csReversibleTransform const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPlane3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPlane3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPlane3" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPlane3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPlane3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csMath2_WhichSide2D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath2_WhichSide2D",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath2_WhichSide2D" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_WhichSide2D" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath2_WhichSide2D" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_WhichSide2D" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath2_WhichSide2D" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_WhichSide2D" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (int)csMath2::WhichSide2D((csVector2 const &)*arg1,(csVector2 const &)*arg2,(csVector2 const &)*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath2_WhichSide2D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csSegment2 *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMath2_WhichSide2D",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath2_WhichSide2D" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_WhichSide2D" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath2_WhichSide2D" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_WhichSide2D" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  arg2 = reinterpret_cast< csSegment2 * >(argp2);
  result = (int)csMath2::WhichSide2D((csVector2 const &)*arg1,(csSegment2 const &)*arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath2_WhichSide2D(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSegment2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMath2_WhichSide2D__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csMath2_WhichSide2D__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csMath2_WhichSide2D'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath2_InPoly2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  int arg3 ;
  csBox2 *arg4 = (csBox2 *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csMath2_InPoly2D",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath2_InPoly2D" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_InPoly2D" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath2_InPoly2D" "', argument " "2"" of type '" "csVector2 *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csMath2_InPoly2D" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csMath2_InPoly2D" "', argument " "4"" of type '" "csBox2 *""'"); 
  }
  arg4 = reinterpret_cast< csBox2 * >(argp4);
  result = (int)csMath2::InPoly2D((csVector2 const &)*arg1,arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath2_Area2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath2_Area2",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath2_Area2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Area2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath2_Area2" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Area2" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath2_Area2" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Area2" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (float)csMath2::Area2((csVector2 const &)*arg1,(csVector2 const &)*arg2,(csVector2 const &)*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath2_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath2_Right",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath2_Right" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Right" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath2_Right" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Right" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath2_Right" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Right" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (float)csMath2::Right((csVector2 const &)*arg1,(csVector2 const &)*arg2,(csVector2 const &)*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath2_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath2_Left",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath2_Left" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Left" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath2_Left" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Left" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath2_Left" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Left" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (float)csMath2::Left((csVector2 const &)*arg1,(csVector2 const &)*arg2,(csVector2 const &)*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath2_Visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csPlane2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMath2_Visible",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath2_Visible" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Visible" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath2_Visible" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_Visible" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane2 * >(argp2);
  result = (bool)csMath2::Visible((csVector2 const &)*arg1,(csPlane2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath2_PlanesEqual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = 0 ;
  csPlane2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMath2_PlanesEqual",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath2_PlanesEqual" "', argument " "1"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_PlanesEqual" "', argument " "1"" of type '" "csPlane2 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath2_PlanesEqual" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_PlanesEqual" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane2 * >(argp2);
  result = (bool)csMath2::PlanesEqual((csPlane2 const &)*arg1,(csPlane2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath2_PlanesClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = 0 ;
  csPlane2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMath2_PlanesClose",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath2_PlanesClose" "', argument " "1"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_PlanesClose" "', argument " "1"" of type '" "csPlane2 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath2_PlanesClose" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath2_PlanesClose" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane2 * >(argp2);
  result = (bool)csMath2::PlanesClose((csPlane2 const &)*arg1,(csPlane2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMath2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMath2 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csMath2")) SWIG_fail;
  result = (csMath2 *)new csMath2();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMath2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csMath2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMath2 *arg1 = (csMath2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csMath2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMath2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csMath2" "', argument " "1"" of type '" "csMath2 *""'"); 
  }
  arg1 = reinterpret_cast< csMath2 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csMath2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csMath2, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csIntersect2_PlanePolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = 0 ;
  csPoly2D *arg2 = (csPoly2D *) 0 ;
  csSegment2 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect2_PlanePolygon",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect2_PlanePolygon" "', argument " "1"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_PlanePolygon" "', argument " "1"" of type '" "csPlane2 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect2_PlanePolygon" "', argument " "2"" of type '" "csPoly2D *""'"); 
  }
  arg2 = reinterpret_cast< csPoly2D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSegment2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect2_PlanePolygon" "', argument " "3"" of type '" "csSegment2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_PlanePolygon" "', argument " "3"" of type '" "csSegment2 &""'"); 
  }
  arg3 = reinterpret_cast< csSegment2 * >(argp3);
  result = (bool)csIntersect2::PlanePolygon((csPlane2 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_SegmentSegment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = 0 ;
  csSegment2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  float *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect2_SegmentSegment",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect2_SegmentSegment" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentSegment" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect2_SegmentSegment" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentSegment" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  arg2 = reinterpret_cast< csSegment2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect2_SegmentSegment" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentSegment" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (bool)csIntersect2::SegmentSegment((csSegment2 const &)*arg1,(csSegment2 const &)*arg2,*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_SegmentLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = 0 ;
  csSegment2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  float *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect2_SegmentLine",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect2_SegmentLine" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentLine" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect2_SegmentLine" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentLine" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  arg2 = reinterpret_cast< csSegment2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect2_SegmentLine" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentLine" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (bool)csIntersect2::SegmentLine((csSegment2 const &)*arg1,(csSegment2 const &)*arg2,*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_LineLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = 0 ;
  csSegment2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect2_LineLine",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect2_LineLine" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_LineLine" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect2_LineLine" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_LineLine" "', argument " "2"" of type '" "csSegment2 const &""'"); 
  }
  arg2 = reinterpret_cast< csSegment2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect2_LineLine" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_LineLine" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (bool)csIntersect2::LineLine((csSegment2 const &)*arg1,(csSegment2 const &)*arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_SegmentPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = 0 ;
  csPlane2 *arg3 = 0 ;
  csVector2 *arg4 = 0 ;
  float *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float temp5 ;
  int res5 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect2_SegmentPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect2_SegmentPlane" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlane" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect2_SegmentPlane" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlane" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect2_SegmentPlane" "', argument " "3"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlane" "', argument " "3"" of type '" "csPlane2 const &""'"); 
  }
  arg3 = reinterpret_cast< csPlane2 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect2_SegmentPlane" "', argument " "4"" of type '" "csVector2 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlane" "', argument " "4"" of type '" "csVector2 &""'"); 
  }
  arg4 = reinterpret_cast< csVector2 * >(argp4);
  result = (bool)csIntersect2::SegmentPlane((csVector2 const &)*arg1,(csVector2 const &)*arg2,(csPlane2 const &)*arg3,*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_SegmentPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = 0 ;
  csPlane2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  float *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect2_SegmentPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect2_SegmentPlane" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlane" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect2_SegmentPlane" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlane" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect2_SegmentPlane" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlane" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (bool)csIntersect2::SegmentPlane((csSegment2 const &)*arg1,(csPlane2 const &)*arg2,*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_SegmentPlane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSegment2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csIntersect2_SegmentPlane__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csPlane2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector2, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect2_SegmentPlane__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect2_SegmentPlane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_SegmentPlaneNoTest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = 0 ;
  csPlane2 *arg3 = 0 ;
  csVector2 *arg4 = 0 ;
  float *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float temp5 ;
  int res5 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect2_SegmentPlaneNoTest",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "3"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "3"" of type '" "csPlane2 const &""'"); 
  }
  arg3 = reinterpret_cast< csPlane2 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "4"" of type '" "csVector2 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "4"" of type '" "csVector2 &""'"); 
  }
  arg4 = reinterpret_cast< csVector2 * >(argp4);
  csIntersect2::SegmentPlaneNoTest((csVector2 const &)*arg1,(csVector2 const &)*arg2,(csPlane2 const &)*arg3,*arg4,*arg5);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_SegmentPlaneNoTest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = 0 ;
  csPlane2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  float *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect2_SegmentPlaneNoTest",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "1"" of type '" "csSegment2 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_SegmentPlaneNoTest" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  csIntersect2::SegmentPlaneNoTest((csSegment2 const &)*arg1,(csPlane2 const &)*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_SegmentPlaneNoTest(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSegment2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csIntersect2_SegmentPlaneNoTest__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csPlane2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector2, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect2_SegmentPlaneNoTest__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect2_SegmentPlaneNoTest'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect2_PlanePlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane2 *arg1 = 0 ;
  csPlane2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect2_PlanePlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect2_PlanePlane" "', argument " "1"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_PlanePlane" "', argument " "1"" of type '" "csPlane2 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect2_PlanePlane" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_PlanePlane" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect2_PlanePlane" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect2_PlanePlane" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (bool)csIntersect2::PlanePlane((csPlane2 const &)*arg1,(csPlane2 const &)*arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csIntersect2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersect2 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csIntersect2")) SWIG_fail;
  result = (csIntersect2 *)new csIntersect2();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csIntersect2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csIntersect2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersect2 *arg1 = (csIntersect2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csIntersect2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csIntersect2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csIntersect2" "', argument " "1"" of type '" "csIntersect2 *""'"); 
  }
  arg1 = reinterpret_cast< csIntersect2 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csIntersect2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csIntersect2, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csPoly2D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csPoly2D *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPoly2D",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPoly2D" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csPoly2D *)new csPoly2D(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPoly2D, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPoly2D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csPoly2D")) SWIG_fail;
  result = (csPoly2D *)new csPoly2D();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPoly2D, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPoly2D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = 0 ;
  csPoly2D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPoly2D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPoly2D,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPoly2D" "', argument " "1"" of type '" "csPoly2D const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPoly2D" "', argument " "1"" of type '" "csPoly2D const &""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  result = (csPoly2D *)new csPoly2D((csPoly2D const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPoly2D, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPoly2D(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csPoly2D__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csPoly2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csPoly2D__SWIG_2(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csPoly2D__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csPoly2D'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPoly2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPoly2D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPoly2D" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csPoly2D *arg2 = 0 ;
  csPoly2D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly2D_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_assign" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPoly2D,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly2D_assign" "', argument " "2"" of type '" "csPoly2D const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_assign" "', argument " "2"" of type '" "csPoly2D const &""'"); 
  }
  arg2 = reinterpret_cast< csPoly2D * >(argp2);
  {
    csPoly2D &_result_ref = (arg1)->operator =((csPoly2D const &)*arg2);
    result = (csPoly2D *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPoly2D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_MakeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly2D_MakeEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_MakeEmpty" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  (arg1)->MakeEmpty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly2D_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_GetVertexCount" "', argument " "1"" of type '" "csPoly2D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  result = ((csPoly2D const *)arg1)->GetVertexCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_GetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly2D_GetVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_GetVertices" "', argument " "1"" of type '" "csPoly2D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  result = (csVector2 *)((csPoly2D const *)arg1)->GetVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_GetVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  size_t arg2 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly2D_GetVertex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_GetVertex" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly2D_GetVertex" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (csVector2 *)(arg1)->GetVertex(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_GetFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly2D_GetFirst",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_GetFirst" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  result = (csVector2 *)(arg1)->GetFirst();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_GetLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly2D_GetLast",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_GetLast" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  result = (csVector2 *)(arg1)->GetLast();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_In__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly2D_In",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_In" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly2D_In" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_In" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)(arg1)->In((csVector2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_In__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = (csVector2 *) 0 ;
  size_t arg2 ;
  csVector2 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly2D_In",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_In" "', argument " "1"" of type '" "csVector2 *""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly2D_In" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly2D_In" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_In" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (bool)csPoly2D::In(arg1,arg2,(csVector2 const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_In(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csPoly2D_In__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csPoly2D_In__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPoly2D_In'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_MakeRoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly2D_MakeRoom",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_MakeRoom" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly2D_MakeRoom" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->MakeRoom(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_SetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly2D_SetVertexCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_SetVertexCount" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly2D_SetVertexCount" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->SetVertexCount(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_AddVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csVector2 *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly2D_AddVertex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_AddVertex" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly2D_AddVertex" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_AddVertex" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (arg1)->AddVertex((csVector2 const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_AddVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  float arg2 ;
  float arg3 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly2D_AddVertex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_AddVertex" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly2D_AddVertex" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly2D_AddVertex" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (arg1)->AddVertex(arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_AddVertex(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csPoly2D_AddVertex__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csPoly2D_AddVertex__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPoly2D_AddVertex'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_SetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  size_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly2D_SetVertices",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_SetVertices" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly2D_SetVertices" "', argument " "2"" of type '" "csVector2 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly2D_SetVertices" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  (arg1)->SetVertices((csVector2 const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_ClipAgainst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  iClipper2D *arg2 = (iClipper2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly2D_ClipAgainst",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_ClipAgainst" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly2D_ClipAgainst" "', argument " "2"" of type '" "iClipper2D *""'"); 
  }
  arg2 = reinterpret_cast< iClipper2D * >(argp2);
  result = (bool)(arg1)->ClipAgainst(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_Intersect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csPlane2 *arg2 = 0 ;
  csPoly2D *arg3 = 0 ;
  csPoly2D *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPoly2D_Intersect",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_Intersect" "', argument " "1"" of type '" "csPoly2D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly2D_Intersect" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_Intersect" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPoly2D,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly2D_Intersect" "', argument " "3"" of type '" "csPoly2D &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_Intersect" "', argument " "3"" of type '" "csPoly2D &""'"); 
  }
  arg3 = reinterpret_cast< csPoly2D * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csPoly2D,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csPoly2D_Intersect" "', argument " "4"" of type '" "csPoly2D &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_Intersect" "', argument " "4"" of type '" "csPoly2D &""'"); 
  }
  arg4 = reinterpret_cast< csPoly2D * >(argp4);
  ((csPoly2D const *)arg1)->Intersect((csPlane2 const &)*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_ClipPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csPlane2 *arg2 = 0 ;
  csPoly2D *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly2D_ClipPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_ClipPlane" "', argument " "1"" of type '" "csPoly2D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly2D_ClipPlane" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_ClipPlane" "', argument " "2"" of type '" "csPlane2 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPoly2D,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly2D_ClipPlane" "', argument " "3"" of type '" "csPoly2D &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_ClipPlane" "', argument " "3"" of type '" "csPoly2D &""'"); 
  }
  arg3 = reinterpret_cast< csPoly2D * >(argp3);
  ((csPoly2D const *)arg1)->ClipPlane((csPlane2 const &)*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_ExtendConvex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  csPoly2D *arg2 = 0 ;
  size_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly2D_ExtendConvex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_ExtendConvex" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPoly2D,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly2D_ExtendConvex" "', argument " "2"" of type '" "csPoly2D const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_ExtendConvex" "', argument " "2"" of type '" "csPoly2D const &""'"); 
  }
  arg2 = reinterpret_cast< csPoly2D * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly2D_ExtendConvex" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  (arg1)->ExtendConvex((csPoly2D const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_GetSignedArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly2D_GetSignedArea",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_GetSignedArea" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  result = (float)(arg1)->GetSignedArea();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D_Random(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  size_t arg2 ;
  csBox2 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly2D_Random",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D_Random" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly2D_Random" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly2D_Random" "', argument " "3"" of type '" "csBox2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly2D_Random" "', argument " "3"" of type '" "csBox2 const &""'"); 
  }
  arg3 = reinterpret_cast< csBox2 * >(argp3);
  (arg1)->Random(arg2,(csBox2 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2D___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2D *arg1 = (csPoly2D *) 0 ;
  int arg2 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly2D___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2D___getitem__" "', argument " "1"" of type '" "csPoly2D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly2D___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    csVector2 &_result_ref = csPoly2D___getitem__(arg1,arg2);
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPoly2D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPoly2D, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_csPoly2DFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2DFactory *arg1 = (csPoly2DFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPoly2DFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2DFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPoly2DFactory" "', argument " "1"" of type '" "csPoly2DFactory *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2DFactory * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly2DFactory_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2DFactory *arg1 = (csPoly2DFactory *) 0 ;
  csPoly2D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly2DFactory_Create",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly2DFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly2DFactory_Create" "', argument " "1"" of type '" "csPoly2DFactory *""'"); 
  }
  arg1 = reinterpret_cast< csPoly2DFactory * >(argp1);
  result = (csPoly2D *)(arg1)->Create();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPoly2D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPoly2DFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly2DFactory *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csPoly2DFactory")) SWIG_fail;
  result = (csPoly2DFactory *)new csPoly2DFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPoly2DFactory, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPoly2DFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPoly2DFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csMath3_WhichSide3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath3_WhichSide3D",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_WhichSide3D" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_WhichSide3D" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_WhichSide3D" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_WhichSide3D" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_WhichSide3D" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_WhichSide3D" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (int)csMath3::WhichSide3D((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_Visible__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csMath3_Visible",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_Visible" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Visible" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_Visible" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Visible" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_Visible" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Visible" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csMath3_Visible" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Visible" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (bool)csMath3::Visible((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_Visible__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csPlane3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMath3_Visible",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_Visible" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Visible" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_Visible" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Visible" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = (bool)csMath3::Visible((csVector3 const &)*arg1,(csPlane3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_Visible(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMath3_Visible__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csMath3_Visible__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csMath3_Visible'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_Between(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csMath3_Between",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_Between" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Between" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_Between" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Between" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_Between" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Between" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csMath3_Between" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csMath3_Between" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  csMath3::Between((csVector3 const &)*arg1,(csVector3 const &)*arg2,*arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_SetMinMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath3_SetMinMax",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_SetMinMax" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_SetMinMax" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_SetMinMax" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_SetMinMax" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_SetMinMax" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_SetMinMax" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  csMath3::SetMinMax((csVector3 const &)*arg1,*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_DoubleArea3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath3_DoubleArea3",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_DoubleArea3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_DoubleArea3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_DoubleArea3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_DoubleArea3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_DoubleArea3" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_DoubleArea3" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (float)csMath3::DoubleArea3((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_Direction3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath3_Direction3",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_Direction3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Direction3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_Direction3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Direction3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_Direction3" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_Direction3" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (float)csMath3::Direction3((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_CalcNormal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csMath3_CalcNormal",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_CalcNormal" "', argument " "1"" of type '" "csVector3 &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcNormal" "', argument " "1"" of type '" "csVector3 &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_CalcNormal" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcNormal" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_CalcNormal" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcNormal" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csMath3_CalcNormal" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcNormal" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  csMath3::CalcNormal(*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_CalcNormal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath3_CalcNormal",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_CalcNormal" "', argument " "1"" of type '" "csVector3 &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcNormal" "', argument " "1"" of type '" "csVector3 &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_CalcNormal" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcNormal" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_CalcNormal" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcNormal" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  csMath3::CalcNormal(*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_CalcNormal(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csMath3_CalcNormal__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csMath3_CalcNormal__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csMath3_CalcNormal'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_CalcPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csMath3_CalcPlane",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_CalcPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_CalcPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_CalcPlane" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcPlane" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csMath3_CalcPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csMath3_CalcPlane" "', argument " "5"" of type '" "float &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_CalcPlane" "', argument " "5"" of type '" "float &""'"); 
  }
  arg5 = reinterpret_cast< float * >(argp5);
  csMath3::CalcPlane((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,*arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_PlanesEqual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  csPlane3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMath3_PlanesEqual",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_PlanesEqual" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_PlanesEqual" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_PlanesEqual" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_PlanesEqual" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = (bool)csMath3::PlanesEqual((csPlane3 const &)*arg1,(csPlane3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_PlanesClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  csPlane3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMath3_PlanesClose",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_PlanesClose" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_PlanesClose" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_PlanesClose" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_PlanesClose" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = (bool)csMath3::PlanesClose((csPlane3 const &)*arg1,(csPlane3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_OuterPlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csBox3 *arg2 = 0 ;
  csPlane3 *arg3 = (csPlane3 *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath3_OuterPlanes",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_OuterPlanes" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_OuterPlanes" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_OuterPlanes" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_OuterPlanes" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_OuterPlanes" "', argument " "3"" of type '" "csPlane3 *""'"); 
  }
  arg3 = reinterpret_cast< csPlane3 * >(argp3);
  result = (int)csMath3::OuterPlanes((csBox3 const &)*arg1,(csBox3 const &)*arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_FindObserverSides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csBox3 *arg2 = 0 ;
  int *arg3 = (int *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath3_FindObserverSides",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMath3_FindObserverSides" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_FindObserverSides" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMath3_FindObserverSides" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_FindObserverSides" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_FindObserverSides" "', argument " "3"" of type '" "int *""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  result = (int)csMath3::FindObserverSides((csBox3 const &)*arg1,(csBox3 const &)*arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMath3_SpherePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csMath3_SpherePosition",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csMath3_SpherePosition" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMath3_SpherePosition" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csMath3_SpherePosition" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMath3_SpherePosition" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  csMath3::SpherePosition(arg1,arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMath3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMath3 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csMath3")) SWIG_fail;
  result = (csMath3 *)new csMath3();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMath3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csMath3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMath3 *arg1 = (csMath3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csMath3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMath3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csMath3" "', argument " "1"" of type '" "csMath3 *""'"); 
  }
  arg1 = reinterpret_cast< csMath3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csMath3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csMath3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csSquaredDist_PointPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSquaredDist_PointPoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSquaredDist_PointPoint" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointPoint" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSquaredDist_PointPoint" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointPoint" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (float)csSquaredDist::PointPoint((csVector3 const &)*arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSquaredDist_PointLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSquaredDist_PointLine",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSquaredDist_PointLine" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointLine" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSquaredDist_PointLine" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointLine" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csSquaredDist_PointLine" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointLine" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (float)csSquaredDist::PointLine((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSquaredDist_PointPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csPlane3 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSquaredDist_PointPlane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSquaredDist_PointPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSquaredDist_PointPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = (float)csSquaredDist::PointPlane((csVector3 const &)*arg1,(csPlane3 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSquaredDist_PointPoly__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  int arg3 ;
  csPlane3 *arg4 = 0 ;
  float arg5 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csSquaredDist_PointPoly",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSquaredDist_PointPoly" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointPoly" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSquaredDist_PointPoly" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csSquaredDist_PointPoly" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csSquaredDist_PointPoly" "', argument " "4"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointPoly" "', argument " "4"" of type '" "csPlane3 const &""'"); 
  }
  arg4 = reinterpret_cast< csPlane3 * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csSquaredDist_PointPoly" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = (float)csSquaredDist::PointPoly((csVector3 const &)*arg1,arg2,arg3,(csPlane3 const &)*arg4,arg5);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSquaredDist_PointPoly__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  int arg3 ;
  csPlane3 *arg4 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csSquaredDist_PointPoly",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSquaredDist_PointPoly" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointPoly" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSquaredDist_PointPoly" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csSquaredDist_PointPoly" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csSquaredDist_PointPoly" "', argument " "4"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSquaredDist_PointPoly" "', argument " "4"" of type '" "csPlane3 const &""'"); 
  }
  arg4 = reinterpret_cast< csPlane3 * >(argp4);
  result = (float)csSquaredDist::PointPoly((csVector3 const &)*arg1,arg2,arg3,(csPlane3 const &)*arg4);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSquaredDist_PointPoly(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csPlane3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csSquaredDist_PointPoly__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csPlane3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csSquaredDist_PointPoly__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csSquaredDist_PointPoly'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSquaredDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSquaredDist *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csSquaredDist")) SWIG_fail;
  result = (csSquaredDist *)new csSquaredDist();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSquaredDist, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSquaredDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSquaredDist *arg1 = (csSquaredDist *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSquaredDist",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSquaredDist, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSquaredDist" "', argument " "1"" of type '" "csSquaredDist *""'"); 
  }
  arg1 = reinterpret_cast< csSquaredDist * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSquaredDist_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSquaredDist, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csIntersect3_PlanePolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  csPoly3D *arg2 = (csPoly3D *) 0 ;
  csSegment3 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_PlanePolygon",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_PlanePolygon" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlanePolygon" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_PlanePolygon" "', argument " "2"" of type '" "csPoly3D *""'"); 
  }
  arg2 = reinterpret_cast< csPoly3D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSegment3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_PlanePolygon" "', argument " "3"" of type '" "csSegment3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlanePolygon" "', argument " "3"" of type '" "csSegment3 &""'"); 
  }
  arg3 = reinterpret_cast< csSegment3 * >(argp3);
  result = (bool)csIntersect3::PlanePolygon((csPlane3 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentFrustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = (csPlane3 *) 0 ;
  int arg2 ;
  csSegment3 *arg3 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_SegmentFrustum",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentFrustum" "', argument " "1"" of type '" "csPlane3 *""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_SegmentFrustum" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSegment3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentFrustum" "', argument " "3"" of type '" "csSegment3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentFrustum" "', argument " "3"" of type '" "csSegment3 &""'"); 
  }
  arg3 = reinterpret_cast< csSegment3 * >(argp3);
  result = (int)csIntersect3::SegmentFrustum(arg1,arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentTriangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csIntersect3_SegmentTriangle",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentTriangle" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentTriangle" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentTriangle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentTriangle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentTriangle" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentTriangle" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_SegmentTriangle" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentTriangle" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csIntersect3_SegmentTriangle" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentTriangle" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (bool)csIntersect3::SegmentTriangle((csSegment3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = 0 ;
  csPoly3D *arg2 = 0 ;
  csPlane3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_SegmentPolygon",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentPolygon" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPolygon" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPoly3D,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentPolygon" "', argument " "2"" of type '" "csPoly3D const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPolygon" "', argument " "2"" of type '" "csPoly3D const &""'"); 
  }
  arg2 = reinterpret_cast< csPoly3D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentPolygon" "', argument " "3"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPolygon" "', argument " "3"" of type '" "csPlane3 const &""'"); 
  }
  arg3 = reinterpret_cast< csPlane3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_SegmentPolygon" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPolygon" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (bool)csIntersect3::SegmentPolygon((csSegment3 const &)*arg1,(csPoly3D const &)*arg2,(csPlane3 const &)*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentPlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csPlane3 *arg3 = (csPlane3 *) 0 ;
  int arg4 ;
  csVector3 *arg5 = 0 ;
  float *arg6 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  float temp6 ;
  int res6 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  arg6 = &temp6;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csIntersect3_SegmentPlanes",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentPlanes" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlanes" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentPlanes" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlanes" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentPlanes" "', argument " "3"" of type '" "csPlane3 const *""'"); 
  }
  arg3 = reinterpret_cast< csPlane3 * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csIntersect3_SegmentPlanes" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csIntersect3_SegmentPlanes" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlanes" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (bool)csIntersect3::SegmentPlanes((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csPlane3 const *)arg3,arg4,*arg5,*arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res6)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg6)));
  } else {
    int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  float *arg6 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  float temp6 ;
  int res6 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  arg6 = &temp6;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csIntersect3_SegmentPlane",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentPlane" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlane" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_SegmentPlane" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlane" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csIntersect3_SegmentPlane" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlane" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (bool)csIntersect3::SegmentPlane((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,*arg5,*arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res6)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg6)));
  } else {
    int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csPlane3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float temp5 ;
  int res5 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_SegmentPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentPlane" "', argument " "3"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlane" "', argument " "3"" of type '" "csPlane3 const &""'"); 
  }
  arg3 = reinterpret_cast< csPlane3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_SegmentPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (bool)csIntersect3::SegmentPlane((csVector3 const &)*arg1,(csVector3 const &)*arg2,(csPlane3 const &)*arg3,*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentPlane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csPlane3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect3_SegmentPlane__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_csIntersect3_SegmentPlane__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_SegmentPlane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_ThreePlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  csPlane3 *arg2 = 0 ;
  csPlane3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_ThreePlanes",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_ThreePlanes" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_ThreePlanes" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_ThreePlanes" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_ThreePlanes" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_ThreePlanes" "', argument " "3"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_ThreePlanes" "', argument " "3"" of type '" "csPlane3 const &""'"); 
  }
  arg3 = reinterpret_cast< csPlane3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_ThreePlanes" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_ThreePlanes" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (bool)csIntersect3::ThreePlanes((csPlane3 const &)*arg1,(csPlane3 const &)*arg2,(csPlane3 const &)*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_PlaneXPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  float arg2 ;
  csPlane2 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_PlaneXPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_PlaneXPlane" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlaneXPlane" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_PlaneXPlane" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPlane2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_PlaneXPlane" "', argument " "3"" of type '" "csPlane2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlaneXPlane" "', argument " "3"" of type '" "csPlane2 &""'"); 
  }
  arg3 = reinterpret_cast< csPlane2 * >(argp3);
  result = (bool)csIntersect3::PlaneXPlane((csPlane3 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_PlaneYPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  float arg2 ;
  csPlane2 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_PlaneYPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_PlaneYPlane" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlaneYPlane" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_PlaneYPlane" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPlane2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_PlaneYPlane" "', argument " "3"" of type '" "csPlane2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlaneYPlane" "', argument " "3"" of type '" "csPlane2 &""'"); 
  }
  arg3 = reinterpret_cast< csPlane2 * >(argp3);
  result = (bool)csIntersect3::PlaneYPlane((csPlane3 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_PlaneZPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  float arg2 ;
  csPlane2 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_PlaneZPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_PlaneZPlane" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlaneZPlane" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_PlaneZPlane" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPlane2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_PlaneZPlane" "', argument " "3"" of type '" "csPlane2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlaneZPlane" "', argument " "3"" of type '" "csPlane2 &""'"); 
  }
  arg3 = reinterpret_cast< csPlane2 * >(argp3);
  result = (bool)csIntersect3::PlaneZPlane((csPlane3 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_PlaneAxisPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  int arg2 ;
  float arg3 ;
  csPlane2 *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_PlaneAxisPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_PlaneAxisPlane" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlaneAxisPlane" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_PlaneAxisPlane" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csIntersect3_PlaneAxisPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csPlane2,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_PlaneAxisPlane" "', argument " "4"" of type '" "csPlane2 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_PlaneAxisPlane" "', argument " "4"" of type '" "csPlane2 &""'"); 
  }
  arg4 = reinterpret_cast< csPlane2 * >(argp4);
  result = (bool)csIntersect3::PlaneAxisPlane((csPlane3 const &)*arg1,arg2,arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentZ0Plane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_SegmentZ0Plane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (float)csIntersect3::SegmentZ0Plane((csVector3 const &)*arg1,(csVector3 const &)*arg2,*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentZ0Plane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csIntersect3_SegmentZ0Plane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZ0Plane" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (float)csIntersect3::SegmentZ0Plane((csSegment3 const &)*arg1,*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentZ0Plane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSegment3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csIntersect3_SegmentZ0Plane__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csIntersect3_SegmentZ0Plane__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_SegmentZ0Plane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentXPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  csVector3 *arg4 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_SegmentXPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentXPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentXPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csIntersect3_SegmentXPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_SegmentXPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (float)csIntersect3::SegmentXPlane((csVector3 const &)*arg1,(csVector3 const &)*arg2,arg3,*arg4);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentXPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_SegmentXPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentXPlane" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXPlane" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_SegmentXPlane" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentXPlane" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXPlane" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (float)csIntersect3::SegmentXPlane((csSegment3 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentXPlane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSegment3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csIntersect3_SegmentXPlane__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect3_SegmentXPlane__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_SegmentXPlane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentYPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  csVector3 *arg4 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_SegmentYPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentYPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentYPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csIntersect3_SegmentYPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_SegmentYPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (float)csIntersect3::SegmentYPlane((csVector3 const &)*arg1,(csVector3 const &)*arg2,arg3,*arg4);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentYPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_SegmentYPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentYPlane" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYPlane" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_SegmentYPlane" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentYPlane" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYPlane" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (float)csIntersect3::SegmentYPlane((csSegment3 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentYPlane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSegment3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csIntersect3_SegmentYPlane__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect3_SegmentYPlane__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_SegmentYPlane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentZPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  csVector3 *arg4 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_SegmentZPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentZPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentZPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csIntersect3_SegmentZPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_SegmentZPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZPlane" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (float)csIntersect3::SegmentZPlane((csVector3 const &)*arg1,(csVector3 const &)*arg2,arg3,*arg4);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentZPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_SegmentZPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentZPlane" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZPlane" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_SegmentZPlane" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentZPlane" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentZPlane" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (float)csIntersect3::SegmentZPlane((csSegment3 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentZPlane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSegment3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csIntersect3_SegmentZPlane__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect3_SegmentZPlane__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_SegmentZPlane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentAxisPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  int arg3 ;
  float arg4 ;
  csVector3 *arg5 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csIntersect3_SegmentAxisPlane",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentAxisPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentAxisPlane" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentAxisPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentAxisPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csIntersect3_SegmentAxisPlane" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csIntersect3_SegmentAxisPlane" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csIntersect3_SegmentAxisPlane" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentAxisPlane" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (float)csIntersect3::SegmentAxisPlane((csVector3 const &)*arg1,(csVector3 const &)*arg2,arg3,arg4,*arg5);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentXFrustum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  csVector3 *arg4 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_SegmentXFrustum",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentXFrustum" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXFrustum" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentXFrustum" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXFrustum" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csIntersect3_SegmentXFrustum" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_SegmentXFrustum" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXFrustum" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (float)csIntersect3::SegmentXFrustum((csVector3 const &)*arg1,(csVector3 const &)*arg2,arg3,*arg4);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentXFrustum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_SegmentXFrustum",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentXFrustum" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXFrustum" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_SegmentXFrustum" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentXFrustum" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentXFrustum" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (float)csIntersect3::SegmentXFrustum((csSegment3 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentXFrustum(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSegment3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csIntersect3_SegmentXFrustum__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect3_SegmentXFrustum__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_SegmentXFrustum'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentYFrustum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  csVector3 *arg4 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_SegmentYFrustum",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentYFrustum" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYFrustum" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_SegmentYFrustum" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYFrustum" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csIntersect3_SegmentYFrustum" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_SegmentYFrustum" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYFrustum" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (float)csIntersect3::SegmentYFrustum((csVector3 const &)*arg1,(csVector3 const &)*arg2,arg3,*arg4);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentYFrustum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_SegmentYFrustum",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csSegment3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_SegmentYFrustum" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYFrustum" "', argument " "1"" of type '" "csSegment3 const &""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csIntersect3_SegmentYFrustum" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_SegmentYFrustum" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_SegmentYFrustum" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (float)csIntersect3::SegmentYFrustum((csSegment3 const &)*arg1,arg2,*arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_SegmentYFrustum(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csSegment3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csIntersect3_SegmentYFrustum__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect3_SegmentYFrustum__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_SegmentYFrustum'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxSegment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csSegment3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  float *arg4 = (float *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_BoxSegment",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_BoxSegment" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxSegment" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSegment3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_BoxSegment" "', argument " "2"" of type '" "csSegment3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxSegment" "', argument " "2"" of type '" "csSegment3 const &""'"); 
  }
  arg2 = reinterpret_cast< csSegment3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_BoxSegment" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxSegment" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (int)csIntersect3::BoxSegment((csBox3 const &)*arg1,(csSegment3 const &)*arg2,*arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxFrustum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csPlane3 *arg2 = (csPlane3 *) 0 ;
  uint32 arg3 ;
  uint32 *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_BoxFrustum",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_BoxFrustum" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxFrustum" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_BoxFrustum" "', argument " "2"" of type '" "csPlane3 *""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_BoxFrustum" "', argument " "3"" of type '" "uint32""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxFrustum" "', argument " "3"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint32_t,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_BoxFrustum" "', argument " "4"" of type '" "uint32 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxFrustum" "', argument " "4"" of type '" "uint32 &""'"); 
  }
  arg4 = reinterpret_cast< uint32 * >(argp4);
  result = (bool)csIntersect3::BoxFrustum((csBox3 const &)*arg1,arg2,arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxFrustum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csFrustum *arg2 = (csFrustum *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csIntersect3_BoxFrustum",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_BoxFrustum" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxFrustum" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csFrustum, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_BoxFrustum" "', argument " "2"" of type '" "csFrustum const *""'"); 
  }
  arg2 = reinterpret_cast< csFrustum * >(argp2);
  result = (bool)csIntersect3::BoxFrustum((csBox3 const &)*arg1,(csFrustum const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxFrustum(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csFrustum, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csIntersect3_BoxFrustum__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint32_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_uint32_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect3_BoxFrustum__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_BoxFrustum'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_BoxSphere",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_BoxSphere" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxSphere" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_BoxSphere" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxSphere" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csIntersect3_BoxSphere" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)csIntersect3::BoxSphere((csBox3 const &)*arg1,(csVector3 const &)*arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csPlane3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csIntersect3_BoxPlane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_BoxPlane" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxPlane" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_BoxPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = (bool)csIntersect3::BoxPlane((csBox3 const &)*arg1,(csPlane3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_BoxPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_BoxPlane" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxPlane" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_BoxPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_BoxPlane" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxPlane" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (bool)csIntersect3::BoxPlane((csBox3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxPlane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csIntersect3_BoxPlane__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csIntersect3_BoxPlane__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_BoxPlane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxTriangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_BoxTriangle",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_BoxTriangle" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxTriangle" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_BoxTriangle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxTriangle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_BoxTriangle" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxTriangle" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_BoxTriangle" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxTriangle" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (bool)csIntersect3::BoxTriangle((csBox3 const &)*arg1,(csVector3 const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_BoxBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csIntersect3_BoxBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_BoxBox" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxBox" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_BoxBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_BoxBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)csIntersect3::BoxBox((csBox3 const &)*arg1,(csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_FrustumFrustum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustum *arg1 = 0 ;
  csFrustum *arg2 = 0 ;
  SwigValueWrapper<csPtr<csFrustum > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csIntersect3_FrustumFrustum",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csFrustum,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_FrustumFrustum" "', argument " "1"" of type '" "csFrustum const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_FrustumFrustum" "', argument " "1"" of type '" "csFrustum const &""'"); 
  }
  arg1 = reinterpret_cast< csFrustum * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csFrustum,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_FrustumFrustum" "', argument " "2"" of type '" "csFrustum const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_FrustumFrustum" "', argument " "2"" of type '" "csFrustum const &""'"); 
  }
  arg2 = reinterpret_cast< csFrustum * >(argp2);
  result = csIntersect3::FrustumFrustum((csFrustum const &)*arg1,(csFrustum const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<csFrustum >(static_cast< const csPtr<csFrustum >& >(result))), SWIGTYPE_p_csPtrTcsFrustum_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_FrustumFrustum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustum *arg1 = 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<csFrustum > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csIntersect3_FrustumFrustum",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csFrustum,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_FrustumFrustum" "', argument " "1"" of type '" "csFrustum const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_FrustumFrustum" "', argument " "1"" of type '" "csFrustum const &""'"); 
  }
  arg1 = reinterpret_cast< csFrustum * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_FrustumFrustum" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csIntersect3_FrustumFrustum" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = csIntersect3::FrustumFrustum((csFrustum const &)*arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<csFrustum >(static_cast< const csPtr<csFrustum >& >(result))), SWIGTYPE_p_csPtrTcsFrustum_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_FrustumFrustum(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csFrustum, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csFrustum, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csIntersect3_FrustumFrustum__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csFrustum, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csIntersect3_FrustumFrustum__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_FrustumFrustum'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_TriangleTriangle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 ;
  csVector3 *arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csIntersect3_TriangleTriangle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_TriangleTriangle" "', argument " "1"" of type '" "csVector3 const [3]""'"); 
  } 
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_TriangleTriangle" "', argument " "2"" of type '" "csVector3 const [3]""'"); 
  } 
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)csIntersect3::TriangleTriangle((csVector3 const (*))arg1,(csVector3 const (*))arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_TriangleTriangle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 ;
  csVector3 *arg2 ;
  csSegment3 *arg3 = 0 ;
  bool *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csIntersect3_TriangleTriangle",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersect3_TriangleTriangle" "', argument " "1"" of type '" "csVector3 const [3]""'"); 
  } 
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersect3_TriangleTriangle" "', argument " "2"" of type '" "csVector3 const [3]""'"); 
  } 
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSegment3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csIntersect3_TriangleTriangle" "', argument " "3"" of type '" "csSegment3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_TriangleTriangle" "', argument " "3"" of type '" "csSegment3 &""'"); 
  }
  arg3 = reinterpret_cast< csSegment3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csIntersect3_TriangleTriangle" "', argument " "4"" of type '" "bool &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csIntersect3_TriangleTriangle" "', argument " "4"" of type '" "bool &""'"); 
  }
  arg4 = reinterpret_cast< bool * >(argp4);
  result = (bool)csIntersect3::TriangleTriangle((csVector3 const (*))arg1,(csVector3 const (*))arg2,*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersect3_TriangleTriangle(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csIntersect3_TriangleTriangle__SWIG_0(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csSegment3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_bool, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csIntersect3_TriangleTriangle__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csIntersect3_TriangleTriangle'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csIntersect3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersect3 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csIntersect3")) SWIG_fail;
  result = (csIntersect3 *)new csIntersect3();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csIntersect3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csIntersect3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersect3 *arg1 = (csIntersect3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csIntersect3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csIntersect3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csIntersect3" "', argument " "1"" of type '" "csIntersect3 *""'"); 
  }
  arg1 = reinterpret_cast< csIntersect3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csIntersect3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csIntersect3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csGeomDebugHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGeomDebugHelper *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csGeomDebugHelper")) SWIG_fail;
  result = (csGeomDebugHelper *)new csGeomDebugHelper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csGeomDebugHelper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csGeomDebugHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGeomDebugHelper *arg1 = (csGeomDebugHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csGeomDebugHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGeomDebugHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csGeomDebugHelper" "', argument " "1"" of type '" "csGeomDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< csGeomDebugHelper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGeomDebugHelper_GetSupportedTests(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGeomDebugHelper *arg1 = (csGeomDebugHelper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGeomDebugHelper_GetSupportedTests",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGeomDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGeomDebugHelper_GetSupportedTests" "', argument " "1"" of type '" "csGeomDebugHelper const *""'"); 
  }
  arg1 = reinterpret_cast< csGeomDebugHelper * >(argp1);
  result = (int)((csGeomDebugHelper const *)arg1)->GetSupportedTests();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGeomDebugHelper_UnitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGeomDebugHelper *arg1 = (csGeomDebugHelper *) 0 ;
  SwigValueWrapper<csPtr<iString > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGeomDebugHelper_UnitTest",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGeomDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGeomDebugHelper_UnitTest" "', argument " "1"" of type '" "csGeomDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< csGeomDebugHelper * >(argp1);
  result = (arg1)->UnitTest();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iString> ref((csPtr<iString>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iString *)ref), (void *)(iString *)ref, "iString" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGeomDebugHelper_StateTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGeomDebugHelper *arg1 = (csGeomDebugHelper *) 0 ;
  SwigValueWrapper<csPtr<iString > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGeomDebugHelper_StateTest",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGeomDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGeomDebugHelper_StateTest" "', argument " "1"" of type '" "csGeomDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< csGeomDebugHelper * >(argp1);
  result = (arg1)->StateTest();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iString> ref((csPtr<iString>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iString *)ref), (void *)(iString *)ref, "iString" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGeomDebugHelper_Benchmark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGeomDebugHelper *arg1 = (csGeomDebugHelper *) 0 ;
  int arg2 ;
  csTicks result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGeomDebugHelper_Benchmark",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGeomDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGeomDebugHelper_Benchmark" "', argument " "1"" of type '" "csGeomDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< csGeomDebugHelper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGeomDebugHelper_Benchmark" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csTicks)(arg1)->Benchmark(arg2);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGeomDebugHelper_Dump__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGeomDebugHelper *arg1 = (csGeomDebugHelper *) 0 ;
  SwigValueWrapper<csPtr<iString > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGeomDebugHelper_Dump",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGeomDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGeomDebugHelper_Dump" "', argument " "1"" of type '" "csGeomDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< csGeomDebugHelper * >(argp1);
  result = (arg1)->Dump();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iString> ref((csPtr<iString>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iString *)ref), (void *)(iString *)ref, "iString" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGeomDebugHelper_Dump__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGeomDebugHelper *arg1 = (csGeomDebugHelper *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGeomDebugHelper_Dump",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGeomDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGeomDebugHelper_Dump" "', argument " "1"" of type '" "csGeomDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< csGeomDebugHelper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csGeomDebugHelper_Dump" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  (arg1)->Dump(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGeomDebugHelper_Dump(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csGeomDebugHelper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csGeomDebugHelper_Dump__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csGeomDebugHelper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csGeomDebugHelper_Dump__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csGeomDebugHelper_Dump'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGeomDebugHelper_DebugCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGeomDebugHelper *arg1 = (csGeomDebugHelper *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGeomDebugHelper_DebugCommand",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGeomDebugHelper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGeomDebugHelper_DebugCommand" "', argument " "1"" of type '" "csGeomDebugHelper *""'"); 
  }
  arg1 = reinterpret_cast< csGeomDebugHelper * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csGeomDebugHelper_DebugCommand" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->DebugCommand((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *csGeomDebugHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csGeomDebugHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csPoly3D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csPoly3D *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPoly3D",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPoly3D" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csPoly3D *)new csPoly3D(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPoly3D, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPoly3D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csPoly3D")) SWIG_fail;
  result = (csPoly3D *)new csPoly3D();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPoly3D, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPoly3D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = 0 ;
  csPoly3D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPoly3D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPoly3D,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPoly3D" "', argument " "1"" of type '" "csPoly3D const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPoly3D" "', argument " "1"" of type '" "csPoly3D const &""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = (csPoly3D *)new csPoly3D((csPoly3D const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPoly3D, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPoly3D(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csPoly3D__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csPoly3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csPoly3D__SWIG_2(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csPoly3D__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csPoly3D'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPoly3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPoly3D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPoly3D" "', argument " "1"" of type '" "csPoly3D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_MakeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_MakeEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_MakeEmpty" "', argument " "1"" of type '" "csPoly3D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  (arg1)->MakeEmpty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_GetVertexCount" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = ((csPoly3D const *)arg1)->GetVertexCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_GetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_GetVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_GetVertices" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = (csVector3 *)((csPoly3D const *)arg1)->GetVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_GetVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  size_t arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_GetVertex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_GetVertex" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_GetVertex" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (csVector3 *)((csPoly3D const *)arg1)->GetVertex(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_GetFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_GetFirst",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_GetFirst" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = (csVector3 *)((csPoly3D const *)arg1)->GetFirst();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_GetLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_GetLast",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_GetLast" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = (csVector3 *)((csPoly3D const *)arg1)->GetLast();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_In__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_In",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_In" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_In" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_In" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)((csPoly3D const *)arg1)->In((csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_In__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  size_t arg2 ;
  csVector3 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly3D_In",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_In" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_In" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly3D_In" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_In" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (bool)csPoly3D::In(arg1,arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_In(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csPoly3D_In__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csPoly3D_In__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPoly3D_In'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_MakeRoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_MakeRoom",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_MakeRoom" "', argument " "1"" of type '" "csPoly3D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_MakeRoom" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->MakeRoom(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_SetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_SetVertexCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_SetVertexCount" "', argument " "1"" of type '" "csPoly3D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_SetVertexCount" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->SetVertexCount(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_AddVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_AddVertex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_AddVertex" "', argument " "1"" of type '" "csPoly3D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_AddVertex" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_AddVertex" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (arg1)->AddVertex((csVector3 const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_AddVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPoly3D_AddVertex",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_AddVertex" "', argument " "1"" of type '" "csPoly3D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_AddVertex" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly3D_AddVertex" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPoly3D_AddVertex" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (arg1)->AddVertex(arg2,arg3,arg4);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_AddVertex(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csPoly3D_AddVertex__SWIG_0(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csPoly3D_AddVertex__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPoly3D_AddVertex'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_SetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  size_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly3D_SetVertices",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_SetVertices" "', argument " "1"" of type '" "csPoly3D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_SetVertices" "', argument " "2"" of type '" "csVector3 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly3D_SetVertices" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  (arg1)->SetVertices((csVector3 const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ProjectXPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  csPoly2D *arg4 = (csPoly2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPoly3D_ProjectXPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ProjectXPlane" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_ProjectXPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_ProjectXPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly3D_ProjectXPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csPoly3D_ProjectXPlane" "', argument " "4"" of type '" "csPoly2D *""'"); 
  }
  arg4 = reinterpret_cast< csPoly2D * >(argp4);
  result = (bool)((csPoly3D const *)arg1)->ProjectXPlane((csVector3 const &)*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ProjectYPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  csPoly2D *arg4 = (csPoly2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPoly3D_ProjectYPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ProjectYPlane" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_ProjectYPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_ProjectYPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly3D_ProjectYPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csPoly3D_ProjectYPlane" "', argument " "4"" of type '" "csPoly2D *""'"); 
  }
  arg4 = reinterpret_cast< csPoly2D * >(argp4);
  result = (bool)((csPoly3D const *)arg1)->ProjectYPlane((csVector3 const &)*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ProjectZPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  csPoly2D *arg4 = (csPoly2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPoly3D_ProjectZPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ProjectZPlane" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_ProjectZPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_ProjectZPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly3D_ProjectZPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csPoly3D_ProjectZPlane" "', argument " "4"" of type '" "csPoly2D *""'"); 
  }
  arg4 = reinterpret_cast< csPoly2D * >(argp4);
  result = (bool)((csPoly3D const *)arg1)->ProjectZPlane((csVector3 const &)*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ProjectAxisPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 *arg2 = 0 ;
  int arg3 ;
  float arg4 ;
  csPoly2D *arg5 = (csPoly2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csPoly3D_ProjectAxisPlane",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ProjectAxisPlane" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_ProjectAxisPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_ProjectAxisPlane" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly3D_ProjectAxisPlane" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPoly3D_ProjectAxisPlane" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_csPoly2D, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csPoly3D_ProjectAxisPlane" "', argument " "5"" of type '" "csPoly2D *""'"); 
  }
  arg5 = reinterpret_cast< csPoly2D * >(argp5);
  result = (bool)((csPoly3D const *)arg1)->ProjectAxisPlane((csVector3 const &)*arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_Classify__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPlane3 *arg1 = 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  size_t arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly3D_Classify",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_Classify" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_Classify" "', argument " "1"" of type '" "csPlane3 const &""'"); 
  }
  arg1 = reinterpret_cast< csPlane3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_Classify" "', argument " "2"" of type '" "csVector3 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly3D_Classify" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (int)csPoly3D::Classify((csPlane3 const &)*arg1,(csVector3 const *)arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_Classify__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csPlane3 *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_Classify",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_Classify" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_Classify" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_Classify" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = (int)((csPoly3D const *)arg1)->Classify((csPlane3 const &)*arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_Classify(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csPoly3D_Classify__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csPlane3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csPoly3D_Classify__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPoly3D_Classify'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ClassifyX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  float arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_ClassifyX",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ClassifyX" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_ClassifyX" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (int)((csPoly3D const *)arg1)->ClassifyX(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ClassifyY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  float arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_ClassifyY",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ClassifyY" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_ClassifyY" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (int)((csPoly3D const *)arg1)->ClassifyY(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ClassifyZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  float arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_ClassifyZ",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ClassifyZ" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_ClassifyZ" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (int)((csPoly3D const *)arg1)->ClassifyZ(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ClassifyAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  int arg2 ;
  float arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly3D_ClassifyAxis",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ClassifyAxis" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_ClassifyAxis" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly3D_ClassifyAxis" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (int)((csPoly3D const *)arg1)->ClassifyAxis(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_IsAxisAligned__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  float *arg2 = 0 ;
  float arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly3D_IsAxisAligned",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_IsAxisAligned" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_IsAxisAligned" "', argument " "2"" of type '" "float &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_IsAxisAligned" "', argument " "2"" of type '" "float &""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPoly3D_IsAxisAligned" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (int)((csPoly3D const *)arg1)->IsAxisAligned(*arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_IsAxisAligned__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  float *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_IsAxisAligned",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_IsAxisAligned" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_IsAxisAligned" "', argument " "2"" of type '" "float &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_IsAxisAligned" "', argument " "2"" of type '" "float &""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  result = (int)((csPoly3D const *)arg1)->IsAxisAligned(*arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_IsAxisAligned(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csPoly3D_IsAxisAligned__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csPoly3D_IsAxisAligned__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPoly3D_IsAxisAligned'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputeMainNormalAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_ComputeMainNormalAxis",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ComputeMainNormalAxis" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = (int)((csPoly3D const *)arg1)->ComputeMainNormalAxis();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_CutToPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csPlane3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_CutToPlane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_CutToPlane" "', argument " "1"" of type '" "csPoly3D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_CutToPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_CutToPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  (arg1)->CutToPlane((csPlane3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_SplitWithPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csPoly3D *arg2 = 0 ;
  csPoly3D *arg3 = 0 ;
  csPlane3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPoly3D_SplitWithPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_SplitWithPlane" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPoly3D,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_SplitWithPlane" "', argument " "2"" of type '" "csPoly3D &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_SplitWithPlane" "', argument " "2"" of type '" "csPoly3D &""'"); 
  }
  arg2 = reinterpret_cast< csPoly3D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPoly3D,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly3D_SplitWithPlane" "', argument " "3"" of type '" "csPoly3D &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_SplitWithPlane" "', argument " "3"" of type '" "csPoly3D &""'"); 
  }
  arg3 = reinterpret_cast< csPoly3D * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csPoly3D_SplitWithPlane" "', argument " "4"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_SplitWithPlane" "', argument " "4"" of type '" "csPlane3 const &""'"); 
  }
  arg4 = reinterpret_cast< csPlane3 * >(argp4);
  ((csPoly3D const *)arg1)->SplitWithPlane(*arg2,*arg3,(csPlane3 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_SplitWithPlaneX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csPoly3D *arg2 = 0 ;
  csPoly3D *arg3 = 0 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPoly3D_SplitWithPlaneX",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_SplitWithPlaneX" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPoly3D,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_SplitWithPlaneX" "', argument " "2"" of type '" "csPoly3D &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_SplitWithPlaneX" "', argument " "2"" of type '" "csPoly3D &""'"); 
  }
  arg2 = reinterpret_cast< csPoly3D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPoly3D,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly3D_SplitWithPlaneX" "', argument " "3"" of type '" "csPoly3D &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_SplitWithPlaneX" "', argument " "3"" of type '" "csPoly3D &""'"); 
  }
  arg3 = reinterpret_cast< csPoly3D * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPoly3D_SplitWithPlaneX" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ((csPoly3D const *)arg1)->SplitWithPlaneX(*arg2,*arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_SplitWithPlaneY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csPoly3D *arg2 = 0 ;
  csPoly3D *arg3 = 0 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPoly3D_SplitWithPlaneY",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_SplitWithPlaneY" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPoly3D,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_SplitWithPlaneY" "', argument " "2"" of type '" "csPoly3D &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_SplitWithPlaneY" "', argument " "2"" of type '" "csPoly3D &""'"); 
  }
  arg2 = reinterpret_cast< csPoly3D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPoly3D,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly3D_SplitWithPlaneY" "', argument " "3"" of type '" "csPoly3D &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_SplitWithPlaneY" "', argument " "3"" of type '" "csPoly3D &""'"); 
  }
  arg3 = reinterpret_cast< csPoly3D * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPoly3D_SplitWithPlaneY" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ((csPoly3D const *)arg1)->SplitWithPlaneY(*arg2,*arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_SplitWithPlaneZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csPoly3D *arg2 = 0 ;
  csPoly3D *arg3 = 0 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPoly3D_SplitWithPlaneZ",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_SplitWithPlaneZ" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPoly3D,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPoly3D_SplitWithPlaneZ" "', argument " "2"" of type '" "csPoly3D &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_SplitWithPlaneZ" "', argument " "2"" of type '" "csPoly3D &""'"); 
  }
  arg2 = reinterpret_cast< csPoly3D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPoly3D,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly3D_SplitWithPlaneZ" "', argument " "3"" of type '" "csPoly3D &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_SplitWithPlaneZ" "', argument " "3"" of type '" "csPoly3D &""'"); 
  }
  arg3 = reinterpret_cast< csPoly3D * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPoly3D_SplitWithPlaneZ" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ((csPoly3D const *)arg1)->SplitWithPlaneZ(*arg2,*arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputeNormal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  size_t arg2 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_ComputeNormal",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ComputeNormal" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_ComputeNormal" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = csPoly3D::ComputeNormal((csVector3 const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputeNormal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csVector3 > *arg1 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_ComputeNormal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ComputeNormal" "', argument " "1"" of type '" "csArray<csVector3 > const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_ComputeNormal" "', argument " "1"" of type '" "csArray<csVector3 > const &""'"); 
  }
  arg1 = reinterpret_cast< csArray<csVector3 > * >(argp1);
  result = csPoly3D::ComputeNormal((csArray<csVector3 > const &)*arg1);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputeNormal__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int *arg1 = (int *) 0 ;
  size_t arg2 ;
  csVector3 *arg3 = (csVector3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly3D_ComputeNormal",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ComputeNormal" "', argument " "1"" of type '" "int *""'"); 
  }
  arg1 = reinterpret_cast< int * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_ComputeNormal" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly3D_ComputeNormal" "', argument " "3"" of type '" "csVector3 *""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = csPoly3D::ComputeNormal(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputeNormal__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_ComputeNormal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ComputeNormal" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = ((csPoly3D const *)arg1)->ComputeNormal();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputeNormal(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csPoly3D_ComputeNormal__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csPoly3D_ComputeNormal__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csPoly3D_ComputeNormal__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csPoly3D_ComputeNormal__SWIG_2(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPoly3D_ComputeNormal'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputePlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  size_t arg2 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D_ComputePlane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ComputePlane" "', argument " "1"" of type '" "csVector3 const *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_ComputePlane" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = csPoly3D::ComputePlane((csVector3 const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputePlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csVector3 > *arg1 = 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_ComputePlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ComputePlane" "', argument " "1"" of type '" "csArray<csVector3 > const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPoly3D_ComputePlane" "', argument " "1"" of type '" "csArray<csVector3 > const &""'"); 
  }
  arg1 = reinterpret_cast< csArray<csVector3 > * >(argp1);
  result = csPoly3D::ComputePlane((csArray<csVector3 > const &)*arg1);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputePlane__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int *arg1 = (int *) 0 ;
  size_t arg2 ;
  csVector3 *arg3 = (csVector3 *) 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPoly3D_ComputePlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ComputePlane" "', argument " "1"" of type '" "int *""'"); 
  }
  arg1 = reinterpret_cast< int * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D_ComputePlane" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPoly3D_ComputePlane" "', argument " "3"" of type '" "csVector3 *""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = csPoly3D::ComputePlane(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputePlane__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csPlane3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_ComputePlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_ComputePlane" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = ((csPoly3D const *)arg1)->ComputePlane();
  resultobj = SWIG_NewPointerObj((new csPlane3(static_cast< const csPlane3& >(result))), SWIGTYPE_p_csPlane3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_ComputePlane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csPoly3D_ComputePlane__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPoly3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csPoly3D_ComputePlane__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csPoly3D_ComputePlane__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csPoly3D_ComputePlane__SWIG_2(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPoly3D_ComputePlane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_GetArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_GetArea",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_GetArea" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = (float)((csPoly3D const *)arg1)->GetArea();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D_GetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPoly3D_GetCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D_GetCenter" "', argument " "1"" of type '" "csPoly3D const *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  result = ((csPoly3D const *)arg1)->GetCenter();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPoly3D___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPoly3D *arg1 = (csPoly3D *) 0 ;
  int arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPoly3D___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPoly3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPoly3D___getitem__" "', argument " "1"" of type '" "csPoly3D *""'"); 
  }
  arg1 = reinterpret_cast< csPoly3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPoly3D___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    csVector3 &_result_ref = csPoly3D___getitem__(arg1,arg2);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPoly3D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPoly3D, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csCompressVertex_orig_idx_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCompressVertex_orig_idx_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_orig_idx_set" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCompressVertex_orig_idx_set" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  if (arg1) (arg1)->orig_idx = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_orig_idx_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCompressVertex_orig_idx_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_orig_idx_get" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  result =  ((arg1)->orig_idx);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCompressVertex_x_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_x_set" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCompressVertex_x_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->x = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCompressVertex_x_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_x_get" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  result = (int) ((arg1)->x);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCompressVertex_y_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_y_set" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCompressVertex_y_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->y = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCompressVertex_y_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_y_get" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  result = (int) ((arg1)->y);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCompressVertex_z_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_z_set" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCompressVertex_z_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->z = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCompressVertex_z_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_z_get" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  result = (int) ((arg1)->z);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_new_idx_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCompressVertex_new_idx_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_new_idx_set" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCompressVertex_new_idx_set" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  if (arg1) (arg1)->new_idx = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_new_idx_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCompressVertex_new_idx_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_new_idx_get" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  result =  ((arg1)->new_idx);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_used_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCompressVertex_used_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_used_set" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCompressVertex_used_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->used = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCompressVertex_used_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCompressVertex_used_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCompressVertex_used_get" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  result = (bool) ((arg1)->used);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCompressVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csCompressVertex")) SWIG_fail;
  result = (csCompressVertex *)new csCompressVertex();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCompressVertex, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csCompressVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCompressVertex *arg1 = (csCompressVertex *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csCompressVertex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCompressVertex, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csCompressVertex" "', argument " "1"" of type '" "csCompressVertex *""'"); 
  }
  arg1 = reinterpret_cast< csCompressVertex * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csCompressVertex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csCompressVertex, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csVector3Array__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csVector3Array *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csVector3Array",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csVector3Array" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csVector3Array *)new csVector3Array(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3Array, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector3Array__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3Array *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csVector3Array")) SWIG_fail;
  result = (csVector3Array *)new csVector3Array();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3Array, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVector3Array(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csVector3Array__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csVector3Array__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csVector3Array'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3Array_AddVertexSmart__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3Array *arg1 = (csVector3Array *) 0 ;
  csVector3 *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVector3Array_AddVertexSmart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3Array_AddVertexSmart" "', argument " "1"" of type '" "csVector3Array *""'"); 
  }
  arg1 = reinterpret_cast< csVector3Array * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csVector3Array_AddVertexSmart" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3Array_AddVertexSmart" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (arg1)->AddVertexSmart((csVector3 const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3Array_AddVertexSmart__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3Array *arg1 = (csVector3Array *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csVector3Array_AddVertexSmart",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3Array, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3Array_AddVertexSmart" "', argument " "1"" of type '" "csVector3Array *""'"); 
  }
  arg1 = reinterpret_cast< csVector3Array * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3Array_AddVertexSmart" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csVector3Array_AddVertexSmart" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csVector3Array_AddVertexSmart" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (arg1)->AddVertexSmart(arg2,arg3,arg4);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3Array_AddVertexSmart(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3Array, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csVector3Array_AddVertexSmart__SWIG_0(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3Array, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csVector3Array_AddVertexSmart__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csVector3Array_AddVertexSmart'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3Array_CompressVertices__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = (csVector3 *) 0 ;
  size_t arg2 ;
  csVector3 **arg3 = 0 ;
  size_t *arg4 = 0 ;
  csCompressVertex *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csVector3Array_CompressVertices",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3Array_CompressVertices" "', argument " "1"" of type '" "csVector3 *""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVector3Array_CompressVertices" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csVector3Array_CompressVertices" "', argument " "3"" of type '" "csVector3 *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3Array_CompressVertices" "', argument " "3"" of type '" "csVector3 *&""'"); 
  }
  arg3 = reinterpret_cast< csVector3 ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csVector3Array_CompressVertices" "', argument " "4"" of type '" "size_t &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3Array_CompressVertices" "', argument " "4"" of type '" "size_t &""'"); 
  }
  arg4 = reinterpret_cast< size_t * >(argp4);
  result = (csCompressVertex *)csVector3Array::CompressVertices(arg1,arg2,*arg3,*arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCompressVertex, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3Array_CompressVertices__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csVector3 > *arg1 = 0 ;
  csCompressVertex *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVector3Array_CompressVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVector3Array_CompressVertices" "', argument " "1"" of type '" "csArray<csVector3 > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csVector3Array_CompressVertices" "', argument " "1"" of type '" "csArray<csVector3 > &""'"); 
  }
  arg1 = reinterpret_cast< csArray<csVector3 > * >(argp1);
  result = (csCompressVertex *)csVector3Array::CompressVertices(*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCompressVertex, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVector3Array_CompressVertices(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csVector3Array_CompressVertices__SWIG_1(self, args);
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_size_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csVector3Array_CompressVertices__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csVector3Array_CompressVertices'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csVector3Array(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3Array *arg1 = (csVector3Array *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csVector3Array",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVector3Array, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csVector3Array" "', argument " "1"" of type '" "csVector3Array *""'"); 
  }
  arg1 = reinterpret_cast< csVector3Array * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csVector3Array_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csVector3Array, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csTriangle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTriangle *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csTriangle")) SWIG_fail;
  result = (csTriangle *)new csTriangle();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTriangle, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csTriangle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  int arg3 ;
  csTriangle *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csTriangle",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csTriangle" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csTriangle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csTriangle" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (csTriangle *)new csTriangle(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTriangle, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csTriangle__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  CS::TriangleT<int > *arg1 = 0 ;
  csTriangle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csTriangle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_CS__TriangleTTint_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csTriangle" "', argument " "1"" of type '" "CS::TriangleT<int > const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csTriangle" "', argument " "1"" of type '" "CS::TriangleT<int > const &""'"); 
  }
  arg1 = reinterpret_cast< CS::TriangleT<int > * >(argp1);
  result = (csTriangle *)new csTriangle((CS::TriangleT<int > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTriangle, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csTriangle(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csTriangle__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_CS__TriangleTTint_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csTriangle__SWIG_2(self, args);
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_csTriangle__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csTriangle'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csTriangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTriangle *arg1 = (csTriangle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csTriangle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTriangle, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csTriangle" "', argument " "1"" of type '" "csTriangle *""'"); 
  }
  arg1 = reinterpret_cast< csTriangle * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csTriangle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csTriangle, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csRect_xmin_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_xmin_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_xmin_set" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_xmin_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->xmin = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_xmin_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_xmin_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_xmin_get" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (int) ((arg1)->xmin);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_ymin_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_ymin_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_ymin_set" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_ymin_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->ymin = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_ymin_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_ymin_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_ymin_get" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (int) ((arg1)->ymin);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_xmax_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_xmax_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_xmax_set" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_xmax_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->xmax = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_xmax_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_xmax_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_xmax_get" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (int) ((arg1)->xmax);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_ymax_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_ymax_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_ymax_set" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_ymax_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->ymax = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_ymax_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_ymax_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_ymax_get" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (int) ((arg1)->ymax);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csRect")) SWIG_fail;
  result = (csRect *)new csRect();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRect, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  csRect *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csRect",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csRect" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csRect" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csRect" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csRect" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (csRect *)new csRect(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRect, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = 0 ;
  csRect *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csRect",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csRect" "', argument " "1"" of type '" "csRect const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csRect" "', argument " "1"" of type '" "csRect const &""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (csRect *)new csRect((csRect const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRect, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRect(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csRect__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csRect__SWIG_2(self, args);
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_csRect__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csRect'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csRect",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csRect" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csRect_Intersect",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Intersect" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Intersect" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_Intersect" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csRect_Intersect" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csRect_Intersect" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->Intersect(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Intersect",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Intersect" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_Intersect" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_Intersect" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Intersect((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Intersect(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRect, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRect_Intersect__SWIG_1(self, args);
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csRect_Intersect__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csRect_Intersect'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Intersects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Intersects",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Intersects" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_Intersects" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_Intersects" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  result = (bool)((csRect const *)arg1)->Intersects((csRect const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Union__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csRect_Union",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Union" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Union" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_Union" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csRect_Union" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csRect_Union" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->Union(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Union__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Union",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Union" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_Union" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_Union" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Union((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Union(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRect, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRect_Union__SWIG_1(self, args);
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csRect_Union__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csRect_Union'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Exclude__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csRect_Exclude",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Exclude" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Exclude" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_Exclude" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csRect_Exclude" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csRect_Exclude" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->Exclude(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Exclude__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Exclude",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Exclude" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_Exclude" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_Exclude" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Exclude((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Exclude(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRect, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRect_Exclude__SWIG_1(self, args);
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csRect_Exclude__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csRect_Exclude'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Subtract(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Subtract",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Subtract" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_Subtract" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_Subtract" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Subtract((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_IsEmpty" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (bool)((csRect const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_MakeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_MakeEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_MakeEmpty" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  (arg1)->MakeEmpty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csRect_Set",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Set" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_Set" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csRect_Set" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csRect_Set" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->Set(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Set" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_Set" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_Set" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Set((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRect, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRect_Set__SWIG_1(self, args);
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csRect_Set__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csRect_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csRect_SetPos",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_SetPos" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_SetPos" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_SetPos" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetPos(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csRect_SetSize",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_SetSize" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_SetSize" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_SetSize" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetSize(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csRect_Move",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Move" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Move" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_Move" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->Move(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_Width",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Width" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (int)((csRect const *)arg1)->Width();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_Height",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Height" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (int)((csRect const *)arg1)->Height();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csRect_Contains",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Contains" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Contains" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_Contains" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)((csRect const *)arg1)->Contains(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_ContainsRel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csRect_ContainsRel",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_ContainsRel" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_ContainsRel" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_ContainsRel" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)((csRect const *)arg1)->ContainsRel(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Equal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csRect_Equal",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Equal" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Equal" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_Equal" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csRect_Equal" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csRect_Equal" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (bool)((csRect const *)arg1)->Equal(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Equal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Equal",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Equal" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_Equal" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_Equal" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  result = (bool)((csRect const *)arg1)->Equal((csRect const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Equal(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRect, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRect_Equal__SWIG_1(self, args);
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csRect_Equal__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csRect_Equal'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_Normalize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Normalize" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  (arg1)->Normalize();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Area(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRect_Area",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Area" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (int)((csRect const *)arg1)->Area();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_AddAdjacent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_AddAdjacent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_AddAdjacent" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_AddAdjacent" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_AddAdjacent" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->AddAdjacent((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect___eq__" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect___eq__" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect___eq__" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  result = (bool)((csRect const *)arg1)->operator ==((csRect const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect___ne__" "', argument " "1"" of type '" "csRect const *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect___ne__" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect___ne__" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  result = (bool)((csRect const *)arg1)->operator !=((csRect const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Extend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csRect_Extend",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Extend" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Extend" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRect_Extend" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->Extend(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Join(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Join",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Join" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_Join" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_Join" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Join((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Outset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Outset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Outset" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Outset" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->Outset(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_Inset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRect_Inset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_Inset" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRect_Inset" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->Inset(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_ClipLineGeneral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  int *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csRect_ClipLineGeneral",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_ClipLineGeneral" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_ClipLineGeneral" "', argument " "2"" of type '" "int &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLineGeneral" "', argument " "2"" of type '" "int &""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csRect_ClipLineGeneral" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLineGeneral" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csRect_ClipLineGeneral" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLineGeneral" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csRect_ClipLineGeneral" "', argument " "5"" of type '" "int &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLineGeneral" "', argument " "5"" of type '" "int &""'"); 
  }
  arg5 = reinterpret_cast< int * >(argp5);
  result = (bool)(arg1)->ClipLineGeneral(*arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_ClipLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  int *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csRect_ClipLine",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_ClipLine" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_ClipLine" "', argument " "2"" of type '" "int &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLine" "', argument " "2"" of type '" "int &""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csRect_ClipLine" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLine" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csRect_ClipLine" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLine" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csRect_ClipLine" "', argument " "5"" of type '" "int &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLine" "', argument " "5"" of type '" "int &""'"); 
  }
  arg5 = reinterpret_cast< int * >(argp5);
  result = (bool)(arg1)->ClipLine(*arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRect_ClipLineSafe(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = (csRect *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  int *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csRect_ClipLineSafe",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRect_ClipLineSafe" "', argument " "1"" of type '" "csRect *""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRect_ClipLineSafe" "', argument " "2"" of type '" "int &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLineSafe" "', argument " "2"" of type '" "int &""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csRect_ClipLineSafe" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLineSafe" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csRect_ClipLineSafe" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLineSafe" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csRect_ClipLineSafe" "', argument " "5"" of type '" "int &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRect_ClipLineSafe" "', argument " "5"" of type '" "int &""'"); 
  }
  arg5 = reinterpret_cast< int * >(argp5);
  result = (bool)(arg1)->ClipLineSafe(*arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csRect_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csRect, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csRectRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRectRegion *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csRectRegion")) SWIG_fail;
  result = (csRectRegion *)new csRectRegion();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRectRegion, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csRectRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRectRegion *arg1 = (csRectRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csRectRegion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRectRegion, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csRectRegion" "', argument " "1"" of type '" "csRectRegion *""'"); 
  }
  arg1 = reinterpret_cast< csRectRegion * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRectRegion_Include(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRectRegion *arg1 = (csRectRegion *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRectRegion_Include",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRectRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRectRegion_Include" "', argument " "1"" of type '" "csRectRegion *""'"); 
  }
  arg1 = reinterpret_cast< csRectRegion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRectRegion_Include" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRectRegion_Include" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Include((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRectRegion_Exclude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRectRegion *arg1 = (csRectRegion *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRectRegion_Exclude",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRectRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRectRegion_Exclude" "', argument " "1"" of type '" "csRectRegion *""'"); 
  }
  arg1 = reinterpret_cast< csRectRegion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRectRegion_Exclude" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRectRegion_Exclude" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Exclude((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRectRegion_ClipTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRectRegion *arg1 = (csRectRegion *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRectRegion_ClipTo",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRectRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRectRegion_ClipTo" "', argument " "1"" of type '" "csRectRegion *""'"); 
  }
  arg1 = reinterpret_cast< csRectRegion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRectRegion_ClipTo" "', argument " "2"" of type '" "csRect &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRectRegion_ClipTo" "', argument " "2"" of type '" "csRect &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->ClipTo(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRectRegion_Count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRectRegion *arg1 = (csRectRegion *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRectRegion_Count",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRectRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRectRegion_Count" "', argument " "1"" of type '" "csRectRegion const *""'"); 
  }
  arg1 = reinterpret_cast< csRectRegion * >(argp1);
  result = ((csRectRegion const *)arg1)->Count();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRectRegion_RectAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRectRegion *arg1 = (csRectRegion *) 0 ;
  size_t arg2 ;
  csRect *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRectRegion_RectAt",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRectRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRectRegion_RectAt" "', argument " "1"" of type '" "csRectRegion const *""'"); 
  }
  arg1 = reinterpret_cast< csRectRegion * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRectRegion_RectAt" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csRect const &_result_ref = ((csRectRegion const *)arg1)->RectAt(arg2);
    result = (csRect *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRect, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRectRegion_MakeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRectRegion *arg1 = (csRectRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRectRegion_MakeEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRectRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRectRegion_MakeEmpty" "', argument " "1"" of type '" "csRectRegion *""'"); 
  }
  arg1 = reinterpret_cast< csRectRegion * >(argp1);
  (arg1)->MakeEmpty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csRectRegion_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csRectRegion, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csQuaternion__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csQuaternion")) SWIG_fail;
  result = (csQuaternion *)new csQuaternion();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csQuaternion, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csQuaternion__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  csQuaternion *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csQuaternion",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csQuaternion" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csQuaternion" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csQuaternion" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csQuaternion" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (csQuaternion *)new csQuaternion(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csQuaternion, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csQuaternion__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  float arg2 ;
  csQuaternion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csQuaternion",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csQuaternion" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csQuaternion" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csQuaternion" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (csQuaternion *)new csQuaternion((csVector3 const &)*arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csQuaternion, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csQuaternion__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = 0 ;
  csQuaternion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csQuaternion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csQuaternion" "', argument " "1"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csQuaternion" "', argument " "1"" of type '" "csQuaternion const &""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = (csQuaternion *)new csQuaternion((csQuaternion const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csQuaternion, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csQuaternion(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csQuaternion__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csQuaternion, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csQuaternion__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_csQuaternion__SWIG_2(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_csQuaternion__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csQuaternion'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_SetIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_SetIdentity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_SetIdentity" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  (arg1)->SetIdentity();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  csQuaternion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion___iadd__" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion___iadd__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion___iadd__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  {
    csQuaternion &_result_ref = (arg1)->operator +=((csQuaternion const &)*arg2);
    result = (csQuaternion *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  csQuaternion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion___isub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion___isub__" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion___isub__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion___isub__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  {
    csQuaternion &_result_ref = (arg1)->operator -=((csQuaternion const &)*arg2);
    result = (csQuaternion *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  csQuaternion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion___imul__" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion___imul__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion___imul__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  {
    csQuaternion &_result_ref = (arg1)->operator *=((csQuaternion const &)*arg2);
    result = (csQuaternion *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_GetConjugate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_GetConjugate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_GetConjugate" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = ((csQuaternion const *)arg1)->GetConjugate();
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_Conjugate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_Conjugate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_Conjugate" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  (arg1)->Conjugate();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_Dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion_Dot",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_Dot" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_Dot" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_Dot" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  result = (float)((csQuaternion const *)arg1)->Dot((csQuaternion const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_SquaredNorm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_SquaredNorm",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_SquaredNorm" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = (float)((csQuaternion const *)arg1)->SquaredNorm();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_Norm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_Norm",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_Norm" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = (float)((csQuaternion const *)arg1)->Norm();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_Unit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_Unit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_Unit" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = ((csQuaternion const *)arg1)->Unit();
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_Rotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion_Rotate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_Rotate" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_Rotate" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_Rotate" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = ((csQuaternion const *)arg1)->Rotate((csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_SetAxisAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csVector3 *arg2 = 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csQuaternion_SetAxisAngle",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_SetAxisAngle" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_SetAxisAngle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_SetAxisAngle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csQuaternion_SetAxisAngle" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetAxisAngle((csVector3 const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_GetAxisAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csVector3 *arg2 = 0 ;
  float *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csQuaternion_GetAxisAngle",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_GetAxisAngle" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_GetAxisAngle" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_GetAxisAngle" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csQuaternion_GetAxisAngle" "', argument " "3"" of type '" "float &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_GetAxisAngle" "', argument " "3"" of type '" "float &""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  ((csQuaternion const *)arg1)->GetAxisAngle(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_SetEulerAngles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion_SetEulerAngles",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_SetEulerAngles" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_SetEulerAngles" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_SetEulerAngles" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetEulerAngles((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_GetEulerAngles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_GetEulerAngles",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_GetEulerAngles" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = ((csQuaternion const *)arg1)->GetEulerAngles();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_SetMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion_SetMatrix",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_SetMatrix" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_SetMatrix" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_SetMatrix" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->SetMatrix((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_GetMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_GetMatrix",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_GetMatrix" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = ((csQuaternion const *)arg1)->GetMatrix();
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_NLerp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  float arg3 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csQuaternion_NLerp",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_NLerp" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_NLerp" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_NLerp" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csQuaternion_NLerp" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = ((csQuaternion const *)arg1)->NLerp((csQuaternion const &)*arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_SLerp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  float arg3 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csQuaternion_SLerp",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_SLerp" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_SLerp" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_SLerp" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csQuaternion_SLerp" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = ((csQuaternion const *)arg1)->SLerp((csQuaternion const &)*arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_Log(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_Log",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_Log" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = ((csQuaternion const *)arg1)->Log();
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_Exp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_Exp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_Exp" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = ((csQuaternion const *)arg1)->Exp();
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_Squad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  csQuaternion *arg3 = 0 ;
  csQuaternion *arg4 = 0 ;
  float arg5 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csQuaternion_Squad",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_Squad" "', argument " "1"" of type '" "csQuaternion const *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_Squad" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_Squad" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csQuaternion_Squad" "', argument " "3"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_Squad" "', argument " "3"" of type '" "csQuaternion const &""'"); 
  }
  arg3 = reinterpret_cast< csQuaternion * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csQuaternion_Squad" "', argument " "4"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion_Squad" "', argument " "4"" of type '" "csQuaternion const &""'"); 
  }
  arg4 = reinterpret_cast< csQuaternion * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csQuaternion_Squad" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = ((csQuaternion const *)arg1)->Squad((csQuaternion const &)*arg2,(csQuaternion const &)*arg3,(csQuaternion const &)*arg4,arg5);
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_v_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion_v_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_v_set" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion_v_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->v = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_v_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_v_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_v_get" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = (csVector3 *)& ((arg1)->v);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_w_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion_w_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_w_set" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csQuaternion_w_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->w = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion_w_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csQuaternion_w_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion_w_get" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  result = (float) ((arg1)->w);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion___add__" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion___add__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion___add__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  result = csQuaternion_operator_Sa_(arg1,(csQuaternion const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion___sub__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion___sub__" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion___sub__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion___sub__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  result = csQuaternion_operator_Ss_(arg1,(csQuaternion const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csQuaternion___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  csQuaternion *arg2 = 0 ;
  csQuaternion result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQuaternion___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQuaternion___mul__" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csQuaternion,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQuaternion___mul__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csQuaternion___mul__" "', argument " "2"" of type '" "csQuaternion const &""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  result = csQuaternion_operator_Sm_(arg1,(csQuaternion const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csQuaternion(static_cast< const csQuaternion& >(result))), SWIGTYPE_p_csQuaternion, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csQuaternion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csQuaternion *arg1 = (csQuaternion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csQuaternion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csQuaternion, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csQuaternion" "', argument " "1"" of type '" "csQuaternion *""'"); 
  }
  arg1 = reinterpret_cast< csQuaternion * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csQuaternion_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csQuaternion, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_csSpline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSpline",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSpline" "', argument " "1"" of type '" "csSpline *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_GetDimensionCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSpline_GetDimensionCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_GetDimensionCount" "', argument " "1"" of type '" "csSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  result = (int)((csSpline const *)arg1)->GetDimensionCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_GetPointCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSpline_GetPointCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_GetPointCount" "', argument " "1"" of type '" "csSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  result = (int)((csSpline const *)arg1)->GetPointCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_InsertPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpline_InsertPoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_InsertPoint" "', argument " "1"" of type '" "csSpline *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_InsertPoint" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->InsertPoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_RemovePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpline_RemovePoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_RemovePoint" "', argument " "1"" of type '" "csSpline *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_RemovePoint" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->RemovePoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_SetTimeValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  float *arg2 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpline_SetTimeValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_SetTimeValues" "', argument " "1"" of type '" "csSpline *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSpline_SetTimeValues" "', argument " "2"" of type '" "float const *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  (arg1)->SetTimeValues((float const *)arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_SetTimeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSpline_SetTimeValue",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_SetTimeValue" "', argument " "1"" of type '" "csSpline *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_SetTimeValue" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csSpline_SetTimeValue" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetTimeValue(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_GetTimeValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSpline_GetTimeValues",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_GetTimeValues" "', argument " "1"" of type '" "csSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  result = (float *)((csSpline const *)arg1)->GetTimeValues();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_GetTimeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpline_GetTimeValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_GetTimeValue" "', argument " "1"" of type '" "csSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_GetTimeValue" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)((csSpline const *)arg1)->GetTimeValue(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_SetDimensionValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  float *arg3 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSpline_SetDimensionValues",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_SetDimensionValues" "', argument " "1"" of type '" "csSpline *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_SetDimensionValues" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csSpline_SetDimensionValues" "', argument " "3"" of type '" "float const *""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  (arg1)->SetDimensionValues(arg2,(float const *)arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_SetDimensionValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  int arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csSpline_SetDimensionValue",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_SetDimensionValue" "', argument " "1"" of type '" "csSpline *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_SetDimensionValue" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csSpline_SetDimensionValue" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csSpline_SetDimensionValue" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->SetDimensionValue(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_GetDimensionValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpline_GetDimensionValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_GetDimensionValues" "', argument " "1"" of type '" "csSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_GetDimensionValues" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float *)((csSpline const *)arg1)->GetDimensionValues(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_GetDimensionValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  int arg3 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSpline_GetDimensionValue",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_GetDimensionValue" "', argument " "1"" of type '" "csSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_GetDimensionValue" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csSpline_GetDimensionValue" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (float)((csSpline const *)arg1)->GetDimensionValue(arg2,arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_SetIndexValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  float *arg3 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSpline_SetIndexValues",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_SetIndexValues" "', argument " "1"" of type '" "csSpline *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_SetIndexValues" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csSpline_SetIndexValues" "', argument " "3"" of type '" "float const *""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  (arg1)->SetIndexValues(arg2,(float const *)arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_GetIndexValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpline_GetIndexValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_GetIndexValues" "', argument " "1"" of type '" "csSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_GetIndexValues" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float *)((csSpline const *)arg1)->GetIndexValues(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_Calculate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpline_Calculate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_Calculate" "', argument " "1"" of type '" "csSpline *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_Calculate" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Calculate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_GetCurrentIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSpline_GetCurrentIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_GetCurrentIndex" "', argument " "1"" of type '" "csSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  result = (int)((csSpline const *)arg1)->GetCurrentIndex();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpline_GetInterpolatedDimension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpline *arg1 = (csSpline *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpline_GetInterpolatedDimension",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpline_GetInterpolatedDimension" "', argument " "1"" of type '" "csSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpline_GetInterpolatedDimension" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)((csSpline const *)arg1)->GetInterpolatedDimension(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSpline_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSpline, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csCubicSpline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  csCubicSpline *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csCubicSpline",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csCubicSpline" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csCubicSpline" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csCubicSpline *)new csCubicSpline(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCubicSpline, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csCubicSpline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCubicSpline *arg1 = (csCubicSpline *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csCubicSpline",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCubicSpline, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csCubicSpline" "', argument " "1"" of type '" "csCubicSpline *""'"); 
  }
  arg1 = reinterpret_cast< csCubicSpline * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCubicSpline_Calculate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCubicSpline *arg1 = (csCubicSpline *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCubicSpline_Calculate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCubicSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCubicSpline_Calculate" "', argument " "1"" of type '" "csCubicSpline *""'"); 
  }
  arg1 = reinterpret_cast< csCubicSpline * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCubicSpline_Calculate" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Calculate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCubicSpline_GetInterpolatedDimension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCubicSpline *arg1 = (csCubicSpline *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCubicSpline_GetInterpolatedDimension",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCubicSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCubicSpline_GetInterpolatedDimension" "', argument " "1"" of type '" "csCubicSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csCubicSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCubicSpline_GetInterpolatedDimension" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)((csCubicSpline const *)arg1)->GetInterpolatedDimension(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csCubicSpline_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csCubicSpline, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csBSpline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  csBSpline *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csBSpline",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csBSpline" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csBSpline" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csBSpline *)new csBSpline(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBSpline, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csBSpline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBSpline *arg1 = (csBSpline *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csBSpline",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBSpline, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csBSpline" "', argument " "1"" of type '" "csBSpline *""'"); 
  }
  arg1 = reinterpret_cast< csBSpline * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBSpline_Calculate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBSpline *arg1 = (csBSpline *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBSpline_Calculate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBSpline_Calculate" "', argument " "1"" of type '" "csBSpline *""'"); 
  }
  arg1 = reinterpret_cast< csBSpline * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBSpline_Calculate" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Calculate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBSpline_GetInterpolatedDimension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBSpline *arg1 = (csBSpline *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBSpline_GetInterpolatedDimension",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBSpline_GetInterpolatedDimension" "', argument " "1"" of type '" "csBSpline const *""'"); 
  }
  arg1 = reinterpret_cast< csBSpline * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBSpline_GetInterpolatedDimension" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)((csBSpline const *)arg1)->GetInterpolatedDimension(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csBSpline_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csBSpline, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csCatmullRomSpline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  csCatmullRomSpline *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csCatmullRomSpline",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csCatmullRomSpline" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csCatmullRomSpline" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csCatmullRomSpline *)new csCatmullRomSpline(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCatmullRomSpline, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csCatmullRomSpline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCatmullRomSpline *arg1 = (csCatmullRomSpline *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csCatmullRomSpline",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCatmullRomSpline, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csCatmullRomSpline" "', argument " "1"" of type '" "csCatmullRomSpline *""'"); 
  }
  arg1 = reinterpret_cast< csCatmullRomSpline * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCatmullRomSpline_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCatmullRomSpline *arg1 = (csCatmullRomSpline *) 0 ;
  csCatmullRomSpline *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCatmullRomSpline_Clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCatmullRomSpline, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCatmullRomSpline_Clone" "', argument " "1"" of type '" "csCatmullRomSpline *""'"); 
  }
  arg1 = reinterpret_cast< csCatmullRomSpline * >(argp1);
  result = (csCatmullRomSpline *)(arg1)->Clone();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCatmullRomSpline, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csCatmullRomSpline_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csCatmullRomSpline, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csBox2_MinX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_MinX",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_MinX" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = (float)((csBox2 const *)arg1)->MinX();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_MinY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_MinY",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_MinY" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = (float)((csBox2 const *)arg1)->MinY();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_MaxX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_MaxX",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_MaxX" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = (float)((csBox2 const *)arg1)->MaxX();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_MaxY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_MaxY",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_MaxY" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = (float)((csBox2 const *)arg1)->MaxY();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Min__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_Min",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Min" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_Min" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)((csBox2 const *)arg1)->Min(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Max__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_Max",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Max" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_Max" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)((csBox2 const *)arg1)->Max(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Min__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_Min",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Min" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  {
    csVector2 const &_result_ref = ((csBox2 const *)arg1)->Min();
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Min(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csBox2_Min__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csBox2_Min__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_Min'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Max__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_Max",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Max" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  {
    csVector2 const &_result_ref = ((csBox2 const *)arg1)->Max();
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Max(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csBox2_Max__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csBox2_Max__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_Max'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Area(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_Area",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Area" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = (float)((csBox2 const *)arg1)->Area();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_GetCorner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  int arg2 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_GetCorner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_GetCorner" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_GetCorner" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = ((csBox2 const *)arg1)->GetCorner(arg2);
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_GetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_GetCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_GetCenter" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = ((csBox2 const *)arg1)->GetCenter();
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_SetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_SetCenter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_SetCenter" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_SetCenter" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_SetCenter" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  (arg1)->SetCenter((csVector2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_SetSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_SetSize" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_SetSize" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_SetSize" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  (arg1)->SetSize((csVector2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_GetEdgeInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  int arg2 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csBox2_GetEdgeInfo",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_GetEdgeInfo" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_GetEdgeInfo" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox2_GetEdgeInfo" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_GetEdgeInfo" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csBox2_GetEdgeInfo" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_GetEdgeInfo" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  ((csBox2 const *)arg1)->GetEdgeInfo(arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_GetEdge__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  int arg2 ;
  csSegment2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_GetEdge",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_GetEdge" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_GetEdge" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = ((csBox2 const *)arg1)->GetEdge(arg2);
  resultobj = SWIG_NewPointerObj((new csSegment2(static_cast< const csSegment2& >(result))), SWIGTYPE_p_csSegment2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_GetEdge__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  int arg2 ;
  csSegment2 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_GetEdge",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_GetEdge" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_GetEdge" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSegment2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox2_GetEdge" "', argument " "3"" of type '" "csSegment2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_GetEdge" "', argument " "3"" of type '" "csSegment2 &""'"); 
  }
  arg3 = reinterpret_cast< csSegment2 * >(argp3);
  ((csBox2 const *)arg1)->GetEdge(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_GetEdge(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csBox2_GetEdge__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csSegment2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csBox2_GetEdge__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_GetEdge'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  csVector2 *arg5 = (csVector2 *) 0 ;
  int arg6 ;
  bool result;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:csBox2_Intersect",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csBox2_Intersect" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_Intersect" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_Intersect" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox2_Intersect" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csBox2_Intersect" "', argument " "5"" of type '" "csVector2 *""'"); 
  }
  arg5 = reinterpret_cast< csVector2 * >(argp5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csBox2_Intersect" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  result = (bool)csBox2::Intersect(arg1,arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *arg3 = (csVector2 *) 0 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csBox2_Intersect",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Intersect" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_Intersect" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_Intersect" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_Intersect" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox2_Intersect" "', argument " "3"" of type '" "csVector2 *""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox2_Intersect" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)csBox2::Intersect((csVector2 const &)*arg1,(csVector2 const &)*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Intersect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_Intersect",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Intersect" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_Intersect" "', argument " "2"" of type '" "csVector2 *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_Intersect" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)((csBox2 const *)arg1)->Intersect(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Intersect(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox2_Intersect__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csBox2_Intersect__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_csVector2, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_csBox2_Intersect__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_Intersect'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_In__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float arg2 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_In",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_In" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_In" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_In" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)((csBox2 const *)arg1)->In(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_In__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_In",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_In" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_In" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_In" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)((csBox2 const *)arg1)->In((csVector2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_In(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2_In__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox2_In__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_In'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Overlap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_Overlap",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Overlap" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_Overlap" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_Overlap" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  result = (bool)((csBox2 const *)arg1)->Overlap((csBox2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Contains" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_Contains" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_Contains" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  result = (bool)((csBox2 const *)arg1)->Contains((csBox2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Empty" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = (bool)((csBox2 const *)arg1)->Empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_SquaredOriginDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_SquaredOriginDist",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_SquaredOriginDist" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = (float)((csBox2 const *)arg1)->SquaredOriginDist();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_SquaredOriginMaxDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_SquaredOriginMaxDist",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_SquaredOriginMaxDist" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = (float)((csBox2 const *)arg1)->SquaredOriginMaxDist();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_SquaredPosDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_SquaredPosDist",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_SquaredPosDist" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_SquaredPosDist" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_SquaredPosDist" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (float)((csBox2 const *)arg1)->SquaredPosDist((csVector2 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_SquaredPosMaxDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_SquaredPosMaxDist",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_SquaredPosMaxDist" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_SquaredPosMaxDist" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_SquaredPosMaxDist" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (float)((csBox2 const *)arg1)->SquaredPosMaxDist((csVector2 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_StartBoundingBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_StartBoundingBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_StartBoundingBox" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  (arg1)->StartBoundingBox();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_StartBoundingBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_StartBoundingBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_StartBoundingBox" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_StartBoundingBox" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_StartBoundingBox" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  (arg1)->StartBoundingBox((csVector2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_StartBoundingBox__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_StartBoundingBox",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_StartBoundingBox" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_StartBoundingBox" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_StartBoundingBox" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->StartBoundingBox(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_StartBoundingBox(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csBox2_StartBoundingBox__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2_StartBoundingBox__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox2_StartBoundingBox__SWIG_2(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_StartBoundingBox'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_AddBoundingVertex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_AddBoundingVertex" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_AddBoundingVertex" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_AddBoundingVertex" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->AddBoundingVertex(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_AddBoundingVertex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_AddBoundingVertex" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_AddBoundingVertex" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_AddBoundingVertex" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  (arg1)->AddBoundingVertex((csVector2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertex(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2_AddBoundingVertex__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox2_AddBoundingVertex__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_AddBoundingVertex'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertexSmart__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_AddBoundingVertexSmart",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_AddBoundingVertexSmart" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_AddBoundingVertexSmart" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_AddBoundingVertexSmart" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->AddBoundingVertexSmart(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertexSmart__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_AddBoundingVertexSmart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_AddBoundingVertexSmart" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_AddBoundingVertexSmart" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_AddBoundingVertexSmart" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  (arg1)->AddBoundingVertexSmart((csVector2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertexSmart(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2_AddBoundingVertexSmart__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox2_AddBoundingVertexSmart__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_AddBoundingVertexSmart'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertexTest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float arg2 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_AddBoundingVertexTest",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_AddBoundingVertexTest" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_AddBoundingVertexTest" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_AddBoundingVertexTest" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->AddBoundingVertexTest(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertexTest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_AddBoundingVertexTest",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_AddBoundingVertexTest" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_AddBoundingVertexTest" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_AddBoundingVertexTest" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)(arg1)->AddBoundingVertexTest((csVector2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertexTest(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2_AddBoundingVertexTest__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox2_AddBoundingVertexTest__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_AddBoundingVertexTest'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertexSmartTest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float arg2 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_AddBoundingVertexSmartTest",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_AddBoundingVertexSmartTest" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_AddBoundingVertexSmartTest" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_AddBoundingVertexSmartTest" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->AddBoundingVertexSmartTest(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertexSmartTest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_AddBoundingVertexSmartTest",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_AddBoundingVertexSmartTest" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_AddBoundingVertexSmartTest" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_AddBoundingVertexSmartTest" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)(arg1)->AddBoundingVertexSmartTest((csVector2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_AddBoundingVertexSmartTest(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2_AddBoundingVertexSmartTest__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox2_AddBoundingVertexSmartTest__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_AddBoundingVertexSmartTest'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csBox2")) SWIG_fail;
  result = (csBox2 *)new csBox2();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csBox2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csBox2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csBox2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csBox2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  result = (csBox2 *)new csBox2((csVector2 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox2__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  csBox2 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csBox2",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csBox2" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csBox2" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csBox2" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csBox2" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (csBox2 *)new csBox2(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox2__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRect *arg1 = 0 ;
  csBox2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csBox2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csBox2" "', argument " "1"" of type '" "csRect const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csBox2" "', argument " "1"" of type '" "csRect const &""'"); 
  }
  arg1 = reinterpret_cast< csRect * >(argp1);
  result = (csBox2 *)new csBox2((csRect const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox2(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csBox2__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csBox2__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csRect, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csBox2__SWIG_3(self, args);
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_csBox2__SWIG_2(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csBox2'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Set" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_Set" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_Set" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox2_Set" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_Set" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  (arg1)->Set((csVector2 const &)*arg2,(csVector2 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csBox2_Set",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Set" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox2_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csBox2_Set" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->Set(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csBox2_Set__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csBox2_Set__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_SetMin",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_SetMin" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_SetMin" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_SetMin" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetMin(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox2_SetMax",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_SetMax" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox2_SetMax" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox2_SetMax" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetMax(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_Description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox2_Description",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_Description" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  result = ((csBox2 const *)arg1)->Description();
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  csBox2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___iadd__" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___iadd__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___iadd__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  {
    csBox2 &_result_ref = (arg1)->operator +=((csBox2 const &)*arg2);
    result = (csBox2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csBox2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___iadd__" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___iadd__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___iadd__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  {
    csBox2 &_result_ref = (arg1)->operator +=((csVector2 const &)*arg2);
    result = (csBox2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___iadd__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2___iadd____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2___iadd____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox2___iadd__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  csBox2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___imul__" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___imul__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___imul__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  {
    csBox2 &_result_ref = (arg1)->operator *=((csBox2 const &)*arg2);
    result = (csBox2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2_TestIntersect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2_TestIntersect",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2_TestIntersect" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2_TestIntersect" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2_TestIntersect" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  result = (bool)((csBox2 const *)arg1)->TestIntersect((csBox2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  csBox2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___add__" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___add__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___add__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  result = csBox2_operator_Sa___SWIG_0((csBox2 const *)arg1,(csBox2 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csBox2(static_cast< const csBox2& >(result))), SWIGTYPE_p_csBox2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  csBox2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___mul__" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___mul__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___mul__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  result = csBox2_operator_Sm_((csBox2 const *)arg1,(csBox2 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csBox2(static_cast< const csBox2& >(result))), SWIGTYPE_p_csBox2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___ne__" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___ne__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___ne__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  result = (bool)csBox2_operator_SN__Se_((csBox2 const *)arg1,(csBox2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___lt____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___lt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___lt__" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___lt__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___lt__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  result = (bool)csBox2_operator_Sl___SWIG_0((csBox2 const *)arg1,(csBox2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csBox2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___gt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___gt__" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___gt__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___gt__" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  result = (bool)csBox2_operator_Sg_((csBox2 const *)arg1,(csBox2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csBox2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___add__" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___add__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___add__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = csBox2_operator_Sa___SWIG_1((csBox2 const *)arg1,(csVector2 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csBox2(static_cast< const csBox2& >(result))), SWIGTYPE_p_csBox2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___add__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2___add____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2___add____SWIG_1(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_csBox2___lt____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox2___lt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox2___lt__" "', argument " "1"" of type '" "csBox2 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox2___lt__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox2___lt__" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)csBox2_operator_Sl___SWIG_1((csBox2 const *)arg1,(csVector2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox2___lt__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2___lt____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox2___lt____SWIG_1(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_delete_csBox2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox2 *arg1 = (csBox2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csBox2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csBox2" "', argument " "1"" of type '" "csBox2 *""'"); 
  }
  arg1 = reinterpret_cast< csBox2 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csBox2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csBox2, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csBox3_MinX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_MinX",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_MinX" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->MinX();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_MinY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_MinY",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_MinY" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->MinY();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_MinZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_MinZ",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_MinZ" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->MinZ();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_MaxX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_MaxX",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_MaxX" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->MaxX();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_MaxY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_MaxY",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_MaxY" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->MaxY();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_MaxZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_MaxZ",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_MaxZ" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->MaxZ();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Min__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_Min",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Min" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_Min" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)((csBox3 const *)arg1)->Min(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Max__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_Max",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Max" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_Max" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)((csBox3 const *)arg1)->Max(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Min__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_Min",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Min" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  {
    csVector3 const &_result_ref = ((csBox3 const *)arg1)->Min();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Min(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csBox3_Min__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csBox3_Min__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_Min'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Max__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_Max",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Max" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  {
    csVector3 const &_result_ref = ((csBox3 const *)arg1)->Max();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Max(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csBox3_Max__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csBox3_Max__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_Max'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Volume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_Volume",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Volume" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->Volume();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Area(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_Area",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Area" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->Area();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetCorner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_GetCorner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetCorner" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_GetCorner" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = ((csBox3 const *)arg1)->GetCorner(arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetEdgeInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  int *arg5 = 0 ;
  int *arg6 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:csBox3_GetEdgeInfo",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetEdgeInfo" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_GetEdgeInfo" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox3_GetEdgeInfo" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetEdgeInfo" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csBox3_GetEdgeInfo" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetEdgeInfo" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csBox3_GetEdgeInfo" "', argument " "5"" of type '" "int &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetEdgeInfo" "', argument " "5"" of type '" "int &""'"); 
  }
  arg5 = reinterpret_cast< int * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csBox3_GetEdgeInfo" "', argument " "6"" of type '" "int &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetEdgeInfo" "', argument " "6"" of type '" "int &""'"); 
  }
  arg6 = reinterpret_cast< int * >(argp6);
  ((csBox3 const *)arg1)->GetEdgeInfo(arg2,*arg3,*arg4,*arg5,*arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetFaceEdges(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  uint8 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_GetFaceEdges",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetFaceEdges" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_GetFaceEdges" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (uint8 *)((csBox3 const *)arg1)->GetFaceEdges(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint8_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_GetCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetCenter" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = ((csBox3 const *)arg1)->GetCenter();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_SetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_SetCenter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_SetCenter" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_SetCenter" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_SetCenter" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetCenter((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_SetSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_SetSize" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_SetSize" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_SetSize" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetSize((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetSize" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = ((csBox3 const *)arg1)->GetSize();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetSide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  csBox2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_GetSide",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetSide" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_GetSide" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = ((csBox3 const *)arg1)->GetSide(arg2);
  resultobj = SWIG_NewPointerObj((new csBox2(static_cast< const csBox2& >(result))), SWIGTYPE_p_csBox2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetAxisPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  int *arg3 = 0 ;
  float *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csBox3_GetAxisPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetAxisPlane" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_GetAxisPlane" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox3_GetAxisPlane" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetAxisPlane" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csBox3_GetAxisPlane" "', argument " "4"" of type '" "float &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetAxisPlane" "', argument " "4"" of type '" "float &""'"); 
  }
  arg4 = reinterpret_cast< float * >(argp4);
  ((csBox3 const *)arg1)->GetAxisPlane(arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetVisibleSides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  int *arg3 = (int *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_GetVisibleSides",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetVisibleSides" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_GetVisibleSides" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetVisibleSides" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox3_GetVisibleSides" "', argument " "3"" of type '" "int *""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  result = (int)((csBox3 const *)arg1)->GetVisibleSides((csVector3 const &)*arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_OtherSide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int result;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_OtherSide",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csBox3_OtherSide" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  result = (int)csBox3::OtherSide(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetEdge__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  csSegment3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_GetEdge",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetEdge" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_GetEdge" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = ((csBox3 const *)arg1)->GetEdge(arg2);
  resultobj = SWIG_NewPointerObj((new csSegment3(static_cast< const csSegment3& >(result))), SWIGTYPE_p_csSegment3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetEdge__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  csSegment3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_GetEdge",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetEdge" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_GetEdge" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSegment3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox3_GetEdge" "', argument " "3"" of type '" "csSegment3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetEdge" "', argument " "3"" of type '" "csSegment3 &""'"); 
  }
  arg3 = reinterpret_cast< csSegment3 * >(argp3);
  ((csBox3 const *)arg1)->GetEdge(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetEdge(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csBox3_GetEdge__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csSegment3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csBox3_GetEdge__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_GetEdge'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_In__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csBox3_In",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_In" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_In" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_In" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_In" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)((csBox3 const *)arg1)->In(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_In__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_In",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_In" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_In" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_In" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)((csBox3 const *)arg1)->In((csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_In(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_In__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csBox3_In__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_In'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Overlap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_Overlap",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Overlap" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_Overlap" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Overlap" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)((csBox3 const *)arg1)->Overlap((csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Contains" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_Contains" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Contains" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)((csBox3 const *)arg1)->Contains((csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Empty" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (bool)((csBox3 const *)arg1)->Empty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_StartBoundingBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_StartBoundingBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_StartBoundingBox" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  (arg1)->StartBoundingBox();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_StartBoundingBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_StartBoundingBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_StartBoundingBox" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_StartBoundingBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_StartBoundingBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->StartBoundingBox((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_StartBoundingBox(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csBox3_StartBoundingBox__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_StartBoundingBox__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_StartBoundingBox'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csBox3_AddBoundingVertex",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AddBoundingVertex" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_AddBoundingVertex" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_AddBoundingVertex" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_AddBoundingVertex" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->AddBoundingVertex(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_AddBoundingVertex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AddBoundingVertex" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AddBoundingVertex" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AddBoundingVertex" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->AddBoundingVertex((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertex(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_AddBoundingVertex__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csBox3_AddBoundingVertex__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_AddBoundingVertex'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertexSmart__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csBox3_AddBoundingVertexSmart",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AddBoundingVertexSmart" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_AddBoundingVertexSmart" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_AddBoundingVertexSmart" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_AddBoundingVertexSmart" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->AddBoundingVertexSmart(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertexSmart__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_AddBoundingVertexSmart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AddBoundingVertexSmart" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AddBoundingVertexSmart" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AddBoundingVertexSmart" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->AddBoundingVertexSmart((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertexSmart(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_AddBoundingVertexSmart__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csBox3_AddBoundingVertexSmart__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_AddBoundingVertexSmart'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertexTest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csBox3_AddBoundingVertexTest",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AddBoundingVertexTest" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_AddBoundingVertexTest" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_AddBoundingVertexTest" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_AddBoundingVertexTest" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->AddBoundingVertexTest(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertexTest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_AddBoundingVertexTest",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AddBoundingVertexTest" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AddBoundingVertexTest" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AddBoundingVertexTest" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)(arg1)->AddBoundingVertexTest((csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertexTest(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_AddBoundingVertexTest__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csBox3_AddBoundingVertexTest__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_AddBoundingVertexTest'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertexSmartTest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csBox3_AddBoundingVertexSmartTest",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AddBoundingVertexSmartTest" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_AddBoundingVertexSmartTest" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_AddBoundingVertexSmartTest" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_AddBoundingVertexSmartTest" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->AddBoundingVertexSmartTest(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertexSmartTest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_AddBoundingVertexSmartTest",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AddBoundingVertexSmartTest" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AddBoundingVertexSmartTest" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AddBoundingVertexSmartTest" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)(arg1)->AddBoundingVertexSmartTest((csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingVertexSmartTest(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_AddBoundingVertexSmartTest__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csBox3_AddBoundingVertexSmartTest__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_AddBoundingVertexSmartTest'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AddBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_AddBoundingBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AddBoundingBox" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AddBoundingBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AddBoundingBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  (arg1)->AddBoundingBox((csBox3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csBox3")) SWIG_fail;
  result = (csBox3 *)new csBox3();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csBox3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csBox3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csBox3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  result = (csBox3 *)new csBox3((csVector3 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox3__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csBox3",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csBox3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csBox3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csBox3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csBox3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (csBox3 *)new csBox3((csVector3 const &)*arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox3__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  csBox3 *result = 0 ;
  float val1 ;
  int ecode1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:new_csBox3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csBox3" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = static_cast< float >(val1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csBox3" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csBox3" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csBox3" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_csBox3" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_csBox3" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  result = (csBox3 *)new csBox3(arg1,arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBox3(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csBox3__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csBox3__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csBox3__SWIG_2(self, args);
      }
    }
  }
  if (argc == 6) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_new_csBox3__SWIG_3(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csBox3'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Set" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox3_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->Set((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:csBox3_Set",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Set" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_Set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_Set" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_Set" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csBox3_Set" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csBox3_Set" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "csBox3_Set" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csBox3_Set__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_csBox3_Set__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_SetMin",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_SetMin" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_SetMin" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_SetMin" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetMin(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_SetMax",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_SetMax" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_SetMax" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_SetMax" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetMax(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_Description",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Description" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = ((csBox3 const *)arg1)->Description();
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Split(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  float arg3 ;
  csBox3 *arg4 = 0 ;
  csBox3 *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csBox3_Split",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Split" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_Split" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_Split" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csBox3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csBox3_Split" "', argument " "4"" of type '" "csBox3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Split" "', argument " "4"" of type '" "csBox3 &""'"); 
  }
  arg4 = reinterpret_cast< csBox3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csBox3,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csBox3_Split" "', argument " "5"" of type '" "csBox3 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Split" "', argument " "5"" of type '" "csBox3 &""'"); 
  }
  arg5 = reinterpret_cast< csBox3 * >(argp5);
  ((csBox3 const *)arg1)->Split(arg2,arg3,*arg4,*arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_TestSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  int arg2 ;
  float arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_TestSplit",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_TestSplit" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBox3_TestSplit" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_TestSplit" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (int)((csBox3 const *)arg1)->TestSplit(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AdjacentX__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_AdjacentX",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AdjacentX" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AdjacentX" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AdjacentX" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_AdjacentX" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)((csBox3 const *)arg1)->AdjacentX((csBox3 const &)*arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AdjacentX__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_AdjacentX",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AdjacentX" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AdjacentX" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AdjacentX" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)((csBox3 const *)arg1)->AdjacentX((csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AdjacentX(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_AdjacentX__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox3_AdjacentX__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_AdjacentX'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AdjacentY__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_AdjacentY",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AdjacentY" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AdjacentY" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AdjacentY" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_AdjacentY" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)((csBox3 const *)arg1)->AdjacentY((csBox3 const &)*arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AdjacentY__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_AdjacentY",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AdjacentY" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AdjacentY" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AdjacentY" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)((csBox3 const *)arg1)->AdjacentY((csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AdjacentY(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_AdjacentY__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox3_AdjacentY__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_AdjacentY'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AdjacentZ__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_AdjacentZ",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AdjacentZ" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AdjacentZ" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AdjacentZ" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_AdjacentZ" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)((csBox3 const *)arg1)->AdjacentZ((csBox3 const &)*arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AdjacentZ__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_AdjacentZ",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_AdjacentZ" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_AdjacentZ" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_AdjacentZ" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)((csBox3 const *)arg1)->AdjacentZ((csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_AdjacentZ(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_AdjacentZ__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox3_AdjacentZ__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_AdjacentZ'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Adjacent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  float arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_Adjacent",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Adjacent" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_Adjacent" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Adjacent" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_Adjacent" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (int)((csBox3 const *)arg1)->Adjacent((csBox3 const &)*arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Adjacent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_Adjacent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Adjacent" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_Adjacent" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Adjacent" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (int)((csBox3 const *)arg1)->Adjacent((csBox3 const &)*arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Adjacent(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3_Adjacent__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csBox3_Adjacent__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_Adjacent'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_CalculatePointSegment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_CalculatePointSegment",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_CalculatePointSegment" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_CalculatePointSegment" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_CalculatePointSegment" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (int)((csBox3 const *)arg1)->CalculatePointSegment((csVector3 const &)*arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetConvexOutline__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = (csVector3 *) 0 ;
  int *arg4 = 0 ;
  bool arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csBox3_GetConvexOutline",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetConvexOutline" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_GetConvexOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetConvexOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox3_GetConvexOutline" "', argument " "3"" of type '" "csVector3 *""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csBox3_GetConvexOutline" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetConvexOutline" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csBox3_GetConvexOutline" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ((csBox3 const *)arg1)->GetConvexOutline((csVector3 const &)*arg2,arg3,*arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetConvexOutline__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = (csVector3 *) 0 ;
  int *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csBox3_GetConvexOutline",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_GetConvexOutline" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_GetConvexOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetConvexOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox3_GetConvexOutline" "', argument " "3"" of type '" "csVector3 *""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csBox3_GetConvexOutline" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_GetConvexOutline" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  ((csBox3 const *)arg1)->GetConvexOutline((csVector3 const &)*arg2,arg3,*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_GetConvexOutline(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csBox3_GetConvexOutline__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csBox3_GetConvexOutline__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_GetConvexOutline'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_Between(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  csBox3 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_Between",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_Between" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_Between" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Between" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox3_Between" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_Between" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  arg3 = reinterpret_cast< csBox3 * >(argp3);
  result = (bool)((csBox3 const *)arg1)->Between((csBox3 const &)*arg2,(csBox3 const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_ManhattanDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csBox3_ManhattanDistance",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_ManhattanDistance" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_ManhattanDistance" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ManhattanDistance" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csBox3_ManhattanDistance" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ManhattanDistance" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ((csBox3 const *)arg1)->ManhattanDistance((csBox3 const &)*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_SquaredOriginDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_SquaredOriginDist",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_SquaredOriginDist" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->SquaredOriginDist();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_SquaredOriginMaxDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBox3_SquaredOriginMaxDist",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_SquaredOriginMaxDist" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (float)((csBox3 const *)arg1)->SquaredOriginMaxDist();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_SquaredPosDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_SquaredPosDist",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_SquaredPosDist" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_SquaredPosDist" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_SquaredPosDist" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (float)((csBox3 const *)arg1)->SquaredPosDist((csVector3 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_SquaredPosMaxDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_SquaredPosMaxDist",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_SquaredPosMaxDist" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_SquaredPosMaxDist" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_SquaredPosMaxDist" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (float)((csBox3 const *)arg1)->SquaredPosMaxDist((csVector3 const &)*arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_ProjectBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csTransform *arg2 = 0 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  csBox2 *arg6 = 0 ;
  float *arg7 = 0 ;
  float *arg8 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:csBox3_ProjectBox",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_ProjectBox" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_ProjectBox" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectBox" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csTransform * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_ProjectBox" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_ProjectBox" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csBox3_ProjectBox" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csBox2,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csBox3_ProjectBox" "', argument " "6"" of type '" "csBox2 &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectBox" "', argument " "6"" of type '" "csBox2 &""'"); 
  }
  arg6 = reinterpret_cast< csBox2 * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csBox3_ProjectBox" "', argument " "7"" of type '" "float &""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectBox" "', argument " "7"" of type '" "float &""'"); 
  }
  arg7 = reinterpret_cast< float * >(argp7);
  res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "csBox3_ProjectBox" "', argument " "8"" of type '" "float &""'"); 
  }
  if (!argp8) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectBox" "', argument " "8"" of type '" "float &""'"); 
  }
  arg8 = reinterpret_cast< float * >(argp8);
  result = (bool)((csBox3 const *)arg1)->ProjectBox((csTransform const &)*arg2,arg3,arg4,arg5,*arg6,*arg7,*arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_ProjectOutline__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csTransform *arg2 = 0 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  csPoly2D *arg6 = 0 ;
  float *arg7 = 0 ;
  float *arg8 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:csBox3_ProjectOutline",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_ProjectOutline" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_ProjectOutline" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectOutline" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csTransform * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_ProjectOutline" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_ProjectOutline" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csBox3_ProjectOutline" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csPoly2D,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csBox3_ProjectOutline" "', argument " "6"" of type '" "csPoly2D &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectOutline" "', argument " "6"" of type '" "csPoly2D &""'"); 
  }
  arg6 = reinterpret_cast< csPoly2D * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csBox3_ProjectOutline" "', argument " "7"" of type '" "float &""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectOutline" "', argument " "7"" of type '" "float &""'"); 
  }
  arg7 = reinterpret_cast< float * >(argp7);
  res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "csBox3_ProjectOutline" "', argument " "8"" of type '" "float &""'"); 
  }
  if (!argp8) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectOutline" "', argument " "8"" of type '" "float &""'"); 
  }
  arg8 = reinterpret_cast< float * >(argp8);
  result = (bool)((csBox3 const *)arg1)->ProjectOutline((csTransform const &)*arg2,arg3,arg4,arg5,*arg6,*arg7,*arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_ProjectOutline__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  int arg3 ;
  float arg4 ;
  csArray<csVector2 > *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csBox3_ProjectOutline",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_ProjectOutline" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_ProjectOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_ProjectOutline" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_ProjectOutline" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csBox3_ProjectOutline" "', argument " "5"" of type '" "csArray<csVector2 > &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectOutline" "', argument " "5"" of type '" "csArray<csVector2 > &""'"); 
  }
  arg5 = reinterpret_cast< csArray<csVector2 > * >(argp5);
  result = (bool)((csBox3 const *)arg1)->ProjectOutline((csVector3 const &)*arg2,arg3,arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_ProjectOutline__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  int arg3 ;
  float arg4 ;
  csPoly2D *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csBox3_ProjectOutline",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_ProjectOutline" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_ProjectOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_ProjectOutline" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_ProjectOutline" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csPoly2D,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csBox3_ProjectOutline" "', argument " "5"" of type '" "csPoly2D &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectOutline" "', argument " "5"" of type '" "csPoly2D &""'"); 
  }
  arg5 = reinterpret_cast< csPoly2D * >(argp5);
  result = (bool)((csBox3 const *)arg1)->ProjectOutline((csVector3 const &)*arg2,arg3,arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_ProjectOutline(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[9];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 8); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_csBox3_ProjectOutline__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_csPoly2D, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_csBox3_ProjectOutline__SWIG_2(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_csPoly2D, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_float, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  void *vptr = 0;
                  int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_float, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    return _wrap_csBox3_ProjectOutline__SWIG_0(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3_ProjectOutline'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_ProjectBoxAndOutline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csTransform *arg2 = 0 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  csBox2 *arg6 = 0 ;
  csPoly2D *arg7 = 0 ;
  float *arg8 = 0 ;
  float *arg9 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  void *argp9 = 0 ;
  int res9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO:csBox3_ProjectBoxAndOutline",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csTransform * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csBox2,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "6"" of type '" "csBox2 &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "6"" of type '" "csBox2 &""'"); 
  }
  arg6 = reinterpret_cast< csBox2 * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_csPoly2D,  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "7"" of type '" "csPoly2D &""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "7"" of type '" "csPoly2D &""'"); 
  }
  arg7 = reinterpret_cast< csPoly2D * >(argp7);
  res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "8"" of type '" "float &""'"); 
  }
  if (!argp8) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "8"" of type '" "float &""'"); 
  }
  arg8 = reinterpret_cast< float * >(argp8);
  res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "9"" of type '" "float &""'"); 
  }
  if (!argp9) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_ProjectBoxAndOutline" "', argument " "9"" of type '" "float &""'"); 
  }
  arg9 = reinterpret_cast< float * >(argp9);
  result = (bool)((csBox3 const *)arg1)->ProjectBoxAndOutline((csTransform const &)*arg2,arg3,arg4,arg5,*arg6,*arg7,*arg8,*arg9);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___iadd__" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___iadd__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___iadd__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  {
    csBox3 &_result_ref = (arg1)->operator +=((csBox3 const &)*arg2);
    result = (csBox3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___iadd__" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___iadd__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___iadd__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  {
    csBox3 &_result_ref = (arg1)->operator +=((csVector3 const &)*arg2);
    result = (csBox3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___iadd__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3___iadd____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3___iadd____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csBox3___iadd__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___imul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___imul__" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___imul__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___imul__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  {
    csBox3 &_result_ref = (arg1)->operator *=((csBox3 const &)*arg2);
    result = (csBox3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3_TestIntersect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3_TestIntersect",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3_TestIntersect" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3_TestIntersect" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3_TestIntersect" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)((csBox3 const *)arg1)->TestIntersect((csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  csBox3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___add__" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___add__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___add__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = csBox3_operator_Sa___SWIG_0((csBox3 const *)arg1,(csBox3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csBox3(static_cast< const csBox3& >(result))), SWIGTYPE_p_csBox3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  csBox3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___mul__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___mul__" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___mul__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___mul__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = csBox3_operator_Sm_((csBox3 const *)arg1,(csBox3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csBox3(static_cast< const csBox3& >(result))), SWIGTYPE_p_csBox3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___ne__" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___ne__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___ne__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)csBox3_operator_SN__Se_((csBox3 const *)arg1,(csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___lt____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___lt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___lt__" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___lt__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___lt__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)csBox3_operator_Sl___SWIG_0((csBox3 const *)arg1,(csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csBox3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___gt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___gt__" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___gt__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___gt__" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (bool)csBox3_operator_Sg_((csBox3 const *)arg1,(csBox3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csBox3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___add__" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___add__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___add__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = csBox3_operator_Sa___SWIG_1((csBox3 const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csBox3(static_cast< const csBox3& >(result))), SWIGTYPE_p_csBox3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___add__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3___add____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3___add____SWIG_1(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_csBox3___lt____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBox3___lt__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBox3___lt__" "', argument " "1"" of type '" "csBox3 const *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csBox3___lt__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csBox3___lt__" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)csBox3_operator_Sl___SWIG_1((csBox3 const *)arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBox3___lt__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3___lt____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csBox3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csBox3___lt____SWIG_1(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_delete_csBox3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = (csBox3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csBox3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBox3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csBox3" "', argument " "1"" of type '" "csBox3 *""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csBox3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csBox3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csSegment2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector2 *arg1 = 0 ;
  csVector2 *arg2 = 0 ;
  csSegment2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csSegment2",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csSegment2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csSegment2" "', argument " "1"" of type '" "csVector2 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csSegment2" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csSegment2" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (csSegment2 *)new csSegment2((csVector2 const &)*arg1,(csVector2 const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSegment2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSegment2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csSegment2")) SWIG_fail;
  result = (csSegment2 *)new csSegment2();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSegment2, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSegment2(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csSegment2__SWIG_1(self, args);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector2, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csSegment2__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csSegment2'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSegment2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = (csSegment2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSegment2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSegment2" "', argument " "1"" of type '" "csSegment2 *""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment2_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = (csSegment2 *) 0 ;
  csVector2 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSegment2_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment2_Set" "', argument " "1"" of type '" "csSegment2 *""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSegment2_Set" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSegment2_Set" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csSegment2_Set" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSegment2_Set" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  (arg1)->Set((csVector2 const &)*arg2,(csVector2 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment2_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = (csSegment2 *) 0 ;
  csVector2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSegment2_SetStart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment2_SetStart" "', argument " "1"" of type '" "csSegment2 *""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSegment2_SetStart" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSegment2_SetStart" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  (arg1)->SetStart((csVector2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment2_SetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = (csSegment2 *) 0 ;
  csVector2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSegment2_SetEnd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment2_SetEnd" "', argument " "1"" of type '" "csSegment2 *""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSegment2_SetEnd" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSegment2_SetEnd" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  (arg1)->SetEnd((csVector2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment2_Start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = (csSegment2 *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSegment2_Start",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment2_Start" "', argument " "1"" of type '" "csSegment2 const *""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  {
    csVector2 const &_result_ref = ((csSegment2 const *)arg1)->Start();
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment2_End(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment2 *arg1 = (csSegment2 *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSegment2_End",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment2, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment2_End" "', argument " "1"" of type '" "csSegment2 const *""'"); 
  }
  arg1 = reinterpret_cast< csSegment2 * >(argp1);
  {
    csVector2 const &_result_ref = ((csSegment2 const *)arg1)->End();
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSegment2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSegment2, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csSegment3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVector3 *arg1 = 0 ;
  csVector3 *arg2 = 0 ;
  csSegment3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csSegment3",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csSegment3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csSegment3" "', argument " "1"" of type '" "csVector3 const &""'"); 
  }
  arg1 = reinterpret_cast< csVector3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csSegment3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csSegment3" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (csSegment3 *)new csSegment3((csVector3 const &)*arg1,(csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSegment3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSegment3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csSegment3")) SWIG_fail;
  result = (csSegment3 *)new csSegment3();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSegment3, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSegment3(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csSegment3__SWIG_1(self, args);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csVector3, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csSegment3__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csSegment3'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment3_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = (csSegment3 *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSegment3_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment3_Set" "', argument " "1"" of type '" "csSegment3 *""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSegment3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSegment3_Set" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csSegment3_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSegment3_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->Set((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment3_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = (csSegment3 *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSegment3_SetStart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment3_SetStart" "', argument " "1"" of type '" "csSegment3 *""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSegment3_SetStart" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSegment3_SetStart" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetStart((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment3_SetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = (csSegment3 *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSegment3_SetEnd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment3_SetEnd" "', argument " "1"" of type '" "csSegment3 *""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSegment3_SetEnd" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSegment3_SetEnd" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetEnd((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment3_Start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = (csSegment3 *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSegment3_Start",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment3_Start" "', argument " "1"" of type '" "csSegment3 const *""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  {
    csVector3 const &_result_ref = ((csSegment3 const *)arg1)->Start();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSegment3_End(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = (csSegment3 *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSegment3_End",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSegment3_End" "', argument " "1"" of type '" "csSegment3 const *""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  {
    csVector3 const &_result_ref = ((csSegment3 const *)arg1)->End();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSegment3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSegment3 *arg1 = (csSegment3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSegment3",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSegment3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSegment3" "', argument " "1"" of type '" "csSegment3 *""'"); 
  }
  arg1 = reinterpret_cast< csSegment3 * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSegment3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSegment3, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csRGBcolor_red_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBcolor_red_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor_red_set" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBcolor_red_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->red = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor_red_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBcolor_red_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor_red_get" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  result = (unsigned char) ((arg1)->red);
  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor_green_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBcolor_green_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor_green_set" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBcolor_green_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->green = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor_green_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBcolor_green_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor_green_get" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  result = (unsigned char) ((arg1)->green);
  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor_blue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBcolor_blue_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor_blue_set" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBcolor_blue_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->blue = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor_blue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBcolor_blue_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor_blue_get" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  result = (unsigned char) ((arg1)->blue);
  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRGBcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csRGBcolor")) SWIG_fail;
  result = (csRGBcolor *)new csRGBcolor();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRGBcolor, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRGBcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  unsigned char arg1 ;
  unsigned char arg2 ;
  unsigned char arg3 ;
  csRGBcolor *result = 0 ;
  unsigned char val1 ;
  int ecode1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  unsigned char val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csRGBcolor",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_unsigned_SS_char(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csRGBcolor" "', argument " "1"" of type '" "unsigned char""'");
  } 
  arg1 = static_cast< unsigned char >(val1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csRGBcolor" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csRGBcolor" "', argument " "3"" of type '" "unsigned char""'");
  } 
  arg3 = static_cast< unsigned char >(val3);
  result = (csRGBcolor *)new csRGBcolor(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRGBcolor, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRGBcolor(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csRGBcolor__SWIG_0(self, args);
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_csRGBcolor__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csRGBcolor'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  unsigned char arg2 ;
  unsigned char arg3 ;
  unsigned char arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  unsigned char val3 ;
  int ecode3 = 0 ;
  unsigned char val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csRGBcolor_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor_Set" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBcolor_Set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRGBcolor_Set" "', argument " "3"" of type '" "unsigned char""'");
  } 
  arg3 = static_cast< unsigned char >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_char(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csRGBcolor_Set" "', argument " "4"" of type '" "unsigned char""'");
  } 
  arg4 = static_cast< unsigned char >(val4);
  (arg1)->Set(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  csRGBcolor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBcolor___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor___eq__" "', argument " "1"" of type '" "csRGBcolor const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBcolor___eq__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBcolor___eq__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  result = (bool)((csRGBcolor const *)arg1)->operator ==((csRGBcolor const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  csRGBcolor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBcolor___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor___ne__" "', argument " "1"" of type '" "csRGBcolor const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBcolor___ne__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBcolor___ne__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  result = (bool)((csRGBcolor const *)arg1)->operator !=((csRGBcolor const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  csRGBcolor *arg2 = 0 ;
  csRGBcolor result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBcolor___add__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor___add__" "', argument " "1"" of type '" "csRGBcolor const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBcolor___add__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBcolor___add__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  result = ((csRGBcolor const *)arg1)->operator +((csRGBcolor const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csRGBcolor(static_cast< const csRGBcolor& >(result))), SWIGTYPE_p_csRGBcolor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor_UnsafeAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  csRGBcolor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBcolor_UnsafeAdd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor_UnsafeAdd" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBcolor_UnsafeAdd" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBcolor_UnsafeAdd" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  (arg1)->UnsafeAdd((csRGBcolor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBcolor_SafeAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  csRGBcolor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBcolor_SafeAdd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBcolor_SafeAdd" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBcolor_SafeAdd" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBcolor_SafeAdd" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  (arg1)->SafeAdd((csRGBcolor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csRGBcolor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = (csRGBcolor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csRGBcolor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBcolor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csRGBcolor" "', argument " "1"" of type '" "csRGBcolor *""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csRGBcolor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csRGBcolor, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csRGBpixel_red_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel_red_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_red_set" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBpixel_red_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->red = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_red_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBpixel_red_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_red_get" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  result = (unsigned char) ((arg1)->red);
  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_green_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel_green_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_green_set" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBpixel_green_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->green = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_green_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBpixel_green_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_green_get" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  result = (unsigned char) ((arg1)->green);
  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_blue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel_blue_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_blue_set" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBpixel_blue_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->blue = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_blue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBpixel_blue_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_blue_get" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  result = (unsigned char) ((arg1)->blue);
  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_alpha_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel_alpha_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_alpha_set" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBpixel_alpha_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->alpha = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_alpha_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBpixel_alpha_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_alpha_get" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  result = (unsigned char) ((arg1)->alpha);
  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRGBpixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csRGBpixel")) SWIG_fail;
  result = (csRGBpixel *)new csRGBpixel();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRGBpixel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRGBpixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = 0 ;
  csRGBpixel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csRGBpixel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRGBpixel,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csRGBpixel" "', argument " "1"" of type '" "csRGBpixel const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csRGBpixel" "', argument " "1"" of type '" "csRGBpixel const &""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  result = (csRGBpixel *)new csRGBpixel((csRGBpixel const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRGBpixel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRGBpixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBcolor *arg1 = 0 ;
  csRGBpixel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csRGBpixel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csRGBpixel" "', argument " "1"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csRGBpixel" "', argument " "1"" of type '" "csRGBcolor const &""'"); 
  }
  arg1 = reinterpret_cast< csRGBcolor * >(argp1);
  result = (csRGBpixel *)new csRGBpixel((csRGBcolor const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRGBpixel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRGBpixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  csRGBpixel *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csRGBpixel",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csRGBpixel" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csRGBpixel" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csRGBpixel" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csRGBpixel" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (csRGBpixel *)new csRGBpixel(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRGBpixel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRGBpixel__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  int arg3 ;
  csRGBpixel *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csRGBpixel",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csRGBpixel" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csRGBpixel" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csRGBpixel" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (csRGBpixel *)new csRGBpixel(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRGBpixel, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csRGBpixel(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csRGBpixel__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csRGBpixel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csRGBpixel__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csRGBcolor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csRGBpixel__SWIG_2(self, args);
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_csRGBpixel__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_csRGBpixel__SWIG_3(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csRGBpixel'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBcolor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel___eq__" "', argument " "1"" of type '" "csRGBpixel const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBpixel___eq__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBpixel___eq__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  result = (bool)((csRGBpixel const *)arg1)->operator ==((csRGBcolor const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBpixel *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel___eq__" "', argument " "1"" of type '" "csRGBpixel const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBpixel___eq__" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBpixel___eq__" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  result = (bool)((csRGBpixel const *)arg1)->operator ==((csRGBpixel const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel___eq__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRGBpixel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRGBcolor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRGBpixel___eq____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRGBpixel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRGBpixel, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRGBpixel___eq____SWIG_1(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_csRGBpixel___ne____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBcolor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel___ne__" "', argument " "1"" of type '" "csRGBpixel const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBpixel___ne__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBpixel___ne__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  result = (bool)((csRGBpixel const *)arg1)->operator !=((csRGBcolor const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel___ne____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBpixel *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel___ne__" "', argument " "1"" of type '" "csRGBpixel const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBpixel___ne__" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBpixel___ne__" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  result = (bool)((csRGBpixel const *)arg1)->operator !=((csRGBpixel const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel___ne__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRGBpixel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRGBcolor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRGBpixel___ne____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRGBpixel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRGBpixel, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRGBpixel___ne____SWIG_1(self, args);
      }
    }
  }
  
fail:
  Py_INCREF(Py_NotImplemented);
  return Py_NotImplemented;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_asRGBcolor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBcolor result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBpixel_asRGBcolor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_asRGBcolor" "', argument " "1"" of type '" "csRGBpixel const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  result = ((csRGBpixel const *)arg1)->operator csRGBcolor();
  resultobj = SWIG_NewPointerObj((new csRGBcolor(static_cast< const csRGBcolor& >(result))), SWIGTYPE_p_csRGBcolor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_eq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBpixel *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel_eq",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_eq" "', argument " "1"" of type '" "csRGBpixel const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBpixel_eq" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBpixel_eq" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  result = (bool)((csRGBpixel const *)arg1)->eq((csRGBpixel const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_Intensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBpixel_Intensity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_Intensity" "', argument " "1"" of type '" "csRGBpixel const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  result = (int)((csRGBpixel const *)arg1)->Intensity();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_Luminance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csRGBpixel_Luminance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_Luminance" "', argument " "1"" of type '" "csRGBpixel const *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  result = (unsigned char)((csRGBpixel const *)arg1)->Luminance();
  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csRGBpixel_Set",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_Set" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBpixel_Set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRGBpixel_Set" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csRGBpixel_Set" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csRGBpixel_Set" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->Set(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csRGBpixel_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_Set" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csRGBpixel_Set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csRGBpixel_Set" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csRGBpixel_Set" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->Set(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_Set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBpixel *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_Set" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBpixel_Set" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBpixel_Set" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  (arg1)->Set((csRGBpixel const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRGBpixel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRGBpixel, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csRGBpixel_Set__SWIG_2(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRGBpixel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csRGBpixel_Set__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRGBpixel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csRGBpixel_Set__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csRGBpixel_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBcolor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel___iadd__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel___iadd__" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBpixel___iadd__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBpixel___iadd__" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  (arg1)->operator +=((csRGBcolor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_UnsafeAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBpixel *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel_UnsafeAdd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_UnsafeAdd" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBpixel_UnsafeAdd" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBpixel_UnsafeAdd" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  (arg1)->UnsafeAdd((csRGBpixel const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csRGBpixel_SafeAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  csRGBpixel *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csRGBpixel_SafeAdd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csRGBpixel_SafeAdd" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csRGBpixel_SafeAdd" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csRGBpixel_SafeAdd" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  (arg1)->SafeAdd((csRGBpixel const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csRGBpixel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRGBpixel *arg1 = (csRGBpixel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csRGBpixel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csRGBpixel, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csRGBpixel" "', argument " "1"" of type '" "csRGBpixel *""'"); 
  }
  arg1 = reinterpret_cast< csRGBpixel * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csRGBpixel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csRGBpixel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iShaderVariableAccessor_PreGetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableAccessor *arg1 = (iShaderVariableAccessor *) 0 ;
  csShaderVariable *arg2 = (csShaderVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderVariableAccessor_PreGetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableAccessor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableAccessor_PreGetValue" "', argument " "1"" of type '" "iShaderVariableAccessor *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableAccessor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderVariableAccessor_PreGetValue" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  arg2 = reinterpret_cast< csShaderVariable * >(argp2);
  (arg1)->PreGetValue(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iShaderVariableAccessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableAccessor *arg1 = (iShaderVariableAccessor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iShaderVariableAccessor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableAccessor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iShaderVariableAccessor" "', argument " "1"" of type '" "iShaderVariableAccessor *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableAccessor * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iShaderVariableAccessor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iShaderVariableAccessor, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csShaderVariable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csShaderVariable")) SWIG_fail;
  result = (csShaderVariable *)new csShaderVariable();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csShaderVariable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStringID arg1 ;
  csShaderVariable *result = 0 ;
  unsigned long val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csShaderVariable",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_unsigned_SS_long(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csShaderVariable" "', argument " "1"" of type '" "csStringID""'");
  } 
  arg1 = static_cast< csStringID >(val1);
  result = (csShaderVariable *)new csShaderVariable(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csShaderVariable__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = 0 ;
  csShaderVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csShaderVariable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csShaderVariable,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csShaderVariable" "', argument " "1"" of type '" "csShaderVariable const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csShaderVariable" "', argument " "1"" of type '" "csShaderVariable const &""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  result = (csShaderVariable *)new csShaderVariable((csShaderVariable const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csShaderVariable(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csShaderVariable__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csShaderVariable__SWIG_2(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_unsigned_SS_long(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csShaderVariable__SWIG_1(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csShaderVariable'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csShaderVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csShaderVariable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csShaderVariable" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csShaderVariable *arg2 = 0 ;
  csShaderVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_assign" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csShaderVariable,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_assign" "', argument " "2"" of type '" "csShaderVariable const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_assign" "', argument " "2"" of type '" "csShaderVariable const &""'"); 
  }
  arg2 = reinterpret_cast< csShaderVariable * >(argp2);
  {
    csShaderVariable &_result_ref = (arg1)->operator =((csShaderVariable const &)*arg2);
    result = (csShaderVariable *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csShaderVariable::VariableType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariable_GetType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetType" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  result = (csShaderVariable::VariableType)(arg1)->GetType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csShaderVariable::VariableType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetType" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariable_SetType" "', argument " "2"" of type '" "csShaderVariable::VariableType""'");
  } 
  arg2 = static_cast< csShaderVariable::VariableType >(val2);
  (arg1)->SetType(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetAccessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  iShaderVariableAccessor *arg2 = (iShaderVariableAccessor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetAccessor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetAccessor" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iShaderVariableAccessor, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetAccessor" "', argument " "2"" of type '" "iShaderVariableAccessor *""'"); 
  }
  arg2 = reinterpret_cast< iShaderVariableAccessor * >(argp2);
  (arg1)->SetAccessor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csStringID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetName" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariable_SetName" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  (arg1)->SetName(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csStringID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariable_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetName" "', argument " "1"" of type '" "csShaderVariable const *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  result = (csStringID)((csShaderVariable const *)arg1)->GetName();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  int *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "int &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "int &""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  float *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "float &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "float &""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csRGBpixel *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csRGBpixel &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csRGBpixel &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  iTextureHandle **arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_iTextureHandle,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "iTextureHandle *&""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "iTextureHandle *&""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle ** >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  iTextureWrapper **arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_iTextureWrapper,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "iTextureWrapper *&""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "iTextureWrapper *&""'"); 
  }
  arg2 = reinterpret_cast< iTextureWrapper ** >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  iRenderBuffer **arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_iRenderBuffer,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "iRenderBuffer *&""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "iRenderBuffer *&""'"); 
  }
  arg2 = reinterpret_cast< iRenderBuffer ** >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csVector2 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csVector2 &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csColor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csColor &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csColor &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csVector4 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector4,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csVector4 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csVector4 &""'"); 
  }
  arg2 = reinterpret_cast< csVector4 * >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csMatrix3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csMatrix3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csMatrix3 &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csReversibleTransform &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_GetValue" "', argument " "2"" of type '" "csReversibleTransform &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  result = (bool)(arg1)->GetValue(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetValue(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csRGBpixel, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_iTextureHandle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_3(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_iTextureWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_4(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_iRenderBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_5(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_6(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_7(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_8(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector4, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_9(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_10(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_GetValue__SWIG_11(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csShaderVariable_GetValue'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->SetValue(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  float arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (bool)(arg1)->SetValue(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csRGBpixel *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csRGBpixel const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  result = (bool)(arg1)->SetValue((csRGBpixel const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  result = (bool)(arg1)->SetValue(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  iTextureWrapper *arg2 = (iTextureWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "iTextureWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iTextureWrapper * >(argp2);
  result = (bool)(arg1)->SetValue(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  iRenderBuffer *arg2 = (iRenderBuffer *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "iRenderBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iRenderBuffer * >(argp2);
  result = (bool)(arg1)->SetValue(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)(arg1)->SetValue((csVector2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)(arg1)->SetValue((csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csColor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  result = (bool)(arg1)->SetValue((csColor const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csVector4 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector4,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csVector4 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csVector4 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector4 * >(argp2);
  result = (bool)(arg1)->SetValue((csVector4 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csMatrix3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  result = (bool)(arg1)->SetValue((csMatrix3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetValue" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csShaderVariable_SetValue" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  result = (bool)(arg1)->SetValue((csReversibleTransform const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetValue(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRGBpixel, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureHandle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_3(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_4(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRenderBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_5(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_6(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_7(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_8(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector4, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_9(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_10(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_11(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csShaderVariable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csShaderVariable_SetValue__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csShaderVariable_SetValue'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_AddVariableToArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  csShaderVariable *arg2 = (csShaderVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_AddVariableToArray",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_AddVariableToArray" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariable_AddVariableToArray" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  arg2 = reinterpret_cast< csShaderVariable * >(argp2);
  (arg1)->AddVariableToArray(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_RemoveFromArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_RemoveFromArray",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_RemoveFromArray" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariable_RemoveFromArray" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->RemoveFromArray(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetArraySize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_SetArraySize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetArraySize" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariable_SetArraySize" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->SetArraySize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetArraySize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariable_GetArraySize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetArraySize" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  result = (arg1)->GetArraySize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_GetArrayElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  size_t arg2 ;
  csShaderVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariable_GetArrayElement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_GetArrayElement" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariable_GetArrayElement" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (csShaderVariable *)(arg1)->GetArrayElement(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariable_SetArrayElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVariable *arg1 = (csShaderVariable *) 0 ;
  size_t arg2 ;
  csShaderVariable *arg3 = (csShaderVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csShaderVariable_SetArrayElement",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariable_SetArrayElement" "', argument " "1"" of type '" "csShaderVariable *""'"); 
  }
  arg1 = reinterpret_cast< csShaderVariable * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariable_SetArrayElement" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csShaderVariable_SetArrayElement" "', argument " "3"" of type '" "csShaderVariable *""'"); 
  }
  arg3 = reinterpret_cast< csShaderVariable * >(argp3);
  (arg1)->SetArrayElement(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csShaderVariable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csShaderVariable, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csShaderVariableArrayReadOnly_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csShaderVariable * > *arg1 = (iArrayReadOnly<csShaderVariable * > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariableArrayReadOnly_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArrayReadOnly_GetSize" "', argument " "1"" of type '" "iArrayReadOnly<csShaderVariable * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csShaderVariable * > * >(argp1);
  result = ((iArrayReadOnly<csShaderVariable * > const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArrayReadOnly_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csShaderVariable * > *arg1 = (iArrayReadOnly<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  csShaderVariable **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArrayReadOnly_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArrayReadOnly_Get" "', argument " "1"" of type '" "iArrayReadOnly<csShaderVariable * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArrayReadOnly_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csShaderVariable *const &_result_ref = ((iArrayReadOnly<csShaderVariable * > const *)arg1)->Get(arg2);
    result = (csShaderVariable **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArrayReadOnly_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csShaderVariable * > *arg1 = (iArrayReadOnly<csShaderVariable * > *) 0 ;
  csShaderVariable **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariableArrayReadOnly_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArrayReadOnly_Top" "', argument " "1"" of type '" "iArrayReadOnly<csShaderVariable * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csShaderVariable * > * >(argp1);
  {
    csShaderVariable *const &_result_ref = ((iArrayReadOnly<csShaderVariable * > const *)arg1)->Top();
    result = (csShaderVariable **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArrayReadOnly_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csShaderVariable * > *arg1 = (iArrayReadOnly<csShaderVariable * > *) 0 ;
  csShaderVariable **arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csShaderVariable *temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArrayReadOnly_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArrayReadOnly_Find" "', argument " "1"" of type '" "iArrayReadOnly<csShaderVariable * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csShaderVariable * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariableArrayReadOnly_Find" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  temp2 = reinterpret_cast< csShaderVariable * >(argp2);
  arg2 = &temp2;
  result = ((iArrayReadOnly<csShaderVariable * > const *)arg1)->Find((csShaderVariable *const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArrayReadOnly_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csShaderVariable * > *arg1 = (iArrayReadOnly<csShaderVariable * > *) 0 ;
  csShaderVariable **arg2 = (csShaderVariable **) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArrayReadOnly_GetIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArrayReadOnly_GetIndex" "', argument " "1"" of type '" "iArrayReadOnly<csShaderVariable * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csShaderVariable * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariableArrayReadOnly_GetIndex" "', argument " "2"" of type '" "csShaderVariable *const *""'"); 
  }
  arg2 = reinterpret_cast< csShaderVariable ** >(argp2);
  result = ((iArrayReadOnly<csShaderVariable * > const *)arg1)->GetIndex((csShaderVariable *const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArrayReadOnly_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csShaderVariable * > *arg1 = (iArrayReadOnly<csShaderVariable * > *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariableArrayReadOnly_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArrayReadOnly_IsEmpty" "', argument " "1"" of type '" "iArrayReadOnly<csShaderVariable * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csShaderVariable * > * >(argp1);
  result = (bool)((iArrayReadOnly<csShaderVariable * > const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArrayReadOnly_GetAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csShaderVariable * > *arg1 = (iArrayReadOnly<csShaderVariable * > *) 0 ;
  csShaderVariable **arg2 = (csShaderVariable **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArrayReadOnly_GetAll",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArrayReadOnly_GetAll" "', argument " "1"" of type '" "iArrayReadOnly<csShaderVariable * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csShaderVariable * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariableArrayReadOnly_GetAll" "', argument " "2"" of type '" "csShaderVariable **""'"); 
  }
  arg2 = reinterpret_cast< csShaderVariable ** >(argp2);
  ((iArrayReadOnly<csShaderVariable * > const *)arg1)->GetAll(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csShaderVariableArrayReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csShaderVariable * > *arg1 = (iArrayReadOnly<csShaderVariable * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csShaderVariableArrayReadOnly",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csShaderVariableArrayReadOnly" "', argument " "1"" of type '" "iArrayReadOnly<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csShaderVariable * > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csShaderVariableArrayReadOnly_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iArrayReadOnlyTcsShaderVariable_p_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csShaderVariableArrayChangeElements_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeElements<csShaderVariable * > *arg1 = (iArrayChangeElements<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  csShaderVariable **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArrayChangeElements_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeElementsTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArrayChangeElements_Get" "', argument " "1"" of type '" "iArrayChangeElements<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeElements<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArrayChangeElements_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csShaderVariable *&_result_ref = (arg1)->Get(arg2);
    result = (csShaderVariable **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArrayChangeElements_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeElements<csShaderVariable * > *arg1 = (iArrayChangeElements<csShaderVariable * > *) 0 ;
  csShaderVariable **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariableArrayChangeElements_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeElementsTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArrayChangeElements_Top" "', argument " "1"" of type '" "iArrayChangeElements<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeElements<csShaderVariable * > * >(argp1);
  {
    csShaderVariable *&_result_ref = (arg1)->Top();
    result = (csShaderVariable **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csShaderVariableArrayChangeElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeElements<csShaderVariable * > *arg1 = (iArrayChangeElements<csShaderVariable * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csShaderVariableArrayChangeElements",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeElementsTcsShaderVariable_p_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csShaderVariableArrayChangeElements" "', argument " "1"" of type '" "iArrayChangeElements<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeElements<csShaderVariable * > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csShaderVariableArrayChangeElements_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iArrayChangeElementsTcsShaderVariable_p_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csShaderVariableArray_SetSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  csShaderVariable **arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  csShaderVariable *temp3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csShaderVariableArray_SetSize",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_SetSize" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArray_SetSize" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csShaderVariableArray_SetSize" "', argument " "3"" of type '" "csShaderVariable *""'"); 
  }
  temp3 = reinterpret_cast< csShaderVariable * >(argp3);
  arg3 = &temp3;
  (arg1)->SetSize(arg2,(csShaderVariable *const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_SetSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArray_SetSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_SetSize" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArray_SetSize" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->SetSize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_SetSize(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csShaderVariableArray_SetSize__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_csShaderVariable, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csShaderVariableArray_SetSize__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csShaderVariableArray_SetSize'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_GetExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  csShaderVariable **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArray_GetExtend",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_GetExtend" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArray_GetExtend" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csShaderVariable *&_result_ref = (arg1)->GetExtend(arg2);
    result = (csShaderVariable **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_Put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  csShaderVariable **arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  csShaderVariable *temp3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csShaderVariableArray_Put",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_Put" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArray_Put" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csShaderVariableArray_Put" "', argument " "3"" of type '" "csShaderVariable *""'"); 
  }
  temp3 = reinterpret_cast< csShaderVariable * >(argp3);
  arg3 = &temp3;
  (arg1)->Put(arg2,(csShaderVariable *const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_Push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  csShaderVariable **arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csShaderVariable *temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArray_Push",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_Push" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariableArray_Push" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  temp2 = reinterpret_cast< csShaderVariable * >(argp2);
  arg2 = &temp2;
  result = (arg1)->Push((csShaderVariable *const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_PushSmart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  csShaderVariable **arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csShaderVariable *temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArray_PushSmart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_PushSmart" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariableArray_PushSmart" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  temp2 = reinterpret_cast< csShaderVariable * >(argp2);
  arg2 = &temp2;
  result = (arg1)->PushSmart((csShaderVariable *const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_Pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  csShaderVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariableArray_Pop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_Pop" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  result = (csShaderVariable *)(arg1)->Pop();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  csShaderVariable **arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  csShaderVariable *temp3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csShaderVariableArray_Insert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_Insert" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArray_Insert" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csShaderVariableArray_Insert" "', argument " "3"" of type '" "csShaderVariable *""'"); 
  }
  temp3 = reinterpret_cast< csShaderVariable * >(argp3);
  arg3 = &temp3;
  result = (bool)(arg1)->Insert(arg2,(csShaderVariable *const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_DeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariableArray_DeleteAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_DeleteAll" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  (arg1)->DeleteAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_Truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArray_Truncate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_Truncate" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArray_Truncate" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->Truncate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderVariableArray_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_Empty" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  (arg1)->Empty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_DeleteIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArray_DeleteIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_DeleteIndex" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArray_DeleteIndex" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndex(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_DeleteIndexFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArray_DeleteIndexFast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_DeleteIndexFast" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderVariableArray_DeleteIndexFast" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndexFast(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  csShaderVariable **arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csShaderVariable *temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArray_Delete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_Delete" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariableArray_Delete" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  temp2 = reinterpret_cast< csShaderVariable * >(argp2);
  arg2 = &temp2;
  result = (bool)(arg1)->Delete((csShaderVariable *const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderVariableArray_DeleteFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  csShaderVariable **arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csShaderVariable *temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderVariableArray_DeleteFast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderVariableArray_DeleteFast" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderVariableArray_DeleteFast" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  temp2 = reinterpret_cast< csShaderVariable * >(argp2);
  arg2 = &temp2;
  result = (bool)(arg1)->DeleteFast((csShaderVariable *const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csShaderVariableArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csShaderVariable * > *arg1 = (iArrayChangeAll<csShaderVariable * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csShaderVariableArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csShaderVariableArray" "', argument " "1"" of type '" "iArrayChangeAll<csShaderVariable * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csShaderVariable * > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csShaderVariableArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iArrayChangeAllTcsShaderVariable_p_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csDefaultRunLoop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csDefaultRunLoop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csDefaultRunLoop" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (bool)csDefaultRunLoop(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlatformStartup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlatformStartup",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlatformStartup" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (bool)csPlatformStartup(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPlatformShutdown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPlatformShutdown",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPlatformShutdown" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (bool)csPlatformShutdown(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPrintf__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int result;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPrintf",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPrintf" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  result = (int)csPrintf((char const *)arg1,arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPrintf(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,1);
  varargs = PyTuple_GetSlice(args,1,PyTuple_Size(args)+1);
  resultobj = _wrap_csPrintf__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_csFPrintf__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  FILE *arg1 = (FILE *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFPrintf",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FILE, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFPrintf" "', argument " "1"" of type '" "FILE *""'"); 
  }
  arg1 = reinterpret_cast< FILE * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csFPrintf" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)csFPrintf(arg1,(char const *)arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFPrintf(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,2);
  varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1);
  resultobj = _wrap_csFPrintf__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_csPrintfErr__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int result;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPrintfErr",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPrintfErr" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  result = (int)csPrintfErr((char const *)arg1,arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPrintfErr(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,1);
  varargs = PyTuple_GetSlice(args,1,PyTuple_Size(args)+1);
  resultobj = _wrap_csPrintfErr__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_csGetTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTicks result;
  
  if (!PyArg_ParseTuple(args,(char *)":csGetTicks")) SWIG_fail;
  result = (csTicks)csGetTicks();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGetMicroTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int64 result;
  
  if (!PyArg_ParseTuple(args,(char *)":csGetMicroTicks")) SWIG_fail;
  result = csGetMicroTicks();
  resultobj = SWIG_NewPointerObj((new int64(static_cast< const int64& >(result))), SWIGTYPE_p_int64_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSleep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSleep",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csSleep" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  csSleep(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGetUsername(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csString result;
  
  if (!PyArg_ParseTuple(args,(char *)":csGetUsername")) SWIG_fail;
  result = csGetUsername();
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGetPlatformConfigPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  bool arg2 ;
  csString result;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGetPlatformConfigPath",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGetPlatformConfigPath" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGetPlatformConfigPath" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  result = csGetPlatformConfigPath((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGetPlatformConfigPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  csString result;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGetPlatformConfigPath",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGetPlatformConfigPath" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  result = csGetPlatformConfigPath((char const *)arg1);
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGetPlatformConfigPath(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csGetPlatformConfigPath__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csGetPlatformConfigPath__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csGetPlatformConfigPath'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPluginRequest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csString arg1 ;
  csString arg2 ;
  scfInterfaceID arg3 ;
  int arg4 ;
  csPluginRequest *result = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csPluginRequest",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csString,  0  | 0);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPluginRequest" "', argument " "1"" of type '" "csString""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPluginRequest" "', argument " "1"" of type '" "csString""'");
    } else {
      csString * temp = reinterpret_cast< csString * >(argp1);
      arg1 = *temp;
      if (SWIG_IsNewObj(res1)) delete temp;
    }
  }
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csString,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csPluginRequest" "', argument " "2"" of type '" "csString""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPluginRequest" "', argument " "2"" of type '" "csString""'");
    } else {
      csString * temp = reinterpret_cast< csString * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csPluginRequest" "', argument " "3"" of type '" "scfInterfaceID""'");
  } 
  arg3 = static_cast< scfInterfaceID >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csPluginRequest" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (csPluginRequest *)new csPluginRequest(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPluginRequest, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPluginRequest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPluginRequest *arg1 = 0 ;
  csPluginRequest *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPluginRequest",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csPluginRequest,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPluginRequest" "', argument " "1"" of type '" "csPluginRequest const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPluginRequest" "', argument " "1"" of type '" "csPluginRequest const &""'"); 
  }
  arg1 = reinterpret_cast< csPluginRequest * >(argp1);
  result = (csPluginRequest *)new csPluginRequest((csPluginRequest const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPluginRequest, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPluginRequest(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csPluginRequest, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csPluginRequest__SWIG_1(self, args);
    }
  }
  if (argc == 4) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csString, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csString, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_new_csPluginRequest__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csPluginRequest'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequest_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPluginRequest *arg1 = (csPluginRequest *) 0 ;
  csPluginRequest *arg2 = 0 ;
  csPluginRequest *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequest_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPluginRequest, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequest_assign" "', argument " "1"" of type '" "csPluginRequest *""'"); 
  }
  arg1 = reinterpret_cast< csPluginRequest * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPluginRequest,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPluginRequest_assign" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPluginRequest_assign" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  arg2 = reinterpret_cast< csPluginRequest * >(argp2);
  {
    csPluginRequest &_result_ref = (arg1)->operator =((csPluginRequest const &)*arg2);
    result = (csPluginRequest *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPluginRequest, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequest___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPluginRequest *arg1 = (csPluginRequest *) 0 ;
  csPluginRequest *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequest___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPluginRequest, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequest___eq__" "', argument " "1"" of type '" "csPluginRequest const *""'"); 
  }
  arg1 = reinterpret_cast< csPluginRequest * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPluginRequest,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPluginRequest___eq__" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPluginRequest___eq__" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  arg2 = reinterpret_cast< csPluginRequest * >(argp2);
  result = (bool)((csPluginRequest const *)arg1)->operator ==((csPluginRequest const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequest___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPluginRequest *arg1 = (csPluginRequest *) 0 ;
  csPluginRequest *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequest___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPluginRequest, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequest___ne__" "', argument " "1"" of type '" "csPluginRequest const *""'"); 
  }
  arg1 = reinterpret_cast< csPluginRequest * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPluginRequest,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPluginRequest___ne__" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPluginRequest___ne__" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  arg2 = reinterpret_cast< csPluginRequest * >(argp2);
  result = (bool)((csPluginRequest const *)arg1)->operator !=((csPluginRequest const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequest_GetClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPluginRequest *arg1 = (csPluginRequest *) 0 ;
  csString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequest_GetClassName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPluginRequest, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequest_GetClassName" "', argument " "1"" of type '" "csPluginRequest const *""'"); 
  }
  arg1 = reinterpret_cast< csPluginRequest * >(argp1);
  result = ((csPluginRequest const *)arg1)->GetClassName();
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequest_GetInterfaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPluginRequest *arg1 = (csPluginRequest *) 0 ;
  csString result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequest_GetInterfaceName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPluginRequest, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequest_GetInterfaceName" "', argument " "1"" of type '" "csPluginRequest const *""'"); 
  }
  arg1 = reinterpret_cast< csPluginRequest * >(argp1);
  result = ((csPluginRequest const *)arg1)->GetInterfaceName();
  resultobj = SWIG_NewPointerObj((new csString(static_cast< const csString& >(result))), SWIGTYPE_p_csString, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequest_GetInterfaceID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPluginRequest *arg1 = (csPluginRequest *) 0 ;
  scfInterfaceID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequest_GetInterfaceID",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPluginRequest, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequest_GetInterfaceID" "', argument " "1"" of type '" "csPluginRequest const *""'"); 
  }
  arg1 = reinterpret_cast< csPluginRequest * >(argp1);
  result = (scfInterfaceID)((csPluginRequest const *)arg1)->GetInterfaceID();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequest_GetInterfaceVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPluginRequest *arg1 = (csPluginRequest *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequest_GetInterfaceVersion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPluginRequest, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequest_GetInterfaceVersion" "', argument " "1"" of type '" "csPluginRequest const *""'"); 
  }
  arg1 = reinterpret_cast< csPluginRequest * >(argp1);
  result = (int)((csPluginRequest const *)arg1)->GetInterfaceVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPluginRequest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPluginRequest *arg1 = (csPluginRequest *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPluginRequest",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPluginRequest, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPluginRequest" "', argument " "1"" of type '" "csPluginRequest *""'"); 
  }
  arg1 = reinterpret_cast< csPluginRequest * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPluginRequest_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPluginRequest, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csInitializer_CreateEnvironment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  char **arg2 ;
  iObjectRegistry *result = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_CreateEnvironment",&obj0)) SWIG_fail;
  {
    if (!PyList_Check(obj0))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    arg1 = PyList_Size(obj0);
    typedef char * Char_Ptr;
    arg2 = new Char_Ptr[arg1 + 1];
    for (int i = 0; i < arg1; ++i)
    {
      PyObject * o = PyList_GetItem(obj0, i);
      if (!PyString_Check(o))
      {
        PyErr_SetString(PyExc_TypeError, "list must contain strings");
        delete [] arg2;
        return 0;
      }
      arg2[i] = PyString_AsString(o);
    }
    arg2[arg1] = 0;
  }
  result = (iObjectRegistry *)csInitializer::CreateEnvironment(arg1,(char const *const (*))arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  {
    delete [] arg2;
  }
  return resultobj;
fail:
  {
    delete [] arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_InitializeSCF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  char **arg2 ;
  bool result;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_InitializeSCF",&obj0)) SWIG_fail;
  {
    if (!PyList_Check(obj0))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    arg1 = PyList_Size(obj0);
    typedef char * Char_Ptr;
    arg2 = new Char_Ptr[arg1 + 1];
    for (int i = 0; i < arg1; ++i)
    {
      PyObject * o = PyList_GetItem(obj0, i);
      if (!PyString_Check(o))
      {
        PyErr_SetString(PyExc_TypeError, "list must contain strings");
        delete [] arg2;
        return 0;
      }
      arg2[i] = PyString_AsString(o);
    }
    arg2[arg1] = 0;
  }
  result = (bool)csInitializer::InitializeSCF(arg1,(char const *const (*))arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  {
    delete [] arg2;
  }
  return resultobj;
fail:
  {
    delete [] arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CreateObjectRegistry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":csInitializer_CreateObjectRegistry")) SWIG_fail;
  result = (iObjectRegistry *)csInitializer::CreateObjectRegistry();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CreatePluginManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iPluginManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_CreatePluginManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_CreatePluginManager" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (iPluginManager *)csInitializer::CreatePluginManager(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPluginManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CreateEventQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iEventQueue *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_CreateEventQueue",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_CreateEventQueue" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (iEventQueue *)csInitializer::CreateEventQueue(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iEventQueue, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CreateVirtualClock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iVirtualClock *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_CreateVirtualClock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_CreateVirtualClock" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (iVirtualClock *)csInitializer::CreateVirtualClock(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iVirtualClock, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CreateCommandLineParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  int arg2 ;
  char **arg3 ;
  iCommandLineParser *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csInitializer_CreateCommandLineParser",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_CreateCommandLineParser" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  {
    if (!PyList_Check(obj1))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    arg2 = PyList_Size(obj1);
    typedef char * Char_Ptr;
    arg3 = new Char_Ptr[arg2 + 1];
    for (int i = 0; i < arg2; ++i)
    {
      PyObject * o = PyList_GetItem(obj1, i);
      if (!PyString_Check(o))
      {
        PyErr_SetString(PyExc_TypeError, "list must contain strings");
        delete [] arg3;
        return 0;
      }
      arg3[i] = PyString_AsString(o);
    }
    arg3[arg2] = 0;
  }
  result = (iCommandLineParser *)csInitializer::CreateCommandLineParser(arg1,arg2,(char const *const (*))arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCommandLineParser, 0 |  0 );
  {
    delete [] arg3;
  }
  return resultobj;
fail:
  {
    delete [] arg3;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CreateVerbosityManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iVerbosityManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_CreateVerbosityManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_CreateVerbosityManager" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (iVerbosityManager *)csInitializer::CreateVerbosityManager(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iVerbosityManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CreateConfigManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iConfigManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_CreateConfigManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_CreateConfigManager" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (iConfigManager *)csInitializer::CreateConfigManager(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iConfigManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CreateInputDrivers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_CreateInputDrivers",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_CreateInputDrivers" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (bool)csInitializer::CreateInputDrivers(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CreateStringSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_CreateStringSet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_CreateStringSet" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (bool)csInitializer::CreateStringSet(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_SetupConfigManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  {
    arg2 = 0; 
  }
  if (!PyArg_ParseTuple(args,(char *)"O|OO:csInitializer_SetupConfigManager",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_SetupConfigManager" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  if (obj1) {
    res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csInitializer_SetupConfigManager" "', argument " "2"" of type '" "char const *""'");
    }
    arg2 = buf2;
  }
  if (obj2) {
    res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csInitializer_SetupConfigManager" "', argument " "3"" of type '" "char const *""'");
    }
    arg3 = buf3;
  }
  result = (bool)csInitializer::SetupConfigManager(arg1,(char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_SetupVFS__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  iVFS *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csInitializer_SetupVFS",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_SetupVFS" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csInitializer_SetupVFS" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iVFS *)csInitializer::SetupVFS(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iVFS, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_SetupVFS__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iVFS *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_SetupVFS",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_SetupVFS" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (iVFS *)csInitializer::SetupVFS(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iVFS, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_SetupVFS(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csInitializer_SetupVFS__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csInitializer_SetupVFS__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csInitializer_SetupVFS'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer__RequestPlugins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csArray<csPluginRequest > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csInitializer__RequestPlugins",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer__RequestPlugins" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csInitializer__RequestPlugins" "', argument " "2"" of type '" "csArray<csPluginRequest > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csInitializer__RequestPlugins" "', argument " "2"" of type '" "csArray<csPluginRequest > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<csPluginRequest > * >(argp2);
  result = (bool)csInitializer::RequestPlugins(arg1,(csArray<csPluginRequest > const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_OpenApplication(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_OpenApplication",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_OpenApplication" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (bool)csInitializer::OpenApplication(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_CloseApplication(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_CloseApplication",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_CloseApplication" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  csInitializer::CloseApplication(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer__SetupEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csEventID *arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csInitializer__SetupEventHandler",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer__SetupEventHandler" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csInitializer__SetupEventHandler" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  {
    int cnt; 
    if (!PyList_Check(obj2))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    cnt = PyList_Size(obj2);
    csEventID * ptr = new csEventID[cnt];
    for (int i = 0; i < cnt; ++i)
    {
      PyObject * o = PyList_GetItem(obj2, i);
      if (!PyNumber_Check(o))
      {
        PyErr_SetString(PyExc_TypeError, "list must contain numbers");
        delete [] ptr;
        return 0;
      }
      ptr[i] = (csEventID) PyInt_AsUnsignedLongMask(o);
    }
    arg3 = ptr;
  }
  result = (bool)csInitializer::SetupEventHandler(arg1,arg2,(unsigned long const (*))arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_DestroyApplication(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csInitializer_DestroyApplication",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInitializer_DestroyApplication" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  csInitializer::DestroyApplication(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInitializer_GetDefaultAppID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":csInitializer_GetDefaultAppID")) SWIG_fail;
  result = (char *)csInitializer::GetDefaultAppID();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csInitializer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csInitializer *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csInitializer")) SWIG_fail;
  result = (csInitializer *)new csInitializer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csInitializer, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csInitializer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csInitializer *arg1 = (csInitializer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csInitializer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csInitializer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csInitializer" "', argument " "1"" of type '" "csInitializer *""'"); 
  }
  arg1 = reinterpret_cast< csInitializer * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csInitializer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csInitializer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csPluginRequestArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csArrayCapacityDefault *arg2 = 0 ;
  csArray<csPluginRequest > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csPluginRequestArray",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPluginRequestArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayCapacityDefault,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csPluginRequestArray" "', argument " "2"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPluginRequestArray" "', argument " "2"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  arg2 = reinterpret_cast< csArrayCapacityDefault * >(argp2);
  result = (csArray<csPluginRequest > *)new csArray<csPluginRequest >(arg1,(csArrayCapacityDefault const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPluginRequestArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csArray<csPluginRequest > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPluginRequestArray",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPluginRequestArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csArray<csPluginRequest > *)new csArray<csPluginRequest >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPluginRequestArray__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csPluginRequestArray")) SWIG_fail;
  result = (csArray<csPluginRequest > *)new csArray<csPluginRequest >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPluginRequestArray__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  CS::Memory::AllocatorMalloc *arg2 = 0 ;
  csArrayCapacityDefault *arg3 = 0 ;
  csArray<csPluginRequest > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csPluginRequestArray",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPluginRequestArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CS__Memory__AllocatorMalloc,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csPluginRequestArray" "', argument " "2"" of type '" "CS::Memory::AllocatorMalloc const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPluginRequestArray" "', argument " "2"" of type '" "CS::Memory::AllocatorMalloc const &""'"); 
  }
  arg2 = reinterpret_cast< CS::Memory::AllocatorMalloc * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csArrayCapacityDefault,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csPluginRequestArray" "', argument " "3"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPluginRequestArray" "', argument " "3"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  arg3 = reinterpret_cast< csArrayCapacityDefault * >(argp3);
  result = (csArray<csPluginRequest > *)new csArray<csPluginRequest >(arg1,(CS::Memory::AllocatorMalloc const &)*arg2,(csArrayCapacityDefault const &)*arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPluginRequestArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPluginRequestArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPluginRequestArray" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPluginRequestArray__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = 0 ;
  csArray<csPluginRequest > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPluginRequestArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPluginRequestArray" "', argument " "1"" of type '" "csArray<csPluginRequest > const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPluginRequestArray" "', argument " "1"" of type '" "csArray<csPluginRequest > const &""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  result = (csArray<csPluginRequest > *)new csArray<csPluginRequest >((csArray<csPluginRequest > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPluginRequestArray(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csPluginRequestArray__SWIG_2(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csPluginRequestArray__SWIG_4(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csPluginRequestArray__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csArrayCapacityDefault, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csPluginRequestArray__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CS__Memory__AllocatorMalloc, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csArrayCapacityDefault, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csPluginRequestArray__SWIG_3(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csPluginRequestArray'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequestArray_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_GetSize" "', argument " "1"" of type '" "csArray<csPluginRequest > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  result = ((csArray<csPluginRequest > const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_Length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequestArray_Length",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_Length" "', argument " "1"" of type '" "csArray<csPluginRequest > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  result = ((csArray<csPluginRequest > const *)arg1)->Length();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  size_t arg2 ;
  csPluginRequest *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequestArray_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_Get" "', argument " "1"" of type '" "csArray<csPluginRequest > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPluginRequestArray_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csPluginRequest const &_result_ref = ((csArray<csPluginRequest > const *)arg1)->Get(arg2);
    result = (csPluginRequest *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPluginRequest, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_Push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  csPluginRequest *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequestArray_Push",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_Push" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPluginRequest,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPluginRequestArray_Push" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPluginRequestArray_Push" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  arg2 = reinterpret_cast< csPluginRequest * >(argp2);
  result = (arg1)->Push((csPluginRequest const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_Pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  SwigValueWrapper<csPluginRequest > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequestArray_Pop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_Pop" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  result = (arg1)->Pop();
  resultobj = SWIG_NewPointerObj((new csPluginRequest(static_cast< const csPluginRequest& >(result))), SWIGTYPE_p_csPluginRequest, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  csPluginRequest *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequestArray_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_Top" "', argument " "1"" of type '" "csArray<csPluginRequest > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  {
    csPluginRequest const &_result_ref = ((csArray<csPluginRequest > const *)arg1)->Top();
    result = (csPluginRequest *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPluginRequest, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  size_t arg2 ;
  csPluginRequest *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPluginRequestArray_Insert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_Insert" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPluginRequestArray_Insert" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPluginRequest,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPluginRequestArray_Insert" "', argument " "3"" of type '" "csPluginRequest const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPluginRequestArray_Insert" "', argument " "3"" of type '" "csPluginRequest const &""'"); 
  }
  arg3 = reinterpret_cast< csPluginRequest * >(argp3);
  result = (bool)(arg1)->Insert(arg2,(csPluginRequest const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  csPluginRequest *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequestArray_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_Contains" "', argument " "1"" of type '" "csArray<csPluginRequest > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPluginRequest,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPluginRequestArray_Contains" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPluginRequestArray_Contains" "', argument " "2"" of type '" "csPluginRequest const &""'"); 
  }
  arg2 = reinterpret_cast< csPluginRequest * >(argp2);
  result = ((csArray<csPluginRequest > const *)arg1)->Contains((csPluginRequest const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_Truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequestArray_Truncate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_Truncate" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPluginRequestArray_Truncate" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->Truncate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequestArray_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_Empty" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  (arg1)->Empty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequestArray_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_IsEmpty" "', argument " "1"" of type '" "csArray<csPluginRequest > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  result = (bool)((csArray<csPluginRequest > const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_SetMinimalCapacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequestArray_SetMinimalCapacity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_SetMinimalCapacity" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPluginRequestArray_SetMinimalCapacity" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->SetMinimalCapacity(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_DeleteIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequestArray_DeleteIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_DeleteIndex" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPluginRequestArray_DeleteIndex" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndex(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_DeleteIndexFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequestArray_DeleteIndexFast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_DeleteIndexFast" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPluginRequestArray_DeleteIndexFast" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndexFast(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_DeleteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  size_t arg2 ;
  size_t arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPluginRequestArray_DeleteRange",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_DeleteRange" "', argument " "1"" of type '" "csArray<csPluginRequest > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPluginRequestArray_DeleteRange" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPluginRequestArray_DeleteRange" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (bool)(arg1)->DeleteRange(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  csArray<csPluginRequest > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequestArray___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray___eq__" "', argument " "1"" of type '" "csArray<csPluginRequest > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPluginRequestArray___eq__" "', argument " "2"" of type '" "csArray<csPluginRequest > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPluginRequestArray___eq__" "', argument " "2"" of type '" "csArray<csPluginRequest > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<csPluginRequest > * >(argp2);
  result = (bool)((csArray<csPluginRequest > const *)arg1)->operator ==((csArray<csPluginRequest > const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  csArray<csPluginRequest > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPluginRequestArray___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray___ne__" "', argument " "1"" of type '" "csArray<csPluginRequest > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPluginRequestArray___ne__" "', argument " "2"" of type '" "csArray<csPluginRequest > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPluginRequestArray___ne__" "', argument " "2"" of type '" "csArray<csPluginRequest > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<csPluginRequest > * >(argp2);
  result = (bool)((csArray<csPluginRequest > const *)arg1)->operator !=((csArray<csPluginRequest > const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPluginRequestArray_GetAllocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csPluginRequest > *arg1 = (csArray<csPluginRequest > *) 0 ;
  CS::Memory::AllocatorMalloc *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPluginRequestArray_GetAllocator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPluginRequestArray_GetAllocator" "', argument " "1"" of type '" "csArray<csPluginRequest > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csPluginRequest > * >(argp1);
  {
    CS::Memory::AllocatorMalloc const &_result_ref = ((csArray<csPluginRequest > const *)arg1)->GetAllocator();
    result = (CS::Memory::AllocatorMalloc *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CS__Memory__AllocatorMalloc, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPluginRequestArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN int aws_debug_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable aws_debug is read-only.");
  return 1;
}


SWIGINTERN PyObject *aws_debug_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_bool(static_cast< bool >(aws_debug));
  return pyobj;
}


SWIGINTERN int AWSF_AlwaysEraseWindows_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable AWSF_AlwaysEraseWindows is read-only.");
  return 1;
}


SWIGINTERN PyObject *AWSF_AlwaysEraseWindows_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_int(static_cast< int >(AWSF_AlwaysEraseWindows));
  return pyobj;
}


SWIGINTERN int AWSF_AlwaysRedrawWindows_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable AWSF_AlwaysRedrawWindows is read-only.");
  return 1;
}


SWIGINTERN PyObject *AWSF_AlwaysRedrawWindows_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_int(static_cast< int >(AWSF_AlwaysRedrawWindows));
  return pyobj;
}


SWIGINTERN int AWSF_RaiseOnMouseOver_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable AWSF_RaiseOnMouseOver is read-only.");
  return 1;
}


SWIGINTERN PyObject *AWSF_RaiseOnMouseOver_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_int(static_cast< int >(AWSF_RaiseOnMouseOver));
  return pyobj;
}


SWIGINTERN int AWSF_KeyboardControl_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable AWSF_KeyboardControl is read-only.");
  return 1;
}


SWIGINTERN PyObject *AWSF_KeyboardControl_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_int(static_cast< int >(AWSF_KeyboardControl));
  return pyobj;
}


SWIGINTERN PyObject *_wrap_iAwsKey_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKey *arg1 = (iAwsKey *) 0 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsKey_Type",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKey_Type" "', argument " "1"" of type '" "iAwsKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKey * >(argp1);
  result = ((iAwsKey const *)arg1)->Type();
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKey_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKey *arg1 = (iAwsKey *) 0 ;
  unsigned long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsKey_Name",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKey_Name" "', argument " "1"" of type '" "iAwsKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKey * >(argp1);
  result = (unsigned long)((iAwsKey const *)arg1)->Name();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKey *arg1 = (iAwsKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKey, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsKey" "', argument " "1"" of type '" "iAwsKey *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKey * >(argp1);
  delete_iAwsKey(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKey_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iAwsKey_scfGetVersion")) SWIG_fail;
  result = (int)iAwsKey_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsKey_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsKey, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsIntKey_Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsIntKey *arg1 = (iAwsIntKey *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsIntKey_Value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsIntKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsIntKey_Value" "', argument " "1"" of type '" "iAwsIntKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsIntKey * >(argp1);
  result = (int)((iAwsIntKey const *)arg1)->Value();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsIntKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsIntKey *arg1 = (iAwsIntKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsIntKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsIntKey, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsIntKey" "', argument " "1"" of type '" "iAwsIntKey *""'"); 
  }
  arg1 = reinterpret_cast< iAwsIntKey * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsIntKey_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsIntKey, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsFloatKey_Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsFloatKey *arg1 = (iAwsFloatKey *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsFloatKey_Value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsFloatKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsFloatKey_Value" "', argument " "1"" of type '" "iAwsFloatKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsFloatKey * >(argp1);
  result = (float)((iAwsFloatKey const *)arg1)->Value();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsFloatKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsFloatKey *arg1 = (iAwsFloatKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsFloatKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsFloatKey, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsFloatKey" "', argument " "1"" of type '" "iAwsFloatKey *""'"); 
  }
  arg1 = reinterpret_cast< iAwsFloatKey * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsFloatKey_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsFloatKey, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsStringKey_Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsStringKey *arg1 = (iAwsStringKey *) 0 ;
  iString *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsStringKey_Value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsStringKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsStringKey_Value" "', argument " "1"" of type '" "iAwsStringKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsStringKey * >(argp1);
  result = (iString *)((iAwsStringKey const *)arg1)->Value();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iString, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsStringKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsStringKey *arg1 = (iAwsStringKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsStringKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsStringKey, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsStringKey" "', argument " "1"" of type '" "iAwsStringKey *""'"); 
  }
  arg1 = reinterpret_cast< iAwsStringKey * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsStringKey_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsStringKey, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsRectKey_Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsRectKey *arg1 = (iAwsRectKey *) 0 ;
  csRect result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsRectKey_Value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsRectKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsRectKey_Value" "', argument " "1"" of type '" "iAwsRectKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsRectKey * >(argp1);
  result = ((iAwsRectKey const *)arg1)->Value();
  resultobj = SWIG_NewPointerObj((new csRect(static_cast< const csRect& >(result))), SWIGTYPE_p_csRect, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsRectKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsRectKey *arg1 = (iAwsRectKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsRectKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsRectKey, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsRectKey" "', argument " "1"" of type '" "iAwsRectKey *""'"); 
  }
  arg1 = reinterpret_cast< iAwsRectKey * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsRectKey_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsRectKey, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsRGBKey_Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsRGBKey *arg1 = (iAwsRGBKey *) 0 ;
  iAwsRGBKey::RGB *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsRGBKey_Value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsRGBKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsRGBKey_Value" "', argument " "1"" of type '" "iAwsRGBKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsRGBKey * >(argp1);
  {
    iAwsRGBKey::RGB const &_result_ref = ((iAwsRGBKey const *)arg1)->Value();
    result = (iAwsRGBKey::RGB *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsRGBKey__RGB, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsRGBKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsRGBKey *arg1 = (iAwsRGBKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsRGBKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsRGBKey, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsRGBKey" "', argument " "1"" of type '" "iAwsRGBKey *""'"); 
  }
  arg1 = reinterpret_cast< iAwsRGBKey * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsRGBKey_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsRGBKey, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsPointKey_Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPointKey *arg1 = (iAwsPointKey *) 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsPointKey_Value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPointKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPointKey_Value" "', argument " "1"" of type '" "iAwsPointKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPointKey * >(argp1);
  result = ((iAwsPointKey const *)arg1)->Value();
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsPointKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPointKey *arg1 = (iAwsPointKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsPointKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPointKey, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsPointKey" "', argument " "1"" of type '" "iAwsPointKey *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPointKey * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsPointKey_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsPointKey, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsConnectionKey_Sink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsConnectionKey *arg1 = (iAwsConnectionKey *) 0 ;
  iAwsSink *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsConnectionKey_Sink",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsConnectionKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsConnectionKey_Sink" "', argument " "1"" of type '" "iAwsConnectionKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsConnectionKey * >(argp1);
  result = (iAwsSink *)((iAwsConnectionKey const *)arg1)->Sink();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsSink, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsConnectionKey_Trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsConnectionKey *arg1 = (iAwsConnectionKey *) 0 ;
  unsigned long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsConnectionKey_Trigger",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsConnectionKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsConnectionKey_Trigger" "', argument " "1"" of type '" "iAwsConnectionKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsConnectionKey * >(argp1);
  result = (unsigned long)((iAwsConnectionKey const *)arg1)->Trigger();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsConnectionKey_Signal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsConnectionKey *arg1 = (iAwsConnectionKey *) 0 ;
  unsigned long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsConnectionKey_Signal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsConnectionKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsConnectionKey_Signal" "', argument " "1"" of type '" "iAwsConnectionKey const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsConnectionKey * >(argp1);
  result = (unsigned long)((iAwsConnectionKey const *)arg1)->Signal();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsConnectionKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsConnectionKey *arg1 = (iAwsConnectionKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsConnectionKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsConnectionKey, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsConnectionKey" "', argument " "1"" of type '" "iAwsConnectionKey *""'"); 
  }
  arg1 = reinterpret_cast< iAwsConnectionKey * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsConnectionKey_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsConnectionKey, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  iString *arg2 = (iString *) 0 ;
  iAwsKey *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyContainer_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Find" "', argument " "1"" of type '" "iAwsKeyContainer const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyContainer_Find" "', argument " "2"" of type '" "iString *""'"); 
  }
  arg2 = reinterpret_cast< iString * >(argp2);
  result = (iAwsKey *)((iAwsKeyContainer const *)arg1)->Find(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsKey, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsKey *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyContainer_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Find" "', argument " "1"" of type '" "iAwsKeyContainer const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyContainer_Find" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iAwsKey *)((iAwsKeyContainer const *)arg1)->Find((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsKey, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Find__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  unsigned long arg2 ;
  iAwsKey *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyContainer_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Find" "', argument " "1"" of type '" "iAwsKeyContainer const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsKeyContainer_Find" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  result = (iAwsKey *)((iAwsKeyContainer const *)arg1)->Find(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsKey, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Find(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsKeyContainer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iString, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsKeyContainer_Find__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsKeyContainer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iAwsKeyContainer_Find__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsKeyContainer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsKeyContainer_Find__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsKeyContainer_Find'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Children(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  csRefArray<iAwsKey > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsKeyContainer_Children",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Children" "', argument " "1"" of type '" "iAwsKeyContainer const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  {
    csRefArray<iAwsKey > const &_result_ref = ((iAwsKeyContainer const *)arg1)->Children();
    result = (csRefArray<iAwsKey > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRefArrayTiAwsKey_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  iAwsKey *arg2 = (iAwsKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyContainer_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Add" "', argument " "1"" of type '" "iAwsKeyContainer *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsKey, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyContainer_Add" "', argument " "2"" of type '" "iAwsKey *""'"); 
  }
  arg2 = reinterpret_cast< iAwsKey * >(argp2);
  (arg1)->Add(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_GetAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  int arg2 ;
  iAwsKey *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyContainer_GetAt",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_GetAt" "', argument " "1"" of type '" "iAwsKeyContainer const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsKeyContainer_GetAt" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iAwsKey *)((iAwsKeyContainer const *)arg1)->GetAt(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsKey, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsKeyContainer_Length",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Length" "', argument " "1"" of type '" "iAwsKeyContainer const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  result = (int)((iAwsKeyContainer const *)arg1)->Length();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  iString *arg2 = (iString *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyContainer_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Remove" "', argument " "1"" of type '" "iAwsKeyContainer *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyContainer_Remove" "', argument " "2"" of type '" "iString *""'"); 
  }
  arg2 = reinterpret_cast< iString * >(argp2);
  (arg1)->Remove(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyContainer_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Remove" "', argument " "1"" of type '" "iAwsKeyContainer *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyContainer_Remove" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->Remove((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Remove__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  iAwsKey *arg2 = (iAwsKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyContainer_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Remove" "', argument " "1"" of type '" "iAwsKeyContainer *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsKey, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyContainer_Remove" "', argument " "2"" of type '" "iAwsKey *""'"); 
  }
  arg2 = reinterpret_cast< iAwsKey * >(argp2);
  (arg1)->Remove(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Remove(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsKeyContainer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iString, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsKeyContainer_Remove__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsKeyContainer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iAwsKey, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsKeyContainer_Remove__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsKeyContainer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsKeyContainer_Remove__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsKeyContainer_Remove'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsKeyContainer_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_RemoveAll" "', argument " "1"" of type '" "iAwsKeyContainer *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  (arg1)->RemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyContainer_Consume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  iAwsKeyContainer *arg2 = (iAwsKeyContainer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyContainer_Consume",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyContainer_Consume" "', argument " "1"" of type '" "iAwsKeyContainer *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyContainer_Consume" "', argument " "2"" of type '" "iAwsKeyContainer *""'"); 
  }
  arg2 = reinterpret_cast< iAwsKeyContainer * >(argp2);
  (arg1)->Consume(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsKeyContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyContainer *arg1 = (iAwsKeyContainer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsKeyContainer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyContainer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsKeyContainer" "', argument " "1"" of type '" "iAwsKeyContainer *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyContainer * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsKeyContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsKeyContainer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsComponentNode_ComponentTypeName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponentNode *arg1 = (iAwsComponentNode *) 0 ;
  iString *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponentNode_ComponentTypeName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponentNode_ComponentTypeName" "', argument " "1"" of type '" "iAwsComponentNode const *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponentNode * >(argp1);
  result = (iString *)((iAwsComponentNode const *)arg1)->ComponentTypeName();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iString, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsComponentNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponentNode *arg1 = (iAwsComponentNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsComponentNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponentNode, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsComponentNode" "', argument " "1"" of type '" "iAwsComponentNode *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponentNode * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsComponentNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsComponentNode, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAws_GetPrefMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsPrefManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GetPrefMgr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GetPrefMgr" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iAwsPrefManager *)(arg1)->GetPrefMgr();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GetSinkMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsSinkManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GetSinkMgr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GetSinkMgr" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iAwsSinkManager *)(arg1)->GetSinkMgr();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsSinkManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetPrefMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsPrefManager *arg2 = (iAwsPrefManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_SetPrefMgr",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetPrefMgr" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_SetPrefMgr" "', argument " "2"" of type '" "iAwsPrefManager *""'"); 
  }
  arg2 = reinterpret_cast< iAwsPrefManager * >(argp2);
  (arg1)->SetPrefMgr(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GetStringTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iStringSet *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GetStringTable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GetStringTable" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iStringSet *)(arg1)->GetStringTable();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iStringSet, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_RegisterComponentFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponentFactory *arg2 = (iAwsComponentFactory *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAws_RegisterComponentFactory",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_RegisterComponentFactory" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponentFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_RegisterComponentFactory" "', argument " "2"" of type '" "iAwsComponentFactory *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponentFactory * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAws_RegisterComponentFactory" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->RegisterComponentFactory(arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_FindComponentFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsComponentFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_FindComponentFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_FindComponentFactory" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_FindComponentFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iAwsComponentFactory *)(arg1)->FindComponentFactory((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponentFactory, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GetTopComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GetTopComponent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GetTopComponent" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iAwsComponent *)(arg1)->GetTopComponent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetTopComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_SetTopComponent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetTopComponent" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_SetTopComponent" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->SetTopComponent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GetFocusedComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GetFocusedComponent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GetFocusedComponent" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iAwsComponent *)(arg1)->GetFocusedComponent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetFocusedComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_SetFocusedComponent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetFocusedComponent" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_SetFocusedComponent" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->SetFocusedComponent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GetKeyboardFocusedComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GetKeyboardFocusedComponent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GetKeyboardFocusedComponent" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iAwsComponent *)(arg1)->GetKeyboardFocusedComponent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_ComponentAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  int arg2 ;
  int arg3 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAws_ComponentAt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_ComponentAt" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_ComponentAt" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAws_ComponentAt" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (iAwsComponent *)(arg1)->ComponentAt(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseInComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  int arg2 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAws_MouseInComponent",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseInComponent" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_MouseInComponent" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAws_MouseInComponent" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)(arg1)->MouseInComponent(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_Print__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  uint8 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAws_Print",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_Print" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_Print" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAws_Print" "', argument " "3"" of type '" "uint8""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAws_Print" "', argument " "3"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  (arg1)->Print(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_Print__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_Print",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_Print" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_Print" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  (arg1)->Print(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_Print(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAws_Print__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint8_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAws_Print__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAws_Print'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_Redraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_Redraw",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_Redraw" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  (arg1)->Redraw();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_Mark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_Mark",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_Mark" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_Mark" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAws_Mark" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Mark((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_Unmark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_Unmark",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_Unmark" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_Unmark" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAws_Unmark" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Unmark((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_Erase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_Erase",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_Erase" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_Erase" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAws_Erase" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Erase((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MaskEraser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_MaskEraser",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MaskEraser" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_MaskEraser" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAws_MaskEraser" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->MaskEraser((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_InvalidateUpdateStore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_InvalidateUpdateStore",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_InvalidateUpdateStore" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  (arg1)->InvalidateUpdateStore();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_CaptureMouse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_CaptureMouse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_CaptureMouse" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_CaptureMouse" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->CaptureMouse(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_ReleaseMouse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_ReleaseMouse",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_ReleaseMouse" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  (arg1)->ReleaseMouse();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_SetModal",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetModal" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_SetModal" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->SetModal(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_UnSetModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_UnSetModal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_UnSetModal" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  (arg1)->UnSetModal();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_HandleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iEvent *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_HandleEvent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_HandleEvent" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iEvent,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_HandleEvent" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAws_HandleEvent" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (bool)(arg1)->HandleEvent(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetupCanvas__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsCanvas *arg2 = (iAwsCanvas *) 0 ;
  iGraphics2D *arg3 = (iGraphics2D *) 0 ;
  iGraphics3D *arg4 = (iGraphics3D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAws_SetupCanvas",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetupCanvas" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsCanvas, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_SetupCanvas" "', argument " "2"" of type '" "iAwsCanvas *""'"); 
  }
  arg2 = reinterpret_cast< iAwsCanvas * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAws_SetupCanvas" "', argument " "3"" of type '" "iGraphics2D *""'"); 
  }
  arg3 = reinterpret_cast< iGraphics2D * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAws_SetupCanvas" "', argument " "4"" of type '" "iGraphics3D *""'"); 
  }
  arg4 = reinterpret_cast< iGraphics3D * >(argp4);
  result = (bool)(arg1)->SetupCanvas(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetupCanvas__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsCanvas *arg2 = (iAwsCanvas *) 0 ;
  iGraphics2D *arg3 = (iGraphics2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAws_SetupCanvas",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetupCanvas" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsCanvas, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_SetupCanvas" "', argument " "2"" of type '" "iAwsCanvas *""'"); 
  }
  arg2 = reinterpret_cast< iAwsCanvas * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAws_SetupCanvas" "', argument " "3"" of type '" "iGraphics2D *""'"); 
  }
  arg3 = reinterpret_cast< iGraphics2D * >(argp3);
  result = (bool)(arg1)->SetupCanvas(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetupCanvas__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsCanvas *arg2 = (iAwsCanvas *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_SetupCanvas",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetupCanvas" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsCanvas, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_SetupCanvas" "', argument " "2"" of type '" "iAwsCanvas *""'"); 
  }
  arg2 = reinterpret_cast< iAwsCanvas * >(argp2);
  result = (bool)(arg1)->SetupCanvas(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsCanvas *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GetCanvas",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GetCanvas" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iAwsCanvas *)(arg1)->GetCanvas();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsCanvas, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_G2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iGraphics2D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_G2D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_G2D" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iGraphics2D *)(arg1)->G2D();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGraphics2D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_G3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iGraphics3D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_G3D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_G3D" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iGraphics3D *)(arg1)->G3D();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGraphics3D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_CreateWindowFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_CreateWindowFrom",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_CreateWindowFrom" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_CreateWindowFrom" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iAwsComponent *)(arg1)->CreateWindowFrom((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_CreateEmbeddableComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_CreateEmbeddableComponent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_CreateEmbeddableComponent" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_CreateEmbeddableComponent" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  result = (iAwsComponent *)(arg1)->CreateEmbeddableComponent(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_CreateParmList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsParmList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_CreateParmList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_CreateParmList" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iAwsParmList *)(arg1)->CreateParmList();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsParmList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_CreateTransition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  unsigned int arg3 ;
  csTicks arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAws_CreateTransition",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_CreateTransition" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_CreateTransition" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAws_CreateTransition" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAws_CreateTransition" "', argument " "4"" of type '" "csTicks""'");
  } 
  arg4 = static_cast< csTicks >(val4);
  (arg1)->CreateTransition(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_CreateTransition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  unsigned int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAws_CreateTransition",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_CreateTransition" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_CreateTransition" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAws_CreateTransition" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  (arg1)->CreateTransition(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_CreateTransition(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iAwsComponent, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iAws_CreateTransition__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iAwsComponent, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iAws_CreateTransition__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAws_CreateTransition'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_CreateTransitionEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  unsigned int arg3 ;
  csTicks arg4 ;
  csRect *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iAws_CreateTransitionEx",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_CreateTransitionEx" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_CreateTransitionEx" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAws_CreateTransitionEx" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAws_CreateTransitionEx" "', argument " "4"" of type '" "csTicks""'");
  } 
  arg4 = static_cast< csTicks >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csRect,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iAws_CreateTransitionEx" "', argument " "5"" of type '" "csRect &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAws_CreateTransitionEx" "', argument " "5"" of type '" "csRect &""'"); 
  }
  arg5 = reinterpret_cast< csRect * >(argp5);
  (arg1)->CreateTransitionEx(arg2,arg3,arg4,*arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_SetFlag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetFlag" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_SetFlag" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  (arg1)->SetFlag(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_ClearFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_ClearFlag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_ClearFlag" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_ClearFlag" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  (arg1)->ClearFlag(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GetFlags" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (unsigned int)(arg1)->GetFlags();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GetObjectRegistry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iObjectRegistry *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GetObjectRegistry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GetObjectRegistry" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (iObjectRegistry *)(arg1)->GetObjectRegistry();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_AllWindowsHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_AllWindowsHidden",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_AllWindowsHidden" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (bool)(arg1)->AllWindowsHidden();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_ComponentIsInTransition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_ComponentIsInTransition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_ComponentIsInTransition" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_ComponentIsInTransition" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  result = (bool)(arg1)->ComponentIsInTransition(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_ComponentDestroyed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_ComponentDestroyed",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_ComponentDestroyed" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_ComponentDestroyed" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->ComponentDestroyed(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_DeleteMarkedComponents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_DeleteMarkedComponents",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_DeleteMarkedComponents" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  (arg1)->DeleteMarkedComponents();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MarkToDeleteRecursively(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_MarkToDeleteRecursively",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MarkToDeleteRecursively" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_MarkToDeleteRecursively" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->MarkToDeleteRecursively(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_PreProcess_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_PreProcess_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_PreProcess_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_PreProcess_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->PreProcess = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_PreProcess_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_PreProcess_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_PreProcess_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->PreProcess);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseDown_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_MouseDown_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseDown_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_MouseDown_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->MouseDown = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseDown_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_MouseDown_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseDown_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->MouseDown);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseUp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_MouseUp_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseUp_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_MouseUp_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->MouseUp = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseUp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_MouseUp_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseUp_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->MouseUp);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseClick_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_MouseClick_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseClick_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_MouseClick_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->MouseClick = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseClick_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_MouseClick_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseClick_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->MouseClick);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseMove_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_MouseMove_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseMove_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_MouseMove_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->MouseMove = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseMove_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_MouseMove_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseMove_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->MouseMove);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_KeyboardDown_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_KeyboardDown_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_KeyboardDown_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_KeyboardDown_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->KeyboardDown = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_KeyboardDown_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_KeyboardDown_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_KeyboardDown_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->KeyboardDown);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_KeyboardUp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_KeyboardUp_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_KeyboardUp_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_KeyboardUp_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->KeyboardUp = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_KeyboardUp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_KeyboardUp_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_KeyboardUp_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->KeyboardUp);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseEnter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_MouseEnter_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseEnter_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_MouseEnter_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->MouseEnter = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseEnter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_MouseEnter_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseEnter_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->MouseEnter);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseExit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_MouseExit_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseExit_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_MouseExit_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->MouseExit = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_MouseExit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_MouseExit_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_MouseExit_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->MouseExit);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_LoseFocus_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_LoseFocus_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_LoseFocus_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_LoseFocus_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->LoseFocus = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_LoseFocus_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_LoseFocus_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_LoseFocus_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->LoseFocus);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GainFocus_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_GainFocus_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GainFocus_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_GainFocus_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->GainFocus = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GainFocus_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GainFocus_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GainFocus_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->GainFocus);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GroupOff_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_GroupOff_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GroupOff_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_GroupOff_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->GroupOff = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_GroupOff_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_GroupOff_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_GroupOff_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->GroupOff);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_FrameStart_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_FrameStart_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_FrameStart_set" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAws_FrameStart_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->FrameStart = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_FrameStart_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_FrameStart_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_FrameStart_get" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (csEventID) ((arg1)->FrameStart);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAws(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAws",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAws" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  delete_iAws(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iAws_scfGetVersion")) SWIG_fail;
  result = (int)iAws_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetupCanvas__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iGraphics2D *arg2 = (iGraphics2D *) 0 ;
  iGraphics3D *arg3 = (iGraphics3D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAws_SetupCanvas",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetupCanvas" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_SetupCanvas" "', argument " "2"" of type '" "iGraphics2D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics2D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAws_SetupCanvas" "', argument " "3"" of type '" "iGraphics3D *""'"); 
  }
  arg3 = reinterpret_cast< iGraphics3D * >(argp3);
  result = (bool)iAws_SetupCanvas__SWIG_3(arg1,arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetupCanvas__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  iGraphics2D *arg2 = (iGraphics2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAws_SetupCanvas",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetupCanvas" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAws_SetupCanvas" "', argument " "2"" of type '" "iGraphics2D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics2D * >(argp2);
  result = (bool)iAws_SetupCanvas__SWIG_3(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetupCanvas__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAws *arg1 = (iAws *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAws_SetupCanvas",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAws_SetupCanvas" "', argument " "1"" of type '" "iAws *""'"); 
  }
  arg1 = reinterpret_cast< iAws * >(argp1);
  result = (bool)iAws_SetupCanvas__SWIG_3(arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAws_SetupCanvas(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iAws_SetupCanvas__SWIG_5(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics2D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAws_SetupCanvas__SWIG_4(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iAwsCanvas, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAws_SetupCanvas__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iAwsCanvas, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iGraphics2D, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAws_SetupCanvas__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics2D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iGraphics3D, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAws_SetupCanvas__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAws, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iAwsCanvas, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iGraphics2D, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iGraphics3D, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iAws_SetupCanvas__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAws_SetupCanvas'");
  return NULL;
}


SWIGINTERN PyObject *iAws_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAws, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsPrefManager_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iObjectRegistry *arg2 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_Setup",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_Setup" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_Setup" "', argument " "2"" of type '" "iObjectRegistry *""'"); 
  }
  arg2 = reinterpret_cast< iObjectRegistry * >(argp2);
  result = (bool)(arg1)->Setup(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_Load",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_Load" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->Load((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_NameToId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  unsigned long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_NameToId",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_NameToId" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_NameToId" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (unsigned long)(arg1)->NameToId((char const *)arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_SelectDefaultSkin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_SelectDefaultSkin",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_SelectDefaultSkin" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_SelectDefaultSkin" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->SelectDefaultSkin((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupIntKey__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_LookupIntKey",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupIntKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_LookupIntKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->LookupIntKey((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupIntKey__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  unsigned long arg2 ;
  int *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_LookupIntKey",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupIntKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsPrefManager_LookupIntKey" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  result = (bool)(arg1)->LookupIntKey(arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupIntKey(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iAwsPrefManager_LookupIntKey__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsPrefManager_LookupIntKey__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsPrefManager_LookupIntKey'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupStringKey__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iString **arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_LookupStringKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupStringKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_LookupStringKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iString,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_LookupStringKey" "', argument " "3"" of type '" "iString *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupStringKey" "', argument " "3"" of type '" "iString *&""'"); 
  }
  arg3 = reinterpret_cast< iString ** >(argp3);
  result = (bool)(arg1)->LookupStringKey((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupStringKey__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  unsigned long arg2 ;
  iString **arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_LookupStringKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupStringKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsPrefManager_LookupStringKey" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iString,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_LookupStringKey" "', argument " "3"" of type '" "iString *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupStringKey" "', argument " "3"" of type '" "iString *&""'"); 
  }
  arg3 = reinterpret_cast< iString ** >(argp3);
  result = (bool)(arg1)->LookupStringKey(arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupStringKey(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iString, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsPrefManager_LookupStringKey__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iString, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsPrefManager_LookupStringKey__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsPrefManager_LookupStringKey'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupRectKey__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  csRect *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_LookupRectKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupRectKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_LookupRectKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRect,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_LookupRectKey" "', argument " "3"" of type '" "csRect &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupRectKey" "', argument " "3"" of type '" "csRect &""'"); 
  }
  arg3 = reinterpret_cast< csRect * >(argp3);
  result = (bool)(arg1)->LookupRectKey((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupRectKey__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  unsigned long arg2 ;
  csRect *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_LookupRectKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupRectKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsPrefManager_LookupRectKey" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRect,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_LookupRectKey" "', argument " "3"" of type '" "csRect &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupRectKey" "', argument " "3"" of type '" "csRect &""'"); 
  }
  arg3 = reinterpret_cast< csRect * >(argp3);
  result = (bool)(arg1)->LookupRectKey(arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupRectKey(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRect, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsPrefManager_LookupRectKey__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRect, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsPrefManager_LookupRectKey__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsPrefManager_LookupRectKey'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupRGBKey__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  unsigned char *arg3 = 0 ;
  unsigned char *arg4 = 0 ;
  unsigned char *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iAwsPrefManager_LookupRGBKey",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_unsigned_char,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "3"" of type '" "unsigned char &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "3"" of type '" "unsigned char &""'"); 
  }
  arg3 = reinterpret_cast< unsigned char * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_unsigned_char,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "4"" of type '" "unsigned char &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "4"" of type '" "unsigned char &""'"); 
  }
  arg4 = reinterpret_cast< unsigned char * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_unsigned_char,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "5"" of type '" "unsigned char &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "5"" of type '" "unsigned char &""'"); 
  }
  arg5 = reinterpret_cast< unsigned char * >(argp5);
  result = (bool)(arg1)->LookupRGBKey((char const *)arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupRGBKey__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  unsigned long arg2 ;
  unsigned char *arg3 = 0 ;
  unsigned char *arg4 = 0 ;
  unsigned char *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iAwsPrefManager_LookupRGBKey",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_unsigned_char,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "3"" of type '" "unsigned char &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "3"" of type '" "unsigned char &""'"); 
  }
  arg3 = reinterpret_cast< unsigned char * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_unsigned_char,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "4"" of type '" "unsigned char &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "4"" of type '" "unsigned char &""'"); 
  }
  arg4 = reinterpret_cast< unsigned char * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_unsigned_char,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "5"" of type '" "unsigned char &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupRGBKey" "', argument " "5"" of type '" "unsigned char &""'"); 
  }
  arg5 = reinterpret_cast< unsigned char * >(argp5);
  result = (bool)(arg1)->LookupRGBKey(arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupRGBKey(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iAwsPrefManager_LookupRGBKey__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iAwsPrefManager_LookupRGBKey__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsPrefManager_LookupRGBKey'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupPointKey__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  csVector2 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_LookupPointKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupPointKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_LookupPointKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_LookupPointKey" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupPointKey" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (bool)(arg1)->LookupPointKey((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupPointKey__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  unsigned long arg2 ;
  csVector2 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_LookupPointKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_LookupPointKey" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsPrefManager_LookupPointKey" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_LookupPointKey" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_LookupPointKey" "', argument " "3"" of type '" "csVector2 &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  result = (bool)(arg1)->LookupPointKey(arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_LookupPointKey(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsPrefManager_LookupPointKey__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsPrefManager_LookupPointKey__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsPrefManager_LookupPointKey'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iAwsComponentNode *arg2 = (iAwsComponentNode *) 0 ;
  char *arg3 = (char *) 0 ;
  int *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_GetInt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetInt" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetInt" "', argument " "2"" of type '" "iAwsComponentNode *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponentNode * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_GetInt" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->GetInt(arg2,(char const *)arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iAwsComponentNode *arg2 = (iAwsComponentNode *) 0 ;
  char *arg3 = (char *) 0 ;
  float *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsPrefManager_GetFloat",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetFloat" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetFloat" "', argument " "2"" of type '" "iAwsComponentNode *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponentNode * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_GetFloat" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAwsPrefManager_GetFloat" "', argument " "4"" of type '" "float &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_GetFloat" "', argument " "4"" of type '" "float &""'"); 
  }
  arg4 = reinterpret_cast< float * >(argp4);
  result = (bool)(arg1)->GetFloat(arg2,(char const *)arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iAwsComponentNode *arg2 = (iAwsComponentNode *) 0 ;
  char *arg3 = (char *) 0 ;
  csRect *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsPrefManager_GetRect",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetRect" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetRect" "', argument " "2"" of type '" "iAwsComponentNode *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponentNode * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_GetRect" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csRect,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAwsPrefManager_GetRect" "', argument " "4"" of type '" "csRect &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_GetRect" "', argument " "4"" of type '" "csRect &""'"); 
  }
  arg4 = reinterpret_cast< csRect * >(argp4);
  result = (bool)(arg1)->GetRect(arg2,(char const *)arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iAwsComponentNode *arg2 = (iAwsComponentNode *) 0 ;
  char *arg3 = (char *) 0 ;
  iString *arg4 = (iString *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsPrefManager_GetString",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetString" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetString" "', argument " "2"" of type '" "iAwsComponentNode *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponentNode * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_GetString" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAwsPrefManager_GetString" "', argument " "4"" of type '" "iString *""'"); 
  }
  arg4 = reinterpret_cast< iString * >(argp4);
  result = (bool)(arg1)->GetString(arg2,(char const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetRGB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iAwsComponentNode *arg2 = (iAwsComponentNode *) 0 ;
  char *arg3 = (char *) 0 ;
  unsigned char *arg4 = 0 ;
  unsigned char *arg5 = 0 ;
  unsigned char *arg6 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iAwsPrefManager_GetRGB",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetRGB" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetRGB" "', argument " "2"" of type '" "iAwsComponentNode *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponentNode * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_GetRGB" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_unsigned_char,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAwsPrefManager_GetRGB" "', argument " "4"" of type '" "unsigned char &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_GetRGB" "', argument " "4"" of type '" "unsigned char &""'"); 
  }
  arg4 = reinterpret_cast< unsigned char * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_unsigned_char,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iAwsPrefManager_GetRGB" "', argument " "5"" of type '" "unsigned char &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_GetRGB" "', argument " "5"" of type '" "unsigned char &""'"); 
  }
  arg5 = reinterpret_cast< unsigned char * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_unsigned_char,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iAwsPrefManager_GetRGB" "', argument " "6"" of type '" "unsigned char &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsPrefManager_GetRGB" "', argument " "6"" of type '" "unsigned char &""'"); 
  }
  arg6 = reinterpret_cast< unsigned char * >(argp6);
  result = (bool)(arg1)->GetRGB(arg2,(char const *)arg3,*arg4,*arg5,*arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_FindWindowDef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsComponentNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_FindWindowDef",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_FindWindowDef" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_FindWindowDef" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iAwsComponentNode *)(arg1)->FindWindowDef((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_FindSkinDef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsKeyContainer *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_FindSkinDef",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_FindSkinDef" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_FindSkinDef" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iAwsKeyContainer *)(arg1)->FindSkinDef((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsKeyContainer, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_RemoveWindowDef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_RemoveWindowDef",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_RemoveWindowDef" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_RemoveWindowDef" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->RemoveWindowDef((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_RemoveAllWindowDefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsPrefManager_RemoveAllWindowDefs",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_RemoveAllWindowDefs" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  (arg1)->RemoveAllWindowDefs();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_RemoveSkinDef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_RemoveSkinDef",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_RemoveSkinDef" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_RemoveSkinDef" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->RemoveSkinDef((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_RemoveAllSkinDefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsPrefManager_RemoveAllSkinDefs",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_RemoveAllSkinDefs" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  (arg1)->RemoveAllSkinDefs();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_SetColor",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_SetColor" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsPrefManager_SetColor" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsPrefManager_SetColor" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetColor(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_GetColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetColor" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsPrefManager_GetColor" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (int)(arg1)->GetColor(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_FindColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  unsigned char arg2 ;
  unsigned char arg3 ;
  unsigned char arg4 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  unsigned char val3 ;
  int ecode3 = 0 ;
  unsigned char val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsPrefManager_FindColor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_FindColor" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsPrefManager_FindColor" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsPrefManager_FindColor" "', argument " "3"" of type '" "unsigned char""'");
  } 
  arg3 = static_cast< unsigned char >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_char(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsPrefManager_FindColor" "', argument " "4"" of type '" "unsigned char""'");
  } 
  arg4 = static_cast< unsigned char >(val4);
  result = (int)(arg1)->FindColor(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetDefaultFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iFont *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsPrefManager_GetDefaultFont",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetDefaultFont" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  result = (iFont *)(arg1)->GetDefaultFont();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iFont, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iFont *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_GetFont",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetFont" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetFont" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iFont *)(arg1)->GetFont((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iFont, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetTexture__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_GetTexture",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetTexture" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_GetTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (iTextureHandle *)(arg1)->GetTexture((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetTexture__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_GetTexture",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetTexture" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iTextureHandle *)(arg1)->GetTexture((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetTexture__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  unsigned char arg4 ;
  unsigned char arg5 ;
  unsigned char arg6 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  unsigned char val4 ;
  int ecode4 = 0 ;
  unsigned char val5 ;
  int ecode5 = 0 ;
  unsigned char val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iAwsPrefManager_GetTexture",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetTexture" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsPrefManager_GetTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_unsigned_SS_char(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsPrefManager_GetTexture" "', argument " "4"" of type '" "unsigned char""'");
  } 
  arg4 = static_cast< unsigned char >(val4);
  ecode5 = SWIG_AsVal_unsigned_SS_char(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iAwsPrefManager_GetTexture" "', argument " "5"" of type '" "unsigned char""'");
  } 
  arg5 = static_cast< unsigned char >(val5);
  ecode6 = SWIG_AsVal_unsigned_SS_char(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iAwsPrefManager_GetTexture" "', argument " "6"" of type '" "unsigned char""'");
  } 
  arg6 = static_cast< unsigned char >(val6);
  result = (iTextureHandle *)(arg1)->GetTexture((char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetTexture(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsPrefManager_GetTexture__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsPrefManager_GetTexture__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsPrefManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_char(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_unsigned_SS_char(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_unsigned_SS_char(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iAwsPrefManager_GetTexture__SWIG_2(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsPrefManager_GetTexture'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_SetTextureManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iTextureManager *arg2 = (iTextureManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_SetTextureManager",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_SetTextureManager" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_SetTextureManager" "', argument " "2"" of type '" "iTextureManager *""'"); 
  }
  arg2 = reinterpret_cast< iTextureManager * >(argp2);
  (arg1)->SetTextureManager(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_SetFontServer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iFontServer *arg2 = (iFontServer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_SetFontServer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_SetFontServer" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFontServer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_SetFontServer" "', argument " "2"" of type '" "iFontServer *""'"); 
  }
  arg2 = reinterpret_cast< iFontServer * >(argp2);
  (arg1)->SetFontServer(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_SetDefaultFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iFont *arg2 = (iFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_SetDefaultFont",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_SetDefaultFont" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_SetDefaultFont" "', argument " "2"" of type '" "iFont *""'"); 
  }
  arg2 = reinterpret_cast< iFont * >(argp2);
  (arg1)->SetDefaultFont(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_SetWindowMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iAws *arg2 = (iAws *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_SetWindowMgr",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_SetWindowMgr" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_SetWindowMgr" "', argument " "2"" of type '" "iAws *""'"); 
  }
  arg2 = reinterpret_cast< iAws * >(argp2);
  (arg1)->SetWindowMgr(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_SetupPalette(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsPrefManager_SetupPalette",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_SetupPalette" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  (arg1)->SetupPalette();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_RegisterConstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsPrefManager_RegisterConstant",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_RegisterConstant" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_RegisterConstant" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsPrefManager_RegisterConstant" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->RegisterConstant((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_ConstantExists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_ConstantExists",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_ConstantExists" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_ConstantExists" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->ConstantExists((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetConstantValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_GetConstantValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetConstantValue" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_GetConstantValue" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)(arg1)->GetConstantValue((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_CreateKeyFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iAwsKeyFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsPrefManager_CreateKeyFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_CreateKeyFactory" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  result = (iAwsKeyFactory *)(arg1)->CreateKeyFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_CreateConnectionNodeFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  iAwsConnectionNodeFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsPrefManager_CreateConnectionNodeFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_CreateConnectionNodeFactory" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  result = (iAwsConnectionNodeFactory *)(arg1)->CreateConnectionNodeFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsConnectionNodeFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_AddCustomStringProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsPrefManager_AddCustomStringProperty",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_AddCustomStringProperty" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsPrefManager_AddCustomStringProperty" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->AddCustomStringProperty((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsPrefManager_GetCustomStringProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  csStringArray *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsPrefManager_GetCustomStringProperties",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsPrefManager_GetCustomStringProperties" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  {
    csStringArray const &_result_ref = (arg1)->GetCustomStringProperties();
    result = (csStringArray *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csStringArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsPrefManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsPrefManager *arg1 = (iAwsPrefManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsPrefManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsPrefManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsPrefManager" "', argument " "1"" of type '" "iAwsPrefManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsPrefManager * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsPrefManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsPrefManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsSinkManager_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSinkManager *arg1 = (iAwsSinkManager *) 0 ;
  iObjectRegistry *arg2 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsSinkManager_Setup",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSinkManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSinkManager_Setup" "', argument " "1"" of type '" "iAwsSinkManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSinkManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSinkManager_Setup" "', argument " "2"" of type '" "iObjectRegistry *""'"); 
  }
  arg2 = reinterpret_cast< iObjectRegistry * >(argp2);
  result = (bool)(arg1)->Setup(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSinkManager_RegisterSink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSinkManager *arg1 = (iAwsSinkManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsSink *arg3 = (iAwsSink *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsSinkManager_RegisterSink",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSinkManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSinkManager_RegisterSink" "', argument " "1"" of type '" "iAwsSinkManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSinkManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSinkManager_RegisterSink" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsSinkManager_RegisterSink" "', argument " "3"" of type '" "iAwsSink *""'"); 
  }
  arg3 = reinterpret_cast< iAwsSink * >(argp3);
  (arg1)->RegisterSink((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSinkManager_RemoveSink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSinkManager *arg1 = (iAwsSinkManager *) 0 ;
  iAwsSink *arg2 = (iAwsSink *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsSinkManager_RemoveSink",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSinkManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSinkManager_RemoveSink" "', argument " "1"" of type '" "iAwsSinkManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSinkManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSinkManager_RemoveSink" "', argument " "2"" of type '" "iAwsSink *""'"); 
  }
  arg2 = reinterpret_cast< iAwsSink * >(argp2);
  result = (bool)(arg1)->RemoveSink(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSinkManager_FindSink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSinkManager *arg1 = (iAwsSinkManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsSink *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsSinkManager_FindSink",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSinkManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSinkManager_FindSink" "', argument " "1"" of type '" "iAwsSinkManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSinkManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSinkManager_FindSink" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iAwsSink *)(arg1)->FindSink((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSinkManager_CreateSink__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSinkManager *arg1 = (iAwsSinkManager *) 0 ;
  intptr_t arg2 ;
  iAwsSink *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsSinkManager_CreateSink",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSinkManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSinkManager_CreateSink" "', argument " "1"" of type '" "iAwsSinkManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSinkManager * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsSinkManager_CreateSink" "', argument " "2"" of type '" "intptr_t""'");
  } 
  arg2 = static_cast< intptr_t >(val2);
  result = (iAwsSink *)(arg1)->CreateSink(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsSink, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSinkManager_CreateSink__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSinkManager *arg1 = (iAwsSinkManager *) 0 ;
  void *arg2 = (void *) 0 ;
  iAwsSink *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsSinkManager_CreateSink",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSinkManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSinkManager_CreateSink" "', argument " "1"" of type '" "iAwsSinkManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSinkManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSinkManager_CreateSink" "', argument " "2"" of type '" "void *""'"); 
  }
  result = (iAwsSink *)(arg1)->CreateSink(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsSink, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSinkManager_CreateSink(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsSinkManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *ptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsSinkManager_CreateSink__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsSinkManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iAwsSinkManager_CreateSink__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsSinkManager_CreateSink'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSinkManager_CreateSlot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSinkManager *arg1 = (iAwsSinkManager *) 0 ;
  iAwsSlot *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsSinkManager_CreateSlot",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSinkManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSinkManager_CreateSlot" "', argument " "1"" of type '" "iAwsSinkManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSinkManager * >(argp1);
  result = (iAwsSlot *)(arg1)->CreateSlot();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsSlot, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsSinkManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSinkManager *arg1 = (iAwsSinkManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsSinkManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSinkManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsSinkManager" "', argument " "1"" of type '" "iAwsSinkManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSinkManager * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsSinkManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsSinkManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsSink_GetTriggerID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSink *arg1 = (iAwsSink *) 0 ;
  char *arg2 = (char *) 0 ;
  unsigned long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsSink_GetTriggerID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSink_GetTriggerID" "', argument " "1"" of type '" "iAwsSink *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSink * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSink_GetTriggerID" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (unsigned long)(arg1)->GetTriggerID((char const *)arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSink_HandleTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSink *arg1 = (iAwsSink *) 0 ;
  int arg2 ;
  iAwsSource *arg3 = (iAwsSource *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsSink_HandleTrigger",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSink_HandleTrigger" "', argument " "1"" of type '" "iAwsSink *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSink * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsSink_HandleTrigger" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iAwsSource, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsSink_HandleTrigger" "', argument " "3"" of type '" "iAwsSource *""'"); 
  }
  arg3 = reinterpret_cast< iAwsSource * >(argp3);
  (arg1)->HandleTrigger(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSink_RegisterTrigger__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSink *arg1 = (iAwsSink *) 0 ;
  char *arg2 = (char *) 0 ;
  void (*arg3)(unsigned long,intptr_t,iAwsSource *) = (void (*)(unsigned long,intptr_t,iAwsSource *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsSink_RegisterTrigger",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSink_RegisterTrigger" "', argument " "1"" of type '" "iAwsSink *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSink * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSink_RegisterTrigger" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_unsigned_long_int_p_iAwsSource__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "iAwsSink_RegisterTrigger" "', argument " "3"" of type '" "void (*)(unsigned long,intptr_t,iAwsSource *)""'"); 
    }
  }
  (arg1)->RegisterTrigger((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSink_RegisterTrigger__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSink *arg1 = (iAwsSink *) 0 ;
  char *arg2 = (char *) 0 ;
  void (*arg3)(unsigned long,void *,iAwsSource *) = (void (*)(unsigned long,void *,iAwsSource *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsSink_RegisterTrigger",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSink_RegisterTrigger" "', argument " "1"" of type '" "iAwsSink *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSink * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSink_RegisterTrigger" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_unsigned_long_p_void_p_iAwsSource__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "iAwsSink_RegisterTrigger" "', argument " "3"" of type '" "void (*)(unsigned long,void *,iAwsSource *)""'"); 
    }
  }
  (arg1)->RegisterTrigger((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSink_RegisterTrigger(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsSink, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *ptr = 0;
        int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_unsigned_long_int_p_iAwsSource__void);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsSink_RegisterTrigger__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsSink, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *ptr = 0;
        int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_unsigned_long_p_void_p_iAwsSource__void);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsSink_RegisterTrigger__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsSink_RegisterTrigger'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSink_GetError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSink *arg1 = (iAwsSink *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsSink_GetError",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSink_GetError" "', argument " "1"" of type '" "iAwsSink *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSink * >(argp1);
  result = (unsigned int)(arg1)->GetError();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsSink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSink *arg1 = (iAwsSink *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsSink",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSink, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsSink" "', argument " "1"" of type '" "iAwsSink *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSink * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsSink_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsSink, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsSource_WindowManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSource *arg1 = (iAwsSource *) 0 ;
  iAws *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsSource_WindowManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSource_WindowManager" "', argument " "1"" of type '" "iAwsSource *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSource * >(argp1);
  result = (iAws *)(arg1)->WindowManager();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAws, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSource_GetComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSource *arg1 = (iAwsSource *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsSource_GetComponent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSource_GetComponent" "', argument " "1"" of type '" "iAwsSource *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSource * >(argp1);
  result = (iAwsComponent *)(arg1)->GetComponent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSource_RegisterSlot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSource *arg1 = (iAwsSource *) 0 ;
  iAwsSlot *arg2 = (iAwsSlot *) 0 ;
  unsigned long arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsSource_RegisterSlot",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSource_RegisterSlot" "', argument " "1"" of type '" "iAwsSource *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSource * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsSlot, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSource_RegisterSlot" "', argument " "2"" of type '" "iAwsSlot *""'"); 
  }
  arg2 = reinterpret_cast< iAwsSlot * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsSource_RegisterSlot" "', argument " "3"" of type '" "unsigned long""'");
  } 
  arg3 = static_cast< unsigned long >(val3);
  result = (bool)(arg1)->RegisterSlot(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSource_UnregisterSlot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSource *arg1 = (iAwsSource *) 0 ;
  iAwsSlot *arg2 = (iAwsSlot *) 0 ;
  unsigned long arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsSource_UnregisterSlot",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSource_UnregisterSlot" "', argument " "1"" of type '" "iAwsSource *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSource * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsSlot, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSource_UnregisterSlot" "', argument " "2"" of type '" "iAwsSlot *""'"); 
  }
  arg2 = reinterpret_cast< iAwsSlot * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsSource_UnregisterSlot" "', argument " "3"" of type '" "unsigned long""'");
  } 
  arg3 = static_cast< unsigned long >(val3);
  result = (bool)(arg1)->UnregisterSlot(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSource_Broadcast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSource *arg1 = (iAwsSource *) 0 ;
  uint32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsSource_Broadcast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSource_Broadcast" "', argument " "1"" of type '" "iAwsSource *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSource * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSource_Broadcast" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsSource_Broadcast" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->Broadcast(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSource *arg1 = (iAwsSource *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsSource",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSource, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsSource" "', argument " "1"" of type '" "iAwsSource *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSource * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsSource_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsSource, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsSlot_Connect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSlot *arg1 = (iAwsSlot *) 0 ;
  iAwsSource *arg2 = (iAwsSource *) 0 ;
  unsigned long arg3 ;
  iAwsSink *arg4 = (iAwsSink *) 0 ;
  unsigned long arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  unsigned long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iAwsSlot_Connect",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSlot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSlot_Connect" "', argument " "1"" of type '" "iAwsSlot *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSlot * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsSource, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSlot_Connect" "', argument " "2"" of type '" "iAwsSource *""'"); 
  }
  arg2 = reinterpret_cast< iAwsSource * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsSlot_Connect" "', argument " "3"" of type '" "unsigned long""'");
  } 
  arg3 = static_cast< unsigned long >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAwsSlot_Connect" "', argument " "4"" of type '" "iAwsSink *""'"); 
  }
  arg4 = reinterpret_cast< iAwsSink * >(argp4);
  ecode5 = SWIG_AsVal_unsigned_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iAwsSlot_Connect" "', argument " "5"" of type '" "unsigned long""'");
  } 
  arg5 = static_cast< unsigned long >(val5);
  (arg1)->Connect(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSlot_Disconnect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSlot *arg1 = (iAwsSlot *) 0 ;
  iAwsSource *arg2 = (iAwsSource *) 0 ;
  unsigned long arg3 ;
  iAwsSink *arg4 = (iAwsSink *) 0 ;
  unsigned long arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  unsigned long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iAwsSlot_Disconnect",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSlot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSlot_Disconnect" "', argument " "1"" of type '" "iAwsSlot *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSlot * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsSource, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSlot_Disconnect" "', argument " "2"" of type '" "iAwsSource *""'"); 
  }
  arg2 = reinterpret_cast< iAwsSource * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsSlot_Disconnect" "', argument " "3"" of type '" "unsigned long""'");
  } 
  arg3 = static_cast< unsigned long >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAwsSlot_Disconnect" "', argument " "4"" of type '" "iAwsSink *""'"); 
  }
  arg4 = reinterpret_cast< iAwsSink * >(argp4);
  ecode5 = SWIG_AsVal_unsigned_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iAwsSlot_Disconnect" "', argument " "5"" of type '" "unsigned long""'");
  } 
  arg5 = static_cast< unsigned long >(val5);
  (arg1)->Disconnect(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsSlot_Emit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSlot *arg1 = (iAwsSlot *) 0 ;
  iAwsSource *arg2 = 0 ;
  unsigned long arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsSlot_Emit",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSlot, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsSlot_Emit" "', argument " "1"" of type '" "iAwsSlot *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSlot * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iAwsSource,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsSlot_Emit" "', argument " "2"" of type '" "iAwsSource &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsSlot_Emit" "', argument " "2"" of type '" "iAwsSource &""'"); 
  }
  arg2 = reinterpret_cast< iAwsSource * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsSlot_Emit" "', argument " "3"" of type '" "unsigned long""'");
  } 
  arg3 = static_cast< unsigned long >(val3);
  (arg1)->Emit(*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsSlot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsSlot *arg1 = (iAwsSlot *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsSlot",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsSlot, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsSlot" "', argument " "1"" of type '" "iAwsSlot *""'"); 
  }
  arg1 = reinterpret_cast< iAwsSlot * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsSlot_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsSlot, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsLayoutManager_SetOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsLayoutManager *arg1 = (iAwsLayoutManager *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsLayoutManager_SetOwner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsLayoutManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsLayoutManager_SetOwner" "', argument " "1"" of type '" "iAwsLayoutManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsLayoutManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsLayoutManager_SetOwner" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->SetOwner(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsLayoutManager_AddComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsLayoutManager *arg1 = (iAwsLayoutManager *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  iAwsComponentNode *arg3 = (iAwsComponentNode *) 0 ;
  csRect result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsLayoutManager_AddComponent",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsLayoutManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsLayoutManager_AddComponent" "', argument " "1"" of type '" "iAwsLayoutManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsLayoutManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsLayoutManager_AddComponent" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsLayoutManager_AddComponent" "', argument " "3"" of type '" "iAwsComponentNode *""'"); 
  }
  arg3 = reinterpret_cast< iAwsComponentNode * >(argp3);
  result = (arg1)->AddComponent(arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csRect(static_cast< const csRect& >(result))), SWIGTYPE_p_csRect, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsLayoutManager_RemoveComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsLayoutManager *arg1 = (iAwsLayoutManager *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsLayoutManager_RemoveComponent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsLayoutManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsLayoutManager_RemoveComponent" "', argument " "1"" of type '" "iAwsLayoutManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsLayoutManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsLayoutManager_RemoveComponent" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->RemoveComponent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsLayoutManager_LayoutComponents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsLayoutManager *arg1 = (iAwsLayoutManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsLayoutManager_LayoutComponents",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsLayoutManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsLayoutManager_LayoutComponents" "', argument " "1"" of type '" "iAwsLayoutManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsLayoutManager * >(argp1);
  (arg1)->LayoutComponents();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsLayoutManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsLayoutManager *arg1 = (iAwsLayoutManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsLayoutManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsLayoutManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsLayoutManager" "', argument " "1"" of type '" "iAwsLayoutManager *""'"); 
  }
  arg1 = reinterpret_cast< iAwsLayoutManager * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsLayoutManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsLayoutManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsComponent_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAws *arg2 = (iAws *) 0 ;
  iAwsComponent *arg3 = (iAwsComponent *) 0 ;
  iAwsComponentNode *arg4 = (iAwsComponentNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsComponent_Create",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Create" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_Create" "', argument " "2"" of type '" "iAws *""'"); 
  }
  arg2 = reinterpret_cast< iAws * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsComponent_Create" "', argument " "3"" of type '" "iAwsComponent *""'"); 
  }
  arg3 = reinterpret_cast< iAwsComponent * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iAwsComponent_Create" "', argument " "4"" of type '" "iAwsComponentNode *""'"); 
  }
  arg4 = reinterpret_cast< iAwsComponentNode * >(argp4);
  result = (bool)(arg1)->Create(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAws *arg2 = (iAws *) 0 ;
  iAwsComponentNode *arg3 = (iAwsComponentNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_Setup",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Setup" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAws, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_Setup" "', argument " "2"" of type '" "iAws *""'"); 
  }
  arg2 = reinterpret_cast< iAws * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsComponent_Setup" "', argument " "3"" of type '" "iAwsComponentNode *""'"); 
  }
  arg3 = reinterpret_cast< iAwsComponentNode * >(argp3);
  result = (bool)(arg1)->Setup(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_HandleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iEvent *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_HandleEvent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_HandleEvent" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iEvent,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_HandleEvent" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsComponent_HandleEvent" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (bool)(arg1)->HandleEvent(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetProperty__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  char *arg2 = (char *) 0 ;
  intptr_t *arg3 = (intptr_t *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_GetProperty",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_GetProperty" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_GetProperty" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsComponent_GetProperty" "', argument " "3"" of type '" "intptr_t *""'"); 
  }
  arg3 = reinterpret_cast< intptr_t * >(argp3);
  result = (bool)(arg1)->GetProperty((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetProperty__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  char *arg2 = (char *) 0 ;
  void **arg3 = (void **) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_GetProperty",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_GetProperty" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_GetProperty" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsComponent_GetProperty" "', argument " "3"" of type '" "void **""'"); 
  }
  arg3 = reinterpret_cast< void ** >(argp3);
  result = (bool)(arg1)->GetProperty((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetProperty(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsComponent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsComponent_GetProperty__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsComponent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_void, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsComponent_GetProperty__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsComponent_GetProperty'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetProperty__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  char *arg2 = (char *) 0 ;
  intptr_t arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_SetProperty",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetProperty" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_SetProperty" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_SetProperty" "', argument " "3"" of type '" "intptr_t""'");
  } 
  arg3 = static_cast< intptr_t >(val3);
  result = (bool)(arg1)->SetProperty((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetProperty__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = (void *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_SetProperty",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetProperty" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_SetProperty" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsComponent_SetProperty" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (bool)(arg1)->SetProperty((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetProperty(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsComponent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *ptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsComponent_SetProperty__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsComponent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iAwsComponent_SetProperty__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsComponent_SetProperty'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Execute__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsParmList *arg3 = (iAwsParmList *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_Execute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Execute" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_Execute" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iAwsParmList, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsComponent_Execute" "', argument " "3"" of type '" "iAwsParmList *""'"); 
  }
  arg3 = reinterpret_cast< iAwsParmList * >(argp3);
  result = (bool)(arg1)->Execute((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Execute__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_Execute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Execute" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_Execute" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->Execute((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Execute(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsComponent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsComponent_Execute__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsComponent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iAwsParmList, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iAwsComponent_Execute__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsComponent_Execute'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Invalidate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Invalidate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Invalidate" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->Invalidate();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Invalidate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_Invalidate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Invalidate" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_Invalidate" "', argument " "2"" of type '" "csRect""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsComponent_Invalidate" "', argument " "2"" of type '" "csRect""'");
    } else {
      csRect * temp = reinterpret_cast< csRect * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->Invalidate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Invalidate(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsComponent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iAwsComponent_Invalidate__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iAwsComponent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRect, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iAwsComponent_Invalidate__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iAwsComponent_Invalidate'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Frame",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Frame" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (arg1)->Frame();
  resultobj = SWIG_NewPointerObj((new csRect(static_cast< const csRect& >(result))), SWIGTYPE_p_csRect, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_ClientFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_ClientFrame",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_ClientFrame" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (arg1)->ClientFrame();
  resultobj = SWIG_NewPointerObj((new csRect(static_cast< const csRect& >(result))), SWIGTYPE_p_csRect, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Type",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Type" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (char *)(arg1)->Type();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetFlag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetFlag" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_SetFlag" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  (arg1)->SetFlag(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_ClearFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_ClearFlag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_ClearFlag" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_ClearFlag" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  (arg1)->ClearFlag(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Flags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Flags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Flags" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (unsigned int)(arg1)->Flags();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_WindowManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAws *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_WindowManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_WindowManager" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (iAws *)(arg1)->WindowManager();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAws, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Parent" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (iAwsComponent *)(arg1)->Parent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Window",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Window" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (iAwsComponent *)(arg1)->Window();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsLayoutManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Layout",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Layout" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (iAwsLayoutManager *)(arg1)->Layout();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsLayoutManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetParent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetParent" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_SetParent" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->SetParent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsLayoutManager *arg2 = (iAwsLayoutManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetLayout",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetLayout" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsLayoutManager, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_SetLayout" "', argument " "2"" of type '" "iAwsLayoutManager *""'"); 
  }
  arg2 = reinterpret_cast< iAwsLayoutManager * >(argp2);
  (arg1)->SetLayout(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_AddToLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  iAwsComponentNode *arg3 = (iAwsComponentNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_AddToLayout",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_AddToLayout" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_AddToLayout" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsComponent_AddToLayout" "', argument " "3"" of type '" "iAwsComponentNode *""'"); 
  }
  arg3 = reinterpret_cast< iAwsComponentNode * >(argp3);
  (arg1)->AddToLayout(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_getPreferredSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_getPreferredSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_getPreferredSize" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (arg1)->getPreferredSize();
  resultobj = SWIG_NewPointerObj((new csRect(static_cast< const csRect& >(result))), SWIGTYPE_p_csRect, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_setPreferredSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_setPreferredSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_setPreferredSize" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_setPreferredSize" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsComponent_setPreferredSize" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->setPreferredSize((csRect const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_clearPreferredSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_clearPreferredSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_clearPreferredSize" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->clearPreferredSize();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_getMinimumSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_getMinimumSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_getMinimumSize" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (arg1)->getMinimumSize();
  resultobj = SWIG_NewPointerObj((new csRect(static_cast< const csRect& >(result))), SWIGTYPE_p_csRect, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_getInsets(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_getInsets",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_getInsets" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (arg1)->getInsets();
  resultobj = SWIG_NewPointerObj((new csRect(static_cast< const csRect& >(result))), SWIGTYPE_p_csRect, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Overlaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_Overlaps",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Overlaps" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_Overlaps" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsComponent_Overlaps" "', argument " "2"" of type '" "csRect const &""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  result = (bool)(arg1)->Overlaps((csRect const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_isHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_isHidden",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_isHidden" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->isHidden();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetFocusable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetFocusable",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetFocusable" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_SetFocusable" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetFocusable(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Focusable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Focusable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Focusable" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->Focusable();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_isFocused(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_isFocused",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_isFocused" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->isFocused();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_IsMaximized",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_IsMaximized" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->IsMaximized();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Hide",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Hide" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->Hide();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Show",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Show" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->Show();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_SetFocus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetFocus" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->SetFocus();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_UnsetFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_UnsetFocus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_UnsetFocus" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->UnsetFocus();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_Move",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Move" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_Move" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_Move" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->Move(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_MoveTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_MoveTo",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_MoveTo" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_MoveTo" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_MoveTo" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->MoveTo(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_Resize",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Resize" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_Resize" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_Resize" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->Resize(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_ResizeTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_ResizeTo",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_ResizeTo" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_ResizeTo" "', argument " "2"" of type '" "csRect""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsComponent_ResizeTo" "', argument " "2"" of type '" "csRect""'");
    } else {
      csRect * temp = reinterpret_cast< csRect * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->ResizeTo(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Maximize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Maximize" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->Maximize();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_UnMaximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_UnMaximize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_UnMaximize" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->UnMaximize();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_LayoutChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_LayoutChildren",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_LayoutChildren" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->LayoutChildren();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_isDeaf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_isDeaf",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_isDeaf" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->isDeaf();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetDeaf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetDeaf",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetDeaf" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_SetDeaf" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetDeaf(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  unsigned long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_GetID",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_GetID" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (unsigned long)(arg1)->GetID();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  unsigned long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetID" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_SetID" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  (arg1)->SetID(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_FindChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_FindChild" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_FindChild" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iAwsComponent *)(arg1)->FindChild((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_DoFindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  unsigned int arg2 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_DoFindChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_DoFindChild" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_DoFindChild" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (iAwsComponent *)(arg1)->DoFindChild(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_ChildAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  int arg3 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponent_ChildAt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_ChildAt" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_ChildAt" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_ChildAt" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (iAwsComponent *)(arg1)->ChildAt(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_AddChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_AddChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_AddChild" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_AddChild" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->AddChild(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_RemoveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_RemoveChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_RemoveChild" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_RemoveChild" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->RemoveChild(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetChildCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_GetChildCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_GetChildCount" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (int)(arg1)->GetChildCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetTopChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_GetTopChild",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_GetTopChild" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (iAwsComponent *)(arg1)->GetTopChild();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_ComponentAbove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_ComponentAbove",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_ComponentAbove" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (iAwsComponent *)(arg1)->ComponentAbove();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_ComponentBelow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_ComponentBelow",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_ComponentBelow" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (iAwsComponent *)(arg1)->ComponentBelow();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetComponentAbove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetComponentAbove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetComponentAbove" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_SetComponentAbove" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->SetComponentAbove(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetComponentBelow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetComponentBelow",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetComponentBelow" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_SetComponentBelow" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->SetComponentBelow(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_AddToTabOrder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_AddToTabOrder",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_AddToTabOrder" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_AddToTabOrder" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  result = (bool)(arg1)->AddToTabOrder(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_TabNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_TabNext",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_TabNext" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_TabNext" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  result = (iAwsComponent *)(arg1)->TabNext(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_TabPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_TabPrev",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_TabPrev" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_TabPrev" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  result = (iAwsComponent *)(arg1)->TabPrev(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetTabLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_GetTabLength",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_GetTabLength" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (int)(arg1)->GetTabLength();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetTabComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_GetTabComponent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_GetTabComponent" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_GetTabComponent" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iAwsComponent *)(arg1)->GetTabComponent(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetFirstFocusableChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_GetFirstFocusableChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_GetFirstFocusableChild" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_GetFirstFocusableChild" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  result = (iAwsComponent *)(arg1)->GetFirstFocusableChild(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Raise(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Raise",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Raise" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->Raise();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Lower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Lower",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Lower" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->Lower();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_HasChildren",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_HasChildren" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->HasChildren();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetRedrawTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetRedrawTag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetRedrawTag" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_SetRedrawTag" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  (arg1)->SetRedrawTag(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_RedrawTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_RedrawTag",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_RedrawTag" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (unsigned int)(arg1)->RedrawTag();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csRect arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_OnDraw",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnDraw" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRect,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_OnDraw" "', argument " "2"" of type '" "csRect""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsComponent_OnDraw" "', argument " "2"" of type '" "csRect""'");
    } else {
      csRect * temp = reinterpret_cast< csRect * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->OnDraw(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnMouseDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsComponent_OnMouseDown",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnMouseDown" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_OnMouseDown" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_OnMouseDown" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsComponent_OnMouseDown" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->OnMouseDown(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnMouseUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsComponent_OnMouseUp",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnMouseUp" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_OnMouseUp" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_OnMouseUp" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsComponent_OnMouseUp" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->OnMouseUp(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnMouseMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsComponent_OnMouseMove",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnMouseMove" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_OnMouseMove" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_OnMouseMove" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsComponent_OnMouseMove" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->OnMouseMove(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsComponent_OnMouseClick",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnMouseClick" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_OnMouseClick" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_OnMouseClick" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsComponent_OnMouseClick" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->OnMouseClick(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnMouseDoubleClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iAwsComponent_OnMouseDoubleClick",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnMouseDoubleClick" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAwsComponent_OnMouseDoubleClick" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponent_OnMouseDoubleClick" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsComponent_OnMouseDoubleClick" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->OnMouseDoubleClick(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnMouseExit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnMouseExit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnMouseExit" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->OnMouseExit();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnMouseEnter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnMouseEnter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnMouseEnter" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->OnMouseEnter();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnKeyboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  csKeyEventData *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_OnKeyboard",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnKeyboard" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csKeyEventData,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_OnKeyboard" "', argument " "2"" of type '" "csKeyEventData const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsComponent_OnKeyboard" "', argument " "2"" of type '" "csKeyEventData const &""'"); 
  }
  arg2 = reinterpret_cast< csKeyEventData * >(argp2);
  result = (bool)(arg1)->OnKeyboard((csKeyEventData const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnLostFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnLostFocus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnLostFocus" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->OnLostFocus();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnGainFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnGainFocus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnGainFocus" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->OnGainFocus();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnFrame",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnFrame" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->OnFrame();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnAdded",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnAdded" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->OnAdded();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnResized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnResized",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnResized" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->OnResized();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnChildMoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnChildMoved",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnChildMoved" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->OnChildMoved();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnRaise(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnRaise",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnRaise" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->OnRaise();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnLower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnLower",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnLower" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->OnLower();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnChildHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnChildHide",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnChildHide" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->OnChildHide();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnChildShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnChildShow",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnChildShow" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->OnChildShow();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnSetFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnSetFocus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnSetFocus" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->OnSetFocus();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_OnUnsetFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_OnUnsetFocus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_OnUnsetFocus" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->OnUnsetFocus();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_Unlink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_Unlink",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_Unlink" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->Unlink();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_LinkAbove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_LinkAbove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_LinkAbove" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_LinkAbove" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->LinkAbove(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_LinkBelow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_LinkBelow",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_LinkBelow" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_LinkBelow" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->LinkBelow(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_SetTopChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  iAwsComponent *arg2 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponent_SetTopChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_SetTopChild" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponent_SetTopChild" "', argument " "2"" of type '" "iAwsComponent *""'"); 
  }
  arg2 = reinterpret_cast< iAwsComponent * >(argp2);
  (arg1)->SetTopChild(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_MarkToDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_MarkToDelete",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_MarkToDelete" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  (arg1)->MarkToDelete();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponent_GetMarkToDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponent_GetMarkToDelete",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponent_GetMarkToDelete" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  result = (bool)(arg1)->GetMarkToDelete();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponent *arg1 = (iAwsComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsComponent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponent, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsComponent" "', argument " "1"" of type '" "iAwsComponent *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponent * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsComponent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsComponent, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsComponentFactory_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponentFactory *arg1 = (iAwsComponentFactory *) 0 ;
  iAwsComponent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsComponentFactory_Create",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponentFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponentFactory_Create" "', argument " "1"" of type '" "iAwsComponentFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponentFactory * >(argp1);
  result = (iAwsComponent *)(arg1)->Create();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponentFactory_Register(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponentFactory *arg1 = (iAwsComponentFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsComponentFactory_Register",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponentFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponentFactory_Register" "', argument " "1"" of type '" "iAwsComponentFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponentFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponentFactory_Register" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->Register((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsComponentFactory_RegisterConstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponentFactory *arg1 = (iAwsComponentFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsComponentFactory_RegisterConstant",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponentFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsComponentFactory_RegisterConstant" "', argument " "1"" of type '" "iAwsComponentFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponentFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsComponentFactory_RegisterConstant" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsComponentFactory_RegisterConstant" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->RegisterConstant((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsComponentFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsComponentFactory *arg1 = (iAwsComponentFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsComponentFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsComponentFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsComponentFactory" "', argument " "1"" of type '" "iAwsComponentFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsComponentFactory * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsComponentFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsComponentFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsKeyFactory_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsKeyFactory_Initialize",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_Initialize" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_Initialize" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsKeyFactory_Initialize" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->Initialize((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_AddToWindowList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  iAwsPrefManager *arg2 = (iAwsPrefManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyFactory_AddToWindowList",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_AddToWindowList" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsPrefManager, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_AddToWindowList" "', argument " "2"" of type '" "iAwsPrefManager *""'"); 
  }
  arg2 = reinterpret_cast< iAwsPrefManager * >(argp2);
  (arg1)->AddToWindowList(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_AddFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  iAwsKeyFactory *arg2 = (iAwsKeyFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyFactory_AddFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_AddFactory" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_AddFactory" "', argument " "2"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg2 = reinterpret_cast< iAwsKeyFactory * >(argp2);
  (arg1)->AddFactory(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_AddIntKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsKeyFactory_AddIntKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_AddIntKey" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_AddIntKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsKeyFactory_AddIntKey" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->AddIntKey((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_AddStringKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsKeyFactory_AddStringKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_AddStringKey" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_AddStringKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsKeyFactory_AddStringKey" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->AddStringKey((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_AddRectKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  csRect arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsKeyFactory_AddRectKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_AddRectKey" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_AddRectKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRect,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsKeyFactory_AddRectKey" "', argument " "3"" of type '" "csRect""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsKeyFactory_AddRectKey" "', argument " "3"" of type '" "csRect""'");
    } else {
      csRect * temp = reinterpret_cast< csRect * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  (arg1)->AddRectKey((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_AddRGBKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  unsigned char arg3 ;
  unsigned char arg4 ;
  unsigned char arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  unsigned char val3 ;
  int ecode3 = 0 ;
  unsigned char val4 ;
  int ecode4 = 0 ;
  unsigned char val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iAwsKeyFactory_AddRGBKey",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_AddRGBKey" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_AddRGBKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iAwsKeyFactory_AddRGBKey" "', argument " "3"" of type '" "unsigned char""'");
  } 
  arg3 = static_cast< unsigned char >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_char(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsKeyFactory_AddRGBKey" "', argument " "4"" of type '" "unsigned char""'");
  } 
  arg4 = static_cast< unsigned char >(val4);
  ecode5 = SWIG_AsVal_unsigned_SS_char(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iAwsKeyFactory_AddRGBKey" "', argument " "5"" of type '" "unsigned char""'");
  } 
  arg5 = static_cast< unsigned char >(val5);
  (arg1)->AddRGBKey((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_AddPointKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  csVector2 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAwsKeyFactory_AddPointKey",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_AddPointKey" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_AddPointKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsKeyFactory_AddPointKey" "', argument " "3"" of type '" "csVector2""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iAwsKeyFactory_AddPointKey" "', argument " "3"" of type '" "csVector2""'");
    } else {
      csVector2 * temp = reinterpret_cast< csVector2 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  (arg1)->AddPointKey((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_AddConnectionKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsSink *arg3 = (iAwsSink *) 0 ;
  unsigned long arg4 ;
  unsigned long arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  unsigned long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iAwsKeyFactory_AddConnectionKey",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_AddConnectionKey" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_AddConnectionKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsKeyFactory_AddConnectionKey" "', argument " "3"" of type '" "iAwsSink *""'"); 
  }
  arg3 = reinterpret_cast< iAwsSink * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsKeyFactory_AddConnectionKey" "', argument " "4"" of type '" "unsigned long""'");
  } 
  arg4 = static_cast< unsigned long >(val4);
  ecode5 = SWIG_AsVal_unsigned_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iAwsKeyFactory_AddConnectionKey" "', argument " "5"" of type '" "unsigned long""'");
  } 
  arg5 = static_cast< unsigned long >(val5);
  (arg1)->AddConnectionKey((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_AddConnectionNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  iAwsConnectionNodeFactory *arg2 = (iAwsConnectionNodeFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iAwsKeyFactory_AddConnectionNode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_AddConnectionNode" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAwsConnectionNodeFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsKeyFactory_AddConnectionNode" "', argument " "2"" of type '" "iAwsConnectionNodeFactory *""'"); 
  }
  arg2 = reinterpret_cast< iAwsConnectionNodeFactory * >(argp2);
  (arg1)->AddConnectionNode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsKeyFactory_GetThisNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  iAwsComponentNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsKeyFactory_GetThisNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsKeyFactory_GetThisNode" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  result = (iAwsComponentNode *)(arg1)->GetThisNode();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iAwsComponentNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsKeyFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsKeyFactory *arg1 = (iAwsKeyFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsKeyFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsKeyFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsKeyFactory" "', argument " "1"" of type '" "iAwsKeyFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsKeyFactory * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsKeyFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsKeyFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAwsConnectionNodeFactory_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsConnectionNodeFactory *arg1 = (iAwsConnectionNodeFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsConnectionNodeFactory_Initialize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsConnectionNodeFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsConnectionNodeFactory_Initialize" "', argument " "1"" of type '" "iAwsConnectionNodeFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsConnectionNodeFactory * >(argp1);
  (arg1)->Initialize();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsConnectionNodeFactory_AddConnectionKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsConnectionNodeFactory *arg1 = (iAwsConnectionNodeFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  iAwsSink *arg3 = (iAwsSink *) 0 ;
  unsigned long arg4 ;
  unsigned long arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  unsigned long val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iAwsConnectionNodeFactory_AddConnectionKey",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsConnectionNodeFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsConnectionNodeFactory_AddConnectionKey" "', argument " "1"" of type '" "iAwsConnectionNodeFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsConnectionNodeFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iAwsConnectionNodeFactory_AddConnectionKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iAwsSink, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAwsConnectionNodeFactory_AddConnectionKey" "', argument " "3"" of type '" "iAwsSink *""'"); 
  }
  arg3 = reinterpret_cast< iAwsSink * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iAwsConnectionNodeFactory_AddConnectionKey" "', argument " "4"" of type '" "unsigned long""'");
  } 
  arg4 = static_cast< unsigned long >(val4);
  ecode5 = SWIG_AsVal_unsigned_SS_long(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iAwsConnectionNodeFactory_AddConnectionKey" "', argument " "5"" of type '" "unsigned long""'");
  } 
  arg5 = static_cast< unsigned long >(val5);
  (arg1)->AddConnectionKey((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iAwsConnectionNodeFactory_GetThisNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsConnectionNodeFactory *arg1 = (iAwsConnectionNodeFactory *) 0 ;
  awsConnectionNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iAwsConnectionNodeFactory_GetThisNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsConnectionNodeFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAwsConnectionNodeFactory_GetThisNode" "', argument " "1"" of type '" "iAwsConnectionNodeFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsConnectionNodeFactory * >(argp1);
  result = (awsConnectionNode *)(arg1)->GetThisNode();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_awsConnectionNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAwsConnectionNodeFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAwsConnectionNodeFactory *arg1 = (iAwsConnectionNodeFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAwsConnectionNodeFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAwsConnectionNodeFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAwsConnectionNodeFactory" "', argument " "1"" of type '" "iAwsConnectionNodeFactory *""'"); 
  }
  arg1 = reinterpret_cast< iAwsConnectionNodeFactory * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAwsConnectionNodeFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAwsConnectionNodeFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csVertexStatus_Type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVertexStatus *arg1 = (csVertexStatus *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVertexStatus_Type_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVertexStatus, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVertexStatus_Type_set" "', argument " "1"" of type '" "csVertexStatus *""'"); 
  }
  arg1 = reinterpret_cast< csVertexStatus * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVertexStatus_Type_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->Type = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVertexStatus_Type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVertexStatus *arg1 = (csVertexStatus *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVertexStatus_Type_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVertexStatus, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVertexStatus_Type_get" "', argument " "1"" of type '" "csVertexStatus *""'"); 
  }
  arg1 = reinterpret_cast< csVertexStatus * >(argp1);
  result = (unsigned char) ((arg1)->Type);
  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVertexStatus_Vertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVertexStatus *arg1 = (csVertexStatus *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVertexStatus_Vertex_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVertexStatus, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVertexStatus_Vertex_set" "', argument " "1"" of type '" "csVertexStatus *""'"); 
  }
  arg1 = reinterpret_cast< csVertexStatus * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVertexStatus_Vertex_set" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  if (arg1) (arg1)->Vertex = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVertexStatus_Vertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVertexStatus *arg1 = (csVertexStatus *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVertexStatus_Vertex_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVertexStatus, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVertexStatus_Vertex_get" "', argument " "1"" of type '" "csVertexStatus *""'"); 
  }
  arg1 = reinterpret_cast< csVertexStatus * >(argp1);
  result =  ((arg1)->Vertex);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVertexStatus_Pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVertexStatus *arg1 = (csVertexStatus *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csVertexStatus_Pos_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVertexStatus, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVertexStatus_Pos_set" "', argument " "1"" of type '" "csVertexStatus *""'"); 
  }
  arg1 = reinterpret_cast< csVertexStatus * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csVertexStatus_Pos_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->Pos = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csVertexStatus_Pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVertexStatus *arg1 = (csVertexStatus *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csVertexStatus_Pos_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVertexStatus, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csVertexStatus_Pos_get" "', argument " "1"" of type '" "csVertexStatus *""'"); 
  }
  arg1 = reinterpret_cast< csVertexStatus * >(argp1);
  result = (float) ((arg1)->Pos);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csVertexStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVertexStatus *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csVertexStatus")) SWIG_fail;
  result = (csVertexStatus *)new csVertexStatus();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVertexStatus, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csVertexStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csVertexStatus *arg1 = (csVertexStatus *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csVertexStatus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csVertexStatus, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csVertexStatus" "', argument " "1"" of type '" "csVertexStatus *""'"); 
  }
  arg1 = reinterpret_cast< csVertexStatus * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csVertexStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csVertexStatus, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iClipper2D_Clip__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  size_t arg3 ;
  csVector2 *arg4 = (csVector2 *) 0 ;
  size_t *arg5 = 0 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iClipper2D_Clip",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iClipper2D_Clip" "', argument " "1"" of type '" "iClipper2D *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iClipper2D_Clip" "', argument " "2"" of type '" "csVector2 *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iClipper2D_Clip" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iClipper2D_Clip" "', argument " "4"" of type '" "csVector2 *""'"); 
  }
  arg4 = reinterpret_cast< csVector2 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iClipper2D_Clip" "', argument " "5"" of type '" "size_t &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iClipper2D_Clip" "', argument " "5"" of type '" "size_t &""'"); 
  }
  arg5 = reinterpret_cast< size_t * >(argp5);
  result = (arg1)->Clip(arg2,arg3,arg4,*arg5);
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iClipper2D_Clip__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  size_t arg3 ;
  csVector2 *arg4 = (csVector2 *) 0 ;
  size_t *arg5 = 0 ;
  csBox2 *arg6 = 0 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iClipper2D_Clip",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iClipper2D_Clip" "', argument " "1"" of type '" "iClipper2D *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iClipper2D_Clip" "', argument " "2"" of type '" "csVector2 *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iClipper2D_Clip" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iClipper2D_Clip" "', argument " "4"" of type '" "csVector2 *""'"); 
  }
  arg4 = reinterpret_cast< csVector2 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iClipper2D_Clip" "', argument " "5"" of type '" "size_t &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iClipper2D_Clip" "', argument " "5"" of type '" "size_t &""'"); 
  }
  arg5 = reinterpret_cast< size_t * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csBox2,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iClipper2D_Clip" "', argument " "6"" of type '" "csBox2 &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iClipper2D_Clip" "', argument " "6"" of type '" "csBox2 &""'"); 
  }
  arg6 = reinterpret_cast< csBox2 * >(argp6);
  result = (arg1)->Clip(arg2,arg3,arg4,*arg5,*arg6);
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iClipper2D_Clip__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  size_t arg3 ;
  csVector2 *arg4 = (csVector2 *) 0 ;
  size_t *arg5 = 0 ;
  csVertexStatus *arg6 = (csVertexStatus *) 0 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iClipper2D_Clip",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iClipper2D_Clip" "', argument " "1"" of type '" "iClipper2D *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iClipper2D_Clip" "', argument " "2"" of type '" "csVector2 *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iClipper2D_Clip" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iClipper2D_Clip" "', argument " "4"" of type '" "csVector2 *""'"); 
  }
  arg4 = reinterpret_cast< csVector2 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iClipper2D_Clip" "', argument " "5"" of type '" "size_t &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iClipper2D_Clip" "', argument " "5"" of type '" "size_t &""'"); 
  }
  arg5 = reinterpret_cast< size_t * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_csVertexStatus, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iClipper2D_Clip" "', argument " "6"" of type '" "csVertexStatus *""'"); 
  }
  arg6 = reinterpret_cast< csVertexStatus * >(argp6);
  result = (arg1)->Clip(arg2,arg3,arg4,*arg5,arg6);
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iClipper2D_Clip(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iClipper2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector2, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_size_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iClipper2D_Clip__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iClipper2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector2, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_size_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_csBox2, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iClipper2D_Clip__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iClipper2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_size_t(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector2, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_size_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_csVertexStatus, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iClipper2D_Clip__SWIG_2(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iClipper2D_Clip'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iClipper2D_ClipInPlace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  size_t *arg3 = 0 ;
  csBox2 *arg4 = 0 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iClipper2D_ClipInPlace",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iClipper2D_ClipInPlace" "', argument " "1"" of type '" "iClipper2D *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iClipper2D_ClipInPlace" "', argument " "2"" of type '" "csVector2 *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iClipper2D_ClipInPlace" "', argument " "3"" of type '" "size_t &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iClipper2D_ClipInPlace" "', argument " "3"" of type '" "size_t &""'"); 
  }
  arg3 = reinterpret_cast< size_t * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csBox2,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iClipper2D_ClipInPlace" "', argument " "4"" of type '" "csBox2 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iClipper2D_ClipInPlace" "', argument " "4"" of type '" "csBox2 &""'"); 
  }
  arg4 = reinterpret_cast< csBox2 * >(argp4);
  result = (arg1)->ClipInPlace(arg2,*arg3,*arg4);
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iClipper2D_ClassifyBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  csBox2 *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iClipper2D_ClassifyBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iClipper2D_ClassifyBox" "', argument " "1"" of type '" "iClipper2D *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iClipper2D_ClassifyBox" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iClipper2D_ClassifyBox" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  result = (int)(arg1)->ClassifyBox((csBox2 const &)*arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iClipper2D_IsInside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  csVector2 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iClipper2D_IsInside",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iClipper2D_IsInside" "', argument " "1"" of type '" "iClipper2D *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iClipper2D_IsInside" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iClipper2D_IsInside" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  result = (bool)(arg1)->IsInside((csVector2 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iClipper2D_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iClipper2D_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iClipper2D_GetVertexCount" "', argument " "1"" of type '" "iClipper2D *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  result = (arg1)->GetVertexCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iClipper2D_GetClipPoly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iClipper2D_GetClipPoly",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iClipper2D_GetClipPoly" "', argument " "1"" of type '" "iClipper2D *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  result = (csVector2 *)(arg1)->GetClipPoly();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iClipper2D_GetClipperType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  iClipper2D::ClipperType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iClipper2D_GetClipperType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iClipper2D_GetClipperType" "', argument " "1"" of type '" "iClipper2D const *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  result = (iClipper2D::ClipperType)((iClipper2D const *)arg1)->GetClipperType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iClipper2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iClipper2D *arg1 = (iClipper2D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iClipper2D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iClipper2D, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iClipper2D" "', argument " "1"" of type '" "iClipper2D *""'"); 
  }
  arg1 = reinterpret_cast< iClipper2D * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iClipper2D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iClipper2D, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iObjectModelListener_ObjectModelChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModelListener *arg1 = (iObjectModelListener *) 0 ;
  iObjectModel *arg2 = (iObjectModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectModelListener_ObjectModelChanged",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModelListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModelListener_ObjectModelChanged" "', argument " "1"" of type '" "iObjectModelListener *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModelListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectModelListener_ObjectModelChanged" "', argument " "2"" of type '" "iObjectModel *""'"); 
  }
  arg2 = reinterpret_cast< iObjectModel * >(argp2);
  (arg1)->ObjectModelChanged(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iObjectModelListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModelListener *arg1 = (iObjectModelListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iObjectModelListener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModelListener, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iObjectModelListener" "', argument " "1"" of type '" "iObjectModelListener *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModelListener * >(argp1);
  delete_iObjectModelListener(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModelListener_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iObjectModelListener_scfGetVersion")) SWIG_fail;
  result = (int)iObjectModelListener_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iObjectModelListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iObjectModelListener, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iObjectModel_GetShapeNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectModel_GetShapeNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_GetShapeNumber" "', argument " "1"" of type '" "iObjectModel const *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  result = (long)((iObjectModel const *)arg1)->GetShapeNumber();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_GetPolygonMeshBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iPolygonMesh *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectModel_GetPolygonMeshBase",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_GetPolygonMeshBase" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  result = (iPolygonMesh *)(arg1)->GetPolygonMeshBase();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_GetPolygonMeshColldet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iPolygonMesh *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectModel_GetPolygonMeshColldet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_GetPolygonMeshColldet" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  result = (iPolygonMesh *)(arg1)->GetPolygonMeshColldet();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_GetTerraFormerColldet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iTerraFormer *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectModel_GetTerraFormerColldet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_GetTerraFormerColldet" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  result = (iTerraFormer *)(arg1)->GetTerraFormerColldet();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTerraFormer, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_SetPolygonMeshColldet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iPolygonMesh *arg2 = (iPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectModel_SetPolygonMeshColldet",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_SetPolygonMeshColldet" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectModel_SetPolygonMeshColldet" "', argument " "2"" of type '" "iPolygonMesh *""'"); 
  }
  arg2 = reinterpret_cast< iPolygonMesh * >(argp2);
  (arg1)->SetPolygonMeshColldet(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_GetPolygonMeshViscull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iPolygonMesh *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectModel_GetPolygonMeshViscull",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_GetPolygonMeshViscull" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  result = (iPolygonMesh *)(arg1)->GetPolygonMeshViscull();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_SetPolygonMeshViscull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iPolygonMesh *arg2 = (iPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectModel_SetPolygonMeshViscull",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_SetPolygonMeshViscull" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectModel_SetPolygonMeshViscull" "', argument " "2"" of type '" "iPolygonMesh *""'"); 
  }
  arg2 = reinterpret_cast< iPolygonMesh * >(argp2);
  (arg1)->SetPolygonMeshViscull(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_GetPolygonMeshShadows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iPolygonMesh *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectModel_GetPolygonMeshShadows",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_GetPolygonMeshShadows" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  result = (iPolygonMesh *)(arg1)->GetPolygonMeshShadows();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_SetPolygonMeshShadows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iPolygonMesh *arg2 = (iPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectModel_SetPolygonMeshShadows",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_SetPolygonMeshShadows" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectModel_SetPolygonMeshShadows" "', argument " "2"" of type '" "iPolygonMesh *""'"); 
  }
  arg2 = reinterpret_cast< iPolygonMesh * >(argp2);
  (arg1)->SetPolygonMeshShadows(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_CreateLowerDetailPolygonMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  float arg2 ;
  SwigValueWrapper<csPtr<iPolygonMesh > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectModel_CreateLowerDetailPolygonMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_CreateLowerDetailPolygonMesh" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iObjectModel_CreateLowerDetailPolygonMesh" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (arg1)->CreateLowerDetailPolygonMesh(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iPolygonMesh> ref((csPtr<iPolygonMesh>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iPolygonMesh *)ref), (void *)(iPolygonMesh *)ref, "iPolygonMesh" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_GetObjectBoundingBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  csBox3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectModel_GetObjectBoundingBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_GetObjectBoundingBox" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectModel_GetObjectBoundingBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iObjectModel_GetObjectBoundingBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  (arg1)->GetObjectBoundingBox(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_GetObjectBoundingBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectModel_GetObjectBoundingBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_GetObjectBoundingBox" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  {
    csBox3 const &_result_ref = (arg1)->GetObjectBoundingBox();
    result = (csBox3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_GetObjectBoundingBox(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectModel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iObjectModel_GetObjectBoundingBox__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectModel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iObjectModel_GetObjectBoundingBox__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iObjectModel_GetObjectBoundingBox'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_SetObjectBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  csBox3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectModel_SetObjectBoundingBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_SetObjectBoundingBox" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectModel_SetObjectBoundingBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iObjectModel_SetObjectBoundingBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  (arg1)->SetObjectBoundingBox((csBox3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_GetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  float *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iObjectModel_GetRadius",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_GetRadius" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectModel_GetRadius" "', argument " "2"" of type '" "float &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iObjectModel_GetRadius" "', argument " "2"" of type '" "float &""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iObjectModel_GetRadius" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iObjectModel_GetRadius" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->GetRadius(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_AddListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iObjectModelListener *arg2 = (iObjectModelListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectModel_AddListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_AddListener" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectModelListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectModel_AddListener" "', argument " "2"" of type '" "iObjectModelListener *""'"); 
  }
  arg2 = reinterpret_cast< iObjectModelListener * >(argp2);
  (arg1)->AddListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_RemoveListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  iObjectModelListener *arg2 = (iObjectModelListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectModel_RemoveListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectModel_RemoveListener" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectModelListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectModel_RemoveListener" "', argument " "2"" of type '" "iObjectModelListener *""'"); 
  }
  arg2 = reinterpret_cast< iObjectModelListener * >(argp2);
  (arg1)->RemoveListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iObjectModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectModel *arg1 = (iObjectModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iObjectModel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectModel, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iObjectModel" "', argument " "1"" of type '" "iObjectModel *""'"); 
  }
  arg1 = reinterpret_cast< iObjectModel * >(argp1);
  delete_iObjectModel(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectModel_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iObjectModel_scfGetVersion")) SWIG_fail;
  result = (int)iObjectModel_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iObjectModel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iObjectModel, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iPath_Length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPath_Length",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_Length" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  result = (int)(arg1)->Length();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_CalculateAtTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPath_CalculateAtTime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_CalculateAtTime" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPath_CalculateAtTime" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->CalculateAtTime(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_GetCurrentIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPath_GetCurrentIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_GetCurrentIndex" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  result = (int)(arg1)->GetCurrentIndex();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_SetPositionVectors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPath_SetPositionVectors",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_SetPositionVectors" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPath_SetPositionVectors" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetPositionVectors(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_SetUpVectors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPath_SetUpVectors",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_SetUpVectors" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPath_SetUpVectors" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetUpVectors(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_SetForwardVectors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPath_SetForwardVectors",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_SetForwardVectors" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPath_SetForwardVectors" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetForwardVectors(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_SetPositionVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPath_SetPositionVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_SetPositionVector" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPath_SetPositionVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPath_SetPositionVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPath_SetPositionVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetPositionVector(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_SetUpVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPath_SetUpVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_SetUpVector" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPath_SetUpVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPath_SetUpVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPath_SetUpVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetUpVector(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_SetForwardVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPath_SetForwardVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_SetForwardVector" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPath_SetForwardVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPath_SetForwardVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPath_SetForwardVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetForwardVector(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_GetPositionVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPath_GetPositionVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_GetPositionVector" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPath_GetPositionVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPath_GetPositionVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPath_GetPositionVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->GetPositionVector(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_GetUpVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPath_GetUpVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_GetUpVector" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPath_GetUpVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPath_GetUpVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPath_GetUpVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->GetUpVector(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_GetForwardVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPath_GetForwardVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_GetForwardVector" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPath_GetForwardVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPath_GetForwardVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPath_GetForwardVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->GetForwardVector(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_GetTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPath_GetTime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_GetTime" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPath_GetTime" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetTime(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_SetTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPath_SetTime",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_SetTime" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPath_SetTime" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iPath_SetTime" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetTime(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_GetInterpolatedPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPath_GetInterpolatedPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_GetInterpolatedPosition" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPath_GetInterpolatedPosition" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPath_GetInterpolatedPosition" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->GetInterpolatedPosition(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_GetInterpolatedUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPath_GetInterpolatedUp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_GetInterpolatedUp" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPath_GetInterpolatedUp" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPath_GetInterpolatedUp" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->GetInterpolatedUp(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_GetInterpolatedForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPath_GetInterpolatedForward",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPath_GetInterpolatedForward" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPath_GetInterpolatedForward" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPath_GetInterpolatedForward" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->GetInterpolatedForward(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPath *arg1 = (iPath *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iPath",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPath, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iPath" "', argument " "1"" of type '" "iPath *""'"); 
  }
  arg1 = reinterpret_cast< iPath * >(argp1);
  delete_iPath(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPath_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iPath_scfGetVersion")) SWIG_fail;
  result = (int)iPath_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iPath, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_scfPath_IncRef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfImplementation1<csPath,iPath > *arg1 = (scfImplementation1<csPath,iPath > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:scfPath_IncRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_scfImplementation1TcsPath_iPath_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scfPath_IncRef" "', argument " "1"" of type '" "scfImplementation1<csPath,iPath > *""'"); 
  }
  arg1 = reinterpret_cast< scfImplementation1<csPath,iPath > * >(argp1);
  (arg1)->IncRef();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_scfPath_DecRef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfImplementation1<csPath,iPath > *arg1 = (scfImplementation1<csPath,iPath > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:scfPath_DecRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_scfImplementation1TcsPath_iPath_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scfPath_DecRef" "', argument " "1"" of type '" "scfImplementation1<csPath,iPath > *""'"); 
  }
  arg1 = reinterpret_cast< scfImplementation1<csPath,iPath > * >(argp1);
  (arg1)->DecRef();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_scfPath_GetRefCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfImplementation1<csPath,iPath > *arg1 = (scfImplementation1<csPath,iPath > *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:scfPath_GetRefCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_scfImplementation1TcsPath_iPath_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scfPath_GetRefCount" "', argument " "1"" of type '" "scfImplementation1<csPath,iPath > *""'"); 
  }
  arg1 = reinterpret_cast< scfImplementation1<csPath,iPath > * >(argp1);
  result = (int)(arg1)->GetRefCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_scfPath_QueryInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfImplementation1<csPath,iPath > *arg1 = (scfImplementation1<csPath,iPath > *) 0 ;
  scfInterfaceID arg2 ;
  int arg3 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:scfPath_QueryInterface",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_scfImplementation1TcsPath_iPath_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scfPath_QueryInterface" "', argument " "1"" of type '" "scfImplementation1<csPath,iPath > *""'"); 
  }
  arg1 = reinterpret_cast< scfImplementation1<csPath,iPath > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scfPath_QueryInterface" "', argument " "2"" of type '" "scfInterfaceID""'");
  } 
  arg2 = static_cast< scfInterfaceID >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "scfPath_QueryInterface" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (void *)(arg1)->QueryInterface(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_scfPath_AddRefOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfImplementation1<csPath,iPath > *arg1 = (scfImplementation1<csPath,iPath > *) 0 ;
  void **arg2 = (void **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:scfPath_AddRefOwner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_scfImplementation1TcsPath_iPath_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scfPath_AddRefOwner" "', argument " "1"" of type '" "scfImplementation1<csPath,iPath > *""'"); 
  }
  arg1 = reinterpret_cast< scfImplementation1<csPath,iPath > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scfPath_AddRefOwner" "', argument " "2"" of type '" "void **""'"); 
  }
  arg2 = reinterpret_cast< void ** >(argp2);
  (arg1)->AddRefOwner(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_scfPath_RemoveRefOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  scfImplementation1<csPath,iPath > *arg1 = (scfImplementation1<csPath,iPath > *) 0 ;
  void **arg2 = (void **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:scfPath_RemoveRefOwner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_scfImplementation1TcsPath_iPath_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scfPath_RemoveRefOwner" "', argument " "1"" of type '" "scfImplementation1<csPath,iPath > *""'"); 
  }
  arg1 = reinterpret_cast< scfImplementation1<csPath,iPath > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scfPath_RemoveRefOwner" "', argument " "2"" of type '" "void **""'"); 
  }
  arg2 = reinterpret_cast< void ** >(argp2);
  (arg1)->RemoveRefOwner(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *scfPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_scfImplementation1TcsPath_iPath_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csMeshedPolygon_num_vertices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMeshedPolygon *arg1 = (csMeshedPolygon *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMeshedPolygon_num_vertices_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMeshedPolygon, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMeshedPolygon_num_vertices_set" "', argument " "1"" of type '" "csMeshedPolygon *""'"); 
  }
  arg1 = reinterpret_cast< csMeshedPolygon * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMeshedPolygon_num_vertices_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->num_vertices = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMeshedPolygon_num_vertices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMeshedPolygon *arg1 = (csMeshedPolygon *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMeshedPolygon_num_vertices_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMeshedPolygon, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMeshedPolygon_num_vertices_get" "', argument " "1"" of type '" "csMeshedPolygon *""'"); 
  }
  arg1 = reinterpret_cast< csMeshedPolygon * >(argp1);
  result = (int) ((arg1)->num_vertices);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMeshedPolygon_vertices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMeshedPolygon *arg1 = (csMeshedPolygon *) 0 ;
  int *arg2 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMeshedPolygon_vertices_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMeshedPolygon, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMeshedPolygon_vertices_set" "', argument " "1"" of type '" "csMeshedPolygon *""'"); 
  }
  arg1 = reinterpret_cast< csMeshedPolygon * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMeshedPolygon_vertices_set" "', argument " "2"" of type '" "int *""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  if (arg1) (arg1)->vertices = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMeshedPolygon_vertices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMeshedPolygon *arg1 = (csMeshedPolygon *) 0 ;
  int *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMeshedPolygon_vertices_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMeshedPolygon, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMeshedPolygon_vertices_get" "', argument " "1"" of type '" "csMeshedPolygon *""'"); 
  }
  arg1 = reinterpret_cast< csMeshedPolygon * >(argp1);
  result = (int *) ((arg1)->vertices);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMeshedPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMeshedPolygon *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csMeshedPolygon")) SWIG_fail;
  result = (csMeshedPolygon *)new csMeshedPolygon();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMeshedPolygon, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csMeshedPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMeshedPolygon *arg1 = (csMeshedPolygon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csMeshedPolygon",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMeshedPolygon, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csMeshedPolygon" "', argument " "1"" of type '" "csMeshedPolygon *""'"); 
  }
  arg1 = reinterpret_cast< csMeshedPolygon * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csMeshedPolygon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csMeshedPolygon, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iPolygonMesh_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_GetVertexCount" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  result = (int)(arg1)->GetVertexCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_GetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_GetVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_GetVertices" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  result = (csVector3 *)(arg1)->GetVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_GetPolygonCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_GetPolygonCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_GetPolygonCount" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  result = (int)(arg1)->GetPolygonCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_GetPolygons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  csMeshedPolygon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_GetPolygons",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_GetPolygons" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  result = (csMeshedPolygon *)(arg1)->GetPolygons();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMeshedPolygon, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_GetTriangleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_GetTriangleCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_GetTriangleCount" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  result = (int)(arg1)->GetTriangleCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_GetTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  csTriangle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_GetTriangles",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_GetTriangles" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  result = (csTriangle *)(arg1)->GetTriangles();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTriangle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_Lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_Lock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_Lock" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  (arg1)->Lock();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_Unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_Unlock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_Unlock" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  (arg1)->Unlock();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_GetFlags" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_GetChangeNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonMesh_GetChangeNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonMesh_GetChangeNumber" "', argument " "1"" of type '" "iPolygonMesh const *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  result = ((iPolygonMesh const *)arg1)->GetChangeNumber();
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iPolygonMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonMesh *arg1 = (iPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iPolygonMesh",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonMesh, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iPolygonMesh" "', argument " "1"" of type '" "iPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonMesh * >(argp1);
  delete_iPolygonMesh(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonMesh_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iPolygonMesh_scfGetVersion")) SWIG_fail;
  result = (int)iPolygonMesh_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iPolygonMesh_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iPolygonMesh, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  csPath *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPath",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPath" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  result = (csPath *)new csPath(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPath, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPath",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPath" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_Length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPath_Length",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_Length" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  result = (int)(arg1)->Length();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_CalculateAtTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_CalculateAtTime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_CalculateAtTime" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_CalculateAtTime" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->CalculateAtTime(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_Calculate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_Calculate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_Calculate" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_Calculate" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Calculate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetCurrentIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPath_GetCurrentIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetCurrentIndex" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  result = (int)(arg1)->GetCurrentIndex();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_GetTime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetTime" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_GetTime" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetTime(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_SetTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPath_SetTime",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_SetTime" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_SetTime" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPath_SetTime" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetTime(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_SetTimeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPath_SetTimeValue",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_SetTimeValue" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_SetTimeValue" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPath_SetTimeValue" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetTimeValue(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_SetTimes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  float *arg2 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_SetTimes",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_SetTimes" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPath_SetTimes" "', argument " "2"" of type '" "float const *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  (arg1)->SetTimes((float const *)arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetTimes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPath_GetTimes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetTimes" "', argument " "1"" of type '" "csPath const *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  result = (float *)((csPath const *)arg1)->GetTimes();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_SetPositionVectors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_SetPositionVectors",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_SetPositionVectors" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPath_SetPositionVectors" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetPositionVectors(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_SetUpVectors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_SetUpVectors",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_SetUpVectors" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPath_SetUpVectors" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetUpVectors(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_SetForwardVectors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_SetForwardVectors",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_SetForwardVectors" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPath_SetForwardVectors" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetForwardVectors(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_SetPositionVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPath_SetPositionVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_SetPositionVector" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_SetPositionVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPath_SetPositionVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPath_SetPositionVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetPositionVector(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_SetUpVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPath_SetUpVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_SetUpVector" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_SetUpVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPath_SetUpVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPath_SetUpVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetUpVector(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_SetForwardVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPath_SetForwardVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_SetForwardVector" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_SetForwardVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPath_SetForwardVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPath_SetForwardVector" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetForwardVector(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetPositionVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPath_GetPositionVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetPositionVector" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_GetPositionVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPath_GetPositionVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPath_GetPositionVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->GetPositionVector(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetUpVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPath_GetUpVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetUpVector" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_GetUpVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPath_GetUpVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPath_GetUpVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->GetUpVector(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetForwardVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPath_GetForwardVector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetForwardVector" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_GetForwardVector" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csPath_GetForwardVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPath_GetForwardVector" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->GetForwardVector(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetInterpolatedPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_GetInterpolatedPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetInterpolatedPosition" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPath_GetInterpolatedPosition" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPath_GetInterpolatedPosition" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->GetInterpolatedPosition(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetInterpolatedUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_GetInterpolatedUp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetInterpolatedUp" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPath_GetInterpolatedUp" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPath_GetInterpolatedUp" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->GetInterpolatedUp(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetInterpolatedForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_GetInterpolatedForward",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetInterpolatedForward" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPath_GetInterpolatedForward" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPath_GetInterpolatedForward" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->GetInterpolatedForward(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetDimensionValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_GetDimensionValues",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetDimensionValues" "', argument " "1"" of type '" "csPath const *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_GetDimensionValues" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float *)((csPath const *)arg1)->GetDimensionValues(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_GetDimensionValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  int arg3 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPath_GetDimensionValue",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_GetDimensionValue" "', argument " "1"" of type '" "csPath const *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_GetDimensionValue" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPath_GetDimensionValue" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (float)((csPath const *)arg1)->GetDimensionValue(arg2,arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_InsertPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_InsertPoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_InsertPoint" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_InsertPoint" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->InsertPoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPath_RemovePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPath *arg1 = (csPath *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPath_RemovePoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPath, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPath_RemovePoint" "', argument " "1"" of type '" "csPath *""'"); 
  }
  arg1 = reinterpret_cast< csPath * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPath_RemovePoint" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->RemovePoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPath, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csPolygonMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csPolygonMesh")) SWIG_fail;
  result = (csPolygonMesh *)new csPolygonMesh();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPolygonMesh, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPolygonMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPolygonMesh",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPolygonMesh" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_SetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  int arg3 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPolygonMesh_SetVertices",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_SetVertices" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPolygonMesh_SetVertices" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPolygonMesh_SetVertices" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPolygonMesh_SetVertices" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->SetVertices(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_SetPolygons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  csMeshedPolygon *arg2 = (csMeshedPolygon *) 0 ;
  int arg3 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csPolygonMesh_SetPolygons",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_SetPolygons" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csMeshedPolygon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPolygonMesh_SetPolygons" "', argument " "2"" of type '" "csMeshedPolygon *""'"); 
  }
  arg2 = reinterpret_cast< csMeshedPolygon * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPolygonMesh_SetPolygons" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPolygonMesh_SetPolygons" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->SetPolygons(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_SetPolygonIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  int *arg2 = (int *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPolygonMesh_SetPolygonIndices",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_SetPolygonIndices" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPolygonMesh_SetPolygonIndices" "', argument " "2"" of type '" "int *""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPolygonMesh_SetPolygonIndices" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->SetPolygonIndices(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_SetPolygonIndexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPolygonMesh_SetPolygonIndexCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_SetPolygonIndexCount" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPolygonMesh_SetPolygonIndexCount" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetPolygonIndexCount(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_GetPolygonIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  int *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_GetPolygonIndices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_GetPolygonIndices" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  result = (int *)(arg1)->GetPolygonIndices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_SetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPolygonMesh_SetVertexCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_SetVertexCount" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPolygonMesh_SetVertexCount" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetVertexCount(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_SetPolygonCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPolygonMesh_SetPolygonCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_SetPolygonCount" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPolygonMesh_SetPolygonCount" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetPolygonCount(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_ShapeChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_ShapeChanged",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_ShapeChanged" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  (arg1)->ShapeChanged();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_GetVertexCount" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  result = (int)(arg1)->GetVertexCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_GetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_GetVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_GetVertices" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  result = (csVector3 *)(arg1)->GetVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_GetPolygonCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_GetPolygonCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_GetPolygonCount" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  result = (int)(arg1)->GetPolygonCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_GetPolygons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  csMeshedPolygon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_GetPolygons",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_GetPolygons" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  result = (csMeshedPolygon *)(arg1)->GetPolygons();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMeshedPolygon, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_GetTriangleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_GetTriangleCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_GetTriangleCount" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  result = (int)(arg1)->GetTriangleCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_GetTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  csTriangle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_GetTriangles",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_GetTriangles" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  result = (csTriangle *)(arg1)->GetTriangles();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTriangle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_Lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_Lock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_Lock" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  (arg1)->Lock();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_Unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_Unlock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_Unlock" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  (arg1)->Unlock();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_GetFlags" "', argument " "1"" of type '" "csPolygonMesh *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMesh_GetChangeNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMesh *arg1 = (csPolygonMesh *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMesh_GetChangeNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMesh_GetChangeNumber" "', argument " "1"" of type '" "csPolygonMesh const *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMesh * >(argp1);
  result = ((csPolygonMesh const *)arg1)->GetChangeNumber();
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPolygonMesh_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPolygonMesh, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csPolygonMeshBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBox3 *arg1 = 0 ;
  csPolygonMeshBox *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPolygonMeshBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPolygonMeshBox" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csPolygonMeshBox" "', argument " "1"" of type '" "csBox3 const &""'"); 
  }
  arg1 = reinterpret_cast< csBox3 * >(argp1);
  result = (csPolygonMeshBox *)new csPolygonMeshBox((csBox3 const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPolygonMeshBox, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPolygonMeshBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPolygonMeshBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPolygonMeshBox" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_SetBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  csBox3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPolygonMeshBox_SetBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_SetBox" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPolygonMeshBox_SetBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPolygonMeshBox_SetBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  (arg1)->SetBox((csBox3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_GetVertexCount" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  result = (int)(arg1)->GetVertexCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_GetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_GetVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_GetVertices" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  result = (csVector3 *)(arg1)->GetVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_GetPolygonCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_GetPolygonCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_GetPolygonCount" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  result = (int)(arg1)->GetPolygonCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_GetPolygons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  csMeshedPolygon *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_GetPolygons",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_GetPolygons" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  result = (csMeshedPolygon *)(arg1)->GetPolygons();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMeshedPolygon, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_GetTriangleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_GetTriangleCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_GetTriangleCount" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  result = (int)(arg1)->GetTriangleCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_GetTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  csTriangle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_GetTriangles",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_GetTriangles" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  result = (csTriangle *)(arg1)->GetTriangles();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTriangle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_Lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_Lock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_Lock" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  (arg1)->Lock();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_Unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_Unlock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_Unlock" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  (arg1)->Unlock();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_GetFlags" "', argument " "1"" of type '" "csPolygonMeshBox *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonMeshBox_GetChangeNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonMeshBox *arg1 = (csPolygonMeshBox *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonMeshBox_GetChangeNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonMeshBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonMeshBox_GetChangeNumber" "', argument " "1"" of type '" "csPolygonMeshBox const *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonMeshBox * >(argp1);
  result = ((csPolygonMeshBox const *)arg1)->GetChangeNumber();
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPolygonMeshBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPolygonMeshBox, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_iFrustumViewUserdata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumViewUserdata *arg1 = (iFrustumViewUserdata *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iFrustumViewUserdata",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumViewUserdata, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iFrustumViewUserdata" "', argument " "1"" of type '" "iFrustumViewUserdata *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumViewUserdata * >(argp1);
  delete_iFrustumViewUserdata(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumViewUserdata_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iFrustumViewUserdata_scfGetVersion")) SWIG_fail;
  result = (int)iFrustumViewUserdata_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iFrustumViewUserdata_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iFrustumViewUserdata, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csFrustumContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csFrustumContext")) SWIG_fail;
  result = (csFrustumContext *)new csFrustumContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFrustumContext, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  csFrustumContext *arg2 = 0 ;
  csFrustumContext *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFrustumContext_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_assign" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csFrustumContext,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csFrustumContext_assign" "', argument " "2"" of type '" "csFrustumContext const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csFrustumContext_assign" "', argument " "2"" of type '" "csFrustumContext const &""'"); 
  }
  arg2 = reinterpret_cast< csFrustumContext * >(argp2);
  {
    csFrustumContext &_result_ref = (arg1)->operator =((csFrustumContext const &)*arg2);
    result = (csFrustumContext *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFrustumContext, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_GetShadows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  iShadowBlockList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFrustumContext_GetShadows",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_GetShadows" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  result = (iShadowBlockList *)(arg1)->GetShadows();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShadowBlockList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_SetShadows__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  iShadowBlockList *arg2 = (iShadowBlockList *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csFrustumContext_SetShadows",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_SetShadows" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iShadowBlockList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csFrustumContext_SetShadows" "', argument " "2"" of type '" "iShadowBlockList *""'"); 
  }
  arg2 = reinterpret_cast< iShadowBlockList * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csFrustumContext_SetShadows" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->SetShadows(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_SetShadows__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  iShadowBlockList *arg2 = (iShadowBlockList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFrustumContext_SetShadows",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_SetShadows" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iShadowBlockList, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csFrustumContext_SetShadows" "', argument " "2"" of type '" "iShadowBlockList *""'"); 
  }
  arg2 = reinterpret_cast< iShadowBlockList * >(argp2);
  (arg1)->SetShadows(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_SetShadows(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csFrustumContext, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iShadowBlockList, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csFrustumContext_SetShadows__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csFrustumContext, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iShadowBlockList, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csFrustumContext_SetShadows__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csFrustumContext_SetShadows'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_SetNewShadows__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  SwigValueWrapper<csPtr<iShadowBlockList > > arg2 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csFrustumContext_SetNewShadows",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_SetNewShadows" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPtrTiShadowBlockList_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csFrustumContext_SetNewShadows" "', argument " "2"" of type '" "csPtr<iShadowBlockList >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csFrustumContext_SetNewShadows" "', argument " "2"" of type '" "csPtr<iShadowBlockList >""'");
    } else {
      csPtr<iShadowBlockList > * temp = reinterpret_cast< csPtr<iShadowBlockList > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csFrustumContext_SetNewShadows" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->SetNewShadows(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_SetNewShadows__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  SwigValueWrapper<csPtr<iShadowBlockList > > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFrustumContext_SetNewShadows",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_SetNewShadows" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPtrTiShadowBlockList_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csFrustumContext_SetNewShadows" "', argument " "2"" of type '" "csPtr<iShadowBlockList >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csFrustumContext_SetNewShadows" "', argument " "2"" of type '" "csPtr<iShadowBlockList >""'");
    } else {
      csPtr<iShadowBlockList > * temp = reinterpret_cast< csPtr<iShadowBlockList > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->SetNewShadows(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_SetNewShadows(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csFrustumContext, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPtrTiShadowBlockList_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csFrustumContext_SetNewShadows__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csFrustumContext, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPtrTiShadowBlockList_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csFrustumContext_SetNewShadows__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csFrustumContext_SetNewShadows'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_IsShared(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFrustumContext_IsShared",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_IsShared" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  result = (bool)(arg1)->IsShared();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_SetLightFrustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  csFrustum *arg2 = (csFrustum *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFrustumContext_SetLightFrustum",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_SetLightFrustum" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csFrustum, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csFrustumContext_SetLightFrustum" "', argument " "2"" of type '" "csFrustum *""'"); 
  }
  arg2 = reinterpret_cast< csFrustum * >(argp2);
  (arg1)->SetLightFrustum(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_SetNewLightFrustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  SwigValueWrapper<csPtr<csFrustum > > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFrustumContext_SetNewLightFrustum",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_SetNewLightFrustum" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPtrTcsFrustum_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csFrustumContext_SetNewLightFrustum" "', argument " "2"" of type '" "csPtr<csFrustum >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csFrustumContext_SetNewLightFrustum" "', argument " "2"" of type '" "csPtr<csFrustum >""'");
    } else {
      csPtr<csFrustum > * temp = reinterpret_cast< csPtr<csFrustum > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->SetNewLightFrustum(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_GetLightFrustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  csFrustum *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFrustumContext_GetLightFrustum",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_GetLightFrustum" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  result = (csFrustum *)(arg1)->GetLightFrustum();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFrustum, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_SetMirrored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFrustumContext_SetMirrored",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_SetMirrored" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFrustumContext_SetMirrored" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetMirrored(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFrustumContext_IsMirrored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFrustumContext_IsMirrored",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFrustumContext_IsMirrored" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  result = (bool)(arg1)->IsMirrored();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csFrustumContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFrustumContext *arg1 = (csFrustumContext *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csFrustumContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFrustumContext, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csFrustumContext" "', argument " "1"" of type '" "csFrustumContext *""'"); 
  }
  arg1 = reinterpret_cast< csFrustumContext * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csFrustumContext_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csFrustumContext, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iFrustumView_GetFrustumContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  csFrustumContext *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFrustumView_GetFrustumContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_GetFrustumContext" "', argument " "1"" of type '" "iFrustumView const *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  result = (csFrustumContext *)((iFrustumView const *)arg1)->GetFrustumContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFrustumContext, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_CreateFrustumContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFrustumView_CreateFrustumContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_CreateFrustumContext" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  (arg1)->CreateFrustumContext();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_CopyFrustumContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  csFrustumContext *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFrustumView_CopyFrustumContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_CopyFrustumContext" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  result = (csFrustumContext *)(arg1)->CopyFrustumContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFrustumContext, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_SetFrustumContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  csFrustumContext *arg2 = (csFrustumContext *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFrustumView_SetFrustumContext",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_SetFrustumContext" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFrustumView_SetFrustumContext" "', argument " "2"" of type '" "csFrustumContext *""'"); 
  }
  arg2 = reinterpret_cast< csFrustumContext * >(argp2);
  (arg1)->SetFrustumContext(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_RestoreFrustumContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  csFrustumContext *arg2 = (csFrustumContext *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFrustumView_RestoreFrustumContext",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_RestoreFrustumContext" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csFrustumContext, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFrustumView_RestoreFrustumContext" "', argument " "2"" of type '" "csFrustumContext *""'"); 
  }
  arg2 = reinterpret_cast< csFrustumContext * >(argp2);
  (arg1)->RestoreFrustumContext(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_SetObjectFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  csFrustumViewObjectFunc *arg2 = (csFrustumViewObjectFunc *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFrustumView_SetObjectFunction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_SetObjectFunction" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_iMeshWrapper_p_iFrustumView_bool__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "iFrustumView_SetObjectFunction" "', argument " "2"" of type '" "csFrustumViewObjectFunc *""'"); 
    }
  }
  (arg1)->SetObjectFunction(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_CallObjectFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iFrustumView_CallObjectFunction",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_CallObjectFunction" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFrustumView_CallObjectFunction" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iFrustumView_CallObjectFunction" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->CallObjectFunction(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_GetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFrustumView_GetRadius",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_GetRadius" "', argument " "1"" of type '" "iFrustumView const *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  result = (float)((iFrustumView const *)arg1)->GetRadius();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_GetSquaredRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFrustumView_GetSquaredRadius",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_GetSquaredRadius" "', argument " "1"" of type '" "iFrustumView const *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  result = (float)((iFrustumView const *)arg1)->GetSquaredRadius();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_CheckShadowMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  unsigned int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFrustumView_CheckShadowMask",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_CheckShadowMask" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iFrustumView_CheckShadowMask" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (bool)(arg1)->CheckShadowMask(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_CheckProcessMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  unsigned int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFrustumView_CheckProcessMask",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_CheckProcessMask" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iFrustumView_CheckProcessMask" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (bool)(arg1)->CheckProcessMask(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_StartNewShadowBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFrustumView_StartNewShadowBlock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_StartNewShadowBlock" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  (arg1)->StartNewShadowBlock();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_SetUserdata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  iFrustumViewUserdata *arg2 = (iFrustumViewUserdata *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFrustumView_SetUserdata",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_SetUserdata" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFrustumViewUserdata, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFrustumView_SetUserdata" "', argument " "2"" of type '" "iFrustumViewUserdata *""'"); 
  }
  arg2 = reinterpret_cast< iFrustumViewUserdata * >(argp2);
  (arg1)->SetUserdata(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_GetUserdata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  iFrustumViewUserdata *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFrustumView_GetUserdata",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFrustumView_GetUserdata" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  result = (iFrustumViewUserdata *)(arg1)->GetUserdata();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iFrustumViewUserdata, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iFrustumView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFrustumView *arg1 = (iFrustumView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iFrustumView",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFrustumView, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iFrustumView" "', argument " "1"" of type '" "iFrustumView *""'"); 
  }
  arg1 = reinterpret_cast< iFrustumView * >(argp1);
  delete_iFrustumView(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFrustumView_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iFrustumView_scfGetVersion")) SWIG_fail;
  result = (int)iFrustumView_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iFrustumView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iFrustumView, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLightCallback_OnColorChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightCallback *arg1 = (iLightCallback *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  csColor *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLightCallback_OnColorChange",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightCallback_OnColorChange" "', argument " "1"" of type '" "iLightCallback *""'"); 
  }
  arg1 = reinterpret_cast< iLightCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightCallback_OnColorChange" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLightCallback_OnColorChange" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLightCallback_OnColorChange" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  arg3 = reinterpret_cast< csColor * >(argp3);
  (arg1)->OnColorChange(arg2,(csColor const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightCallback_OnPositionChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightCallback *arg1 = (iLightCallback *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLightCallback_OnPositionChange",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightCallback_OnPositionChange" "', argument " "1"" of type '" "iLightCallback *""'"); 
  }
  arg1 = reinterpret_cast< iLightCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightCallback_OnPositionChange" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLightCallback_OnPositionChange" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLightCallback_OnPositionChange" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->OnPositionChange(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightCallback_OnSectorChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightCallback *arg1 = (iLightCallback *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  iSector *arg3 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLightCallback_OnSectorChange",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightCallback_OnSectorChange" "', argument " "1"" of type '" "iLightCallback *""'"); 
  }
  arg1 = reinterpret_cast< iLightCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightCallback_OnSectorChange" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLightCallback_OnSectorChange" "', argument " "3"" of type '" "iSector *""'"); 
  }
  arg3 = reinterpret_cast< iSector * >(argp3);
  (arg1)->OnSectorChange(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightCallback_OnRadiusChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightCallback *arg1 = (iLightCallback *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLightCallback_OnRadiusChange",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightCallback_OnRadiusChange" "', argument " "1"" of type '" "iLightCallback *""'"); 
  }
  arg1 = reinterpret_cast< iLightCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightCallback_OnRadiusChange" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLightCallback_OnRadiusChange" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->OnRadiusChange(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightCallback_OnDestroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightCallback *arg1 = (iLightCallback *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightCallback_OnDestroy",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightCallback_OnDestroy" "', argument " "1"" of type '" "iLightCallback *""'"); 
  }
  arg1 = reinterpret_cast< iLightCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightCallback_OnDestroy" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  (arg1)->OnDestroy(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightCallback_OnAttenuationChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightCallback *arg1 = (iLightCallback *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLightCallback_OnAttenuationChange",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightCallback_OnAttenuationChange" "', argument " "1"" of type '" "iLightCallback *""'"); 
  }
  arg1 = reinterpret_cast< iLightCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightCallback_OnAttenuationChange" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLightCallback_OnAttenuationChange" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->OnAttenuationChange(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLightCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightCallback *arg1 = (iLightCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLightCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLightCallback" "', argument " "1"" of type '" "iLightCallback *""'"); 
  }
  arg1 = reinterpret_cast< iLightCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iLightCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLightCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLight_GetLightID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetLightID",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetLightID" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (char *)(arg1)->GetLightID();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_QueryObject" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetDynamicType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csLightDynamicType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetDynamicType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetDynamicType" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (csLightDynamicType)((iLight const *)arg1)->GetDynamicType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetCenter" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  {
    csVector3 const &_result_ref = ((iLight const *)arg1)->GetCenter();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetFullCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetFullCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetFullCenter" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = ((iLight const *)arg1)->GetFullCenter();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_SetCenter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetCenter" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLight_SetCenter" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLight_SetCenter" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetCenter((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetSector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetSector" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (iSector *)(arg1)->GetSector();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iMovable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetMovable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetMovable" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (iMovable *)(arg1)->GetMovable();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMovable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_QuerySceneNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iSceneNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_QuerySceneNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_QuerySceneNode" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (iSceneNode *)(arg1)->QuerySceneNode();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSceneNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetColor" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  {
    csColor const &_result_ref = ((iLight const *)arg1)->GetColor();
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_SetColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetColor" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLight_SetColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLight_SetColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  (arg1)->SetColor((csColor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetSpecularColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetSpecularColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetSpecularColor" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  {
    csColor const &_result_ref = ((iLight const *)arg1)->GetSpecularColor();
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetSpecularColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_SetSpecularColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetSpecularColor" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLight_SetSpecularColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLight_SetSpecularColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  (arg1)->SetSpecularColor((csColor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csLightType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetType" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (csLightType)((iLight const *)arg1)->GetType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csLightType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_SetType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetType" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLight_SetType" "', argument " "2"" of type '" "csLightType""'");
  } 
  arg2 = static_cast< csLightType >(val2);
  (arg1)->SetType(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetAttenuationMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csLightAttenuationMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetAttenuationMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetAttenuationMode" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (csLightAttenuationMode)((iLight const *)arg1)->GetAttenuationMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetAttenuationMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csLightAttenuationMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_SetAttenuationMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetAttenuationMode" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLight_SetAttenuationMode" "', argument " "2"" of type '" "csLightAttenuationMode""'");
  } 
  arg2 = static_cast< csLightAttenuationMode >(val2);
  (arg1)->SetAttenuationMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetAttenuationConstants(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_SetAttenuationConstants",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetAttenuationConstants" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLight_SetAttenuationConstants" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLight_SetAttenuationConstants" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetAttenuationConstants((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetAttenuationConstants(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetAttenuationConstants",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetAttenuationConstants" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  {
    csVector3 const &_result_ref = ((iLight const *)arg1)->GetAttenuationConstants();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetCutoffDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetCutoffDistance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetCutoffDistance" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (float)((iLight const *)arg1)->GetCutoffDistance();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetCutoffDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_SetCutoffDistance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetCutoffDistance" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLight_SetCutoffDistance" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetCutoffDistance(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetDirectionalCutoffRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetDirectionalCutoffRadius",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetDirectionalCutoffRadius" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (float)((iLight const *)arg1)->GetDirectionalCutoffRadius();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetDirectionalCutoffRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_SetDirectionalCutoffRadius",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetDirectionalCutoffRadius" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLight_SetDirectionalCutoffRadius" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetDirectionalCutoffRadius(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetSpotLightFalloff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  float arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLight_SetSpotLightFalloff",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetSpotLightFalloff" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLight_SetSpotLightFalloff" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLight_SetSpotLightFalloff" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetSpotLightFalloff(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetSpotLightFalloff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  float *arg2 = 0 ;
  float *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLight_GetSpotLightFalloff",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetSpotLightFalloff" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLight_GetSpotLightFalloff" "', argument " "2"" of type '" "float &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLight_GetSpotLightFalloff" "', argument " "2"" of type '" "float &""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLight_GetSpotLightFalloff" "', argument " "3"" of type '" "float &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLight_GetSpotLightFalloff" "', argument " "3"" of type '" "float &""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  ((iLight const *)arg1)->GetSpotLightFalloff(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_CreateCrossHalo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  float arg2 ;
  float arg3 ;
  iCrossHalo *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLight_CreateCrossHalo",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_CreateCrossHalo" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLight_CreateCrossHalo" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLight_CreateCrossHalo" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (iCrossHalo *)(arg1)->CreateCrossHalo(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCrossHalo, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_CreateNovaHalo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  int arg2 ;
  int arg3 ;
  float arg4 ;
  iNovaHalo *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLight_CreateNovaHalo",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_CreateNovaHalo" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLight_CreateNovaHalo" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLight_CreateNovaHalo" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLight_CreateNovaHalo" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (iNovaHalo *)(arg1)->CreateNovaHalo(arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iNovaHalo, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_CreateFlareHalo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iFlareHalo *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_CreateFlareHalo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_CreateFlareHalo" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (iFlareHalo *)(arg1)->CreateFlareHalo();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iFlareHalo, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetHalo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iBaseHalo *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetHalo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetHalo" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (iBaseHalo *)((iLight const *)arg1)->GetHalo();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBaseHalo, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetBrightnessAtDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  float arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_GetBrightnessAtDistance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetBrightnessAtDistance" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLight_GetBrightnessAtDistance" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (float)((iLight const *)arg1)->GetBrightnessAtDistance(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetFlags" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_SetLightCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iLightCallback *arg2 = (iLightCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_SetLightCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_SetLightCallback" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLightCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLight_SetLightCallback" "', argument " "2"" of type '" "iLightCallback *""'"); 
  }
  arg2 = reinterpret_cast< iLightCallback * >(argp2);
  (arg1)->SetLightCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_RemoveLightCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iLightCallback *arg2 = (iLightCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_RemoveLightCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_RemoveLightCallback" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLightCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLight_RemoveLightCallback" "', argument " "2"" of type '" "iLightCallback *""'"); 
  }
  arg2 = reinterpret_cast< iLightCallback * >(argp2);
  (arg1)->RemoveLightCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetLightCallbackCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetLightCallbackCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetLightCallbackCount" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (int)((iLight const *)arg1)->GetLightCallbackCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetLightCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  int arg2 ;
  iLightCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_GetLightCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetLightCallback" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLight_GetLightCallback" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iLightCallback *)((iLight const *)arg1)->GetLightCallback(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLightCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetLightNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetLightNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetLightNumber" "', argument " "1"" of type '" "iLight const *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = ((iLight const *)arg1)->GetLightNumber();
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_AddAffectedLightingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iLightingInfo *arg2 = (iLightingInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_AddAffectedLightingInfo",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_AddAffectedLightingInfo" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLightingInfo, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLight_AddAffectedLightingInfo" "', argument " "2"" of type '" "iLightingInfo *""'"); 
  }
  arg2 = reinterpret_cast< iLightingInfo * >(argp2);
  (arg1)->AddAffectedLightingInfo(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_RemoveAffectedLightingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iLightingInfo *arg2 = (iLightingInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLight_RemoveAffectedLightingInfo",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_RemoveAffectedLightingInfo" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLightingInfo, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLight_RemoveAffectedLightingInfo" "', argument " "2"" of type '" "iLightingInfo *""'"); 
  }
  arg2 = reinterpret_cast< iLightingInfo * >(argp2);
  (arg1)->RemoveAffectedLightingInfo(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_Setup",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_Setup" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  (arg1)->Setup();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_GetSVContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  iShaderVariableContext *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLight_GetSVContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLight_GetSVContext" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  result = (iShaderVariableContext *)(arg1)->GetSVContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLight *arg1 = (iLight *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLight, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLight" "', argument " "1"" of type '" "iLight *""'"); 
  }
  arg1 = reinterpret_cast< iLight * >(argp1);
  delete_iLight(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLight_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iLight_scfGetVersion")) SWIG_fail;
  result = (int)iLight_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLight, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLightList_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightList_GetCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_GetCount" "', argument " "1"" of type '" "iLightList const *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  result = (int)((iLightList const *)arg1)->GetCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  int arg2 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_Get" "', argument " "1"" of type '" "iLightList const *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLightList_Get" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iLight *)((iLightList const *)arg1)->Get(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_Add" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightList_Add" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  result = (int)(arg1)->Add(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_Remove" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightList_Remove" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_Remove" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLightList_Remove" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_Remove(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLightList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iLight, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLightList_Remove__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLightList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iLightList_Remove__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLightList_Remove'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightList_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_RemoveAll" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  (arg1)->RemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_Find" "', argument " "1"" of type '" "iLightList const *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightList_Find" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  result = (int)((iLightList const *)arg1)->Find(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_FindByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  char *arg2 = (char *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList_FindByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_FindByName" "', argument " "1"" of type '" "iLightList const *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightList_FindByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iLight *)((iLightList const *)arg1)->FindByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_FindByID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  char *arg2 = (char *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList_FindByID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_FindByID" "', argument " "1"" of type '" "iLightList const *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightList_FindByID" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iLight *)((iLightList const *)arg1)->FindByID((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLightList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLightList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLightList" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  delete_iLightList(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iLightList_scfGetVersion")) SWIG_fail;
  result = (int)iLightList_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  int arg2 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList___getitem__" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLightList___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iLight *)iLightList___getitem____SWIG_0(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList___contains____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList___contains__" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightList___contains__" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  result = (bool)iLightList___contains____SWIG_0(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList___delitem__" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLightList___delitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)iLightList___delitem__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightList___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList___len__" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  result = (int)iLightList___len__(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList_append" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightList_append" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  iLightList_append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  char *arg2 = (char *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList___getitem__" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightList___getitem__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iLight *)iLightList___getitem____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList___getitem__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLightList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iLightList___getitem____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLightList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLightList___getitem____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLightList___getitem__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList___contains____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightList *arg1 = (iLightList *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightList___contains__" "', argument " "1"" of type '" "iLightList *""'"); 
  }
  arg1 = reinterpret_cast< iLightList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightList___contains__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)iLightList___contains____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightList___contains__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLightList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iLight, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLightList___contains____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLightList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLightList___contains____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLightList___contains__'");
  return NULL;
}


SWIGINTERN PyObject *iLightList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLightList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLightingProcessData_FinalizeLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessData *arg1 = (iLightingProcessData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightingProcessData_FinalizeLighting",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightingProcessData_FinalizeLighting" "', argument " "1"" of type '" "iLightingProcessData *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessData * >(argp1);
  (arg1)->FinalizeLighting();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLightingProcessData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessData *arg1 = (iLightingProcessData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLightingProcessData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLightingProcessData" "', argument " "1"" of type '" "iLightingProcessData *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessData * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iLightingProcessData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLightingProcessData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLightingProcessInfo_GetLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessInfo *arg1 = (iLightingProcessInfo *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightingProcessInfo_GetLight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightingProcessInfo_GetLight" "', argument " "1"" of type '" "iLightingProcessInfo const *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessInfo * >(argp1);
  result = (iLight *)((iLightingProcessInfo const *)arg1)->GetLight();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightingProcessInfo_IsDynamic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessInfo *arg1 = (iLightingProcessInfo *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightingProcessInfo_IsDynamic",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightingProcessInfo_IsDynamic" "', argument " "1"" of type '" "iLightingProcessInfo const *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessInfo * >(argp1);
  result = (bool)((iLightingProcessInfo const *)arg1)->IsDynamic();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightingProcessInfo_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessInfo *arg1 = (iLightingProcessInfo *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightingProcessInfo_SetColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightingProcessInfo_SetColor" "', argument " "1"" of type '" "iLightingProcessInfo *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessInfo * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightingProcessInfo_SetColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLightingProcessInfo_SetColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  (arg1)->SetColor((csColor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightingProcessInfo_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessInfo *arg1 = (iLightingProcessInfo *) 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightingProcessInfo_GetColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightingProcessInfo_GetColor" "', argument " "1"" of type '" "iLightingProcessInfo const *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessInfo * >(argp1);
  {
    csColor const &_result_ref = ((iLightingProcessInfo const *)arg1)->GetColor();
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightingProcessInfo_AttachUserdata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessInfo *arg1 = (iLightingProcessInfo *) 0 ;
  iLightingProcessData *arg2 = (iLightingProcessData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLightingProcessInfo_AttachUserdata",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightingProcessInfo_AttachUserdata" "', argument " "1"" of type '" "iLightingProcessInfo *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessInfo * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLightingProcessData, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightingProcessInfo_AttachUserdata" "', argument " "2"" of type '" "iLightingProcessData *""'"); 
  }
  arg2 = reinterpret_cast< iLightingProcessData * >(argp2);
  (arg1)->AttachUserdata(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightingProcessInfo_QueryUserdata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessInfo *arg1 = (iLightingProcessInfo *) 0 ;
  scfInterfaceID arg2 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iLightingProcessData > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLightingProcessInfo_QueryUserdata",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightingProcessInfo_QueryUserdata" "', argument " "1"" of type '" "iLightingProcessInfo *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessInfo * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLightingProcessInfo_QueryUserdata" "', argument " "2"" of type '" "scfInterfaceID""'");
  } 
  arg2 = static_cast< scfInterfaceID >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLightingProcessInfo_QueryUserdata" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->QueryUserdata(arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iLightingProcessData >(static_cast< const csPtr<iLightingProcessData >& >(result))), SWIGTYPE_p_csPtrTiLightingProcessData_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightingProcessInfo_FinalizeLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessInfo *arg1 = (iLightingProcessInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightingProcessInfo_FinalizeLighting",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightingProcessInfo_FinalizeLighting" "', argument " "1"" of type '" "iLightingProcessInfo *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessInfo * >(argp1);
  (arg1)->FinalizeLighting();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLightingProcessInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightingProcessInfo *arg1 = (iLightingProcessInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLightingProcessInfo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightingProcessInfo, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLightingProcessInfo" "', argument " "1"" of type '" "iLightingProcessInfo *""'"); 
  }
  arg1 = reinterpret_cast< iLightingProcessInfo * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iLightingProcessInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLightingProcessInfo, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLightIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightIterator *arg1 = (iLightIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightIterator_HasNext" "', argument " "1"" of type '" "iLightIterator *""'"); 
  }
  arg1 = reinterpret_cast< iLightIterator * >(argp1);
  result = (bool)(arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightIterator *arg1 = (iLightIterator *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightIterator_Next" "', argument " "1"" of type '" "iLightIterator *""'"); 
  }
  arg1 = reinterpret_cast< iLightIterator * >(argp1);
  result = (iLight *)(arg1)->Next();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightIterator_GetLastSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightIterator *arg1 = (iLightIterator *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightIterator_GetLastSector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightIterator_GetLastSector" "', argument " "1"" of type '" "iLightIterator *""'"); 
  }
  arg1 = reinterpret_cast< iLightIterator * >(argp1);
  result = (iSector *)(arg1)->GetLastSector();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLightIterator_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightIterator *arg1 = (iLightIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLightIterator_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightIterator_Reset" "', argument " "1"" of type '" "iLightIterator *""'"); 
  }
  arg1 = reinterpret_cast< iLightIterator * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLightIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightIterator *arg1 = (iLightIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLightIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLightIterator" "', argument " "1"" of type '" "iLightIterator *""'"); 
  }
  arg1 = reinterpret_cast< iLightIterator * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iLightIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLightIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csFog_density_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFog_density_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_density_set" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFog_density_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->density = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFog_density_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFog_density_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_density_get" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  result = (float) ((arg1)->density);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFog_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  csColor *arg2 = (csColor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFog_color_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_color_set" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csFog_color_set" "', argument " "2"" of type '" "csColor *""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  if (arg1) (arg1)->color = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFog_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFog_color_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_color_get" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  result = (csColor *)& ((arg1)->color);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFog_start_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFog_start_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_start_set" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFog_start_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->start = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFog_start_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFog_start_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_start_get" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  result = (float) ((arg1)->start);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFog_end_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFog_end_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_end_set" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFog_end_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->end = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFog_end_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFog_end_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_end_get" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  result = (float) ((arg1)->end);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFog_mode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  csFogMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFog_mode_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_mode_set" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFog_mode_set" "', argument " "2"" of type '" "csFogMode""'");
  } 
  arg2 = static_cast< csFogMode >(val2);
  if (arg1) (arg1)->mode = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFog_mode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  csFogMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFog_mode_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFog_mode_get" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  result = (csFogMode) ((arg1)->mode);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csFog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csFog")) SWIG_fail;
  result = (csFog *)new csFog();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFog, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csFog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFog *arg1 = (csFog *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csFog",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFog, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csFog" "', argument " "1"" of type '" "csFog *""'"); 
  }
  arg1 = reinterpret_cast< csFog * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csFog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csFog, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSectorCallback_Traverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorCallback *arg1 = (iSectorCallback *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  iBase *arg3 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSectorCallback_Traverse",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorCallback_Traverse" "', argument " "1"" of type '" "iSectorCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSectorCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorCallback_Traverse" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSectorCallback_Traverse" "', argument " "3"" of type '" "iBase *""'"); 
  }
  arg3 = reinterpret_cast< iBase * >(argp3);
  (arg1)->Traverse(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorCallback *arg1 = (iSectorCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSectorCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSectorCallback" "', argument " "1"" of type '" "iSectorCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSectorCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSectorCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSectorCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSectorMeshCallback_NewMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorMeshCallback *arg1 = (iSectorMeshCallback *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  iMeshWrapper *arg3 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSectorMeshCallback_NewMesh",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorMeshCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorMeshCallback_NewMesh" "', argument " "1"" of type '" "iSectorMeshCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSectorMeshCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorMeshCallback_NewMesh" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSectorMeshCallback_NewMesh" "', argument " "3"" of type '" "iMeshWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMeshWrapper * >(argp3);
  (arg1)->NewMesh(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorMeshCallback_RemoveMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorMeshCallback *arg1 = (iSectorMeshCallback *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  iMeshWrapper *arg3 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSectorMeshCallback_RemoveMesh",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorMeshCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorMeshCallback_RemoveMesh" "', argument " "1"" of type '" "iSectorMeshCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSectorMeshCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorMeshCallback_RemoveMesh" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSectorMeshCallback_RemoveMesh" "', argument " "3"" of type '" "iMeshWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMeshWrapper * >(argp3);
  (arg1)->RemoveMesh(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSectorMeshCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorMeshCallback *arg1 = (iSectorMeshCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSectorMeshCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorMeshCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSectorMeshCallback" "', argument " "1"" of type '" "iSectorMeshCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSectorMeshCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSectorMeshCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSectorMeshCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLightVisibleCallback_LightVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightVisibleCallback *arg1 = (iLightVisibleCallback *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  iLight *arg3 = (iLight *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLightVisibleCallback_LightVisible",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightVisibleCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLightVisibleCallback_LightVisible" "', argument " "1"" of type '" "iLightVisibleCallback *""'"); 
  }
  arg1 = reinterpret_cast< iLightVisibleCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLightVisibleCallback_LightVisible" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLightVisibleCallback_LightVisible" "', argument " "3"" of type '" "iLight *""'"); 
  }
  arg3 = reinterpret_cast< iLight * >(argp3);
  (arg1)->LightVisible(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLightVisibleCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLightVisibleCallback *arg1 = (iLightVisibleCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLightVisibleCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLightVisibleCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLightVisibleCallback" "', argument " "1"" of type '" "iLightVisibleCallback *""'"); 
  }
  arg1 = reinterpret_cast< iLightVisibleCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iLightVisibleCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLightVisibleCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csSectorHitBeamResult_mesh_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *arg1 = (csSectorHitBeamResult *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSectorHitBeamResult_mesh_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSectorHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSectorHitBeamResult_mesh_set" "', argument " "1"" of type '" "csSectorHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csSectorHitBeamResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSectorHitBeamResult_mesh_set" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  if (arg1) (arg1)->mesh = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSectorHitBeamResult_mesh_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *arg1 = (csSectorHitBeamResult *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSectorHitBeamResult_mesh_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSectorHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSectorHitBeamResult_mesh_get" "', argument " "1"" of type '" "csSectorHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csSectorHitBeamResult * >(argp1);
  result = (iMeshWrapper *) ((arg1)->mesh);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSectorHitBeamResult_isect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *arg1 = (csSectorHitBeamResult *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSectorHitBeamResult_isect_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSectorHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSectorHitBeamResult_isect_set" "', argument " "1"" of type '" "csSectorHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csSectorHitBeamResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSectorHitBeamResult_isect_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->isect = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSectorHitBeamResult_isect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *arg1 = (csSectorHitBeamResult *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSectorHitBeamResult_isect_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSectorHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSectorHitBeamResult_isect_get" "', argument " "1"" of type '" "csSectorHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csSectorHitBeamResult * >(argp1);
  result = (csVector3 *)& ((arg1)->isect);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSectorHitBeamResult_polygon_idx_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *arg1 = (csSectorHitBeamResult *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSectorHitBeamResult_polygon_idx_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSectorHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSectorHitBeamResult_polygon_idx_set" "', argument " "1"" of type '" "csSectorHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csSectorHitBeamResult * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSectorHitBeamResult_polygon_idx_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->polygon_idx = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSectorHitBeamResult_polygon_idx_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *arg1 = (csSectorHitBeamResult *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSectorHitBeamResult_polygon_idx_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSectorHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSectorHitBeamResult_polygon_idx_get" "', argument " "1"" of type '" "csSectorHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csSectorHitBeamResult * >(argp1);
  result = (int) ((arg1)->polygon_idx);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSectorHitBeamResult_final_sector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *arg1 = (csSectorHitBeamResult *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSectorHitBeamResult_final_sector_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSectorHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSectorHitBeamResult_final_sector_set" "', argument " "1"" of type '" "csSectorHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csSectorHitBeamResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSectorHitBeamResult_final_sector_set" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  if (arg1) (arg1)->final_sector = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSectorHitBeamResult_final_sector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *arg1 = (csSectorHitBeamResult *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSectorHitBeamResult_final_sector_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSectorHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSectorHitBeamResult_final_sector_get" "', argument " "1"" of type '" "csSectorHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csSectorHitBeamResult * >(argp1);
  result = (iSector *) ((arg1)->final_sector);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSectorHitBeamResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csSectorHitBeamResult")) SWIG_fail;
  result = (csSectorHitBeamResult *)new csSectorHitBeamResult();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSectorHitBeamResult, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSectorHitBeamResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSectorHitBeamResult *arg1 = (csSectorHitBeamResult *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSectorHitBeamResult",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSectorHitBeamResult, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSectorHitBeamResult" "', argument " "1"" of type '" "csSectorHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csSectorHitBeamResult * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSectorHitBeamResult_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSectorHitBeamResult, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSector_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_QueryObject" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iMeshList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetMeshes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetMeshes" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (iMeshList *)(arg1)->GetMeshes();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetVisibleMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iRenderView *arg2 = (iRenderView *) 0 ;
  csRenderMeshList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_GetVisibleMeshes",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetVisibleMeshes" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderView, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_GetVisibleMeshes" "', argument " "2"" of type '" "iRenderView *""'"); 
  }
  arg2 = reinterpret_cast< iRenderView * >(argp2);
  result = (csRenderMeshList *)(arg1)->GetVisibleMeshes(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRenderMeshList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetPortalMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csSet<csPtrKey<iMeshWrapper > > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetPortalMeshes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetPortalMeshes" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  {
    csSet<csPtrKey<iMeshWrapper > > const &_result_ref = ((iSector const *)arg1)->GetPortalMeshes();
    result = (csSet<csPtrKey<iMeshWrapper > > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSetTcsPtrKeyTiMeshWrapper_t_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_UnlinkObjects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_UnlinkObjects",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_UnlinkObjects" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  (arg1)->UnlinkObjects();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_AddSectorMeshCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iSectorMeshCallback *arg2 = (iSectorMeshCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_AddSectorMeshCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_AddSectorMeshCallback" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSectorMeshCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_AddSectorMeshCallback" "', argument " "2"" of type '" "iSectorMeshCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSectorMeshCallback * >(argp2);
  (arg1)->AddSectorMeshCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_RemoveSectorMeshCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iSectorMeshCallback *arg2 = (iSectorMeshCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_RemoveSectorMeshCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_RemoveSectorMeshCallback" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSectorMeshCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_RemoveSectorMeshCallback" "', argument " "2"" of type '" "iSectorMeshCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSectorMeshCallback * >(argp2);
  (arg1)->RemoveSectorMeshCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iRenderView *arg2 = (iRenderView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_Draw",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_Draw" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderView, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_Draw" "', argument " "2"" of type '" "iRenderView *""'"); 
  }
  arg2 = reinterpret_cast< iRenderView * >(argp2);
  (arg1)->Draw(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_PrepareDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iRenderView *arg2 = (iRenderView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_PrepareDraw",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_PrepareDraw" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderView, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_PrepareDraw" "', argument " "2"" of type '" "iRenderView *""'"); 
  }
  arg2 = reinterpret_cast< iRenderView * >(argp2);
  (arg1)->PrepareDraw(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetRecLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetRecLevel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetRecLevel" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (int)((iSector const *)arg1)->GetRecLevel();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_IncRecLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_IncRecLevel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_IncRecLevel" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  (arg1)->IncRecLevel();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_DecRecLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_DecRecLevel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_DecRecLevel" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  (arg1)->DecRecLevel();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetRenderLoop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iRenderLoop *arg2 = (iRenderLoop *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_SetRenderLoop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_SetRenderLoop" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderLoop, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_SetRenderLoop" "', argument " "2"" of type '" "iRenderLoop *""'"); 
  }
  arg2 = reinterpret_cast< iRenderLoop * >(argp2);
  (arg1)->SetRenderLoop(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetRenderLoop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iRenderLoop *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetRenderLoop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetRenderLoop" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (iRenderLoop *)(arg1)->GetRenderLoop();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRenderLoop, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_CreateMeshGenerator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshGenerator *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_CreateMeshGenerator",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_CreateMeshGenerator" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_CreateMeshGenerator" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshGenerator *)(arg1)->CreateMeshGenerator((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshGenerator, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetMeshGeneratorCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetMeshGeneratorCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetMeshGeneratorCount" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = ((iSector const *)arg1)->GetMeshGeneratorCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetMeshGenerator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  size_t arg2 ;
  iMeshGenerator *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_GetMeshGenerator",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetMeshGenerator" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSector_GetMeshGenerator" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iMeshGenerator *)(arg1)->GetMeshGenerator(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshGenerator, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetMeshGeneratorByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshGenerator *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_GetMeshGeneratorByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetMeshGeneratorByName" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_GetMeshGeneratorByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshGenerator *)(arg1)->GetMeshGeneratorByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshGenerator, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_RemoveMeshGenerator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_RemoveMeshGenerator",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_RemoveMeshGenerator" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSector_RemoveMeshGenerator" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->RemoveMeshGenerator(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_RemoveMeshGenerators(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_RemoveMeshGenerators",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_RemoveMeshGenerators" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  (arg1)->RemoveMeshGenerators();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HasFog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_HasFog",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_HasFog" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (bool)((iSector const *)arg1)->HasFog();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetFog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csFog *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetFog",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetFog" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  {
    csFog const &_result_ref = ((iSector const *)arg1)->GetFog();
    result = (csFog *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFog, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetFog__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  float arg2 ;
  csColor *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSector_SetFog",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_SetFog" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSector_SetFog" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_SetFog" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_SetFog" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  arg3 = reinterpret_cast< csColor * >(argp3);
  (arg1)->SetFog(arg2,(csColor const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetFog__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csFog *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_SetFog",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_SetFog" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csFog,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_SetFog" "', argument " "2"" of type '" "csFog const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_SetFog" "', argument " "2"" of type '" "csFog const &""'"); 
  }
  arg2 = reinterpret_cast< csFog * >(argp2);
  (arg1)->SetFog((csFog const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetFog(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csFog, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSector_SetFog__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csColor, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSector_SetFog__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSector_SetFog'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_DisableFog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_DisableFog",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_DisableFog" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  (arg1)->DisableFog();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetLights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iLightList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetLights",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetLights" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (iLightList *)(arg1)->GetLights();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLightList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_ShineLights__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_ShineLights",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_ShineLights" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  (arg1)->ShineLights();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_ShineLights__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_ShineLights",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_ShineLights" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_ShineLights" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->ShineLights(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_ShineLights(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iSector_ShineLights__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSector_ShineLights__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSector_ShineLights'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetDynamicAmbientLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_SetDynamicAmbientLight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_SetDynamicAmbientLight" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_SetDynamicAmbientLight" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_SetDynamicAmbientLight" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  (arg1)->SetDynamicAmbientLight((csColor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetDynamicAmbientLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csColor result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetDynamicAmbientLight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetDynamicAmbientLight" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = ((iSector const *)arg1)->GetDynamicAmbientLight();
  resultobj = SWIG_NewPointerObj((new csColor(static_cast< const csColor& >(result))), SWIGTYPE_p_csColor, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetDynamicAmbientVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetDynamicAmbientVersion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetDynamicAmbientVersion" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (uint)((iSector const *)arg1)->GetDynamicAmbientVersion();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_CalculateSectorBBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csBox3 *arg2 = 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSector_CalculateSectorBBox",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_CalculateSectorBBox" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_CalculateSectorBBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_CalculateSectorBBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSector_CalculateSectorBBox" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ((iSector const *)arg1)->CalculateSectorBBox(*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetVisibilityCullerPlugin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  char *arg2 = (char *) 0 ;
  iDocumentNode *arg3 = (iDocumentNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSector_SetVisibilityCullerPlugin",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_SetVisibilityCullerPlugin" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_SetVisibilityCullerPlugin" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_SetVisibilityCullerPlugin" "', argument " "3"" of type '" "iDocumentNode *""'"); 
  }
  arg3 = reinterpret_cast< iDocumentNode * >(argp3);
  result = (bool)(arg1)->SetVisibilityCullerPlugin((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetVisibilityCullerPlugin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_SetVisibilityCullerPlugin",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_SetVisibilityCullerPlugin" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_SetVisibilityCullerPlugin" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->SetVisibilityCullerPlugin((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetVisibilityCullerPlugin(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSector_SetVisibilityCullerPlugin__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDocumentNode, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSector_SetVisibilityCullerPlugin__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSector_SetVisibilityCullerPlugin'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetVisibilityCuller(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iVisibilityCuller *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetVisibilityCuller",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetVisibilityCuller" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (iVisibilityCuller *)(arg1)->GetVisibilityCuller();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_CheckFrustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iFrustumView *arg2 = (iFrustumView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_CheckFrustum",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_CheckFrustum" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_CheckFrustum" "', argument " "2"" of type '" "iFrustumView *""'"); 
  }
  arg2 = reinterpret_cast< iFrustumView * >(argp2);
  (arg1)->CheckFrustum(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HitBeamPortals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  int *arg5 = (int *) 0 ;
  iSector **arg6 = (iSector **) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = SWIG_TMPOBJ ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSector_HitBeamPortals",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_HitBeamPortals" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_HitBeamPortals" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeamPortals" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSector_HitBeamPortals" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeamPortals" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res6 = SWIG_ConvertPtr(obj4, &argp6,SWIGTYPE_p_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iSector_HitBeamPortals" "', argument " "6"" of type '" "iSector **""'"); 
  }
  arg6 = reinterpret_cast< iSector ** >(argp6);
  result = (iMeshWrapper *)(arg1)->HitBeamPortals((csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,arg5,arg6);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HitBeamPortals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  int *arg5 = (int *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSector_HitBeamPortals",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_HitBeamPortals" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_HitBeamPortals" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeamPortals" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSector_HitBeamPortals" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeamPortals" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (iMeshWrapper *)(arg1)->HitBeamPortals((csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HitBeam__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  int *arg5 = (int *) 0 ;
  bool arg6 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = SWIG_TMPOBJ ;
  bool val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSector_HitBeam",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_HitBeam" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSector_HitBeam" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode6 = SWIG_AsVal_bool(obj4, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iSector_HitBeam" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  result = (iMeshWrapper *)(arg1)->HitBeam((csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,arg5,arg6);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HitBeam__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  int *arg5 = (int *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSector_HitBeam",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_HitBeam" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSector_HitBeam" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (iMeshWrapper *)(arg1)->HitBeam((csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HitBeamPortals__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csSectorHitBeamResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSector_HitBeamPortals",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_HitBeamPortals" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_HitBeamPortals" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeamPortals" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (arg1)->HitBeamPortals((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csSectorHitBeamResult(static_cast< const csSectorHitBeamResult& >(result))), SWIGTYPE_p_csSectorHitBeamResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HitBeamPortals(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSector_HitBeamPortals__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSector_HitBeamPortals__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_iSector, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iSector_HitBeamPortals__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSector_HitBeamPortals'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HitBeam__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  bool arg4 ;
  csSectorHitBeamResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSector_HitBeam",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_HitBeam" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSector_HitBeam" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  result = (arg1)->HitBeam((csVector3 const &)*arg2,(csVector3 const &)*arg3,arg4);
  resultobj = SWIG_NewPointerObj((new csSectorHitBeamResult(static_cast< const csSectorHitBeamResult& >(result))), SWIGTYPE_p_csSectorHitBeamResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HitBeam__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csSectorHitBeamResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSector_HitBeam",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_HitBeam" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (arg1)->HitBeam((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csSectorHitBeamResult(static_cast< const csSectorHitBeamResult& >(result))), SWIGTYPE_p_csSectorHitBeamResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_HitBeam(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSector_HitBeam__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSector_HitBeam__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSector_HitBeam__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iSector_HitBeam__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSector_HitBeam'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_FollowSegment__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  bool *arg4 = 0 ;
  bool arg5 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool temp4 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSector_FollowSegment",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_FollowSegment" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_FollowSegment" "', argument " "2"" of type '" "csReversibleTransform &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_FollowSegment" "', argument " "2"" of type '" "csReversibleTransform &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_FollowSegment" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_FollowSegment" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_bool,0))))) {
    bool val; 
    int ecode = SWIG_AsVal_bool(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "iSector_FollowSegment" "', argument " "4"" of type '" "bool""'");
    }
    temp4 = static_cast< bool >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSector_FollowSegment" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (iSector *)(arg1)->FollowSegment(*arg2,*arg3,*arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_FollowSegment__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  bool *arg4 = 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool temp4 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSector_FollowSegment",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_FollowSegment" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_FollowSegment" "', argument " "2"" of type '" "csReversibleTransform &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_FollowSegment" "', argument " "2"" of type '" "csReversibleTransform &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSector_FollowSegment" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSector_FollowSegment" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_bool,0))))) {
    bool val; 
    int ecode = SWIG_AsVal_bool(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "iSector_FollowSegment" "', argument " "4"" of type '" "bool""'");
    }
    temp4 = static_cast< bool >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  result = (iSector *)(arg1)->FollowSegment(*arg2,*arg3,*arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_FollowSegment(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *ptr = 0;
          int res = SWIG_AsVal_bool(argv[3], 0);
          _v = SWIG_CheckState(res);
          if (!_v) {
            _v = (SWIG_IsOK((res = SWIG_ConvertPtr(argv[3],SWIG_as_voidptrptr(&ptr),SWIGTYPE_p_bool,0))));
          }
          if (_v) {
            return _wrap_iSector_FollowSegment__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSector, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *ptr = 0;
          int res = SWIG_AsVal_bool(argv[3], 0);
          _v = SWIG_CheckState(res);
          if (!_v) {
            _v = (SWIG_IsOK((res = SWIG_ConvertPtr(argv[3],SWIG_as_voidptrptr(&ptr),SWIGTYPE_p_bool,0))));
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iSector_FollowSegment__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSector_FollowSegment'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iSectorCallback *arg2 = (iSectorCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_SetSectorCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_SetSectorCallback" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSectorCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_SetSectorCallback" "', argument " "2"" of type '" "iSectorCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSectorCallback * >(argp2);
  (arg1)->SetSectorCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_RemoveSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iSectorCallback *arg2 = (iSectorCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_RemoveSectorCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_RemoveSectorCallback" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSectorCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_RemoveSectorCallback" "', argument " "2"" of type '" "iSectorCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSectorCallback * >(argp2);
  (arg1)->RemoveSectorCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetSectorCallbackCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetSectorCallbackCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetSectorCallbackCount" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (int)((iSector const *)arg1)->GetSectorCallbackCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  int arg2 ;
  iSectorCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_GetSectorCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetSectorCallback" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSector_GetSectorCallback" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSectorCallback *)((iSector const *)arg1)->GetSectorCallback(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSectorCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_SetLightCulling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_SetLightCulling",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_SetLightCulling" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSector_SetLightCulling" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetLightCulling(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_IsLightCullingEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_IsLightCullingEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_IsLightCullingEnabled" "', argument " "1"" of type '" "iSector const *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (bool)((iSector const *)arg1)->IsLightCullingEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_AddLightVisibleCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iLightVisibleCallback *arg2 = (iLightVisibleCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_AddLightVisibleCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_AddLightVisibleCallback" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLightVisibleCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_AddLightVisibleCallback" "', argument " "2"" of type '" "iLightVisibleCallback *""'"); 
  }
  arg2 = reinterpret_cast< iLightVisibleCallback * >(argp2);
  (arg1)->AddLightVisibleCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_RemoveLightVisibleCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iLightVisibleCallback *arg2 = (iLightVisibleCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSector_RemoveLightVisibleCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_RemoveLightVisibleCallback" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLightVisibleCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSector_RemoveLightVisibleCallback" "', argument " "2"" of type '" "iLightVisibleCallback *""'"); 
  }
  arg2 = reinterpret_cast< iLightVisibleCallback * >(argp2);
  (arg1)->RemoveLightVisibleCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_GetSVContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  iShaderVariableContext *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_GetSVContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_GetSVContext" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  result = (iShaderVariableContext *)(arg1)->GetSVContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_PrecacheDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSector_PrecacheDraw",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSector_PrecacheDraw" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  (arg1)->PrecacheDraw();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSector *arg1 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSector, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSector" "', argument " "1"" of type '" "iSector *""'"); 
  }
  arg1 = reinterpret_cast< iSector * >(argp1);
  delete_iSector(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSector_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSector_scfGetVersion")) SWIG_fail;
  result = (int)iSector_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSector, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSectorList_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSectorList_GetCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList_GetCount" "', argument " "1"" of type '" "iSectorList const *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  result = (int)((iSectorList const *)arg1)->GetCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  int arg2 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList_Get" "', argument " "1"" of type '" "iSectorList const *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSectorList_Get" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSector *)((iSectorList const *)arg1)->Get(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList_Add" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorList_Add" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  result = (int)(arg1)->Add(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList_Remove" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorList_Remove" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList_Remove" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSectorList_Remove" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_Remove(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSectorList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSectorList_Remove__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSectorList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSectorList_Remove__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSectorList_Remove'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSectorList_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList_RemoveAll" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  (arg1)->RemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList_Find" "', argument " "1"" of type '" "iSectorList const *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorList_Find" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  result = (int)((iSectorList const *)arg1)->Find(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_FindByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  char *arg2 = (char *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList_FindByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList_FindByName" "', argument " "1"" of type '" "iSectorList const *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorList_FindByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSector *)((iSectorList const *)arg1)->FindByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSectorList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSectorList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSectorList" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  delete_iSectorList(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSectorList_scfGetVersion")) SWIG_fail;
  result = (int)iSectorList_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  int arg2 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList___getitem__" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSectorList___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSector *)iSectorList___getitem____SWIG_0(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList___contains____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList___contains__" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorList___contains__" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  result = (bool)iSectorList___contains____SWIG_0(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList___delitem__" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSectorList___delitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)iSectorList___delitem__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSectorList___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList___len__" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  result = (int)iSectorList___len__(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList_append" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorList_append" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  iSectorList_append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  char *arg2 = (char *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList___getitem__" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorList___getitem__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSector *)iSectorList___getitem____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList___getitem__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSectorList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSectorList___getitem____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSectorList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSectorList___getitem____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSectorList___getitem__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList___contains____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorList *arg1 = (iSectorList *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSectorList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorList___contains__" "', argument " "1"" of type '" "iSectorList *""'"); 
  }
  arg1 = reinterpret_cast< iSectorList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSectorList___contains__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)iSectorList___contains____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorList___contains__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSectorList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSectorList___contains____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSectorList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSectorList___contains____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSectorList___contains__'");
  return NULL;
}


SWIGINTERN PyObject *iSectorList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSectorList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSectorIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorIterator *arg1 = (iSectorIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSectorIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorIterator_HasNext" "', argument " "1"" of type '" "iSectorIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iSectorIterator * >(argp1);
  result = (bool)((iSectorIterator const *)arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorIterator *arg1 = (iSectorIterator *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSectorIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorIterator_Next" "', argument " "1"" of type '" "iSectorIterator *""'"); 
  }
  arg1 = reinterpret_cast< iSectorIterator * >(argp1);
  result = (iSector *)(arg1)->Next();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorIterator_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorIterator *arg1 = (iSectorIterator *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSectorIterator_GetLastPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorIterator_GetLastPosition" "', argument " "1"" of type '" "iSectorIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iSectorIterator * >(argp1);
  {
    csVector3 const &_result_ref = ((iSectorIterator const *)arg1)->GetLastPosition();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSectorIterator_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorIterator *arg1 = (iSectorIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSectorIterator_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSectorIterator_Reset" "', argument " "1"" of type '" "iSectorIterator *""'"); 
  }
  arg1 = reinterpret_cast< iSectorIterator * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSectorIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSectorIterator *arg1 = (iSectorIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSectorIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSectorIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSectorIterator" "', argument " "1"" of type '" "iSectorIterator *""'"); 
  }
  arg1 = reinterpret_cast< iSectorIterator * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSectorIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSectorIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEngineFrameCallback_StartFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineFrameCallback *arg1 = (iEngineFrameCallback *) 0 ;
  iEngine *arg2 = (iEngine *) 0 ;
  iRenderView *arg3 = (iRenderView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngineFrameCallback_StartFrame",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineFrameCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineFrameCallback_StartFrame" "', argument " "1"" of type '" "iEngineFrameCallback *""'"); 
  }
  arg1 = reinterpret_cast< iEngineFrameCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineFrameCallback_StartFrame" "', argument " "2"" of type '" "iEngine *""'"); 
  }
  arg2 = reinterpret_cast< iEngine * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRenderView, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngineFrameCallback_StartFrame" "', argument " "3"" of type '" "iRenderView *""'"); 
  }
  arg3 = reinterpret_cast< iRenderView * >(argp3);
  (arg1)->StartFrame(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEngineFrameCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineFrameCallback *arg1 = (iEngineFrameCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEngineFrameCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineFrameCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEngineFrameCallback" "', argument " "1"" of type '" "iEngineFrameCallback *""'"); 
  }
  arg1 = reinterpret_cast< iEngineFrameCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEngineFrameCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEngineFrameCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEngineSectorCallback_NewSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSectorCallback *arg1 = (iEngineSectorCallback *) 0 ;
  iEngine *arg2 = (iEngine *) 0 ;
  iSector *arg3 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngineSectorCallback_NewSector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSectorCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSectorCallback_NewSector" "', argument " "1"" of type '" "iEngineSectorCallback *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSectorCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSectorCallback_NewSector" "', argument " "2"" of type '" "iEngine *""'"); 
  }
  arg2 = reinterpret_cast< iEngine * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngineSectorCallback_NewSector" "', argument " "3"" of type '" "iSector *""'"); 
  }
  arg3 = reinterpret_cast< iSector * >(argp3);
  (arg1)->NewSector(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSectorCallback_RemoveSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSectorCallback *arg1 = (iEngineSectorCallback *) 0 ;
  iEngine *arg2 = (iEngine *) 0 ;
  iSector *arg3 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngineSectorCallback_RemoveSector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSectorCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSectorCallback_RemoveSector" "', argument " "1"" of type '" "iEngineSectorCallback *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSectorCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSectorCallback_RemoveSector" "', argument " "2"" of type '" "iEngine *""'"); 
  }
  arg2 = reinterpret_cast< iEngine * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngineSectorCallback_RemoveSector" "', argument " "3"" of type '" "iSector *""'"); 
  }
  arg3 = reinterpret_cast< iSector * >(argp3);
  (arg1)->RemoveSector(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEngineSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSectorCallback *arg1 = (iEngineSectorCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEngineSectorCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSectorCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEngineSectorCallback" "', argument " "1"" of type '" "iEngineSectorCallback *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSectorCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEngineSectorCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEngineSectorCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEngine_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_QueryObject" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_Prepare__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iProgressMeter *arg2 = (iProgressMeter *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_Prepare",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_Prepare" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iProgressMeter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_Prepare" "', argument " "2"" of type '" "iProgressMeter *""'"); 
  }
  arg2 = reinterpret_cast< iProgressMeter * >(argp2);
  result = (bool)(arg1)->Prepare(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_Prepare__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_Prepare",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_Prepare" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (bool)(arg1)->Prepare();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_Prepare(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iEngine_Prepare__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iProgressMeter, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_Prepare__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_Prepare'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_PrepareTextures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_PrepareTextures",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_PrepareTextures" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->PrepareTextures();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_PrepareMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_PrepareMeshes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_PrepareMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->PrepareMeshes();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ForceRelight__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  iProgressMeter *arg3 = (iProgressMeter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_ForceRelight",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ForceRelight" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_ForceRelight" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iProgressMeter, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_ForceRelight" "', argument " "3"" of type '" "iProgressMeter *""'"); 
  }
  arg3 = reinterpret_cast< iProgressMeter * >(argp3);
  (arg1)->ForceRelight(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ForceRelight__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_ForceRelight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ForceRelight" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_ForceRelight" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  (arg1)->ForceRelight(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ForceRelight__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_ForceRelight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ForceRelight" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->ForceRelight();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ForceRelight__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_ForceRelight",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ForceRelight" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_ForceRelight" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_ForceRelight" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  (arg1)->ForceRelight(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ForceRelight__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_ForceRelight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ForceRelight" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_ForceRelight" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  (arg1)->ForceRelight(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ForceRelight(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iEngine_ForceRelight__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_ForceRelight__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iLight, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_ForceRelight__SWIG_4(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iLight, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_ForceRelight__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iProgressMeter, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_ForceRelight__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_ForceRelight'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ShineLights__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  iProgressMeter *arg3 = (iProgressMeter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_ShineLights",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ShineLights" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_ShineLights" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iProgressMeter, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_ShineLights" "', argument " "3"" of type '" "iProgressMeter *""'"); 
  }
  arg3 = reinterpret_cast< iProgressMeter * >(argp3);
  (arg1)->ShineLights(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ShineLights__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_ShineLights",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ShineLights" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_ShineLights" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  (arg1)->ShineLights(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ShineLights__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_ShineLights",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ShineLights" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->ShineLights();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ShineLights(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iEngine_ShineLights__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_ShineLights__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iProgressMeter, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_ShineLights__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_ShineLights'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetLightingCacheMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_SetLightingCacheMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetLightingCacheMode" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngine_SetLightingCacheMode" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLightingCacheMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetLightingCacheMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetLightingCacheMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetLightingCacheMode" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (int)(arg1)->GetLightingCacheMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetCacheManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iCacheManager *arg2 = (iCacheManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_SetCacheManager",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetCacheManager" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_SetCacheManager" "', argument " "2"" of type '" "iCacheManager *""'"); 
  }
  arg2 = reinterpret_cast< iCacheManager * >(argp2);
  (arg1)->SetCacheManager(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetVFSCacheManager__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_SetVFSCacheManager",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetVFSCacheManager" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_SetVFSCacheManager" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetVFSCacheManager((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetVFSCacheManager__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_SetVFSCacheManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetVFSCacheManager" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->SetVFSCacheManager();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetVFSCacheManager(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iEngine_SetVFSCacheManager__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_SetVFSCacheManager__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_SetVFSCacheManager'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetCacheManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iCacheManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetCacheManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetCacheManager" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iCacheManager *)(arg1)->GetCacheManager();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCacheManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetMaxLightmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_SetMaxLightmapSize",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetMaxLightmapSize" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngine_SetMaxLightmapSize" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngine_SetMaxLightmapSize" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetMaxLightmapSize(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetMaxLightmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetMaxLightmapSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetMaxLightmapSize" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->GetMaxLightmapSize(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetDefaultMaxLightmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetDefaultMaxLightmapSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetDefaultMaxLightmapSize" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->GetDefaultMaxLightmapSize(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetMaxLightmapAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetMaxLightmapAspectRatio",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetMaxLightmapAspectRatio" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (int)((iEngine const *)arg1)->GetMaxLightmapAspectRatio();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RegisterRenderPriority__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  long arg3 ;
  csRenderPrioritySorting arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  long val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_RegisterRenderPriority",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_RegisterRenderPriority" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_RegisterRenderPriority" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngine_RegisterRenderPriority" "', argument " "3"" of type '" "long""'");
  } 
  arg3 = static_cast< long >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_RegisterRenderPriority" "', argument " "4"" of type '" "csRenderPrioritySorting""'");
  } 
  arg4 = static_cast< csRenderPrioritySorting >(val4);
  (arg1)->RegisterRenderPriority((char const *)arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RegisterRenderPriority__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  long arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_RegisterRenderPriority",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_RegisterRenderPriority" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_RegisterRenderPriority" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngine_RegisterRenderPriority" "', argument " "3"" of type '" "long""'");
  } 
  arg3 = static_cast< long >(val3);
  (arg1)->RegisterRenderPriority((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RegisterRenderPriority(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iEngine_RegisterRenderPriority__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iEngine_RegisterRenderPriority__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_RegisterRenderPriority'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_GetRenderPriority",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetRenderPriority" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetRenderPriority" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (long)((iEngine const *)arg1)->GetRenderPriority((char const *)arg2);
  resultobj = SWIG_From_long(static_cast< long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetRenderPrioritySorting__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  csRenderPrioritySorting result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_GetRenderPrioritySorting",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetRenderPrioritySorting" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetRenderPrioritySorting" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (csRenderPrioritySorting)((iEngine const *)arg1)->GetRenderPrioritySorting((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetRenderPrioritySorting__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  long arg2 ;
  csRenderPrioritySorting result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_GetRenderPrioritySorting",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetRenderPrioritySorting" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  ecode2 = SWIG_AsVal_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngine_GetRenderPrioritySorting" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  result = (csRenderPrioritySorting)((iEngine const *)arg1)->GetRenderPrioritySorting(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetRenderPrioritySorting(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iEngine_GetRenderPrioritySorting__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_GetRenderPrioritySorting__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_GetRenderPrioritySorting'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetSkyRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetSkyRenderPriority",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetSkyRenderPriority" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (long)(arg1)->GetSkyRenderPriority();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetPortalRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetPortalRenderPriority",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetPortalRenderPriority" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (long)(arg1)->GetPortalRenderPriority();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetWallRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetWallRenderPriority",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetWallRenderPriority" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (long)(arg1)->GetWallRenderPriority();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetObjectRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetObjectRenderPriority",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetObjectRenderPriority" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (long)(arg1)->GetObjectRenderPriority();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetAlphaRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetAlphaRenderPriority",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetAlphaRenderPriority" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (long)(arg1)->GetAlphaRenderPriority();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ClearRenderPriorities(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_ClearRenderPriorities",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ClearRenderPriorities" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->ClearRenderPriorities();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetRenderPriorityCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetRenderPriorityCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetRenderPriorityCount" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (int)((iEngine const *)arg1)->GetRenderPriorityCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetRenderPriorityName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  long arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_GetRenderPriorityName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetRenderPriorityName" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  ecode2 = SWIG_AsVal_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngine_GetRenderPriorityName" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  result = (char *)((iEngine const *)arg1)->GetRenderPriorityName(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateBaseMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iTextureWrapper *arg2 = (iTextureWrapper *) 0 ;
  SwigValueWrapper<csPtr<iMaterial > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_CreateBaseMaterial",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateBaseMaterial" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateBaseMaterial" "', argument " "2"" of type '" "iTextureWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iTextureWrapper * >(argp2);
  result = (arg1)->CreateBaseMaterial(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMaterial> ref((csPtr<iMaterial>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMaterial *)ref), (void *)(iMaterial *)ref, "iMaterial" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iTextureWrapper *arg3 = (iTextureWrapper *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreateMaterial",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMaterial" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMaterial" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMaterial" "', argument " "3"" of type '" "iTextureWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iTextureWrapper * >(argp3);
  result = (iMaterialWrapper *)(arg1)->CreateMaterial((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetMaterialList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMaterialList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetMaterialList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetMaterialList" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iMaterialList *)((iEngine const *)arg1)->GetMaterialList();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindMaterial__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_FindMaterial",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindMaterial" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindMaterial" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_FindMaterial" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (iMaterialWrapper *)(arg1)->FindMaterial((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindMaterial__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_FindMaterial",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindMaterial" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindMaterial" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMaterialWrapper *)(arg1)->FindMaterial((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindMaterial(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_FindMaterial__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_FindMaterial__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_FindMaterial'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  csColor *arg4 = (csColor *) 0 ;
  int arg5 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_CreateTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateTexture" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreateTexture" "', argument " "4"" of type '" "csColor *""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iEngine_CreateTexture" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (iTextureWrapper *)(arg1)->CreateTexture((char const *)arg2,(char const *)arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateBlackTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int arg4 ;
  csColor *arg5 = (csColor *) 0 ;
  int arg6 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iEngine_CreateBlackTexture",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateBlackTexture" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateBlackTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngine_CreateBlackTexture" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_CreateBlackTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngine_CreateBlackTexture" "', argument " "5"" of type '" "csColor *""'"); 
  }
  arg5 = reinterpret_cast< csColor * >(argp5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iEngine_CreateBlackTexture" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  result = (iTextureWrapper *)(arg1)->CreateBlackTexture((char const *)arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetTextureFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetTextureFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetTextureFormat" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (int)((iEngine const *)arg1)->GetTextureFormat();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetTextureList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iTextureList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetTextureList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetTextureList" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iTextureList *)((iEngine const *)arg1)->GetTextureList();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindTexture__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_FindTexture",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindTexture" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_FindTexture" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (iTextureWrapper *)(arg1)->FindTexture((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindTexture__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_FindTexture",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindTexture" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iTextureWrapper *)(arg1)->FindTexture((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindTexture(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_FindTexture__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_FindTexture__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_FindTexture'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateLight__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  csColor *arg5 = 0 ;
  csLightDynamicType arg6 ;
  SwigValueWrapper<csPtr<iLight > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iEngine_CreateLight",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateLight" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateLight" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateLight" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreateLight" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_CreateLight" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngine_CreateLight" "', argument " "5"" of type '" "csColor const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreateLight" "', argument " "5"" of type '" "csColor const &""'"); 
  }
  arg5 = reinterpret_cast< csColor * >(argp5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iEngine_CreateLight" "', argument " "6"" of type '" "csLightDynamicType""'");
  } 
  arg6 = static_cast< csLightDynamicType >(val6);
  result = (arg1)->CreateLight((char const *)arg2,(csVector3 const &)*arg3,arg4,(csColor const &)*arg5,arg6);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iLight> ref((csPtr<iLight>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iLight *)ref), (void *)(iLight *)ref, "iLight" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateLight__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  csColor *arg5 = 0 ;
  SwigValueWrapper<csPtr<iLight > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_CreateLight",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateLight" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateLight" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateLight" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreateLight" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_CreateLight" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngine_CreateLight" "', argument " "5"" of type '" "csColor const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreateLight" "', argument " "5"" of type '" "csColor const &""'"); 
  }
  arg5 = reinterpret_cast< csColor * >(argp5);
  result = (arg1)->CreateLight((char const *)arg2,(csVector3 const &)*arg3,arg4,(csColor const &)*arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iLight> ref((csPtr<iLight>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iLight *)ref), (void *)(iLight *)ref, "iLight" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateLight(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csColor, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iEngine_CreateLight__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csColor, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iEngine_CreateLight__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_CreateLight'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindLight__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_FindLight",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindLight" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindLight" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngine_FindLight" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (iLight *)((iEngine const *)arg1)->FindLight((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindLight__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_FindLight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindLight" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindLight" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iLight *)((iEngine const *)arg1)->FindLight((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindLight(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_FindLight__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iEngine_FindLight__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_FindLight'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindLightID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_FindLightID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindLightID" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindLightID" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iLight *)((iEngine const *)arg1)->FindLightID((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetLightIterator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  SwigValueWrapper<csPtr<iLightIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_GetLightIterator",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetLightIterator" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetLightIterator" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  result = (arg1)->GetLightIterator(arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iLightIterator >(static_cast< const csPtr<iLightIterator >& >(result))), SWIGTYPE_p_csPtrTiLightIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetLightIterator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  SwigValueWrapper<csPtr<iLightIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetLightIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetLightIterator" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (arg1)->GetLightIterator();
  resultobj = SWIG_NewPointerObj((new csPtr<iLightIterator >(static_cast< const csPtr<iLightIterator >& >(result))), SWIGTYPE_p_csPtrTiLightIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetLightIterator(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iEngine_GetLightIterator__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_GetLightIterator__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_GetLightIterator'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RemoveLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_RemoveLight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_RemoveLight" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_RemoveLight" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  (arg1)->RemoveLight(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetAmbientLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_SetAmbientLight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetAmbientLight" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_SetAmbientLight" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_SetAmbientLight" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  (arg1)->SetAmbientLight((csColor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetAmbientLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_GetAmbientLight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetAmbientLight" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetAmbientLight" "', argument " "2"" of type '" "csColor &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetAmbientLight" "', argument " "2"" of type '" "csColor &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  ((iEngine const *)arg1)->GetAmbientLight(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetDefaultAmbientLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_GetDefaultAmbientLight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetDefaultAmbientLight" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetDefaultAmbientLight" "', argument " "2"" of type '" "csColor &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetDefaultAmbientLight" "', argument " "2"" of type '" "csColor &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  ((iEngine const *)arg1)->GetDefaultAmbientLight(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyLights__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  iLight **arg4 = (iLight **) 0 ;
  int arg5 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_GetNearbyLights",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyLights" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyLights" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyLights" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyLights" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_GetNearbyLights" "', argument " "4"" of type '" "iLight **""'"); 
  }
  arg4 = reinterpret_cast< iLight ** >(argp4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iEngine_GetNearbyLights" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (int)(arg1)->GetNearbyLights(arg2,(csVector3 const &)*arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyLights__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csBox3 *arg3 = 0 ;
  iLight **arg4 = (iLight **) 0 ;
  int arg5 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_GetNearbyLights",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyLights" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyLights" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyLights" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyLights" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  arg3 = reinterpret_cast< csBox3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_GetNearbyLights" "', argument " "4"" of type '" "iLight **""'"); 
  }
  arg4 = reinterpret_cast< iLight ** >(argp4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iEngine_GetNearbyLights" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (int)(arg1)->GetNearbyLights(arg2,(csBox3 const &)*arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyLights(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_p_iLight, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iEngine_GetNearbyLights__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csBox3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_p_iLight, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iEngine_GetNearbyLights__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_GetNearbyLights'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_CreateSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateSector" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateSector" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSector *)(arg1)->CreateSector((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetSectors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSectorList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetSectors",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetSectors" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iSectorList *)(arg1)->GetSectors();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSectorList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindSector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_FindSector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindSector" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindSector" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_FindSector" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (iSector *)(arg1)->FindSector((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindSector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_FindSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindSector" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindSector" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSector *)(arg1)->FindSector((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindSector(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_FindSector__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_FindSector__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_FindSector'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbySectors__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  SwigValueWrapper<csPtr<iSectorIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_GetNearbySectors",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbySectors" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbySectors" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbySectors" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbySectors" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_GetNearbySectors" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (arg1)->GetNearbySectors(arg2,(csVector3 const &)*arg3,arg4);
  resultobj = SWIG_NewPointerObj((new csPtr<iSectorIterator >(static_cast< const csPtr<iSectorIterator >& >(result))), SWIGTYPE_p_csPtrTiSectorIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbySectors__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csBox3 *arg3 = 0 ;
  SwigValueWrapper<csPtr<iSectorIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_GetNearbySectors",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbySectors" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbySectors" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbySectors" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbySectors" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  arg3 = reinterpret_cast< csBox3 * >(argp3);
  result = (arg1)->GetNearbySectors(arg2,(csBox3 const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iSectorIterator >(static_cast< const csPtr<iSectorIterator >& >(result))), SWIGTYPE_p_csPtrTiSectorIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbySectors(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csBox3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_GetNearbySectors__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iEngine_GetNearbySectors__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_GetNearbySectors'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_AddEngineFrameCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iEngineFrameCallback *arg2 = (iEngineFrameCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_AddEngineFrameCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_AddEngineFrameCallback" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngineFrameCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_AddEngineFrameCallback" "', argument " "2"" of type '" "iEngineFrameCallback *""'"); 
  }
  arg2 = reinterpret_cast< iEngineFrameCallback * >(argp2);
  (arg1)->AddEngineFrameCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RemoveEngineFrameCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iEngineFrameCallback *arg2 = (iEngineFrameCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_RemoveEngineFrameCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_RemoveEngineFrameCallback" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngineFrameCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_RemoveEngineFrameCallback" "', argument " "2"" of type '" "iEngineFrameCallback *""'"); 
  }
  arg2 = reinterpret_cast< iEngineFrameCallback * >(argp2);
  (arg1)->RemoveEngineFrameCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_AddEngineSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iEngineSectorCallback *arg2 = (iEngineSectorCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_AddEngineSectorCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_AddEngineSectorCallback" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngineSectorCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_AddEngineSectorCallback" "', argument " "2"" of type '" "iEngineSectorCallback *""'"); 
  }
  arg2 = reinterpret_cast< iEngineSectorCallback * >(argp2);
  (arg1)->AddEngineSectorCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RemoveEngineSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iEngineSectorCallback *arg2 = (iEngineSectorCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_RemoveEngineSectorCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_RemoveEngineSectorCallback" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngineSectorCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_RemoveEngineSectorCallback" "', argument " "2"" of type '" "iEngineSectorCallback *""'"); 
  }
  arg2 = reinterpret_cast< iEngineSectorCallback * >(argp2);
  (arg1)->RemoveEngineSectorCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  char *arg3 = (char *) 0 ;
  iSector *arg4 = (iSector *) 0 ;
  csVector3 *arg5 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_CreateMeshWrapper",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreateMeshWrapper" "', argument " "4"" of type '" "iSector *""'"); 
  }
  arg4 = reinterpret_cast< iSector * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngine_CreateMeshWrapper" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreateMeshWrapper" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (arg1)->CreateMeshWrapper(arg2,(char const *)arg3,arg4,(csVector3 const &)*arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  char *arg3 = (char *) 0 ;
  iSector *arg4 = (iSector *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_CreateMeshWrapper",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreateMeshWrapper" "', argument " "4"" of type '" "iSector *""'"); 
  }
  arg4 = reinterpret_cast< iSector * >(argp4);
  result = (arg1)->CreateMeshWrapper(arg2,(char const *)arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  char *arg3 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreateMeshWrapper",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->CreateMeshWrapper(arg2,(char const *)arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshObject *arg2 = (iMeshObject *) 0 ;
  char *arg3 = (char *) 0 ;
  iSector *arg4 = (iSector *) 0 ;
  csVector3 *arg5 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_CreateMeshWrapper",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "iMeshObject *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObject * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreateMeshWrapper" "', argument " "4"" of type '" "iSector *""'"); 
  }
  arg4 = reinterpret_cast< iSector * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngine_CreateMeshWrapper" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreateMeshWrapper" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (arg1)->CreateMeshWrapper(arg2,(char const *)arg3,arg4,(csVector3 const &)*arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshObject *arg2 = (iMeshObject *) 0 ;
  char *arg3 = (char *) 0 ;
  iSector *arg4 = (iSector *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_CreateMeshWrapper",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "iMeshObject *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObject * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreateMeshWrapper" "', argument " "4"" of type '" "iSector *""'"); 
  }
  arg4 = reinterpret_cast< iSector * >(argp4);
  result = (arg1)->CreateMeshWrapper(arg2,(char const *)arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshObject *arg2 = (iMeshObject *) 0 ;
  char *arg3 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreateMeshWrapper",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "iMeshObject *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObject * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->CreateMeshWrapper(arg2,(char const *)arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  iSector *arg4 = (iSector *) 0 ;
  csVector3 *arg5 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_CreateMeshWrapper",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreateMeshWrapper" "', argument " "4"" of type '" "iSector *""'"); 
  }
  arg4 = reinterpret_cast< iSector * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngine_CreateMeshWrapper" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreateMeshWrapper" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (arg1)->CreateMeshWrapper((char const *)arg2,(char const *)arg3,arg4,(csVector3 const &)*arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  iSector *arg4 = (iSector *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_CreateMeshWrapper",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreateMeshWrapper" "', argument " "4"" of type '" "iSector *""'"); 
  }
  arg4 = reinterpret_cast< iSector * >(argp4);
  result = (arg1)->CreateMeshWrapper((char const *)arg2,(char const *)arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreateMeshWrapper",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->CreateMeshWrapper((char const *)arg2,(char const *)arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_CreateMeshWrapper",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshWrapper" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->CreateMeshWrapper((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshWrapper(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_CreateMeshWrapper__SWIG_9(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshObject, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_CreateMeshWrapper__SWIG_5(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshFactoryWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_CreateMeshWrapper__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_CreateMeshWrapper__SWIG_8(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshObject, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSector, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iEngine_CreateMeshWrapper__SWIG_4(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshFactoryWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSector, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iEngine_CreateMeshWrapper__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSector, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iEngine_CreateMeshWrapper__SWIG_7(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshFactoryWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSector, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iEngine_CreateMeshWrapper__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshObject, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSector, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iEngine_CreateMeshWrapper__SWIG_3(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSector, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iEngine_CreateMeshWrapper__SWIG_6(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_CreateMeshWrapper'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateSectorWallsMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  char *arg3 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreateSectorWallsMesh",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateSectorWallsMesh" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateSectorWallsMesh" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateSectorWallsMesh" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->CreateSectorWallsMesh(arg2,(char const *)arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateThingMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  char *arg3 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreateThingMesh",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateThingMesh" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateThingMesh" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateThingMesh" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->CreateThingMesh(arg2,(char const *)arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_LoadMeshWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  iDataBuffer *arg4 = (iDataBuffer *) 0 ;
  iSector *arg5 = (iSector *) 0 ;
  csVector3 *arg6 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iEngine_LoadMeshWrapper",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_LoadMeshWrapper" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_LoadMeshWrapper" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_LoadMeshWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_LoadMeshWrapper" "', argument " "4"" of type '" "iDataBuffer *""'"); 
  }
  arg4 = reinterpret_cast< iDataBuffer * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngine_LoadMeshWrapper" "', argument " "5"" of type '" "iSector *""'"); 
  }
  arg5 = reinterpret_cast< iSector * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iEngine_LoadMeshWrapper" "', argument " "6"" of type '" "csVector3 const &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_LoadMeshWrapper" "', argument " "6"" of type '" "csVector3 const &""'"); 
  }
  arg6 = reinterpret_cast< csVector3 * >(argp6);
  result = (arg1)->LoadMeshWrapper((char const *)arg2,(char const *)arg3,arg4,arg5,(csVector3 const &)*arg6);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_AddMeshAndChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_AddMeshAndChildren",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_AddMeshAndChildren" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_AddMeshAndChildren" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->AddMeshAndChildren(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyMeshes__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  bool arg5 ;
  SwigValueWrapper<csPtr<iMeshWrapperIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_GetNearbyMeshes",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyMeshes" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_GetNearbyMeshes" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iEngine_GetNearbyMeshes" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (arg1)->GetNearbyMeshes(arg2,(csVector3 const &)*arg3,arg4,arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapperIterator> ref((csPtr<iMeshWrapperIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapperIterator *)ref), (void *)(iMeshWrapperIterator *)ref, "iMeshWrapperIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyMeshes__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  SwigValueWrapper<csPtr<iMeshWrapperIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_GetNearbyMeshes",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyMeshes" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_GetNearbyMeshes" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (arg1)->GetNearbyMeshes(arg2,(csVector3 const &)*arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapperIterator> ref((csPtr<iMeshWrapperIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapperIterator *)ref), (void *)(iMeshWrapperIterator *)ref, "iMeshWrapperIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyMeshes__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csBox3 *arg3 = 0 ;
  bool arg4 ;
  SwigValueWrapper<csPtr<iMeshWrapperIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_GetNearbyMeshes",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyMeshes" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  arg3 = reinterpret_cast< csBox3 * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_GetNearbyMeshes" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  result = (arg1)->GetNearbyMeshes(arg2,(csBox3 const &)*arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapperIterator> ref((csPtr<iMeshWrapperIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapperIterator *)ref), (void *)(iMeshWrapperIterator *)ref, "iMeshWrapperIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyMeshes__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csBox3 *arg3 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapperIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_GetNearbyMeshes",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyMeshes" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  arg3 = reinterpret_cast< csBox3 * >(argp3);
  result = (arg1)->GetNearbyMeshes(arg2,(csBox3 const &)*arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapperIterator> ref((csPtr<iMeshWrapperIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapperIterator *)ref), (void *)(iMeshWrapperIterator *)ref, "iMeshWrapperIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyMeshes__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  bool arg5 ;
  SwigValueWrapper<csPtr<iMeshWrapperIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_GetNearbyMeshes",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyMeshes" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_GetNearbyMeshes" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyMeshes" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iEngine_GetNearbyMeshes" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (arg1)->GetNearbyMeshes(arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapperIterator> ref((csPtr<iMeshWrapperIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapperIterator *)ref), (void *)(iMeshWrapperIterator *)ref, "iMeshWrapperIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyMeshes__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapperIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_GetNearbyMeshes",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyMeshes" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_GetNearbyMeshes" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyMeshes" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (arg1)->GetNearbyMeshes(arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapperIterator> ref((csPtr<iMeshWrapperIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapperIterator *)ref), (void *)(iMeshWrapperIterator *)ref, "iMeshWrapperIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyMeshes(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csBox3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_GetNearbyMeshes__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csBox3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iEngine_GetNearbyMeshes__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iEngine_GetNearbyMeshes__SWIG_5(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iEngine_GetNearbyMeshes__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iEngine_GetNearbyMeshes__SWIG_4(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iEngine_GetNearbyMeshes__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_GetNearbyMeshes'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetMeshes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iMeshList *)(arg1)->GetMeshes();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindMeshObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_FindMeshObject",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindMeshObject" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindMeshObject" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_FindMeshObject" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (iMeshWrapper *)(arg1)->FindMeshObject((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindMeshObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_FindMeshObject",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindMeshObject" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindMeshObject" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshWrapper *)(arg1)->FindMeshObject((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindMeshObject(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_FindMeshObject__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_FindMeshObject__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_FindMeshObject'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_WantToDie(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_WantToDie",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_WantToDie" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_WantToDie" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->WantToDie(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshFactory__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshFactoryWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreateMeshFactory",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshFactory" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshFactory" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->CreateMeshFactory((char const *)arg2,(char const *)arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshFactoryWrapper> ref((csPtr<iMeshFactoryWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshFactoryWrapper *)ref), (void *)(iMeshFactoryWrapper *)ref, "iMeshFactoryWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshFactory__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshObjectFactory *arg2 = (iMeshObjectFactory *) 0 ;
  char *arg3 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshFactoryWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreateMeshFactory",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshFactory" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshFactory" "', argument " "2"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObjectFactory * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreateMeshFactory" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->CreateMeshFactory(arg2,(char const *)arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshFactoryWrapper> ref((csPtr<iMeshFactoryWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshFactoryWrapper *)ref), (void *)(iMeshFactoryWrapper *)ref, "iMeshFactoryWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshFactory__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshFactoryWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_CreateMeshFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateMeshFactory" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateMeshFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->CreateMeshFactory((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshFactoryWrapper> ref((csPtr<iMeshFactoryWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshFactoryWrapper *)ref), (void *)(iMeshFactoryWrapper *)ref, "iMeshFactoryWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateMeshFactory(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_CreateMeshFactory__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshObjectFactory, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_CreateMeshFactory__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_CreateMeshFactory__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_CreateMeshFactory'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_LoadMeshFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  iDataBuffer *arg4 = (iDataBuffer *) 0 ;
  SwigValueWrapper<csPtr<iMeshFactoryWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_LoadMeshFactory",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_LoadMeshFactory" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_LoadMeshFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_LoadMeshFactory" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_LoadMeshFactory" "', argument " "4"" of type '" "iDataBuffer *""'"); 
  }
  arg4 = reinterpret_cast< iDataBuffer * >(argp4);
  result = (arg1)->LoadMeshFactory((char const *)arg2,(char const *)arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshFactoryWrapper> ref((csPtr<iMeshFactoryWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshFactoryWrapper *)ref), (void *)(iMeshFactoryWrapper *)ref, "iMeshFactoryWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindMeshFactory__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_FindMeshFactory",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindMeshFactory" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindMeshFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_FindMeshFactory" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (iMeshFactoryWrapper *)(arg1)->FindMeshFactory((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindMeshFactory__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_FindMeshFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindMeshFactory" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindMeshFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshFactoryWrapper *)(arg1)->FindMeshFactory((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindMeshFactory(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_FindMeshFactory__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_FindMeshFactory__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_FindMeshFactory'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetMeshFactories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iMeshFactoryList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetMeshFactories",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetMeshFactories" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iMeshFactoryList *)(arg1)->GetMeshFactories();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_CreateRegion",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateRegion" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateRegion" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iRegion *)(arg1)->CreateRegion((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRegion, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetRegions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRegionList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetRegions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetRegions" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iRegionList *)(arg1)->GetRegions();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRegionList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  SwigValueWrapper<csPtr<iCamera > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_CreateCamera",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateCamera" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (arg1)->CreateCamera();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iCamera> ref((csPtr<iCamera>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iCamera *)ref), (void *)(iCamera *)ref, "iCamera" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindCameraPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  iCameraPosition *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_FindCameraPosition",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindCameraPosition" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindCameraPosition" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_FindCameraPosition" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (iCameraPosition *)(arg1)->FindCameraPosition((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindCameraPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iCameraPosition *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_FindCameraPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindCameraPosition" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindCameraPosition" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iCameraPosition *)(arg1)->FindCameraPosition((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindCameraPosition(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_FindCameraPosition__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_FindCameraPosition__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_FindCameraPosition'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetCameraPositions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iCameraPositionList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetCameraPositions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetCameraPositions" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iCameraPositionList *)(arg1)->GetCameraPositions();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreatePortal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshWrapper *arg3 = (iMeshWrapper *) 0 ;
  iSector *arg4 = (iSector *) 0 ;
  csVector3 *arg5 = (csVector3 *) 0 ;
  int arg6 ;
  iPortal **arg7 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iEngine_CreatePortal",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreatePortal" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreatePortal" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreatePortal" "', argument " "3"" of type '" "iMeshWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMeshWrapper * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreatePortal" "', argument " "4"" of type '" "iSector *""'"); 
  }
  arg4 = reinterpret_cast< iSector * >(argp4);
  {
    /*@SWIG:TYPEMAP_IN_ARRAY_BODY@*/
    if (!PyList_Check(obj4))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    arg6 = PyList_Size(obj4);
    typedef csVector3 Array_Type;
    arg5 = new Array_Type[arg6];
    for (int i = 0; i < arg6; ++i)
    {
      csVector3 * p;
      PyObject * o = PyList_GetItem(obj4, i);
      if ((SWIG_ConvertPtr(o, (void **) &p, SWIGTYPE_p_csVector3,
            SWIG_POINTER_EXCEPTION)) == -1)
      {
        PyErr_SetString(PyExc_TypeError, "list must contain ""csVector3" "'s");
        delete [] arg5;
        return 0;
      }
      arg5[i] = * p;
    }
    /*@SWIG@*/
  }
  res7 = SWIG_ConvertPtr(obj5, &argp7, SWIGTYPE_p_p_iPortal,  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iEngine_CreatePortal" "', argument " "7"" of type '" "iPortal *&""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreatePortal" "', argument " "7"" of type '" "iPortal *&""'"); 
  }
  arg7 = reinterpret_cast< iPortal ** >(argp7);
  result = (arg1)->CreatePortal((char const *)arg2,arg3,arg4,arg5,arg6,*arg7);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  {
    delete [] arg5;
  }
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  {
    delete [] arg5;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreatePortal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iSector *arg3 = (iSector *) 0 ;
  csVector3 *arg4 = 0 ;
  iSector *arg5 = (iSector *) 0 ;
  csVector3 *arg6 = (csVector3 *) 0 ;
  int arg7 ;
  iPortal **arg8 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iEngine_CreatePortal",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreatePortal" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreatePortal" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreatePortal" "', argument " "3"" of type '" "iSector *""'"); 
  }
  arg3 = reinterpret_cast< iSector * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreatePortal" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreatePortal" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngine_CreatePortal" "', argument " "5"" of type '" "iSector *""'"); 
  }
  arg5 = reinterpret_cast< iSector * >(argp5);
  {
    /*@SWIG:TYPEMAP_IN_ARRAY_BODY@*/
    if (!PyList_Check(obj5))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    arg7 = PyList_Size(obj5);
    typedef csVector3 Array_Type;
    arg6 = new Array_Type[arg7];
    for (int i = 0; i < arg7; ++i)
    {
      csVector3 * p;
      PyObject * o = PyList_GetItem(obj5, i);
      if ((SWIG_ConvertPtr(o, (void **) &p, SWIGTYPE_p_csVector3,
            SWIG_POINTER_EXCEPTION)) == -1)
      {
        PyErr_SetString(PyExc_TypeError, "list must contain ""csVector3" "'s");
        delete [] arg6;
        return 0;
      }
      arg6[i] = * p;
    }
    /*@SWIG@*/
  }
  res8 = SWIG_ConvertPtr(obj6, &argp8, SWIGTYPE_p_p_iPortal,  0 );
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iEngine_CreatePortal" "', argument " "8"" of type '" "iPortal *&""'"); 
  }
  if (!argp8) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreatePortal" "', argument " "8"" of type '" "iPortal *&""'"); 
  }
  arg8 = reinterpret_cast< iPortal ** >(argp8);
  result = (arg1)->CreatePortal((char const *)arg2,arg3,(csVector3 const &)*arg4,arg5,arg6,arg7,*arg8);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  {
    delete [] arg6;
  }
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  {
    delete [] arg6;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreatePortal(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSector, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_p_iPortal, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iEngine_CreatePortal__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iSector, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iSector, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_csVector3, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_p_iPortal, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iEngine_CreatePortal__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_CreatePortal'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreatePortalContainer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iSector *arg3 = (iSector *) 0 ;
  csVector3 *arg4 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_CreatePortalContainer",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreatePortalContainer" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreatePortalContainer" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreatePortalContainer" "', argument " "3"" of type '" "iSector *""'"); 
  }
  arg3 = reinterpret_cast< iSector * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_CreatePortalContainer" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_CreatePortalContainer" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (arg1)->CreatePortalContainer((char const *)arg2,arg3,(csVector3 const &)*arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreatePortalContainer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iSector *arg3 = (iSector *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreatePortalContainer",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreatePortalContainer" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreatePortalContainer" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_CreatePortalContainer" "', argument " "3"" of type '" "iSector *""'"); 
  }
  arg3 = reinterpret_cast< iSector * >(argp3);
  result = (arg1)->CreatePortalContainer((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreatePortalContainer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_CreatePortalContainer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreatePortalContainer" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreatePortalContainer" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->CreatePortalContainer((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreatePortalContainer(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_CreatePortalContainer__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iSector, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_CreatePortalContainer__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iSector, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iEngine_CreatePortalContainer__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_CreatePortalContainer'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetClearZBuf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_SetClearZBuf",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetClearZBuf" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngine_SetClearZBuf" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetClearZBuf(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetClearZBuf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetClearZBuf",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetClearZBuf" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (bool)((iEngine const *)arg1)->GetClearZBuf();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetDefaultClearZBuf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetDefaultClearZBuf",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetDefaultClearZBuf" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (bool)((iEngine const *)arg1)->GetDefaultClearZBuf();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetClearScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_SetClearScreen",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetClearScreen" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngine_SetClearScreen" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetClearScreen(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetClearScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetClearScreen",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetClearScreen" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (bool)((iEngine const *)arg1)->GetClearScreen();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetDefaultClearScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetDefaultClearScreen",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetDefaultClearScreen" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (bool)((iEngine const *)arg1)->GetDefaultClearScreen();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetBeginDrawFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetBeginDrawFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetBeginDrawFlags" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (int)((iEngine const *)arg1)->GetBeginDrawFlags();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetTopLevelClipper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRenderView *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetTopLevelClipper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetTopLevelClipper" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iRenderView *)((iEngine const *)arg1)->GetTopLevelClipper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRenderView, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_PrecacheDraw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_PrecacheDraw",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_PrecacheDraw" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_PrecacheDraw" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  (arg1)->PrecacheDraw(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_PrecacheDraw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_PrecacheDraw",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_PrecacheDraw" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->PrecacheDraw();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_PrecacheDraw(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iEngine_PrecacheDraw__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_PrecacheDraw__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_PrecacheDraw'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_Draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  iClipper2D *arg3 = (iClipper2D *) 0 ;
  iMeshWrapper *arg4 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_Draw",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_Draw" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_Draw" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_Draw" "', argument " "3"" of type '" "iClipper2D *""'"); 
  }
  arg3 = reinterpret_cast< iClipper2D * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngine_Draw" "', argument " "4"" of type '" "iMeshWrapper *""'"); 
  }
  arg4 = reinterpret_cast< iMeshWrapper * >(argp4);
  (arg1)->Draw(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_Draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  iClipper2D *arg3 = (iClipper2D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_Draw",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_Draw" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_Draw" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_Draw" "', argument " "3"" of type '" "iClipper2D *""'"); 
  }
  arg3 = reinterpret_cast< iClipper2D * >(argp3);
  (arg1)->Draw(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_Draw(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCamera, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iClipper2D, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_Draw__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCamera, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iClipper2D, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iEngine_Draw__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_Draw'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_SetContext",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetContext" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_SetContext" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  (arg1)->SetContext(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetContext" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iTextureHandle *)((iEngine const *)arg1)->GetContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetRenderLoopManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRenderLoopManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetRenderLoopManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetRenderLoopManager" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iRenderLoopManager *)(arg1)->GetRenderLoopManager();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRenderLoopManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetCurrentDefaultRenderloop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRenderLoop *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetCurrentDefaultRenderloop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetCurrentDefaultRenderloop" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iRenderLoop *)(arg1)->GetCurrentDefaultRenderloop();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRenderLoop, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetCurrentDefaultRenderloop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRenderLoop *arg2 = (iRenderLoop *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_SetCurrentDefaultRenderloop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetCurrentDefaultRenderloop" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderLoop, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_SetCurrentDefaultRenderloop" "', argument " "2"" of type '" "iRenderLoop *""'"); 
  }
  arg2 = reinterpret_cast< iRenderLoop * >(argp2);
  result = (bool)(arg1)->SetCurrentDefaultRenderloop(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetCurrentFrameNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetCurrentFrameNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetCurrentFrameNumber" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (uint)((iEngine const *)arg1)->GetCurrentFrameNumber();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_SetSaveableFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_SetSaveableFlag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_SetSaveableFlag" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngine_SetSaveableFlag" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetSaveableFlag(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetSaveableFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetSaveableFlag",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetSaveableFlag" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (bool)(arg1)->GetSaveableFlag();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateLoaderContext__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  bool arg3 ;
  SwigValueWrapper<csPtr<iLoaderContext > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_CreateLoaderContext",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateLoaderContext" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateLoaderContext" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngine_CreateLoaderContext" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (arg1)->CreateLoaderContext(arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iLoaderContext >(static_cast< const csPtr<iLoaderContext >& >(result))), SWIGTYPE_p_csPtrTiLoaderContext_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateLoaderContext__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  SwigValueWrapper<csPtr<iLoaderContext > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_CreateLoaderContext",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateLoaderContext" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_CreateLoaderContext" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  result = (arg1)->CreateLoaderContext(arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iLoaderContext >(static_cast< const csPtr<iLoaderContext >& >(result))), SWIGTYPE_p_csPtrTiLoaderContext_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateLoaderContext__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  SwigValueWrapper<csPtr<iLoaderContext > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_CreateLoaderContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateLoaderContext" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (arg1)->CreateLoaderContext();
  resultobj = SWIG_NewPointerObj((new csPtr<iLoaderContext >(static_cast< const csPtr<iLoaderContext >& >(result))), SWIGTYPE_p_csPtrTiLoaderContext_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateLoaderContext(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iEngine_CreateLoaderContext__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_CreateLoaderContext__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iEngine_CreateLoaderContext__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_CreateLoaderContext'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyObjects__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  bool arg5 ;
  SwigValueWrapper<csPtr<iObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngine_GetNearbyObjects",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyObjects" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyObjects" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyObjects" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyObjects" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_GetNearbyObjects" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iEngine_GetNearbyObjects" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (arg1)->GetNearbyObjects(arg2,(csVector3 const &)*arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj((new csPtr<iObjectIterator >(static_cast< const csPtr<iObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyObjects__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  SwigValueWrapper<csPtr<iObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngine_GetNearbyObjects",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetNearbyObjects" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetNearbyObjects" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetNearbyObjects" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetNearbyObjects" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEngine_GetNearbyObjects" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (arg1)->GetNearbyObjects(arg2,(csVector3 const &)*arg3,arg4);
  resultobj = SWIG_NewPointerObj((new csPtr<iObjectIterator >(static_cast< const csPtr<iObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetNearbyObjects(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iEngine_GetNearbyObjects__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iEngine_GetNearbyObjects__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_GetNearbyObjects'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetVisibleObjects__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  SwigValueWrapper<csPtr<iObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_GetVisibleObjects",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetVisibleObjects" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetVisibleObjects" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetVisibleObjects" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetVisibleObjects" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (arg1)->GetVisibleObjects(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iObjectIterator >(static_cast< const csPtr<iObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetVisibleMeshes__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapperIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_GetVisibleMeshes",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetVisibleMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetVisibleMeshes" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetVisibleMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetVisibleMeshes" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (arg1)->GetVisibleMeshes(arg2,(csVector3 const &)*arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapperIterator> ref((csPtr<iMeshWrapperIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapperIterator *)ref), (void *)(iMeshWrapperIterator *)ref, "iMeshWrapperIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetVisibleObjects__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csFrustum *arg3 = 0 ;
  SwigValueWrapper<csPtr<iObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_GetVisibleObjects",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetVisibleObjects" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetVisibleObjects" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csFrustum,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetVisibleObjects" "', argument " "3"" of type '" "csFrustum const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetVisibleObjects" "', argument " "3"" of type '" "csFrustum const &""'"); 
  }
  arg3 = reinterpret_cast< csFrustum * >(argp3);
  result = (arg1)->GetVisibleObjects(arg2,(csFrustum const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iObjectIterator >(static_cast< const csPtr<iObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetVisibleObjects(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_GetVisibleObjects__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csFrustum, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_GetVisibleObjects__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_GetVisibleObjects'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetVisibleMeshes__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csFrustum *arg3 = 0 ;
  SwigValueWrapper<csPtr<iMeshWrapperIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_GetVisibleMeshes",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetVisibleMeshes" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_GetVisibleMeshes" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csFrustum,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_GetVisibleMeshes" "', argument " "3"" of type '" "csFrustum const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEngine_GetVisibleMeshes" "', argument " "3"" of type '" "csFrustum const &""'"); 
  }
  arg3 = reinterpret_cast< csFrustum * >(argp3);
  result = (arg1)->GetVisibleMeshes(arg2,(csFrustum const &)*arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapperIterator> ref((csPtr<iMeshWrapperIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapperIterator *)ref), (void *)(iMeshWrapperIterator *)ref, "iMeshWrapperIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetVisibleMeshes(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_GetVisibleMeshes__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csFrustum, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_GetVisibleMeshes__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_GetVisibleMeshes'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateFrustumView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  SwigValueWrapper<csPtr<iFrustumView > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_CreateFrustumView",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateFrustumView" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (arg1)->CreateFrustumView();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iFrustumView> ref((csPtr<iFrustumView>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iFrustumView *)ref), (void *)(iFrustumView *)ref, "iFrustumView" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_CreateObjectWatcher(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  SwigValueWrapper<csPtr<iObjectWatcher > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_CreateObjectWatcher",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_CreateObjectWatcher" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (arg1)->CreateObjectWatcher();
  resultobj = SWIG_NewPointerObj((new csPtr<iObjectWatcher >(static_cast< const csPtr<iObjectWatcher >& >(result))), SWIGTYPE_p_csPtrTiObjectWatcher_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetVariableList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iSharedVariableList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetVariableList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetVariableList" "', argument " "1"" of type '" "iEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iSharedVariableList *)((iEngine const *)arg1)->GetVariableList();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSharedVariableList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_GetCollections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iCollectionList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_GetCollections",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_GetCollections" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  result = (iCollectionList *)(arg1)->GetCollections();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCollectionList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindCollection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  iCollection *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_FindCollection",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindCollection" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindCollection" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_FindCollection" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (iCollection *)(arg1)->FindCollection((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCollection, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindCollection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  char *arg2 = (char *) 0 ;
  iCollection *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_FindCollection",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_FindCollection" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_FindCollection" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iCollection *)(arg1)->FindCollection((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCollection, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_FindCollection(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngine_FindCollection__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngine_FindCollection__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_FindCollection'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RemoveObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_RemoveObject",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_RemoveObject" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngine_RemoveObject" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  result = (bool)(arg1)->RemoveObject(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_DelayedRemoveObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  csTicks arg2 ;
  iBase *arg3 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngine_DelayedRemoveObject",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_DelayedRemoveObject" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngine_DelayedRemoveObject" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngine_DelayedRemoveObject" "', argument " "3"" of type '" "iBase *""'"); 
  }
  arg3 = reinterpret_cast< iBase * >(argp3);
  (arg1)->DelayedRemoveObject(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RemoveDelayedRemoves__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngine_RemoveDelayedRemoves",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_RemoveDelayedRemoves" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngine_RemoveDelayedRemoves" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->RemoveDelayedRemoves(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RemoveDelayedRemoves__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_RemoveDelayedRemoves",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_RemoveDelayedRemoves" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->RemoveDelayedRemoves();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_RemoveDelayedRemoves(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iEngine_RemoveDelayedRemoves__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iEngine_RemoveDelayedRemoves__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngine_RemoveDelayedRemoves'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_DeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_DeleteAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_DeleteAll" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->DeleteAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_ResetWorldSpecificSettings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngine_ResetWorldSpecificSettings",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngine_ResetWorldSpecificSettings" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  (arg1)->ResetWorldSpecificSettings();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEngine",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEngine" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  delete_iEngine(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngine_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iEngine_scfGetVersion")) SWIG_fail;
  result = (int)iEngine_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEngine, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iCameraSectorListener_NewSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraSectorListener *arg1 = (iCameraSectorListener *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  iSector *arg3 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCameraSectorListener_NewSector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraSectorListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraSectorListener_NewSector" "', argument " "1"" of type '" "iCameraSectorListener *""'"); 
  }
  arg1 = reinterpret_cast< iCameraSectorListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraSectorListener_NewSector" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCameraSectorListener_NewSector" "', argument " "3"" of type '" "iSector *""'"); 
  }
  arg3 = reinterpret_cast< iSector * >(argp3);
  (arg1)->NewSector(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iCameraSectorListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraSectorListener *arg1 = (iCameraSectorListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iCameraSectorListener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraSectorListener, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iCameraSectorListener" "', argument " "1"" of type '" "iCameraSectorListener *""'"); 
  }
  arg1 = reinterpret_cast< iCameraSectorListener * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iCameraSectorListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iCameraSectorListener, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iCamera_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  iCamera *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_Clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_Clone" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (iCamera *)((iCamera const *)arg1)->Clone();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCamera, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_QuerySceneNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  iSceneNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_QuerySceneNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_QuerySceneNode" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (iSceneNode *)(arg1)->QuerySceneNode();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSceneNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetFOV(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetFOV",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetFOV" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (int)((iCamera const *)arg1)->GetFOV();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetInvFOV(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetInvFOV",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetInvFOV" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (float)((iCamera const *)arg1)->GetInvFOV();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetFOVAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetFOVAngle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetFOVAngle" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (float)((iCamera const *)arg1)->GetFOVAngle();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_SetFOV(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCamera_SetFOV",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_SetFOV" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCamera_SetFOV" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCamera_SetFOV" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetFOV(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_SetFOVAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCamera_SetFOVAngle",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_SetFOVAngle" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCamera_SetFOVAngle" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCamera_SetFOVAngle" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetFOVAngle(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetShiftX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetShiftX",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetShiftX" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (float)((iCamera const *)arg1)->GetShiftX();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetShiftY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetShiftY",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetShiftY" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (float)((iCamera const *)arg1)->GetShiftY();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_SetPerspectiveCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  float arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCamera_SetPerspectiveCenter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_SetPerspectiveCenter" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCamera_SetPerspectiveCenter" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCamera_SetPerspectiveCenter" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetPerspectiveCenter(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csOrthoTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetTransform" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  {
    csOrthoTransform const &_result_ref = ((iCamera const *)arg1)->GetTransform();
    result = (csOrthoTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csOrthoTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csOrthoTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_SetTransform" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_SetTransform" "', argument " "2"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCamera_SetTransform" "', argument " "2"" of type '" "csOrthoTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csOrthoTransform * >(argp2);
  (arg1)->SetTransform((csOrthoTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_MoveWorld__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csVector3 *arg2 = 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCamera_MoveWorld",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_MoveWorld" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_MoveWorld" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCamera_MoveWorld" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCamera_MoveWorld" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->MoveWorld((csVector3 const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_MoveWorld__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_MoveWorld",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_MoveWorld" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_MoveWorld" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCamera_MoveWorld" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->MoveWorld((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_MoveWorld(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCamera, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCamera_MoveWorld__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCamera, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iCamera_MoveWorld__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCamera_MoveWorld'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_Move__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csVector3 *arg2 = 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCamera_Move",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_Move" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_Move" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCamera_Move" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCamera_Move" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->Move((csVector3 const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_Move__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_Move",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_Move" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_Move" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCamera_Move" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->Move((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_Move(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCamera, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCamera_Move__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCamera, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iCamera_Move__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCamera_Move'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_MoveWorldUnrestricted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_MoveWorldUnrestricted",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_MoveWorldUnrestricted" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_MoveWorldUnrestricted" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCamera_MoveWorldUnrestricted" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->MoveWorldUnrestricted((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_MoveUnrestricted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_MoveUnrestricted",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_MoveUnrestricted" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_MoveUnrestricted" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCamera_MoveUnrestricted" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->MoveUnrestricted((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetSector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetSector" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (iSector *)((iCamera const *)arg1)->GetSector();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_SetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_SetSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_SetSector" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_SetSector" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  (arg1)->SetSector(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_Correct(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_Correct",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_Correct" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCamera_Correct" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->Correct(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_IsMirrored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_IsMirrored",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_IsMirrored" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (bool)((iCamera const *)arg1)->IsMirrored();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_SetMirrored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_SetMirrored",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_SetMirrored" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCamera_SetMirrored" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetMirrored(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetFarPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetFarPlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetFarPlane" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (csPlane3 *)((iCamera const *)arg1)->GetFarPlane();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_SetFarPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csPlane3 *arg2 = (csPlane3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_SetFarPlane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_SetFarPlane" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_SetFarPlane" "', argument " "2"" of type '" "csPlane3 *""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  (arg1)->SetFarPlane(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetCameraNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetCameraNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetCameraNumber" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (long)((iCamera const *)arg1)->GetCameraNumber();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_Perspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_Perspective",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_Perspective" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_Perspective" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCamera_Perspective" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = ((iCamera const *)arg1)->Perspective((csVector3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_InvPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  csVector2 *arg2 = 0 ;
  float arg3 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCamera_InvPerspective",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_InvPerspective" "', argument " "1"" of type '" "iCamera const *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_InvPerspective" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCamera_InvPerspective" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCamera_InvPerspective" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = ((iCamera const *)arg1)->InvPerspective((csVector2 const &)*arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_OnlyPortals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_OnlyPortals",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_OnlyPortals" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCamera_OnlyPortals" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->OnlyPortals(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_GetOnlyPortals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCamera_GetOnlyPortals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_GetOnlyPortals" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  result = (bool)(arg1)->GetOnlyPortals();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_AddCameraSectorListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  iCameraSectorListener *arg2 = (iCameraSectorListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_AddCameraSectorListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_AddCameraSectorListener" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCameraSectorListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_AddCameraSectorListener" "', argument " "2"" of type '" "iCameraSectorListener *""'"); 
  }
  arg2 = reinterpret_cast< iCameraSectorListener * >(argp2);
  (arg1)->AddCameraSectorListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_RemoveCameraSectorListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  iCameraSectorListener *arg2 = (iCameraSectorListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCamera_RemoveCameraSectorListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCamera_RemoveCameraSectorListener" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCameraSectorListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCamera_RemoveCameraSectorListener" "', argument " "2"" of type '" "iCameraSectorListener *""'"); 
  }
  arg2 = reinterpret_cast< iCameraSectorListener * >(argp2);
  (arg1)->RemoveCameraSectorListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCamera *arg1 = (iCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iCamera",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCamera, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iCamera" "', argument " "1"" of type '" "iCamera *""'"); 
  }
  arg1 = reinterpret_cast< iCamera * >(argp1);
  delete_iCamera(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCamera_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iCamera_scfGetVersion")) SWIG_fail;
  result = (int)iCamera_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iCamera_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iCamera, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iCameraPosition_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPosition_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_QueryObject" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  iCameraPosition *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPosition_Clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_Clone" "', argument " "1"" of type '" "iCameraPosition const *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  result = (iCameraPosition *)((iCameraPosition const *)arg1)->Clone();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPosition, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_GetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPosition_GetSector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_GetSector" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  result = (char *)(arg1)->GetSector();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_SetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPosition_SetSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_SetSector" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPosition_SetSector" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetSector((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPosition_GetPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_GetPosition" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  {
    csVector3 const &_result_ref = (arg1)->GetPosition();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPosition_SetPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_SetPosition" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPosition_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCameraPosition_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetPosition((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_GetUpwardVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPosition_GetUpwardVector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_GetUpwardVector" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  {
    csVector3 const &_result_ref = (arg1)->GetUpwardVector();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_SetUpwardVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPosition_SetUpwardVector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_SetUpwardVector" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPosition_SetUpwardVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCameraPosition_SetUpwardVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetUpwardVector((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_GetForwardVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPosition_GetForwardVector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_GetForwardVector" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  {
    csVector3 const &_result_ref = (arg1)->GetForwardVector();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_SetForwardVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPosition_SetForwardVector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_SetForwardVector" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPosition_SetForwardVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCameraPosition_SetForwardVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetForwardVector((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  char *arg2 = (char *) 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iCameraPosition_Set",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_Set" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPosition_Set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCameraPosition_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCameraPosition_Set" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iCameraPosition_Set" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCameraPosition_Set" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iCameraPosition_Set" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCameraPosition_Set" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  (arg1)->Set((char const *)arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,(csVector3 const &)*arg5);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  iEngine *arg3 = (iEngine *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCameraPosition_Load",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_Load" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPosition_Load" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCameraPosition_Load" "', argument " "3"" of type '" "iEngine *""'"); 
  }
  arg3 = reinterpret_cast< iEngine * >(argp3);
  result = (bool)(arg1)->Load(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_SetFarPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  csPlane3 *arg2 = (csPlane3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPosition_SetFarPlane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_SetFarPlane" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPosition_SetFarPlane" "', argument " "2"" of type '" "csPlane3 *""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  (arg1)->SetFarPlane(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_ClearFarPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPosition_ClearFarPlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_ClearFarPlane" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  (arg1)->ClearFarPlane();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_GetFarPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPosition_GetFarPlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPosition_GetFarPlane" "', argument " "1"" of type '" "iCameraPosition const *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  result = (csPlane3 *)((iCameraPosition const *)arg1)->GetFarPlane();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iCameraPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPosition *arg1 = (iCameraPosition *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iCameraPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPosition, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iCameraPosition" "', argument " "1"" of type '" "iCameraPosition *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPosition * >(argp1);
  delete_iCameraPosition(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPosition_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iCameraPosition_scfGetVersion")) SWIG_fail;
  result = (int)iCameraPosition_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iCameraPosition_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iCameraPosition, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iCameraPositionList_NewCameraPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  char *arg2 = (char *) 0 ;
  iCameraPosition *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList_NewCameraPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_NewCameraPosition" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPositionList_NewCameraPosition" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iCameraPosition *)(arg1)->NewCameraPosition((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPositionList_GetCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_GetCount" "', argument " "1"" of type '" "iCameraPositionList const *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  result = (int)((iCameraPositionList const *)arg1)->GetCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  int arg2 ;
  iCameraPosition *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_Get" "', argument " "1"" of type '" "iCameraPositionList const *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCameraPositionList_Get" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iCameraPosition *)((iCameraPositionList const *)arg1)->Get(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPosition, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  iCameraPosition *arg2 = (iCameraPosition *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_Add" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPositionList_Add" "', argument " "2"" of type '" "iCameraPosition *""'"); 
  }
  arg2 = reinterpret_cast< iCameraPosition * >(argp2);
  result = (int)(arg1)->Add(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  iCameraPosition *arg2 = (iCameraPosition *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_Remove" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPositionList_Remove" "', argument " "2"" of type '" "iCameraPosition *""'"); 
  }
  arg2 = reinterpret_cast< iCameraPosition * >(argp2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_Remove" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCameraPositionList_Remove" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_Remove(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCameraPositionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCameraPosition, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCameraPositionList_Remove__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCameraPositionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iCameraPositionList_Remove__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCameraPositionList_Remove'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPositionList_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_RemoveAll" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  (arg1)->RemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  iCameraPosition *arg2 = (iCameraPosition *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_Find" "', argument " "1"" of type '" "iCameraPositionList const *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPositionList_Find" "', argument " "2"" of type '" "iCameraPosition *""'"); 
  }
  arg2 = reinterpret_cast< iCameraPosition * >(argp2);
  result = (int)((iCameraPositionList const *)arg1)->Find(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_FindByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  char *arg2 = (char *) 0 ;
  iCameraPosition *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList_FindByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_FindByName" "', argument " "1"" of type '" "iCameraPositionList const *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPositionList_FindByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iCameraPosition *)((iCameraPositionList const *)arg1)->FindByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  int arg2 ;
  iCameraPosition *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList___getitem__" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCameraPositionList___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iCameraPosition *)iCameraPositionList___getitem____SWIG_0(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPosition, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList___contains____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  iCameraPosition *arg2 = (iCameraPosition *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList___contains__" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPositionList___contains__" "', argument " "2"" of type '" "iCameraPosition *""'"); 
  }
  arg2 = reinterpret_cast< iCameraPosition * >(argp2);
  result = (bool)iCameraPositionList___contains____SWIG_0(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList___delitem__" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCameraPositionList___delitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)iCameraPositionList___delitem__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCameraPositionList___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList___len__" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  result = (int)iCameraPositionList___len__(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  iCameraPosition *arg2 = (iCameraPosition *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList_append" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPositionList_append" "', argument " "2"" of type '" "iCameraPosition *""'"); 
  }
  arg2 = reinterpret_cast< iCameraPosition * >(argp2);
  iCameraPositionList_append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  char *arg2 = (char *) 0 ;
  iCameraPosition *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList___getitem__" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPositionList___getitem__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iCameraPosition *)iCameraPositionList___getitem____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList___getitem__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCameraPositionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iCameraPositionList___getitem____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCameraPositionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCameraPositionList___getitem____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCameraPositionList___getitem__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList___contains____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCameraPositionList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCameraPositionList___contains__" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCameraPositionList___contains__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)iCameraPositionList___contains____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCameraPositionList___contains__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCameraPositionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCameraPosition, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCameraPositionList___contains____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCameraPositionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCameraPositionList___contains____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCameraPositionList___contains__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iCameraPositionList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCameraPositionList *arg1 = (iCameraPositionList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iCameraPositionList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCameraPositionList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iCameraPositionList" "', argument " "1"" of type '" "iCameraPositionList *""'"); 
  }
  arg1 = reinterpret_cast< iCameraPositionList * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iCameraPositionList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iCameraPositionList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iTextureCallback_UseTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureCallback *arg1 = (iTextureCallback *) 0 ;
  iTextureWrapper *arg2 = (iTextureWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureCallback_UseTexture",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureCallback_UseTexture" "', argument " "1"" of type '" "iTextureCallback *""'"); 
  }
  arg1 = reinterpret_cast< iTextureCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureCallback_UseTexture" "', argument " "2"" of type '" "iTextureWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iTextureWrapper * >(argp2);
  (arg1)->UseTexture(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iTextureCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureCallback *arg1 = (iTextureCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iTextureCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iTextureCallback" "', argument " "1"" of type '" "iTextureCallback *""'"); 
  }
  arg1 = reinterpret_cast< iTextureCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iTextureCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iTextureCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iTextureWrapper_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_QueryObject" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_Clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_Clone" "', argument " "1"" of type '" "iTextureWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  result = (iTextureWrapper *)((iTextureWrapper const *)arg1)->Clone();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_SetImageFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureWrapper_SetImageFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_SetImageFile" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureWrapper_SetImageFile" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  (arg1)->SetImageFile(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_GetImageFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  iImage *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_GetImageFile",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_GetImageFile" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  result = (iImage *)(arg1)->GetImageFile();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iImage, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_SetTextureHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureWrapper_SetTextureHandle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_SetTextureHandle" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureWrapper_SetTextureHandle" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  (arg1)->SetTextureHandle(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_GetTextureHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_GetTextureHandle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_GetTextureHandle" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  result = (iTextureHandle *)(arg1)->GetTextureHandle();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_SetKeyColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iTextureWrapper_SetKeyColor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_SetKeyColor" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureWrapper_SetKeyColor" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTextureWrapper_SetKeyColor" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTextureWrapper_SetKeyColor" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->SetKeyColor(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_GetKeyColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  int temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_GetKeyColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_GetKeyColor" "', argument " "1"" of type '" "iTextureWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  ((iTextureWrapper const *)arg1)->GetKeyColor(*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureWrapper_SetFlags",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_SetFlags" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureWrapper_SetFlags" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetFlags(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_GetFlags" "', argument " "1"" of type '" "iTextureWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  result = (int)((iTextureWrapper const *)arg1)->GetFlags();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_Register(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  iTextureManager *arg2 = (iTextureManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureWrapper_Register",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_Register" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureWrapper_Register" "', argument " "2"" of type '" "iTextureManager *""'"); 
  }
  arg2 = reinterpret_cast< iTextureManager * >(argp2);
  (arg1)->Register(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_SetUseCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  iTextureCallback *arg2 = (iTextureCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureWrapper_SetUseCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_SetUseCallback" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureWrapper_SetUseCallback" "', argument " "2"" of type '" "iTextureCallback *""'"); 
  }
  arg2 = reinterpret_cast< iTextureCallback * >(argp2);
  (arg1)->SetUseCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_GetUseCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  iTextureCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_GetUseCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_GetUseCallback" "', argument " "1"" of type '" "iTextureWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  result = (iTextureCallback *)((iTextureWrapper const *)arg1)->GetUseCallback();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_Visit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_Visit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_Visit" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  (arg1)->Visit();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_IsVisitRequired(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_IsVisitRequired",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_IsVisitRequired" "', argument " "1"" of type '" "iTextureWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  result = (bool)((iTextureWrapper const *)arg1)->IsVisitRequired();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_SetKeepImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureWrapper_SetKeepImage",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_SetKeepImage" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureWrapper_SetKeepImage" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetKeepImage(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_KeepImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_KeepImage",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_KeepImage" "', argument " "1"" of type '" "iTextureWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  result = (bool)((iTextureWrapper const *)arg1)->KeepImage();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_SetTextureClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureWrapper_SetTextureClass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_SetTextureClass" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureWrapper_SetTextureClass" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetTextureClass((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_GetTextureClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureWrapper_GetTextureClass",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureWrapper_GetTextureClass" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  result = (char *)(arg1)->GetTextureClass();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iTextureWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureWrapper *arg1 = (iTextureWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iTextureWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iTextureWrapper" "', argument " "1"" of type '" "iTextureWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iTextureWrapper * >(argp1);
  delete_iTextureWrapper(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureWrapper_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iTextureWrapper_scfGetVersion")) SWIG_fail;
  result = (int)iTextureWrapper_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iTextureWrapper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iTextureWrapper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iTextureList_NewTexture__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList_NewTexture",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_NewTexture" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList_NewTexture" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  result = (iTextureWrapper *)(arg1)->NewTexture(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_NewTexture__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList_NewTexture",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_NewTexture" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList_NewTexture" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  result = (iTextureWrapper *)(arg1)->NewTexture(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_NewTexture(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTextureList_NewTexture__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureHandle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTextureList_NewTexture__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTextureList_NewTexture'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureList_GetCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_GetCount" "', argument " "1"" of type '" "iTextureList const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  result = (int)((iTextureList const *)arg1)->GetCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  int arg2 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_Get" "', argument " "1"" of type '" "iTextureList const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureList_Get" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iTextureWrapper *)((iTextureList const *)arg1)->Get(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  iTextureWrapper *arg2 = (iTextureWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_Add" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList_Add" "', argument " "2"" of type '" "iTextureWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iTextureWrapper * >(argp2);
  result = (int)(arg1)->Add(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  iTextureWrapper *arg2 = (iTextureWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_Remove" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList_Remove" "', argument " "2"" of type '" "iTextureWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iTextureWrapper * >(argp2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_Remove" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureList_Remove" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_Remove(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTextureList_Remove__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iTextureList_Remove__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTextureList_Remove'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureList_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_RemoveAll" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  (arg1)->RemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  iTextureWrapper *arg2 = (iTextureWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_Find" "', argument " "1"" of type '" "iTextureList const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList_Find" "', argument " "2"" of type '" "iTextureWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iTextureWrapper * >(argp2);
  result = (int)((iTextureList const *)arg1)->Find(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_FindByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  char *arg2 = (char *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList_FindByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_FindByName" "', argument " "1"" of type '" "iTextureList const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList_FindByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iTextureWrapper *)((iTextureList const *)arg1)->FindByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iTextureList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iTextureList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iTextureList" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  delete_iTextureList(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iTextureList_scfGetVersion")) SWIG_fail;
  result = (int)iTextureList_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  int arg2 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList___getitem__" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureList___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iTextureWrapper *)iTextureList___getitem____SWIG_0(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList___contains____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  iTextureWrapper *arg2 = (iTextureWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList___contains__" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList___contains__" "', argument " "2"" of type '" "iTextureWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iTextureWrapper * >(argp2);
  result = (bool)iTextureList___contains____SWIG_0(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList___delitem__" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureList___delitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)iTextureList___delitem__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureList___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList___len__" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  result = (int)iTextureList___len__(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  iTextureWrapper *arg2 = (iTextureWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList_append" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList_append" "', argument " "2"" of type '" "iTextureWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iTextureWrapper * >(argp2);
  iTextureList_append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  char *arg2 = (char *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList___getitem__" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList___getitem__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iTextureWrapper *)iTextureList___getitem____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList___getitem__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iTextureList___getitem____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTextureList___getitem____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTextureList___getitem__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList___contains____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureList *arg1 = (iTextureList *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureList___contains__" "', argument " "1"" of type '" "iTextureList *""'"); 
  }
  arg1 = reinterpret_cast< iTextureList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureList___contains__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)iTextureList___contains____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureList___contains__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTextureList___contains____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTextureList___contains____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTextureList___contains__'");
  return NULL;
}


SWIGINTERN PyObject *iTextureList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iTextureList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMaterialWrapper_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialWrapper *arg1 = (iMaterialWrapper *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialWrapper_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialWrapper_QueryObject" "', argument " "1"" of type '" "iMaterialWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialWrapper * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialWrapper_SetMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialWrapper *arg1 = (iMaterialWrapper *) 0 ;
  iMaterial *arg2 = (iMaterial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialWrapper_SetMaterial",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialWrapper_SetMaterial" "', argument " "1"" of type '" "iMaterialWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialWrapper_SetMaterial" "', argument " "2"" of type '" "iMaterial *""'"); 
  }
  arg2 = reinterpret_cast< iMaterial * >(argp2);
  (arg1)->SetMaterial(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialWrapper_GetMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialWrapper *arg1 = (iMaterialWrapper *) 0 ;
  iMaterial *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialWrapper_GetMaterial",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialWrapper_GetMaterial" "', argument " "1"" of type '" "iMaterialWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialWrapper * >(argp1);
  result = (iMaterial *)(arg1)->GetMaterial();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterial, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialWrapper_Visit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialWrapper *arg1 = (iMaterialWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialWrapper_Visit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialWrapper_Visit" "', argument " "1"" of type '" "iMaterialWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialWrapper * >(argp1);
  (arg1)->Visit();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialWrapper_IsVisitRequired(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialWrapper *arg1 = (iMaterialWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialWrapper_IsVisitRequired",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialWrapper_IsVisitRequired" "', argument " "1"" of type '" "iMaterialWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialWrapper * >(argp1);
  result = (bool)((iMaterialWrapper const *)arg1)->IsVisitRequired();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMaterialWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialWrapper *arg1 = (iMaterialWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMaterialWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMaterialWrapper" "', argument " "1"" of type '" "iMaterialWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialWrapper * >(argp1);
  delete_iMaterialWrapper(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialWrapper_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMaterialWrapper_scfGetVersion")) SWIG_fail;
  result = (int)iMaterialWrapper_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMaterialWrapper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMaterialWrapper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMaterialEngine_GetTextureWrapper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialEngine *arg1 = (iMaterialEngine *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialEngine_GetTextureWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialEngine_GetTextureWrapper" "', argument " "1"" of type '" "iMaterialEngine *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialEngine * >(argp1);
  result = (iTextureWrapper *)(arg1)->GetTextureWrapper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialEngine_GetTextureWrapper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialEngine *arg1 = (iMaterialEngine *) 0 ;
  csStringID arg2 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialEngine_GetTextureWrapper",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialEngine_GetTextureWrapper" "', argument " "1"" of type '" "iMaterialEngine *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialEngine * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMaterialEngine_GetTextureWrapper" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (iTextureWrapper *)(arg1)->GetTextureWrapper(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialEngine_GetTextureWrapper(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterialEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iMaterialEngine_GetTextureWrapper__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterialEngine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMaterialEngine_GetTextureWrapper__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMaterialEngine_GetTextureWrapper'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialEngine_Visit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialEngine *arg1 = (iMaterialEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialEngine_Visit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialEngine_Visit" "', argument " "1"" of type '" "iMaterialEngine *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialEngine * >(argp1);
  (arg1)->Visit();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialEngine_IsVisitRequired(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialEngine *arg1 = (iMaterialEngine *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialEngine_IsVisitRequired",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialEngine_IsVisitRequired" "', argument " "1"" of type '" "iMaterialEngine const *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialEngine * >(argp1);
  result = (bool)((iMaterialEngine const *)arg1)->IsVisitRequired();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMaterialEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialEngine *arg1 = (iMaterialEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMaterialEngine",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialEngine, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMaterialEngine" "', argument " "1"" of type '" "iMaterialEngine *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialEngine * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMaterialEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMaterialEngine, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMaterialList_NewMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  iMaterial *arg2 = (iMaterial *) 0 ;
  char *arg3 = (char *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMaterialList_NewMaterial",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_NewMaterial" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialList_NewMaterial" "', argument " "2"" of type '" "iMaterial *""'"); 
  }
  arg2 = reinterpret_cast< iMaterial * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMaterialList_NewMaterial" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (iMaterialWrapper *)(arg1)->NewMaterial(arg2,(char const *)arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialList_GetCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_GetCount" "', argument " "1"" of type '" "iMaterialList const *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  result = (int)((iMaterialList const *)arg1)->GetCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  int arg2 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_Get" "', argument " "1"" of type '" "iMaterialList const *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMaterialList_Get" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iMaterialWrapper *)((iMaterialList const *)arg1)->Get(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_Add" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialList_Add" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  result = (int)(arg1)->Add(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_Remove" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialList_Remove" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_Remove" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMaterialList_Remove" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_Remove(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterialList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMaterialWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMaterialList_Remove__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterialList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMaterialList_Remove__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMaterialList_Remove'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialList_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_RemoveAll" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  (arg1)->RemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_Find" "', argument " "1"" of type '" "iMaterialList const *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialList_Find" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  result = (int)((iMaterialList const *)arg1)->Find(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_FindByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  char *arg2 = (char *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList_FindByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_FindByName" "', argument " "1"" of type '" "iMaterialList const *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialList_FindByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMaterialWrapper *)((iMaterialList const *)arg1)->FindByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  int arg2 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList___getitem__" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMaterialList___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iMaterialWrapper *)iMaterialList___getitem____SWIG_0(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList___contains____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList___contains__" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialList___contains__" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  result = (bool)iMaterialList___contains____SWIG_0(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList___delitem__" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMaterialList___delitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)iMaterialList___delitem__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterialList___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList___len__" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  result = (int)iMaterialList___len__(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList_append" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialList_append" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  iMaterialList_append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  char *arg2 = (char *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList___getitem__" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialList___getitem__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMaterialWrapper *)iMaterialList___getitem____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList___getitem__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterialList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMaterialList___getitem____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterialList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMaterialList___getitem____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMaterialList___getitem__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList___contains____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterialList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterialList___contains__" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterialList___contains__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)iMaterialList___contains____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterialList___contains__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterialList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMaterialWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMaterialList___contains____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterialList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMaterialList___contains____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMaterialList___contains__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMaterialList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterialList *arg1 = (iMaterialList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMaterialList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterialList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMaterialList" "', argument " "1"" of type '" "iMaterialList *""'"); 
  }
  arg1 = reinterpret_cast< iMaterialList * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMaterialList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMaterialList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSceneNodeArrayReadOnly_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<iSceneNode * > *arg1 = (iArrayReadOnly<iSceneNode * > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNodeArrayReadOnly_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNodeArrayReadOnly_GetSize" "', argument " "1"" of type '" "iArrayReadOnly<iSceneNode * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<iSceneNode * > * >(argp1);
  result = ((iArrayReadOnly<iSceneNode * > const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNodeArrayReadOnly_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<iSceneNode * > *arg1 = (iArrayReadOnly<iSceneNode * > *) 0 ;
  size_t arg2 ;
  iSceneNode **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSceneNodeArrayReadOnly_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNodeArrayReadOnly_Get" "', argument " "1"" of type '" "iArrayReadOnly<iSceneNode * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<iSceneNode * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSceneNodeArrayReadOnly_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    iSceneNode *const &_result_ref = ((iArrayReadOnly<iSceneNode * > const *)arg1)->Get(arg2);
    result = (iSceneNode **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_iSceneNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNodeArrayReadOnly_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<iSceneNode * > *arg1 = (iArrayReadOnly<iSceneNode * > *) 0 ;
  iSceneNode **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNodeArrayReadOnly_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNodeArrayReadOnly_Top" "', argument " "1"" of type '" "iArrayReadOnly<iSceneNode * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<iSceneNode * > * >(argp1);
  {
    iSceneNode *const &_result_ref = ((iArrayReadOnly<iSceneNode * > const *)arg1)->Top();
    result = (iSceneNode **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_iSceneNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNodeArrayReadOnly_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<iSceneNode * > *arg1 = (iArrayReadOnly<iSceneNode * > *) 0 ;
  iSceneNode **arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  iSceneNode *temp2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSceneNodeArrayReadOnly_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNodeArrayReadOnly_Find" "', argument " "1"" of type '" "iArrayReadOnly<iSceneNode * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<iSceneNode * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSceneNodeArrayReadOnly_Find" "', argument " "2"" of type '" "iSceneNode *""'"); 
  }
  temp2 = reinterpret_cast< iSceneNode * >(argp2);
  arg2 = &temp2;
  result = ((iArrayReadOnly<iSceneNode * > const *)arg1)->Find((iSceneNode *const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNodeArrayReadOnly_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<iSceneNode * > *arg1 = (iArrayReadOnly<iSceneNode * > *) 0 ;
  iSceneNode **arg2 = (iSceneNode **) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSceneNodeArrayReadOnly_GetIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNodeArrayReadOnly_GetIndex" "', argument " "1"" of type '" "iArrayReadOnly<iSceneNode * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<iSceneNode * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSceneNodeArrayReadOnly_GetIndex" "', argument " "2"" of type '" "iSceneNode *const *""'"); 
  }
  arg2 = reinterpret_cast< iSceneNode ** >(argp2);
  result = ((iArrayReadOnly<iSceneNode * > const *)arg1)->GetIndex((iSceneNode *const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNodeArrayReadOnly_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<iSceneNode * > *arg1 = (iArrayReadOnly<iSceneNode * > *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNodeArrayReadOnly_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNodeArrayReadOnly_IsEmpty" "', argument " "1"" of type '" "iArrayReadOnly<iSceneNode * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<iSceneNode * > * >(argp1);
  result = (bool)((iArrayReadOnly<iSceneNode * > const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNodeArrayReadOnly_GetAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<iSceneNode * > *arg1 = (iArrayReadOnly<iSceneNode * > *) 0 ;
  iSceneNode **arg2 = (iSceneNode **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSceneNodeArrayReadOnly_GetAll",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNodeArrayReadOnly_GetAll" "', argument " "1"" of type '" "iArrayReadOnly<iSceneNode * > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<iSceneNode * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSceneNodeArrayReadOnly_GetAll" "', argument " "2"" of type '" "iSceneNode **""'"); 
  }
  arg2 = reinterpret_cast< iSceneNode ** >(argp2);
  ((iArrayReadOnly<iSceneNode * > const *)arg1)->GetAll(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSceneNodeArrayReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<iSceneNode * > *arg1 = (iArrayReadOnly<iSceneNode * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSceneNodeArrayReadOnly",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSceneNodeArrayReadOnly" "', argument " "1"" of type '" "iArrayReadOnly<iSceneNode * > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<iSceneNode * > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSceneNodeArrayReadOnly_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iArrayReadOnlyTiSceneNode_p_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_iSceneNodeArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNodeArray *arg1 = (iSceneNodeArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSceneNodeArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNodeArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSceneNodeArray" "', argument " "1"" of type '" "iSceneNodeArray *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNodeArray * >(argp1);
  delete_iSceneNodeArray(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNodeArray_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSceneNodeArray_scfGetVersion")) SWIG_fail;
  result = (int)iSceneNodeArray_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSceneNodeArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSceneNodeArray, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSceneNode_GetMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNode *arg1 = (iSceneNode *) 0 ;
  iMovable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNode_GetMovable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNode_GetMovable" "', argument " "1"" of type '" "iSceneNode const *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNode * >(argp1);
  result = (iMovable *)((iSceneNode const *)arg1)->GetMovable();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMovable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNode_QueryMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNode *arg1 = (iSceneNode *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNode_QueryMesh",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNode_QueryMesh" "', argument " "1"" of type '" "iSceneNode *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNode * >(argp1);
  result = (iMeshWrapper *)(arg1)->QueryMesh();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNode_QueryLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNode *arg1 = (iSceneNode *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNode_QueryLight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNode_QueryLight" "', argument " "1"" of type '" "iSceneNode *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNode * >(argp1);
  result = (iLight *)(arg1)->QueryLight();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNode_QueryCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNode *arg1 = (iSceneNode *) 0 ;
  iCamera *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNode_QueryCamera",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNode_QueryCamera" "', argument " "1"" of type '" "iSceneNode *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNode * >(argp1);
  result = (iCamera *)(arg1)->QueryCamera();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCamera, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNode_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNode *arg1 = (iSceneNode *) 0 ;
  iSceneNode *arg2 = (iSceneNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSceneNode_SetParent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNode_SetParent" "', argument " "1"" of type '" "iSceneNode *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSceneNode_SetParent" "', argument " "2"" of type '" "iSceneNode *""'"); 
  }
  arg2 = reinterpret_cast< iSceneNode * >(argp2);
  (arg1)->SetParent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNode_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNode *arg1 = (iSceneNode *) 0 ;
  iSceneNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNode_GetParent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNode_GetParent" "', argument " "1"" of type '" "iSceneNode const *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNode * >(argp1);
  result = (iSceneNode *)((iSceneNode const *)arg1)->GetParent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSceneNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNode_GetChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNode *arg1 = (iSceneNode *) 0 ;
  csRefArray<iSceneNode > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNode_GetChildren",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNode_GetChildren" "', argument " "1"" of type '" "iSceneNode const *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNode * >(argp1);
  {
    csRefArray<iSceneNode > const &_result_ref = ((iSceneNode const *)arg1)->GetChildren();
    result = (csRefArray<iSceneNode > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRefArrayTiSceneNode_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNode_GetChildrenArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNode *arg1 = (iSceneNode *) 0 ;
  SwigValueWrapper<csPtr<iSceneNodeArray > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSceneNode_GetChildrenArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSceneNode_GetChildrenArray" "', argument " "1"" of type '" "iSceneNode const *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNode * >(argp1);
  result = ((iSceneNode const *)arg1)->GetChildrenArray();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iSceneNodeArray> ref((csPtr<iSceneNodeArray>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iSceneNodeArray *)ref), (void *)(iSceneNodeArray *)ref, "iSceneNodeArray" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSceneNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSceneNode *arg1 = (iSceneNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSceneNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSceneNode, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSceneNode" "', argument " "1"" of type '" "iSceneNode *""'"); 
  }
  arg1 = reinterpret_cast< iSceneNode * >(argp1);
  delete_iSceneNode(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSceneNode_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSceneNode_scfGetVersion")) SWIG_fail;
  result = (int)iSceneNode_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSceneNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSceneNode, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshDrawCallback_BeforeDrawing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshDrawCallback *arg1 = (iMeshDrawCallback *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  iRenderView *arg3 = (iRenderView *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshDrawCallback_BeforeDrawing",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshDrawCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshDrawCallback_BeforeDrawing" "', argument " "1"" of type '" "iMeshDrawCallback *""'"); 
  }
  arg1 = reinterpret_cast< iMeshDrawCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshDrawCallback_BeforeDrawing" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRenderView, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshDrawCallback_BeforeDrawing" "', argument " "3"" of type '" "iRenderView *""'"); 
  }
  arg3 = reinterpret_cast< iRenderView * >(argp3);
  result = (bool)(arg1)->BeforeDrawing(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshDrawCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshDrawCallback *arg1 = (iMeshDrawCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshDrawCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshDrawCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshDrawCallback" "', argument " "1"" of type '" "iMeshDrawCallback *""'"); 
  }
  arg1 = reinterpret_cast< iMeshDrawCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshDrawCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshDrawCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csHitBeamResult_isect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csHitBeamResult_isect_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_isect_set" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csHitBeamResult_isect_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->isect = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_isect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csHitBeamResult_isect_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_isect_get" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  result = (csVector3 *)& ((arg1)->isect);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_r_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csHitBeamResult_r_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_r_set" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csHitBeamResult_r_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->r = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_r_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csHitBeamResult_r_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_r_get" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  result = (float) ((arg1)->r);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_polygon_idx_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csHitBeamResult_polygon_idx_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_polygon_idx_set" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csHitBeamResult_polygon_idx_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->polygon_idx = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_polygon_idx_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csHitBeamResult_polygon_idx_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_polygon_idx_get" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  result = (int) ((arg1)->polygon_idx);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_material_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csHitBeamResult_material_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_material_set" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csHitBeamResult_material_set" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  if (arg1) (arg1)->material = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_material_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csHitBeamResult_material_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_material_get" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  result = (iMaterialWrapper *) ((arg1)->material);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_facehit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csHitBeamResult_facehit_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_facehit_set" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csHitBeamResult_facehit_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->facehit = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_facehit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csHitBeamResult_facehit_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_facehit_get" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  result = (int) ((arg1)->facehit);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_hit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csHitBeamResult_hit_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_hit_set" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csHitBeamResult_hit_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->hit = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHitBeamResult_hit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csHitBeamResult_hit_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHitBeamResult_hit_get" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  result = (bool) ((arg1)->hit);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csHitBeamResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csHitBeamResult")) SWIG_fail;
  result = (csHitBeamResult *)new csHitBeamResult();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHitBeamResult, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csHitBeamResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csHitBeamResult *arg1 = (csHitBeamResult *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csHitBeamResult",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csHitBeamResult, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csHitBeamResult" "', argument " "1"" of type '" "csHitBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csHitBeamResult * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csHitBeamResult_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csHitBeamResult, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csScreenBoxResult_sbox_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csScreenBoxResult *arg1 = (csScreenBoxResult *) 0 ;
  csBox2 *arg2 = (csBox2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csScreenBoxResult_sbox_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csScreenBoxResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csScreenBoxResult_sbox_set" "', argument " "1"" of type '" "csScreenBoxResult *""'"); 
  }
  arg1 = reinterpret_cast< csScreenBoxResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csBox2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csScreenBoxResult_sbox_set" "', argument " "2"" of type '" "csBox2 *""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  if (arg1) (arg1)->sbox = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csScreenBoxResult_sbox_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csScreenBoxResult *arg1 = (csScreenBoxResult *) 0 ;
  csBox2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csScreenBoxResult_sbox_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csScreenBoxResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csScreenBoxResult_sbox_get" "', argument " "1"" of type '" "csScreenBoxResult *""'"); 
  }
  arg1 = reinterpret_cast< csScreenBoxResult * >(argp1);
  result = (csBox2 *)& ((arg1)->sbox);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csScreenBoxResult_cbox_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csScreenBoxResult *arg1 = (csScreenBoxResult *) 0 ;
  csBox3 *arg2 = (csBox3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csScreenBoxResult_cbox_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csScreenBoxResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csScreenBoxResult_cbox_set" "', argument " "1"" of type '" "csScreenBoxResult *""'"); 
  }
  arg1 = reinterpret_cast< csScreenBoxResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csBox3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csScreenBoxResult_cbox_set" "', argument " "2"" of type '" "csBox3 *""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  if (arg1) (arg1)->cbox = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csScreenBoxResult_cbox_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csScreenBoxResult *arg1 = (csScreenBoxResult *) 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csScreenBoxResult_cbox_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csScreenBoxResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csScreenBoxResult_cbox_get" "', argument " "1"" of type '" "csScreenBoxResult *""'"); 
  }
  arg1 = reinterpret_cast< csScreenBoxResult * >(argp1);
  result = (csBox3 *)& ((arg1)->cbox);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csScreenBoxResult_distance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csScreenBoxResult *arg1 = (csScreenBoxResult *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csScreenBoxResult_distance_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csScreenBoxResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csScreenBoxResult_distance_set" "', argument " "1"" of type '" "csScreenBoxResult *""'"); 
  }
  arg1 = reinterpret_cast< csScreenBoxResult * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csScreenBoxResult_distance_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->distance = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csScreenBoxResult_distance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csScreenBoxResult *arg1 = (csScreenBoxResult *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csScreenBoxResult_distance_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csScreenBoxResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csScreenBoxResult_distance_get" "', argument " "1"" of type '" "csScreenBoxResult *""'"); 
  }
  arg1 = reinterpret_cast< csScreenBoxResult * >(argp1);
  result = (float) ((arg1)->distance);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csScreenBoxResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csScreenBoxResult *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csScreenBoxResult")) SWIG_fail;
  result = (csScreenBoxResult *)new csScreenBoxResult();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csScreenBoxResult, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csScreenBoxResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csScreenBoxResult *arg1 = (csScreenBoxResult *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csScreenBoxResult",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csScreenBoxResult, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csScreenBoxResult" "', argument " "1"" of type '" "csScreenBoxResult *""'"); 
  }
  arg1 = reinterpret_cast< csScreenBoxResult * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csScreenBoxResult_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csScreenBoxResult, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshWrapper_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_QueryObject" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetMeshObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iMeshObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetMeshObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetMeshObject" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iMeshObject *)((iMeshWrapper const *)arg1)->GetMeshObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetMeshObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iMeshObject *arg2 = (iMeshObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetMeshObject",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetMeshObject" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_SetMeshObject" "', argument " "2"" of type '" "iMeshObject *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObject * >(argp2);
  (arg1)->SetMeshObject(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetPortalContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iPortalContainer *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetPortalContainer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetPortalContainer" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iPortalContainer *)((iMeshWrapper const *)arg1)->GetPortalContainer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPortalContainer, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetLightingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iLightingInfo *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetLightingInfo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetLightingInfo" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iLightingInfo *)((iMeshWrapper const *)arg1)->GetLightingInfo();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLightingInfo, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetShadowReceiver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iShadowReceiver *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetShadowReceiver",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetShadowReceiver" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iShadowReceiver *)(arg1)->GetShadowReceiver();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShadowReceiver, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetShadowCaster(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iShadowCaster *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetShadowCaster",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetShadowCaster" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iShadowCaster *)(arg1)->GetShadowCaster();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShadowCaster, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetFactory" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iMeshFactoryWrapper *)((iMeshWrapper const *)arg1)->GetFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetFactory" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_SetFactory" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  (arg1)->SetFactory(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetLightingUpdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshWrapper_SetLightingUpdate",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetLightingUpdate" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshWrapper_SetLightingUpdate" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMeshWrapper_SetLightingUpdate" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetLightingUpdate(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iMovable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetMovable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetMovable" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iMovable *)((iMeshWrapper const *)arg1)->GetMovable();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMovable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_QuerySceneNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iSceneNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_QuerySceneNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_QuerySceneNode" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iSceneNode *)(arg1)->QuerySceneNode();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSceneNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_FindChildByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_FindChildByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_FindChildByName" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_FindChildByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshWrapper *)(arg1)->FindChildByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_PlaceMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_PlaceMesh",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_PlaceMesh" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  (arg1)->PlaceMesh();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HitBeamObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float *arg5 = (float *) 0 ;
  int *arg6 = (int *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float temp5 ;
  int res5 = SWIG_TMPOBJ ;
  int temp6 ;
  int res6 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  arg5 = &temp5;
  arg6 = &temp6;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iMeshWrapper_HitBeamObject",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_HitBeamObject" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_HitBeamObject" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeamObject" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_HitBeamObject" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeamObject" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iMeshWrapper_HitBeamObject" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeamObject" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (bool)(arg1)->HitBeamObject((csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res6)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6)));
  } else {
    int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HitBeam__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float *arg5 = (float *) 0 ;
  iMaterialWrapper **arg6 = (iMaterialWrapper **) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float temp5 ;
  int res5 = SWIG_TMPOBJ ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iMeshWrapper_HitBeam",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_HitBeam" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iMeshWrapper_HitBeam" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeam" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res6 = SWIG_ConvertPtr(obj4, &argp6,SWIGTYPE_p_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iMeshWrapper_HitBeam" "', argument " "6"" of type '" "iMaterialWrapper **""'"); 
  }
  arg6 = reinterpret_cast< iMaterialWrapper ** >(argp6);
  result = (bool)(arg1)->HitBeam((csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HitBeamBBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csHitBeamResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshWrapper_HitBeamBBox",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_HitBeamBBox" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_HitBeamBBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeamBBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_HitBeamBBox" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeamBBox" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (arg1)->HitBeamBBox((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csHitBeamResult(static_cast< const csHitBeamResult& >(result))), SWIGTYPE_p_csHitBeamResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HitBeamOutline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csHitBeamResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshWrapper_HitBeamOutline",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_HitBeamOutline" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_HitBeamOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeamOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_HitBeamOutline" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeamOutline" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (arg1)->HitBeamOutline((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csHitBeamResult(static_cast< const csHitBeamResult& >(result))), SWIGTYPE_p_csHitBeamResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HitBeamObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  bool arg4 = (bool) false ;
  csHitBeamResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO|O:iMeshWrapper_HitBeamObject",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_HitBeamObject" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_HitBeamObject" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeamObject" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_HitBeamObject" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeamObject" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  if (obj3) {
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iMeshWrapper_HitBeamObject" "', argument " "4"" of type '" "bool""'");
    } 
    arg4 = static_cast< bool >(val4);
  }
  result = (arg1)->HitBeamObject((csVector3 const &)*arg2,(csVector3 const &)*arg3,arg4);
  resultobj = SWIG_NewPointerObj((new csHitBeamResult(static_cast< const csHitBeamResult& >(result))), SWIGTYPE_p_csHitBeamResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HitBeamObject(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if ((argc >= 3) && (argc <= 4)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          if (argc <= 3) {
            return _wrap_iMeshWrapper_HitBeamObject__SWIG_1(self, args);
          }
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iMeshWrapper_HitBeamObject__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iMeshWrapper_HitBeamObject__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshWrapper_HitBeamObject'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HitBeam__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  bool arg4 ;
  csHitBeamResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iMeshWrapper_HitBeam",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_HitBeam" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iMeshWrapper_HitBeam" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  result = (arg1)->HitBeam((csVector3 const &)*arg2,(csVector3 const &)*arg3,arg4);
  resultobj = SWIG_NewPointerObj((new csHitBeamResult(static_cast< const csHitBeamResult& >(result))), SWIGTYPE_p_csHitBeamResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HitBeam__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csHitBeamResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshWrapper_HitBeam",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_HitBeam" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeam" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HitBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (arg1)->HitBeam((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csHitBeamResult(static_cast< const csHitBeamResult& >(result))), SWIGTYPE_p_csHitBeamResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HitBeam(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iMeshWrapper_HitBeam__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iMeshWrapper_HitBeam__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_iMaterialWrapper, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iMeshWrapper_HitBeam__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshWrapper_HitBeam'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetDrawCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iMeshDrawCallback *arg2 = (iMeshDrawCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetDrawCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetDrawCallback" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshDrawCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_SetDrawCallback" "', argument " "2"" of type '" "iMeshDrawCallback *""'"); 
  }
  arg2 = reinterpret_cast< iMeshDrawCallback * >(argp2);
  (arg1)->SetDrawCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_RemoveDrawCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iMeshDrawCallback *arg2 = (iMeshDrawCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_RemoveDrawCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_RemoveDrawCallback" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshDrawCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_RemoveDrawCallback" "', argument " "2"" of type '" "iMeshDrawCallback *""'"); 
  }
  arg2 = reinterpret_cast< iMeshDrawCallback * >(argp2);
  (arg1)->RemoveDrawCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetDrawCallbackCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetDrawCallbackCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetDrawCallbackCount" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (int)((iMeshWrapper const *)arg1)->GetDrawCallbackCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetDrawCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  int arg2 ;
  iMeshDrawCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_GetDrawCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetDrawCallback" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshWrapper_GetDrawCallback" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iMeshDrawCallback *)((iMeshWrapper const *)arg1)->GetDrawCallback(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshDrawCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetRenderPriority",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetRenderPriority" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  ecode2 = SWIG_AsVal_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshWrapper_SetRenderPriority" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  (arg1)->SetRenderPriority(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetRenderPriority",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetRenderPriority" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (long)((iMeshWrapper const *)arg1)->GetRenderPriority();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetRenderPriorityRecursive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetRenderPriorityRecursive",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetRenderPriorityRecursive" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  ecode2 = SWIG_AsVal_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshWrapper_SetRenderPriorityRecursive" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  (arg1)->SetRenderPriorityRecursive(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetFlags" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetFlagsRecursive__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  uint32 arg2 ;
  uint32 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshWrapper_SetFlagsRecursive",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetFlagsRecursive" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_SetFlagsRecursive" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_SetFlagsRecursive" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_SetFlagsRecursive" "', argument " "3"" of type '" "uint32""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_SetFlagsRecursive" "', argument " "3"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  (arg1)->SetFlagsRecursive(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetFlagsRecursive__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  uint32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetFlagsRecursive",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetFlagsRecursive" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_SetFlagsRecursive" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_SetFlagsRecursive" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->SetFlagsRecursive(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetFlagsRecursive(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_uint32_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshWrapper_SetFlagsRecursive__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_uint32_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint32_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iMeshWrapper_SetFlagsRecursive__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshWrapper_SetFlagsRecursive'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetZBufMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csZBufMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetZBufMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetZBufMode" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshWrapper_SetZBufMode" "', argument " "2"" of type '" "csZBufMode""'");
  } 
  arg2 = static_cast< csZBufMode >(val2);
  (arg1)->SetZBufMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetZBufMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csZBufMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetZBufMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetZBufMode" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (csZBufMode)((iMeshWrapper const *)arg1)->GetZBufMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetZBufModeRecursive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csZBufMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetZBufModeRecursive",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetZBufModeRecursive" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshWrapper_SetZBufModeRecursive" "', argument " "2"" of type '" "csZBufMode""'");
  } 
  arg2 = static_cast< csZBufMode >(val2);
  (arg1)->SetZBufModeRecursive(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_HardTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_HardTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_HardTransform" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->HardTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetWorldBoundingBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csBox3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_GetWorldBoundingBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetWorldBoundingBox" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_GetWorldBoundingBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_GetWorldBoundingBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  (arg1)->GetWorldBoundingBox(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetWorldBoundingBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetWorldBoundingBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetWorldBoundingBox" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  {
    csBox3 const &_result_ref = (arg1)->GetWorldBoundingBox();
    result = (csBox3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetWorldBoundingBox(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iMeshWrapper_GetWorldBoundingBox__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshWrapper_GetWorldBoundingBox__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshWrapper_GetWorldBoundingBox'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetTransformedBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csBox3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_GetTransformedBoundingBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetTransformedBoundingBox" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_GetTransformedBoundingBox" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_GetTransformedBoundingBox" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  result = (arg1)->GetTransformedBoundingBox((csReversibleTransform const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csBox3(static_cast< const csBox3& >(result))), SWIGTYPE_p_csBox3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetScreenBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  csScreenBoxResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_GetScreenBoundingBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetScreenBoundingBox" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_GetScreenBoundingBox" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  result = (arg1)->GetScreenBoundingBox(arg2);
  resultobj = SWIG_NewPointerObj((new csScreenBoxResult(static_cast< const csScreenBoxResult& >(result))), SWIGTYPE_p_csScreenBoxResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  float *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshWrapper_GetRadius",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetRadius" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_GetRadius" "', argument " "2"" of type '" "float &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_GetRadius" "', argument " "2"" of type '" "float &""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_GetRadius" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshWrapper_GetRadius" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ((iMeshWrapper const *)arg1)->GetRadius(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  csSphere result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetRadius",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetRadius" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = ((iMeshWrapper const *)arg1)->GetRadius();
  resultobj = SWIG_NewPointerObj((new csSphere(static_cast< const csSphere& >(result))), SWIGTYPE_p_csSphere, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetRadius(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iMeshWrapper_GetRadius__SWIG_1(self, args);
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iMeshWrapper_GetRadius__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshWrapper_GetRadius'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_ResetMinMaxRenderDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_ResetMinMaxRenderDistance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_ResetMinMaxRenderDistance" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  (arg1)->ResetMinMaxRenderDistance();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetMinimumRenderDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetMinimumRenderDistance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetMinimumRenderDistance" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshWrapper_SetMinimumRenderDistance" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetMinimumRenderDistance(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetMinimumRenderDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetMinimumRenderDistance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetMinimumRenderDistance" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (float)((iMeshWrapper const *)arg1)->GetMinimumRenderDistance();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetMaximumRenderDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetMaximumRenderDistance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetMaximumRenderDistance" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshWrapper_SetMaximumRenderDistance" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetMaximumRenderDistance(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetMaximumRenderDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetMaximumRenderDistance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetMaximumRenderDistance" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (float)((iMeshWrapper const *)arg1)->GetMaximumRenderDistance();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetMinimumRenderDistanceVar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iSharedVariable *arg2 = (iSharedVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetMinimumRenderDistanceVar",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetMinimumRenderDistanceVar" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_SetMinimumRenderDistanceVar" "', argument " "2"" of type '" "iSharedVariable *""'"); 
  }
  arg2 = reinterpret_cast< iSharedVariable * >(argp2);
  (arg1)->SetMinimumRenderDistanceVar(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetMinimumRenderDistanceVar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iSharedVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetMinimumRenderDistanceVar",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetMinimumRenderDistanceVar" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iSharedVariable *)((iMeshWrapper const *)arg1)->GetMinimumRenderDistanceVar();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSharedVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_SetMaximumRenderDistanceVar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iSharedVariable *arg2 = (iSharedVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_SetMaximumRenderDistanceVar",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_SetMaximumRenderDistanceVar" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_SetMaximumRenderDistanceVar" "', argument " "2"" of type '" "iSharedVariable *""'"); 
  }
  arg2 = reinterpret_cast< iSharedVariable * >(argp2);
  (arg1)->SetMaximumRenderDistanceVar(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetMaximumRenderDistanceVar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iSharedVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetMaximumRenderDistanceVar",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetMaximumRenderDistanceVar" "', argument " "1"" of type '" "iMeshWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iSharedVariable *)((iMeshWrapper const *)arg1)->GetMaximumRenderDistanceVar();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSharedVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_CreateStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iLODControl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_CreateStaticLOD",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_CreateStaticLOD" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iLODControl *)(arg1)->CreateStaticLOD();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLODControl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_DestroyStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_DestroyStaticLOD",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_DestroyStaticLOD" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  (arg1)->DestroyStaticLOD();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iLODControl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetStaticLOD",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetStaticLOD" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iLODControl *)(arg1)->GetStaticLOD();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLODControl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_AddMeshToStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  int arg2 ;
  iMeshWrapper *arg3 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshWrapper_AddMeshToStaticLOD",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_AddMeshToStaticLOD" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshWrapper_AddMeshToStaticLOD" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshWrapper_AddMeshToStaticLOD" "', argument " "3"" of type '" "iMeshWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMeshWrapper * >(argp3);
  (arg1)->AddMeshToStaticLOD(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_RemoveMeshFromStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshWrapper_RemoveMeshFromStaticLOD",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_RemoveMeshFromStaticLOD" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshWrapper_RemoveMeshFromStaticLOD" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->RemoveMeshFromStaticLOD(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_GetSVContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  iShaderVariableContext *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapper_GetSVContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapper_GetSVContext" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  result = (iShaderVariableContext *)(arg1)->GetSVContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapper *arg1 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshWrapper" "', argument " "1"" of type '" "iMeshWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapper * >(argp1);
  delete_iMeshWrapper(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapper_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMeshWrapper_scfGetVersion")) SWIG_fail;
  result = (int)iMeshWrapper_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshWrapper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshWrapper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_QueryObject" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetMeshObjectFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iMeshObjectFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_GetMeshObjectFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetMeshObjectFactory" "', argument " "1"" of type '" "iMeshFactoryWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (iMeshObjectFactory *)((iMeshFactoryWrapper const *)arg1)->GetMeshObjectFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_SetMeshObjectFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iMeshObjectFactory *arg2 = (iMeshObjectFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_SetMeshObjectFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_SetMeshObjectFactory" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryWrapper_SetMeshObjectFactory" "', argument " "2"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObjectFactory * >(argp2);
  (arg1)->SetMeshObjectFactory(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_HardTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_HardTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_HardTransform" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryWrapper_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshFactoryWrapper_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->HardTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_CreateMeshWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_CreateMeshWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_CreateMeshWrapper" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (arg1)->CreateMeshWrapper();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetFlags" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetParentContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_GetParentContainer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetParentContainer" "', argument " "1"" of type '" "iMeshFactoryWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (iMeshFactoryWrapper *)((iMeshFactoryWrapper const *)arg1)->GetParentContainer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_SetParentContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_SetParentContainer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_SetParentContainer" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryWrapper_SetParentContainer" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  (arg1)->SetParentContainer(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iMeshFactoryList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_GetChildren",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetChildren" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (iMeshFactoryList *)(arg1)->GetChildren();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetTransform" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_SetTransform" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryWrapper_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshFactoryWrapper_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->SetTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_CreateStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iLODControl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_CreateStaticLOD",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_CreateStaticLOD" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (iLODControl *)(arg1)->CreateStaticLOD();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLODControl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_DestroyStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_DestroyStaticLOD",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_DestroyStaticLOD" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  (arg1)->DestroyStaticLOD();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetStaticLOD__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iLODControl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_GetStaticLOD",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetStaticLOD" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (iLODControl *)(arg1)->GetStaticLOD();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLODControl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_SetStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  float arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshFactoryWrapper_SetStaticLOD",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_SetStaticLOD" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryWrapper_SetStaticLOD" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMeshFactoryWrapper_SetStaticLOD" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetStaticLOD(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetStaticLOD__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  float *arg2 = 0 ;
  float *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_GetStaticLOD",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetStaticLOD" "', argument " "1"" of type '" "iMeshFactoryWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryWrapper_GetStaticLOD" "', argument " "2"" of type '" "float &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshFactoryWrapper_GetStaticLOD" "', argument " "2"" of type '" "float &""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  ((iMeshFactoryWrapper const *)arg1)->GetStaticLOD(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetStaticLOD(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshFactoryWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iMeshFactoryWrapper_GetStaticLOD__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshFactoryWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshFactoryWrapper_GetStaticLOD__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshFactoryWrapper_GetStaticLOD'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_AddFactoryToStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  int arg2 ;
  iMeshFactoryWrapper *arg3 = (iMeshFactoryWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshFactoryWrapper_AddFactoryToStaticLOD",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_AddFactoryToStaticLOD" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryWrapper_AddFactoryToStaticLOD" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshFactoryWrapper_AddFactoryToStaticLOD" "', argument " "3"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMeshFactoryWrapper * >(argp3);
  (arg1)->AddFactoryToStaticLOD(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_RemoveFactoryFromStaticLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_RemoveFactoryFromStaticLOD",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_RemoveFactoryFromStaticLOD" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryWrapper_RemoveFactoryFromStaticLOD" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  (arg1)->RemoveFactoryFromStaticLOD(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_SetZBufMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  csZBufMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_SetZBufMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_SetZBufMode" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryWrapper_SetZBufMode" "', argument " "2"" of type '" "csZBufMode""'");
  } 
  arg2 = static_cast< csZBufMode >(val2);
  (arg1)->SetZBufMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetZBufMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  csZBufMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_GetZBufMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetZBufMode" "', argument " "1"" of type '" "iMeshFactoryWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (csZBufMode)((iMeshFactoryWrapper const *)arg1)->GetZBufMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_SetZBufModeRecursive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  csZBufMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_SetZBufModeRecursive",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_SetZBufModeRecursive" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryWrapper_SetZBufModeRecursive" "', argument " "2"" of type '" "csZBufMode""'");
  } 
  arg2 = static_cast< csZBufMode >(val2);
  (arg1)->SetZBufModeRecursive(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_SetRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_SetRenderPriority",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_SetRenderPriority" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  ecode2 = SWIG_AsVal_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryWrapper_SetRenderPriority" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  (arg1)->SetRenderPriority(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetRenderPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_GetRenderPriority",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetRenderPriority" "', argument " "1"" of type '" "iMeshFactoryWrapper const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (long)((iMeshFactoryWrapper const *)arg1)->GetRenderPriority();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_SetRenderPriorityRecursive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryWrapper_SetRenderPriorityRecursive",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_SetRenderPriorityRecursive" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  ecode2 = SWIG_AsVal_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryWrapper_SetRenderPriorityRecursive" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  (arg1)->SetRenderPriorityRecursive(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_GetSVContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  iShaderVariableContext *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryWrapper_GetSVContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryWrapper_GetSVContext" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  result = (iShaderVariableContext *)(arg1)->GetSVContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshFactoryWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryWrapper *arg1 = (iMeshFactoryWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshFactoryWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshFactoryWrapper" "', argument " "1"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryWrapper * >(argp1);
  delete_iMeshFactoryWrapper(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryWrapper_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMeshFactoryWrapper_scfGetVersion")) SWIG_fail;
  result = (int)iMeshFactoryWrapper_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshFactoryWrapper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshFactoryWrapper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshList_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshList_GetCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList_GetCount" "', argument " "1"" of type '" "iMeshList const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  result = (int)((iMeshList const *)arg1)->GetCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  int arg2 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList_Get" "', argument " "1"" of type '" "iMeshList const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshList_Get" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iMeshWrapper *)((iMeshList const *)arg1)->Get(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList_Add" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshList_Add" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (int)(arg1)->Add(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList_Remove" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshList_Remove" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList_Remove" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshList_Remove" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList_Remove(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshList_Remove__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMeshList_Remove__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshList_Remove'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshList_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList_RemoveAll" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  (arg1)->RemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList_Find" "', argument " "1"" of type '" "iMeshList const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshList_Find" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (int)((iMeshList const *)arg1)->Find(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList_FindByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList_FindByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList_FindByName" "', argument " "1"" of type '" "iMeshList const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshList_FindByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshWrapper *)((iMeshList const *)arg1)->FindByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  int arg2 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList___getitem__" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshList___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iMeshWrapper *)iMeshList___getitem____SWIG_0(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList___contains____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList___contains__" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshList___contains__" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (bool)iMeshList___contains____SWIG_0(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList___delitem__" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshList___delitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)iMeshList___delitem__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshList___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList___len__" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  result = (int)iMeshList___len__(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList_append" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshList_append" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  iMeshList_append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList___getitem__" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshList___getitem__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshWrapper *)iMeshList___getitem____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList___getitem__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMeshList___getitem____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshList___getitem____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshList___getitem__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList___contains____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshList___contains__" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshList___contains__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)iMeshList___contains____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshList___contains__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshList___contains____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshList___contains____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshList___contains__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshList *arg1 = (iMeshList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshList" "', argument " "1"" of type '" "iMeshList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshList * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshFactoryList_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryList_GetCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList_GetCount" "', argument " "1"" of type '" "iMeshFactoryList const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  result = (int)((iMeshFactoryList const *)arg1)->GetCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  int arg2 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList_Get" "', argument " "1"" of type '" "iMeshFactoryList const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryList_Get" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iMeshFactoryWrapper *)((iMeshFactoryList const *)arg1)->Get(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList_Add" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryList_Add" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  result = (int)(arg1)->Add(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList_Remove" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryList_Remove" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList_Remove" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryList_Remove" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList_Remove(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshFactoryList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshFactoryWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshFactoryList_Remove__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshFactoryList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMeshFactoryList_Remove__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshFactoryList_Remove'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryList_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList_RemoveAll" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  (arg1)->RemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList_Find" "', argument " "1"" of type '" "iMeshFactoryList const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryList_Find" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  result = (int)((iMeshFactoryList const *)arg1)->Find(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList_FindByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList_FindByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList_FindByName" "', argument " "1"" of type '" "iMeshFactoryList const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryList_FindByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshFactoryWrapper *)((iMeshFactoryList const *)arg1)->FindByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  int arg2 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList___getitem__" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryList___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iMeshFactoryWrapper *)iMeshFactoryList___getitem____SWIG_0(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList___contains____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList___contains__" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryList___contains__" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  result = (bool)iMeshFactoryList___contains____SWIG_0(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList___delitem__" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshFactoryList___delitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)iMeshFactoryList___delitem__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshFactoryList___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList___len__" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  result = (int)iMeshFactoryList___len__(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList_append" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryList_append" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  iMeshFactoryList_append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList___getitem__" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryList___getitem__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshFactoryWrapper *)iMeshFactoryList___getitem____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList___getitem__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshFactoryList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMeshFactoryList___getitem____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshFactoryList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshFactoryList___getitem____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshFactoryList___getitem__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList___contains____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshFactoryList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshFactoryList___contains__" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshFactoryList___contains__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)iMeshFactoryList___contains____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshFactoryList___contains__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshFactoryList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshFactoryWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshFactoryList___contains____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMeshFactoryList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMeshFactoryList___contains____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMeshFactoryList___contains__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshFactoryList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshFactoryList *arg1 = (iMeshFactoryList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshFactoryList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshFactoryList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshFactoryList" "', argument " "1"" of type '" "iMeshFactoryList *""'"); 
  }
  arg1 = reinterpret_cast< iMeshFactoryList * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshFactoryList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshFactoryList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshWrapperIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapperIterator *arg1 = (iMeshWrapperIterator *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapperIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapperIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapperIterator_Next" "', argument " "1"" of type '" "iMeshWrapperIterator *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapperIterator * >(argp1);
  result = (iMeshWrapper *)(arg1)->Next();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapperIterator_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapperIterator *arg1 = (iMeshWrapperIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapperIterator_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapperIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapperIterator_Reset" "', argument " "1"" of type '" "iMeshWrapperIterator *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapperIterator * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapperIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapperIterator *arg1 = (iMeshWrapperIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshWrapperIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapperIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshWrapperIterator_HasNext" "', argument " "1"" of type '" "iMeshWrapperIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapperIterator * >(argp1);
  result = (bool)((iMeshWrapperIterator const *)arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshWrapperIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshWrapperIterator *arg1 = (iMeshWrapperIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshWrapperIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshWrapperIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshWrapperIterator" "', argument " "1"" of type '" "iMeshWrapperIterator *""'"); 
  }
  arg1 = reinterpret_cast< iMeshWrapperIterator * >(argp1);
  delete_iMeshWrapperIterator(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshWrapperIterator_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMeshWrapperIterator_scfGetVersion")) SWIG_fail;
  result = (int)iMeshWrapperIterator_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshWrapperIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshWrapperIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMovableListener_MovableChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovableListener *arg1 = (iMovableListener *) 0 ;
  iMovable *arg2 = (iMovable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovableListener_MovableChanged",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovableListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovableListener_MovableChanged" "', argument " "1"" of type '" "iMovableListener *""'"); 
  }
  arg1 = reinterpret_cast< iMovableListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovableListener_MovableChanged" "', argument " "2"" of type '" "iMovable *""'"); 
  }
  arg2 = reinterpret_cast< iMovable * >(argp2);
  (arg1)->MovableChanged(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovableListener_MovableDestroyed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovableListener *arg1 = (iMovableListener *) 0 ;
  iMovable *arg2 = (iMovable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovableListener_MovableDestroyed",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovableListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovableListener_MovableDestroyed" "', argument " "1"" of type '" "iMovableListener *""'"); 
  }
  arg1 = reinterpret_cast< iMovableListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovableListener_MovableDestroyed" "', argument " "2"" of type '" "iMovable *""'"); 
  }
  arg2 = reinterpret_cast< iMovable * >(argp2);
  (arg1)->MovableDestroyed(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMovableListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovableListener *arg1 = (iMovableListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMovableListener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovableListener, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMovableListener" "', argument " "1"" of type '" "iMovableListener *""'"); 
  }
  arg1 = reinterpret_cast< iMovableListener * >(argp1);
  delete_iMovableListener(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovableListener_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMovableListener_scfGetVersion")) SWIG_fail;
  result = (int)iMovableListener_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMovableListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMovableListener, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMovable_GetSceneNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  iSceneNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_GetSceneNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_GetSceneNode" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  result = (iSceneNode *)(arg1)->GetSceneNode();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSceneNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_SetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovable_SetSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_SetSector" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovable_SetSector" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  (arg1)->SetSector(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_ClearSectors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_ClearSectors",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_ClearSectors" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  (arg1)->ClearSectors();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_GetSectors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  iSectorList *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_GetSectors",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_GetSectors" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  result = (iSectorList *)(arg1)->GetSectors();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSectorList, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_InSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_InSector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_InSector" "', argument " "1"" of type '" "iMovable const *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  result = (bool)((iMovable const *)arg1)->InSector();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_SetPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMovable_SetPosition",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_SetPosition" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovable_SetPosition" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMovable_SetPosition" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMovable_SetPosition" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetPosition(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_SetPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovable_SetPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_SetPosition" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovable_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMovable_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetPosition((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_SetPosition(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMovable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMovable_SetPosition__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMovable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iMovable_SetPosition__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMovable_SetPosition'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_GetPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_GetPosition" "', argument " "1"" of type '" "iMovable const *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  {
    csVector3 const &_result_ref = ((iMovable const *)arg1)->GetPosition();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_GetFullPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_GetFullPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_GetFullPosition" "', argument " "1"" of type '" "iMovable const *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  result = ((iMovable const *)arg1)->GetFullPosition();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_SetTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovable_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_SetTransform" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovable_SetTransform" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMovable_SetTransform" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->SetTransform((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_SetTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovable_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_SetTransform" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovable_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMovable_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->SetTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_SetTransform(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMovable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMovable_SetTransform__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMovable, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMovable_SetTransform__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMovable_SetTransform'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_GetTransform" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_GetFullTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  csReversibleTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_GetFullTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_GetFullTransform" "', argument " "1"" of type '" "iMovable const *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  result = ((iMovable const *)arg1)->GetFullTransform();
  resultobj = SWIG_NewPointerObj((new csReversibleTransform(static_cast< const csReversibleTransform& >(result))), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_MovePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovable_MovePosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_MovePosition" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovable_MovePosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMovable_MovePosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->MovePosition((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_Transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovable_Transform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_Transform" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovable_Transform" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMovable_Transform" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->Transform((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_AddListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  iMovableListener *arg2 = (iMovableListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovable_AddListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_AddListener" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMovableListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovable_AddListener" "', argument " "2"" of type '" "iMovableListener *""'"); 
  }
  arg2 = reinterpret_cast< iMovableListener * >(argp2);
  (arg1)->AddListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_RemoveListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  iMovableListener *arg2 = (iMovableListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMovable_RemoveListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_RemoveListener" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMovableListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMovable_RemoveListener" "', argument " "2"" of type '" "iMovableListener *""'"); 
  }
  arg2 = reinterpret_cast< iMovableListener * >(argp2);
  (arg1)->RemoveListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_UpdateMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_UpdateMove",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_UpdateMove" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  (arg1)->UpdateMove();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_GetUpdateNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_GetUpdateNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_GetUpdateNumber" "', argument " "1"" of type '" "iMovable const *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  result = (long)((iMovable const *)arg1)->GetUpdateNumber();
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_IsTransformIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_IsTransformIdentity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_IsTransformIdentity" "', argument " "1"" of type '" "iMovable const *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  result = (bool)((iMovable const *)arg1)->IsTransformIdentity();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_IsFullTransformIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_IsFullTransformIdentity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_IsFullTransformIdentity" "', argument " "1"" of type '" "iMovable const *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  result = (bool)((iMovable const *)arg1)->IsFullTransformIdentity();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_TransformIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovable_TransformIdentity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovable_TransformIdentity" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  (arg1)->TransformIdentity();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovable *arg1 = (iMovable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMovable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovable, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMovable" "', argument " "1"" of type '" "iMovable *""'"); 
  }
  arg1 = reinterpret_cast< iMovable * >(argp1);
  delete_iMovable(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovable_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMovable_scfGetVersion")) SWIG_fail;
  result = (int)iMovable_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMovable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMovable, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iRegion_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRegion_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_QueryObject" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_Add" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_Add" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->Add(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_Remove" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_Remove" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->Remove(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRegion_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_Clear" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_DeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRegion_DeleteAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_DeleteAll" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  (arg1)->DeleteAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_PrepareTextures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRegion_PrepareTextures",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_PrepareTextures" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  result = (bool)(arg1)->PrepareTextures();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_ShineLights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRegion_ShineLights",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_ShineLights" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  result = (bool)(arg1)->ShineLights();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_Prepare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRegion_Prepare",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_Prepare" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  result = (bool)(arg1)->Prepare();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_FindSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  char *arg2 = (char *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_FindSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_FindSector" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_FindSector" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSector *)(arg1)->FindSector((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_FindMeshObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_FindMeshObject",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_FindMeshObject" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_FindMeshObject" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshWrapper *)(arg1)->FindMeshObject((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_FindMeshFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_FindMeshFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_FindMeshFactory" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_FindMeshFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshFactoryWrapper *)(arg1)->FindMeshFactory((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_FindTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  char *arg2 = (char *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_FindTexture",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_FindTexture" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_FindTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iTextureWrapper *)(arg1)->FindTexture((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_FindMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  char *arg2 = (char *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_FindMaterial",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_FindMaterial" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_FindMaterial" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMaterialWrapper *)(arg1)->FindMaterial((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_FindCameraPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  char *arg2 = (char *) 0 ;
  iCameraPosition *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_FindCameraPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_FindCameraPosition" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_FindCameraPosition" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iCameraPosition *)(arg1)->FindCameraPosition((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCameraPosition, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_FindCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  char *arg2 = (char *) 0 ;
  iCollection *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_FindCollection",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_FindCollection" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_FindCollection" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iCollection *)(arg1)->FindCollection((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCollection, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegion_IsInRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegion_IsInRegion",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegion_IsInRegion" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegion_IsInRegion" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  result = (bool)(arg1)->IsInRegion(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegion *arg1 = (iRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iRegion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegion, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iRegion" "', argument " "1"" of type '" "iRegion *""'"); 
  }
  arg1 = reinterpret_cast< iRegion * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iRegion_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iRegion, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iRegionList_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRegionList_GetCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList_GetCount" "', argument " "1"" of type '" "iRegionList const *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  result = (int)((iRegionList const *)arg1)->GetCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  int arg2 ;
  iRegion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList_Get" "', argument " "1"" of type '" "iRegionList const *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRegionList_Get" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iRegion *)((iRegionList const *)arg1)->Get(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRegion, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList_Add",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList_Add" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegionList_Add" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  result = (int)(arg1)->Add(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList_Remove" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegionList_Remove" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList_Remove" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRegionList_Remove" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->Remove(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList_Remove(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRegionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iRegionList_Remove__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRegionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iRegionList_Remove__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iRegionList_Remove'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRegionList_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList_RemoveAll" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  (arg1)->RemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList_Find" "', argument " "1"" of type '" "iRegionList const *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegionList_Find" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  result = (int)((iRegionList const *)arg1)->Find(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList_FindByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList_FindByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList_FindByName" "', argument " "1"" of type '" "iRegionList const *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegionList_FindByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iRegion *)((iRegionList const *)arg1)->FindByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRegion, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  int arg2 ;
  iRegion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList___getitem__" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRegionList___getitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iRegion *)iRegionList___getitem____SWIG_0(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRegion, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList___contains____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList___contains__" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegionList___contains__" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  result = (bool)iRegionList___contains____SWIG_0(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList___delitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList___delitem__" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRegionList___delitem__" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)iRegionList___delitem__(arg1,arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRegionList___len__",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList___len__" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  result = (int)iRegionList___len__(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList_append" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegionList_append" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  iRegionList_append(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList___getitem__" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegionList___getitem__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iRegion *)iRegionList___getitem____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRegion, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList___getitem__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRegionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iRegionList___getitem____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRegionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iRegionList___getitem____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iRegionList___getitem__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList___contains____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRegionList___contains__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRegionList___contains__" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRegionList___contains__" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)iRegionList___contains____SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRegionList___contains__(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRegionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iRegionList___contains____SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRegionList, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iRegionList___contains____SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iRegionList___contains__'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iRegionList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRegionList *arg1 = (iRegionList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iRegionList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRegionList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iRegionList" "', argument " "1"" of type '" "iRegionList *""'"); 
  }
  arg1 = reinterpret_cast< iRegionList * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iRegionList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iRegionList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iVisibilityObjectIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityObjectIterator *arg1 = (iVisibilityObjectIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVisibilityObjectIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityObjectIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityObjectIterator_HasNext" "', argument " "1"" of type '" "iVisibilityObjectIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityObjectIterator * >(argp1);
  result = (bool)((iVisibilityObjectIterator const *)arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityObjectIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityObjectIterator *arg1 = (iVisibilityObjectIterator *) 0 ;
  iVisibilityObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVisibilityObjectIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityObjectIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityObjectIterator_Next" "', argument " "1"" of type '" "iVisibilityObjectIterator *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityObjectIterator * >(argp1);
  result = (iVisibilityObject *)(arg1)->Next();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iVisibilityObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityObjectIterator_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityObjectIterator *arg1 = (iVisibilityObjectIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVisibilityObjectIterator_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityObjectIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityObjectIterator_Reset" "', argument " "1"" of type '" "iVisibilityObjectIterator *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityObjectIterator * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iVisibilityObjectIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityObjectIterator *arg1 = (iVisibilityObjectIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iVisibilityObjectIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityObjectIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iVisibilityObjectIterator" "', argument " "1"" of type '" "iVisibilityObjectIterator *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityObjectIterator * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iVisibilityObjectIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iVisibilityObjectIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iVisibilityCullerListener_ObjectVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCullerListener *arg1 = (iVisibilityCullerListener *) 0 ;
  iVisibilityObject *arg2 = (iVisibilityObject *) 0 ;
  iMeshWrapper *arg3 = (iMeshWrapper *) 0 ;
  uint32 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iVisibilityCullerListener_ObjectVisible",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCullerListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCullerListener_ObjectVisible" "', argument " "1"" of type '" "iVisibilityCullerListener *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCullerListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iVisibilityObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCullerListener_ObjectVisible" "', argument " "2"" of type '" "iVisibilityObject *""'"); 
  }
  arg2 = reinterpret_cast< iVisibilityObject * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVisibilityCullerListener_ObjectVisible" "', argument " "3"" of type '" "iMeshWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMeshWrapper * >(argp3);
  {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iVisibilityCullerListener_ObjectVisible" "', argument " "4"" of type '" "uint32""'"); 
    }  
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCullerListener_ObjectVisible" "', argument " "4"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp4);
      arg4 = *temp;
      if (SWIG_IsNewObj(res4)) delete temp;
    }
  }
  (arg1)->ObjectVisible(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iVisibilityCullerListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCullerListener *arg1 = (iVisibilityCullerListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iVisibilityCullerListener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCullerListener, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iVisibilityCullerListener" "', argument " "1"" of type '" "iVisibilityCullerListener *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCullerListener * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iVisibilityCullerListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iVisibilityCullerListener, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iVisibilityCuller_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVisibilityCuller_Setup",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_Setup" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_Setup" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->Setup((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_RegisterVisObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  iVisibilityObject *arg2 = (iVisibilityObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVisibilityCuller_RegisterVisObject",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_RegisterVisObject" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iVisibilityObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_RegisterVisObject" "', argument " "2"" of type '" "iVisibilityObject *""'"); 
  }
  arg2 = reinterpret_cast< iVisibilityObject * >(argp2);
  (arg1)->RegisterVisObject(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_UnregisterVisObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  iVisibilityObject *arg2 = (iVisibilityObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVisibilityCuller_UnregisterVisObject",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_UnregisterVisObject" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iVisibilityObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_UnregisterVisObject" "', argument " "2"" of type '" "iVisibilityObject *""'"); 
  }
  arg2 = reinterpret_cast< iVisibilityObject * >(argp2);
  (arg1)->UnregisterVisObject(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_VisTest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  iRenderView *arg2 = (iRenderView *) 0 ;
  iVisibilityCullerListener *arg3 = (iVisibilityCullerListener *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVisibilityCuller_VisTest",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_VisTest" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderView, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_VisTest" "', argument " "2"" of type '" "iRenderView *""'"); 
  }
  arg2 = reinterpret_cast< iRenderView * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iVisibilityCullerListener, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVisibilityCuller_VisTest" "', argument " "3"" of type '" "iVisibilityCullerListener *""'"); 
  }
  arg3 = reinterpret_cast< iVisibilityCullerListener * >(argp3);
  result = (bool)(arg1)->VisTest(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_PrecacheCulling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVisibilityCuller_PrecacheCulling",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_PrecacheCulling" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  (arg1)->PrecacheCulling();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_VisTest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  csBox3 *arg2 = 0 ;
  SwigValueWrapper<csPtr<iVisibilityObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVisibilityCuller_VisTest",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_VisTest" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_VisTest" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_VisTest" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  result = (arg1)->VisTest((csBox3 const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iVisibilityObjectIterator >(static_cast< const csPtr<iVisibilityObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiVisibilityObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_VisTest__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  csSphere *arg2 = 0 ;
  SwigValueWrapper<csPtr<iVisibilityObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVisibilityCuller_VisTest",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_VisTest" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_VisTest" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_VisTest" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  arg2 = reinterpret_cast< csSphere * >(argp2);
  result = (arg1)->VisTest((csSphere const &)*arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iVisibilityObjectIterator >(static_cast< const csPtr<iVisibilityObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiVisibilityObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_VisTest__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  csSphere *arg2 = 0 ;
  iVisibilityCullerListener *arg3 = (iVisibilityCullerListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVisibilityCuller_VisTest",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_VisTest" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_VisTest" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_VisTest" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  arg2 = reinterpret_cast< csSphere * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iVisibilityCullerListener, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVisibilityCuller_VisTest" "', argument " "3"" of type '" "iVisibilityCullerListener *""'"); 
  }
  arg3 = reinterpret_cast< iVisibilityCullerListener * >(argp3);
  (arg1)->VisTest((csSphere const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_VisTest__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  csPlane3 *arg2 = (csPlane3 *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iVisibilityObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVisibilityCuller_VisTest",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_VisTest" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_VisTest" "', argument " "2"" of type '" "csPlane3 *""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iVisibilityCuller_VisTest" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->VisTest(arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iVisibilityObjectIterator >(static_cast< const csPtr<iVisibilityObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiVisibilityObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_VisTest__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  csPlane3 *arg2 = (csPlane3 *) 0 ;
  int arg3 ;
  iVisibilityCullerListener *arg4 = (iVisibilityCullerListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iVisibilityCuller_VisTest",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_VisTest" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csPlane3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_VisTest" "', argument " "2"" of type '" "csPlane3 *""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iVisibilityCuller_VisTest" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iVisibilityCullerListener, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iVisibilityCuller_VisTest" "', argument " "4"" of type '" "iVisibilityCullerListener *""'"); 
  }
  arg4 = reinterpret_cast< iVisibilityCullerListener * >(argp4);
  (arg1)->VisTest(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_VisTest(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVisibilityCuller, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iVisibilityCuller_VisTest__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVisibilityCuller, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSphere, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iVisibilityCuller_VisTest__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVisibilityCuller, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRenderView, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iVisibilityCullerListener, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iVisibilityCuller_VisTest__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVisibilityCuller, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSphere, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iVisibilityCullerListener, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iVisibilityCuller_VisTest__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVisibilityCuller, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iVisibilityCuller_VisTest__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVisibilityCuller, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iVisibilityCullerListener, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iVisibilityCuller_VisTest__SWIG_5(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iVisibilityCuller_VisTest'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_IntersectSegmentSloppy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  SwigValueWrapper<csPtr<iVisibilityObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVisibilityCuller_IntersectSegmentSloppy",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_IntersectSegmentSloppy" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_IntersectSegmentSloppy" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_IntersectSegmentSloppy" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVisibilityCuller_IntersectSegmentSloppy" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_IntersectSegmentSloppy" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (arg1)->IntersectSegmentSloppy((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iVisibilityObjectIterator >(static_cast< const csPtr<iVisibilityObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiVisibilityObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_IntersectSegment__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  bool arg4 = (bool) false ;
  SwigValueWrapper<csPtr<iVisibilityObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO|O:iVisibilityCuller_IntersectSegment",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  if (obj3) {
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "4"" of type '" "bool""'");
    } 
    arg4 = static_cast< bool >(val4);
  }
  result = (arg1)->IntersectSegment((csVector3 const &)*arg2,(csVector3 const &)*arg3,arg4);
  resultobj = SWIG_NewPointerObj((new csPtr<iVisibilityObjectIterator >(static_cast< const csPtr<iVisibilityObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiVisibilityObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_IntersectSegment__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float *arg5 = (float *) 0 ;
  iMeshWrapper **arg6 = (iMeshWrapper **) 0 ;
  int *arg7 = (int *) 0 ;
  bool arg8 = (bool) true ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float temp5 ;
  int res5 = SWIG_TMPOBJ ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  bool val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOO|OOO:iVisibilityCuller_IntersectSegment",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  if (obj4) {
    res6 = SWIG_ConvertPtr(obj4, &argp6,SWIGTYPE_p_p_iMeshWrapper, 0 |  0 );
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "6"" of type '" "iMeshWrapper **""'"); 
    }
    arg6 = reinterpret_cast< iMeshWrapper ** >(argp6);
  }
  if (obj5) {
    res7 = SWIG_ConvertPtr(obj5, &argp7,SWIGTYPE_p_int, 0 |  0 );
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "7"" of type '" "int *""'"); 
    }
    arg7 = reinterpret_cast< int * >(argp7);
  }
  if (obj6) {
    ecode8 = SWIG_AsVal_bool(obj6, &val8);
    if (!SWIG_IsOK(ecode8)) {
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iVisibilityCuller_IntersectSegment" "', argument " "8"" of type '" "bool""'");
    } 
    arg8 = static_cast< bool >(val8);
  }
  result = (bool)(arg1)->IntersectSegment((csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_IntersectSegment(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if ((argc >= 3) && (argc <= 4)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVisibilityCuller, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          if (argc <= 3) {
            return _wrap_iVisibilityCuller_IntersectSegment__SWIG_0(self, args);
          }
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iVisibilityCuller_IntersectSegment__SWIG_0(self, args);
          }
        }
      }
    }
  }
  if ((argc >= 4) && (argc <= 7)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVisibilityCuller, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            if (argc <= 4) {
              return _wrap_iVisibilityCuller_IntersectSegment__SWIG_1(self, args);
            }
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_iMeshWrapper, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              if (argc <= 5) {
                return _wrap_iVisibilityCuller_IntersectSegment__SWIG_1(self, args);
              }
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                if (argc <= 6) {
                  return _wrap_iVisibilityCuller_IntersectSegment__SWIG_1(self, args);
                }
                {
                  int res = SWIG_AsVal_bool(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iVisibilityCuller_IntersectSegment__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iVisibilityCuller_IntersectSegment'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_CastShadows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  iFrustumView *arg2 = (iFrustumView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVisibilityCuller_CastShadows",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_CastShadows" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_CastShadows" "', argument " "2"" of type '" "iFrustumView *""'"); 
  }
  arg2 = reinterpret_cast< iFrustumView * >(argp2);
  (arg1)->CastShadows(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_ParseCullerParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVisibilityCuller_ParseCullerParameters",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityCuller_ParseCullerParameters" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVisibilityCuller_ParseCullerParameters" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (char *)(arg1)->ParseCullerParameters(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iVisibilityCuller(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityCuller *arg1 = (iVisibilityCuller *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iVisibilityCuller",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityCuller, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iVisibilityCuller" "', argument " "1"" of type '" "iVisibilityCuller *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityCuller * >(argp1);
  delete_iVisibilityCuller(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityCuller_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iVisibilityCuller_scfGetVersion")) SWIG_fail;
  result = (int)iVisibilityCuller_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iVisibilityCuller_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iVisibilityCuller, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iVisibilityObject_GetMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityObject *arg1 = (iVisibilityObject *) 0 ;
  iMovable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVisibilityObject_GetMovable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityObject_GetMovable" "', argument " "1"" of type '" "iVisibilityObject const *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityObject * >(argp1);
  result = (iMovable *)((iVisibilityObject const *)arg1)->GetMovable();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMovable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityObject_GetMeshWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityObject *arg1 = (iVisibilityObject *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVisibilityObject_GetMeshWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityObject_GetMeshWrapper" "', argument " "1"" of type '" "iVisibilityObject const *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityObject * >(argp1);
  result = (iMeshWrapper *)((iVisibilityObject const *)arg1)->GetMeshWrapper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityObject_GetObjectModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityObject *arg1 = (iVisibilityObject *) 0 ;
  iObjectModel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVisibilityObject_GetObjectModel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityObject_GetObjectModel" "', argument " "1"" of type '" "iVisibilityObject *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityObject * >(argp1);
  result = (iObjectModel *)(arg1)->GetObjectModel();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObjectModel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVisibilityObject_GetCullerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityObject *arg1 = (iVisibilityObject *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVisibilityObject_GetCullerFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVisibilityObject_GetCullerFlags" "', argument " "1"" of type '" "iVisibilityObject *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityObject * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetCullerFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iVisibilityObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVisibilityObject *arg1 = (iVisibilityObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iVisibilityObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVisibilityObject, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iVisibilityObject" "', argument " "1"" of type '" "iVisibilityObject *""'"); 
  }
  arg1 = reinterpret_cast< iVisibilityObject * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iVisibilityObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iVisibilityObject, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iPortalCallback_Traverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortalCallback *arg1 = (iPortalCallback *) 0 ;
  iPortal *arg2 = (iPortal *) 0 ;
  iBase *arg3 = (iBase *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPortalCallback_Traverse",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortalCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortalCallback_Traverse" "', argument " "1"" of type '" "iPortalCallback *""'"); 
  }
  arg1 = reinterpret_cast< iPortalCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortalCallback_Traverse" "', argument " "2"" of type '" "iPortal *""'"); 
  }
  arg2 = reinterpret_cast< iPortal * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPortalCallback_Traverse" "', argument " "3"" of type '" "iBase *""'"); 
  }
  arg3 = reinterpret_cast< iBase * >(argp3);
  result = (bool)(arg1)->Traverse(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iPortalCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortalCallback *arg1 = (iPortalCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iPortalCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortalCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iPortalCallback" "', argument " "1"" of type '" "iPortalCallback *""'"); 
  }
  arg1 = reinterpret_cast< iPortalCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iPortalCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iPortalCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iPortal_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetName" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetName" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (char *)((iPortal const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetSector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetSector" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (iSector *)((iPortal const *)arg1)->GetSector();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetVertices" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (csVector3 *)((iPortal const *)arg1)->GetVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetWorldVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetWorldVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetWorldVertices" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (csVector3 *)(arg1)->GetWorldVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetVertexIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  int *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetVertexIndices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetVertexIndices" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (int *)((iPortal const *)arg1)->GetVertexIndices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetVertexIndicesCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetVertexIndicesCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetVertexIndicesCount" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (int)((iPortal const *)arg1)->GetVertexIndicesCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetObjectPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetObjectPlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetObjectPlane" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  {
    csPlane3 const &_result_ref = (arg1)->GetObjectPlane();
    result = (csPlane3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetWorldPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetWorldPlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetWorldPlane" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  {
    csPlane3 const &_result_ref = (arg1)->GetWorldPlane();
    result = (csPlane3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_ComputeCameraPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csPlane3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPortal_ComputeCameraPlane",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_ComputeCameraPlane" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_ComputeCameraPlane" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_ComputeCameraPlane" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csPlane3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPortal_ComputeCameraPlane" "', argument " "3"" of type '" "csPlane3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_ComputeCameraPlane" "', argument " "3"" of type '" "csPlane3 &""'"); 
  }
  arg3 = reinterpret_cast< csPlane3 * >(argp3);
  (arg1)->ComputeCameraPlane((csReversibleTransform const &)*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_PointOnPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_PointOnPolygon",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_PointOnPolygon" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_PointOnPolygon" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_PointOnPolygon" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)(arg1)->PointOnPolygon((csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_SetSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetSector" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_SetSector" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  (arg1)->SetSector(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetFlags" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetMaximumSectorVisit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_SetMaximumSectorVisit",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetMaximumSectorVisit" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPortal_SetMaximumSectorVisit" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetMaximumSectorVisit(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetMaximumSectorVisit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetMaximumSectorVisit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetMaximumSectorVisit" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (int)((iPortal const *)arg1)->GetMaximumSectorVisit();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetPortalCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iPortalCallback *arg2 = (iPortalCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_SetPortalCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetPortalCallback" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPortalCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_SetPortalCallback" "', argument " "2"" of type '" "iPortalCallback *""'"); 
  }
  arg2 = reinterpret_cast< iPortalCallback * >(argp2);
  (arg1)->SetPortalCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_RemovePortalCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iPortalCallback *arg2 = (iPortalCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_RemovePortalCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_RemovePortalCallback" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPortalCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_RemovePortalCallback" "', argument " "2"" of type '" "iPortalCallback *""'"); 
  }
  arg2 = reinterpret_cast< iPortalCallback * >(argp2);
  (arg1)->RemovePortalCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetPortalCallbackCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetPortalCallbackCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetPortalCallbackCount" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (int)((iPortal const *)arg1)->GetPortalCallbackCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetPortalCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  int arg2 ;
  iPortalCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_GetPortalCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetPortalCallback" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPortal_GetPortalCallback" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iPortalCallback *)((iPortal const *)arg1)->GetPortalCallback(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPortalCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetMissingSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iPortalCallback *arg2 = (iPortalCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_SetMissingSectorCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetMissingSectorCallback" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPortalCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_SetMissingSectorCallback" "', argument " "2"" of type '" "iPortalCallback *""'"); 
  }
  arg2 = reinterpret_cast< iPortalCallback * >(argp2);
  (arg1)->SetMissingSectorCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_RemoveMissingSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iPortalCallback *arg2 = (iPortalCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_RemoveMissingSectorCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_RemoveMissingSectorCallback" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPortalCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_RemoveMissingSectorCallback" "', argument " "2"" of type '" "iPortalCallback *""'"); 
  }
  arg2 = reinterpret_cast< iPortalCallback * >(argp2);
  (arg1)->RemoveMissingSectorCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetMissingSectorCallbackCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetMissingSectorCallbackCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetMissingSectorCallbackCount" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (int)((iPortal const *)arg1)->GetMissingSectorCallbackCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetMissingSectorCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  int arg2 ;
  iPortalCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_GetMissingSectorCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetMissingSectorCallback" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPortal_GetMissingSectorCallback" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iPortalCallback *)((iPortal const *)arg1)->GetMissingSectorCallback(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPortalCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetFilter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_SetFilter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetFilter" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_SetFilter" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  (arg1)->SetFilter(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetTextureFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetTextureFilter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetTextureFilter" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = (iTextureHandle *)((iPortal const *)arg1)->GetTextureFilter();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetFilter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iPortal_SetFilter",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetFilter" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPortal_SetFilter" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iPortal_SetFilter" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iPortal_SetFilter" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->SetFilter(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetFilter(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPortal, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureHandle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iPortal_SetFilter__SWIG_0(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPortal, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iPortal_SetFilter__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iPortal_SetFilter'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetColorFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  float *arg2 = 0 ;
  float *arg3 = 0 ;
  float *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float temp2 ;
  int res2 = SWIG_TMPOBJ ;
  float temp3 ;
  int res3 = SWIG_TMPOBJ ;
  float temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetColorFilter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetColorFilter" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  ((iPortal const *)arg1)->GetColorFilter(*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetWarp__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csMatrix3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iPortal_SetWarp",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetWarp" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_SetWarp" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_SetWarp" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPortal_SetWarp" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_SetWarp" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iPortal_SetWarp" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_SetWarp" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  (arg1)->SetWarp((csMatrix3 const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetWarp__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_SetWarp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetWarp" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_SetWarp" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_SetWarp" "', argument " "2"" of type '" "csTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csTransform * >(argp2);
  (arg1)->SetWarp((csTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetWarp(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPortal, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iPortal_SetWarp__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPortal, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csMatrix3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iPortal_SetWarp__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iPortal_SetWarp'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_SetMirror(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csPlane3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_SetMirror",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_SetMirror" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_SetMirror" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_SetMirror" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  (arg1)->SetMirror((csPlane3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetWarp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetWarp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetWarp" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  {
    csReversibleTransform const &_result_ref = ((iPortal const *)arg1)->GetWarp();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_HardTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_HardTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_HardTransform" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->HardTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_ObjectToWorld(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csReversibleTransform *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPortal_ObjectToWorld",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_ObjectToWorld" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_ObjectToWorld" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_ObjectToWorld" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csReversibleTransform,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPortal_ObjectToWorld" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_ObjectToWorld" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  ((iPortal const *)arg1)->ObjectToWorld((csReversibleTransform const &)*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_Warp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPortal_Warp",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_Warp" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_Warp" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_Warp" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPortal_Warp" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_Warp" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = ((iPortal const *)arg1)->Warp((csReversibleTransform const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_WarpSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csReversibleTransform *arg3 = 0 ;
  bool *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool temp4 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iPortal_WarpSpace",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_WarpSpace" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_WarpSpace" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_WarpSpace" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csReversibleTransform,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPortal_WarpSpace" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_WarpSpace" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_bool,0))))) {
    bool val; 
    int ecode = SWIG_AsVal_bool(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "iPortal_WarpSpace" "', argument " "4"" of type '" "bool""'");
    }
    temp4 = static_cast< bool >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  ((iPortal const *)arg1)->WarpSpace((csReversibleTransform const &)*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_CompleteSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortal_CompleteSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_CompleteSector" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_CompleteSector" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  result = (bool)(arg1)->CompleteSector(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_CheckFrustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  iFrustumView *arg2 = (iFrustumView *) 0 ;
  csReversibleTransform *arg3 = 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iPortal_CheckFrustum",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_CheckFrustum" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFrustumView, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_CheckFrustum" "', argument " "2"" of type '" "iFrustumView *""'"); 
  }
  arg2 = reinterpret_cast< iFrustumView * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPortal_CheckFrustum" "', argument " "3"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_CheckFrustum" "', argument " "3"" of type '" "csReversibleTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iPortal_CheckFrustum" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->CheckFrustum(arg2,(csReversibleTransform const &)*arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_HitBeamPortals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  int *arg6 = (int *) 0 ;
  iSector **arg7 = (iSector **) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int temp6 ;
  int res6 = SWIG_TMPOBJ ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  arg6 = &temp6;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iPortal_HitBeamPortals",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_HitBeamPortals" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_HitBeamPortals" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_HitBeamPortals" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPortal_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iPortal_HitBeamPortals" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_HitBeamPortals" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iPortal_HitBeamPortals" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_HitBeamPortals" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  res7 = SWIG_ConvertPtr(obj5, &argp7,SWIGTYPE_p_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iPortal_HitBeamPortals" "', argument " "7"" of type '" "iSector **""'"); 
  }
  arg7 = reinterpret_cast< iSector ** >(argp7);
  result = (iMeshWrapper *)(arg1)->HitBeamPortals((csReversibleTransform const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,*arg5,arg6,arg7);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (SWIG_IsTmpObj(res6)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6)));
  } else {
    int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_HitBeamPortals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  int *arg6 = (int *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int temp6 ;
  int res6 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  arg6 = &temp6;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iPortal_HitBeamPortals",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_HitBeamPortals" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortal_HitBeamPortals" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_HitBeamPortals" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPortal_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_HitBeamPortals" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iPortal_HitBeamPortals" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_HitBeamPortals" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iPortal_HitBeamPortals" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iPortal_HitBeamPortals" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (iMeshWrapper *)(arg1)->HitBeamPortals((csReversibleTransform const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,*arg5,arg6);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (SWIG_IsTmpObj(res6)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6)));
  } else {
    int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_HitBeamPortals(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPortal, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iPortal_HitBeamPortals__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPortal, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csReversibleTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_p_iSector, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iPortal_HitBeamPortals__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iPortal_HitBeamPortals'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_GetVerticesCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortal_GetVerticesCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortal_GetVerticesCount" "', argument " "1"" of type '" "iPortal const *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  result = ((iPortal const *)arg1)->GetVerticesCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iPortal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortal *arg1 = (iPortal *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iPortal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortal, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iPortal" "', argument " "1"" of type '" "iPortal *""'"); 
  }
  arg1 = reinterpret_cast< iPortal * >(argp1);
  delete_iPortal(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortal_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iPortal_scfGetVersion")) SWIG_fail;
  result = (int)iPortal_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iPortal_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iPortal, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iPortalContainer_GetPortalCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortalContainer *arg1 = (iPortalContainer *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPortalContainer_GetPortalCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortalContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortalContainer_GetPortalCount" "', argument " "1"" of type '" "iPortalContainer const *""'"); 
  }
  arg1 = reinterpret_cast< iPortalContainer * >(argp1);
  result = (int)((iPortalContainer const *)arg1)->GetPortalCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortalContainer_GetPortal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortalContainer *arg1 = (iPortalContainer *) 0 ;
  int arg2 ;
  iPortal *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortalContainer_GetPortal",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortalContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortalContainer_GetPortal" "', argument " "1"" of type '" "iPortalContainer const *""'"); 
  }
  arg1 = reinterpret_cast< iPortalContainer * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iPortalContainer_GetPortal" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iPortal *)((iPortalContainer const *)arg1)->GetPortal(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPortal, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortalContainer_CreatePortal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortalContainer *arg1 = (iPortalContainer *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  int arg3 ;
  iPortal *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortalContainer_CreatePortal",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortalContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortalContainer_CreatePortal" "', argument " "1"" of type '" "iPortalContainer *""'"); 
  }
  arg1 = reinterpret_cast< iPortalContainer * >(argp1);
  {
    /*@SWIG:TYPEMAP_IN_ARRAY_BODY@*/
    if (!PyList_Check(obj1))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    arg3 = PyList_Size(obj1);
    typedef csVector3 Array_Type;
    arg2 = new Array_Type[arg3];
    for (int i = 0; i < arg3; ++i)
    {
      csVector3 * p;
      PyObject * o = PyList_GetItem(obj1, i);
      if ((SWIG_ConvertPtr(o, (void **) &p, SWIGTYPE_p_csVector3,
            SWIG_POINTER_EXCEPTION)) == -1)
      {
        PyErr_SetString(PyExc_TypeError, "list must contain ""csVector3" "'s");
        delete [] arg2;
        return 0;
      }
      arg2[i] = * p;
    }
    /*@SWIG@*/
  }
  result = (iPortal *)(arg1)->CreatePortal(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iPortal, 0 |  0 );
  {
    delete [] arg2;
  }
  return resultobj;
fail:
  {
    delete [] arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortalContainer_RemovePortal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortalContainer *arg1 = (iPortalContainer *) 0 ;
  iPortal *arg2 = (iPortal *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortalContainer_RemovePortal",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortalContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortalContainer_RemovePortal" "', argument " "1"" of type '" "iPortalContainer *""'"); 
  }
  arg1 = reinterpret_cast< iPortalContainer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortalContainer_RemovePortal" "', argument " "2"" of type '" "iPortal *""'"); 
  }
  arg2 = reinterpret_cast< iPortal * >(argp2);
  (arg1)->RemovePortal(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortalContainer_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortalContainer *arg1 = (iPortalContainer *) 0 ;
  iRenderView *arg2 = (iRenderView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPortalContainer_Draw",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortalContainer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPortalContainer_Draw" "', argument " "1"" of type '" "iPortalContainer *""'"); 
  }
  arg1 = reinterpret_cast< iPortalContainer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderView, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPortalContainer_Draw" "', argument " "2"" of type '" "iRenderView *""'"); 
  }
  arg2 = reinterpret_cast< iRenderView * >(argp2);
  (arg1)->Draw(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iPortalContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPortalContainer *arg1 = (iPortalContainer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iPortalContainer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPortalContainer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iPortalContainer" "', argument " "1"" of type '" "iPortalContainer *""'"); 
  }
  arg1 = reinterpret_cast< iPortalContainer * >(argp1);
  delete_iPortalContainer(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPortalContainer_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iPortalContainer_scfGetVersion")) SWIG_fail;
  result = (int)iPortalContainer_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iPortalContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iPortalContainer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGeneralMeshSubMesh_GetIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshSubMesh *arg1 = (iGeneralMeshSubMesh *) 0 ;
  iRenderBuffer *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshSubMesh_GetIndices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshSubMesh_GetIndices" "', argument " "1"" of type '" "iGeneralMeshSubMesh const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshSubMesh * >(argp1);
  result = (iRenderBuffer *)((iGeneralMeshSubMesh const *)arg1)->GetIndices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRenderBuffer, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshSubMesh_GetMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshSubMesh *arg1 = (iGeneralMeshSubMesh *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshSubMesh_GetMaterial",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshSubMesh_GetMaterial" "', argument " "1"" of type '" "iGeneralMeshSubMesh const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshSubMesh * >(argp1);
  result = (iMaterialWrapper *)((iGeneralMeshSubMesh const *)arg1)->GetMaterial();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshSubMesh_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshSubMesh *arg1 = (iGeneralMeshSubMesh *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshSubMesh_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshSubMesh_GetName" "', argument " "1"" of type '" "iGeneralMeshSubMesh const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshSubMesh * >(argp1);
  result = (char *)((iGeneralMeshSubMesh const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshSubMesh_GetMixmode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshSubMesh *arg1 = (iGeneralMeshSubMesh *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshSubMesh_GetMixmode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshSubMesh_GetMixmode" "', argument " "1"" of type '" "iGeneralMeshSubMesh const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshSubMesh * >(argp1);
  result = (uint)((iGeneralMeshSubMesh const *)arg1)->GetMixmode();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshSubMesh_SetMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshSubMesh *arg1 = (iGeneralMeshSubMesh *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshSubMesh_SetMaterial",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshSubMesh_SetMaterial" "', argument " "1"" of type '" "iGeneralMeshSubMesh *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshSubMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralMeshSubMesh_SetMaterial" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  (arg1)->SetMaterial(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGeneralMeshSubMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshSubMesh *arg1 = (iGeneralMeshSubMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGeneralMeshSubMesh",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshSubMesh, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGeneralMeshSubMesh" "', argument " "1"" of type '" "iGeneralMeshSubMesh *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshSubMesh * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iGeneralMeshSubMesh_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGeneralMeshSubMesh, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_SetLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshCommonState_SetLighting",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_SetLighting" "', argument " "1"" of type '" "iGeneralMeshCommonState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralMeshCommonState_SetLighting" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetLighting(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_IsLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshCommonState_IsLighting",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_IsLighting" "', argument " "1"" of type '" "iGeneralMeshCommonState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  result = (bool)((iGeneralMeshCommonState const *)arg1)->IsLighting();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_SetManualColors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshCommonState_SetManualColors",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_SetManualColors" "', argument " "1"" of type '" "iGeneralMeshCommonState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralMeshCommonState_SetManualColors" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetManualColors(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_IsManualColors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshCommonState_IsManualColors",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_IsManualColors" "', argument " "1"" of type '" "iGeneralMeshCommonState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  result = (bool)((iGeneralMeshCommonState const *)arg1)->IsManualColors();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_SetShadowCasting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshCommonState_SetShadowCasting",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_SetShadowCasting" "', argument " "1"" of type '" "iGeneralMeshCommonState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralMeshCommonState_SetShadowCasting" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetShadowCasting(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_IsShadowCasting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshCommonState_IsShadowCasting",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_IsShadowCasting" "', argument " "1"" of type '" "iGeneralMeshCommonState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  result = (bool)((iGeneralMeshCommonState const *)arg1)->IsShadowCasting();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_SetShadowReceiving(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshCommonState_SetShadowReceiving",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_SetShadowReceiving" "', argument " "1"" of type '" "iGeneralMeshCommonState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralMeshCommonState_SetShadowReceiving" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetShadowReceiving(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_IsShadowReceiving(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshCommonState_IsShadowReceiving",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_IsShadowReceiving" "', argument " "1"" of type '" "iGeneralMeshCommonState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  result = (bool)((iGeneralMeshCommonState const *)arg1)->IsShadowReceiving();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_AddRenderBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  char *arg2 = (char *) 0 ;
  iRenderBuffer *arg3 = (iRenderBuffer *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGeneralMeshCommonState_AddRenderBuffer",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_AddRenderBuffer" "', argument " "1"" of type '" "iGeneralMeshCommonState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralMeshCommonState_AddRenderBuffer" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRenderBuffer, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGeneralMeshCommonState_AddRenderBuffer" "', argument " "3"" of type '" "iRenderBuffer *""'"); 
  }
  arg3 = reinterpret_cast< iRenderBuffer * >(argp3);
  result = (bool)(arg1)->AddRenderBuffer((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_RemoveRenderBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshCommonState_RemoveRenderBuffer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_RemoveRenderBuffer" "', argument " "1"" of type '" "iGeneralMeshCommonState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralMeshCommonState_RemoveRenderBuffer" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->RemoveRenderBuffer((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_GetRenderBufferCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshCommonState_GetRenderBufferCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_GetRenderBufferCount" "', argument " "1"" of type '" "iGeneralMeshCommonState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  result = (int)((iGeneralMeshCommonState const *)arg1)->GetRenderBufferCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_GetRenderBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  int arg2 ;
  SwigValueWrapper<csRef<iRenderBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshCommonState_GetRenderBuffer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_GetRenderBuffer" "', argument " "1"" of type '" "iGeneralMeshCommonState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralMeshCommonState_GetRenderBuffer" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->GetRenderBuffer(arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iRenderBuffer >(static_cast< const csRef<iRenderBuffer >& >(result))), SWIGTYPE_p_csRefTiRenderBuffer_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshCommonState_GetRenderBufferName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  int arg2 ;
  SwigValueWrapper<csRef<iString > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshCommonState_GetRenderBufferName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshCommonState_GetRenderBufferName" "', argument " "1"" of type '" "iGeneralMeshCommonState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralMeshCommonState_GetRenderBufferName" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = ((iGeneralMeshCommonState const *)arg1)->GetRenderBufferName(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iString> ref((csRef<iString>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iString *)ref), (void *)(iString *)ref, "iString" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGeneralMeshCommonState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshCommonState *arg1 = (iGeneralMeshCommonState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGeneralMeshCommonState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshCommonState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGeneralMeshCommonState" "', argument " "1"" of type '" "iGeneralMeshCommonState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshCommonState * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iGeneralMeshCommonState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGeneralMeshCommonState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGeneralMeshState_SetAnimationControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshState *arg1 = (iGeneralMeshState *) 0 ;
  iGenMeshAnimationControl *arg2 = (iGenMeshAnimationControl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshState_SetAnimationControl",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshState_SetAnimationControl" "', argument " "1"" of type '" "iGeneralMeshState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralMeshState_SetAnimationControl" "', argument " "2"" of type '" "iGenMeshAnimationControl *""'"); 
  }
  arg2 = reinterpret_cast< iGenMeshAnimationControl * >(argp2);
  (arg1)->SetAnimationControl(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshState_GetAnimationControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshState *arg1 = (iGeneralMeshState *) 0 ;
  iGenMeshAnimationControl *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralMeshState_GetAnimationControl",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshState_GetAnimationControl" "', argument " "1"" of type '" "iGeneralMeshState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshState * >(argp1);
  result = (iGenMeshAnimationControl *)((iGeneralMeshState const *)arg1)->GetAnimationControl();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshState_FindSubMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshState *arg1 = (iGeneralMeshState *) 0 ;
  char *arg2 = (char *) 0 ;
  iGeneralMeshSubMesh *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralMeshState_FindSubMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshState_FindSubMesh" "', argument " "1"" of type '" "iGeneralMeshState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralMeshState_FindSubMesh" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iGeneralMeshSubMesh *)((iGeneralMeshState const *)arg1)->FindSubMesh((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshState_AddSubMesh__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshState *arg1 = (iGeneralMeshState *) 0 ;
  unsigned int *arg2 = (unsigned int *) 0 ;
  int arg3 ;
  iMaterialWrapper *arg4 = (iMaterialWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGeneralMeshState_AddSubMesh",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshState_AddSubMesh" "', argument " "1"" of type '" "iGeneralMeshState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralMeshState_AddSubMesh" "', argument " "2"" of type '" "unsigned int *""'"); 
  }
  arg2 = reinterpret_cast< unsigned int * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGeneralMeshState_AddSubMesh" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iGeneralMeshState_AddSubMesh" "', argument " "4"" of type '" "iMaterialWrapper *""'"); 
  }
  arg4 = reinterpret_cast< iMaterialWrapper * >(argp4);
  (arg1)->AddSubMesh(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshState_AddSubMesh__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshState *arg1 = (iGeneralMeshState *) 0 ;
  unsigned int *arg2 = (unsigned int *) 0 ;
  int arg3 ;
  iMaterialWrapper *arg4 = (iMaterialWrapper *) 0 ;
  uint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  unsigned int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGeneralMeshState_AddSubMesh",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralMeshState_AddSubMesh" "', argument " "1"" of type '" "iGeneralMeshState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralMeshState_AddSubMesh" "', argument " "2"" of type '" "unsigned int *""'"); 
  }
  arg2 = reinterpret_cast< unsigned int * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGeneralMeshState_AddSubMesh" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iGeneralMeshState_AddSubMesh" "', argument " "4"" of type '" "iMaterialWrapper *""'"); 
  }
  arg4 = reinterpret_cast< iMaterialWrapper * >(argp4);
  ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGeneralMeshState_AddSubMesh" "', argument " "5"" of type '" "uint""'");
  } 
  arg5 = static_cast< uint >(val5);
  (arg1)->AddSubMesh(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshState_AddSubMesh(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralMeshState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iMaterialWrapper, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iGeneralMeshState_AddSubMesh__SWIG_0(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralMeshState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iMaterialWrapper, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iGeneralMeshState_AddSubMesh__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGeneralMeshState_AddSubMesh'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGeneralMeshState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralMeshState *arg1 = (iGeneralMeshState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGeneralMeshState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralMeshState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGeneralMeshState" "', argument " "1"" of type '" "iGeneralMeshState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralMeshState * >(argp1);
  delete_iGeneralMeshState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralMeshState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iGeneralMeshState_scfGetVersion")) SWIG_fail;
  result = (int)iGeneralMeshState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iGeneralMeshState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGeneralMeshState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGeneralFactoryState_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csColor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_SetColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_SetColor" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_SetColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_SetColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  (arg1)->SetColor((csColor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetColor" "', argument " "1"" of type '" "iGeneralFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  {
    csColor const &_result_ref = ((iGeneralFactoryState const *)arg1)->GetColor();
    result = (csColor *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_AddVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csColor4 *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGeneralFactoryState_AddVertex",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_AddVertex" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_AddVertex" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_AddVertex" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGeneralFactoryState_AddVertex" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_AddVertex" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iGeneralFactoryState_AddVertex" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_AddVertex" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csColor4,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iGeneralFactoryState_AddVertex" "', argument " "5"" of type '" "csColor4 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_AddVertex" "', argument " "5"" of type '" "csColor4 const &""'"); 
  }
  arg5 = reinterpret_cast< csColor4 * >(argp5);
  (arg1)->AddVertex((csVector3 const &)*arg2,(csVector2 const &)*arg3,(csVector3 const &)*arg4,(csColor4 const &)*arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_SetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_SetVertexCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_SetVertexCount" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_SetVertexCount" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetVertexCount(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetVertexCount" "', argument " "1"" of type '" "iGeneralFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (int)((iGeneralFactoryState const *)arg1)->GetVertexCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetVertices" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (csVector3 *)(arg1)->GetVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetTexels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetTexels",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetTexels" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (csVector2 *)(arg1)->GetTexels();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetNormals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetNormals" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (csVector3 *)(arg1)->GetNormals();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetColors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetColors",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetColors" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (csColor4 *)(arg1)->GetColors();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_AddTriangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csTriangle *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_AddTriangle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_AddTriangle" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csTriangle,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_AddTriangle" "', argument " "2"" of type '" "csTriangle const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_AddTriangle" "', argument " "2"" of type '" "csTriangle const &""'"); 
  }
  arg2 = reinterpret_cast< csTriangle * >(argp2);
  (arg1)->AddTriangle((csTriangle const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_SetTriangleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_SetTriangleCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_SetTriangleCount" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_SetTriangleCount" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetTriangleCount(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetTriangleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetTriangleCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetTriangleCount" "', argument " "1"" of type '" "iGeneralFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (int)((iGeneralFactoryState const *)arg1)->GetTriangleCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csTriangle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetTriangles",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetTriangles" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (csTriangle *)(arg1)->GetTriangles();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTriangle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_Invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_Invalidate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_Invalidate" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  (arg1)->Invalidate();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_CalculateNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_CalculateNormals",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_CalculateNormals" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_CalculateNormals" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->CalculateNormals(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_CalculateNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_CalculateNormals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_CalculateNormals" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  (arg1)->CalculateNormals();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_CalculateNormals(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iGeneralFactoryState_CalculateNormals__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iGeneralFactoryState_CalculateNormals__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGeneralFactoryState_CalculateNormals'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_Compress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_Compress",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_Compress" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  (arg1)->Compress();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GenerateBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csBox3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_GenerateBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GenerateBox" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_GenerateBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_GenerateBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  (arg1)->GenerateBox((csBox3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GenerateSphere__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csEllipsoid *arg2 = 0 ;
  int arg3 ;
  bool arg4 ;
  bool arg5 ;
  bool arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iGeneralFactoryState_GenerateSphere",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csEllipsoid,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "2"" of type '" "csEllipsoid const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "2"" of type '" "csEllipsoid const &""'"); 
  }
  arg2 = reinterpret_cast< csEllipsoid * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  (arg1)->GenerateSphere((csEllipsoid const &)*arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GenerateSphere__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csEllipsoid *arg2 = 0 ;
  int arg3 ;
  bool arg4 ;
  bool arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGeneralFactoryState_GenerateSphere",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csEllipsoid,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "2"" of type '" "csEllipsoid const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "2"" of type '" "csEllipsoid const &""'"); 
  }
  arg2 = reinterpret_cast< csEllipsoid * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  (arg1)->GenerateSphere((csEllipsoid const &)*arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GenerateSphere__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csEllipsoid *arg2 = 0 ;
  int arg3 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGeneralFactoryState_GenerateSphere",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csEllipsoid,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "2"" of type '" "csEllipsoid const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "2"" of type '" "csEllipsoid const &""'"); 
  }
  arg2 = reinterpret_cast< csEllipsoid * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->GenerateSphere((csEllipsoid const &)*arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GenerateSphere__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  csEllipsoid *arg2 = 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGeneralFactoryState_GenerateSphere",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csEllipsoid,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "2"" of type '" "csEllipsoid const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "2"" of type '" "csEllipsoid const &""'"); 
  }
  arg2 = reinterpret_cast< csEllipsoid * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGeneralFactoryState_GenerateSphere" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->GenerateSphere((csEllipsoid const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GenerateSphere(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csEllipsoid, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iGeneralFactoryState_GenerateSphere__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csEllipsoid, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iGeneralFactoryState_GenerateSphere__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csEllipsoid, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iGeneralFactoryState_GenerateSphere__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csEllipsoid, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iGeneralFactoryState_GenerateSphere__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGeneralFactoryState_GenerateSphere'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_SetBack2Front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_SetBack2Front",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_SetBack2Front" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_SetBack2Front" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetBack2Front(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_IsAutoNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_IsAutoNormals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_IsAutoNormals" "', argument " "1"" of type '" "iGeneralFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (bool)((iGeneralFactoryState const *)arg1)->IsAutoNormals();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_IsBack2Front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_IsBack2Front",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_IsBack2Front" "', argument " "1"" of type '" "iGeneralFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (bool)((iGeneralFactoryState const *)arg1)->IsBack2Front();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_SetAnimationControlFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  iGenMeshAnimationControlFactory *arg2 = (iGenMeshAnimationControlFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_SetAnimationControlFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_SetAnimationControlFactory" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGenMeshAnimationControlFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_SetAnimationControlFactory" "', argument " "2"" of type '" "iGenMeshAnimationControlFactory *""'"); 
  }
  arg2 = reinterpret_cast< iGenMeshAnimationControlFactory * >(argp2);
  (arg1)->SetAnimationControlFactory(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetAnimationControlFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  iGenMeshAnimationControlFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetAnimationControlFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetAnimationControlFactory" "', argument " "1"" of type '" "iGeneralFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = (iGenMeshAnimationControlFactory *)((iGeneralFactoryState const *)arg1)->GetAnimationControlFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGenMeshAnimationControlFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_ClearSubMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_ClearSubMeshes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_ClearSubMeshes" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  (arg1)->ClearSubMeshes();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_AddSubMesh__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  iRenderBuffer *arg2 = (iRenderBuffer *) 0 ;
  iMaterialWrapper *arg3 = (iMaterialWrapper *) 0 ;
  char *arg4 = (char *) 0 ;
  uint arg5 ;
  iGeneralMeshSubMesh *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  unsigned int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGeneralFactoryState_AddSubMesh",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_AddSubMesh" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_AddSubMesh" "', argument " "2"" of type '" "iRenderBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iRenderBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGeneralFactoryState_AddSubMesh" "', argument " "3"" of type '" "iMaterialWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMaterialWrapper * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iGeneralFactoryState_AddSubMesh" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGeneralFactoryState_AddSubMesh" "', argument " "5"" of type '" "uint""'");
  } 
  arg5 = static_cast< uint >(val5);
  result = (iGeneralMeshSubMesh *)(arg1)->AddSubMesh(arg2,arg3,(char const *)arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_AddSubMesh__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  iRenderBuffer *arg2 = (iRenderBuffer *) 0 ;
  iMaterialWrapper *arg3 = (iMaterialWrapper *) 0 ;
  char *arg4 = (char *) 0 ;
  iGeneralMeshSubMesh *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGeneralFactoryState_AddSubMesh",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_AddSubMesh" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRenderBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_AddSubMesh" "', argument " "2"" of type '" "iRenderBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iRenderBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGeneralFactoryState_AddSubMesh" "', argument " "3"" of type '" "iMaterialWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMaterialWrapper * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iGeneralFactoryState_AddSubMesh" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (iGeneralMeshSubMesh *)(arg1)->AddSubMesh(arg2,arg3,(char const *)arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_AddSubMesh(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRenderBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iMaterialWrapper, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iGeneralFactoryState_AddSubMesh__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGeneralFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRenderBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iMaterialWrapper, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iGeneralFactoryState_AddSubMesh__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGeneralFactoryState_AddSubMesh'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_FindSubMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  iGeneralMeshSubMesh *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_FindSubMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_FindSubMesh" "', argument " "1"" of type '" "iGeneralFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_FindSubMesh" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iGeneralMeshSubMesh *)((iGeneralFactoryState const *)arg1)->FindSubMesh((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_DeleteSubMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  iGeneralMeshSubMesh *arg2 = (iGeneralMeshSubMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_DeleteSubMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_DeleteSubMesh" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGeneralFactoryState_DeleteSubMesh" "', argument " "2"" of type '" "iGeneralMeshSubMesh *""'"); 
  }
  arg2 = reinterpret_cast< iGeneralMeshSubMesh * >(argp2);
  (arg1)->DeleteSubMesh(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetSubMeshCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_GetSubMeshCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetSubMeshCount" "', argument " "1"" of type '" "iGeneralFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  result = ((iGeneralFactoryState const *)arg1)->GetSubMeshCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetSubMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  size_t arg2 ;
  iGeneralMeshSubMesh *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_GetSubMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetSubMesh" "', argument " "1"" of type '" "iGeneralFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_GetSubMesh" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iGeneralMeshSubMesh *)((iGeneralFactoryState const *)arg1)->GetSubMesh(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGeneralMeshSubMesh, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_DisableAutoNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGeneralFactoryState_DisableAutoNormals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_DisableAutoNormals" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  (arg1)->DisableAutoNormals();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGeneralFactoryState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGeneralFactoryState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGeneralFactoryState" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  delete_iGeneralFactoryState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iGeneralFactoryState_scfGetVersion")) SWIG_fail;
  result = (int)iGeneralFactoryState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetVertexByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  int arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_GetVertexByIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetVertexByIndex" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_GetVertexByIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csVector3 *)iGeneralFactoryState_GetVertexByIndex(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetTexelByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  int arg2 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_GetTexelByIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetTexelByIndex" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_GetTexelByIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csVector2 *)iGeneralFactoryState_GetTexelByIndex(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetNormalByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  int arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_GetNormalByIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetNormalByIndex" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_GetNormalByIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csVector3 *)iGeneralFactoryState_GetNormalByIndex(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetTriangleByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  int arg2 ;
  csTriangle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_GetTriangleByIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetTriangleByIndex" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_GetTriangleByIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csTriangle *)iGeneralFactoryState_GetTriangleByIndex(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTriangle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGeneralFactoryState_GetColorByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGeneralFactoryState *arg1 = (iGeneralFactoryState *) 0 ;
  int arg2 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGeneralFactoryState_GetColorByIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGeneralFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGeneralFactoryState_GetColorByIndex" "', argument " "1"" of type '" "iGeneralFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iGeneralFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGeneralFactoryState_GetColorByIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csColor *)iGeneralFactoryState_GetColorByIndex(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iGeneralFactoryState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGeneralFactoryState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGenMeshAnimationControl_AnimatesVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshAnimationControl_AnimatesVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControl_AnimatesVertices" "', argument " "1"" of type '" "iGenMeshAnimationControl const *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  result = (bool)((iGenMeshAnimationControl const *)arg1)->AnimatesVertices();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControl_AnimatesTexels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshAnimationControl_AnimatesTexels",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControl_AnimatesTexels" "', argument " "1"" of type '" "iGenMeshAnimationControl const *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  result = (bool)((iGenMeshAnimationControl const *)arg1)->AnimatesTexels();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControl_AnimatesNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshAnimationControl_AnimatesNormals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControl_AnimatesNormals" "', argument " "1"" of type '" "iGenMeshAnimationControl const *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  result = (bool)((iGenMeshAnimationControl const *)arg1)->AnimatesNormals();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControl_AnimatesColors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshAnimationControl_AnimatesColors",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControl_AnimatesColors" "', argument " "1"" of type '" "iGenMeshAnimationControl const *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  result = (bool)((iGenMeshAnimationControl const *)arg1)->AnimatesColors();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControl_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  csTicks arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGenMeshAnimationControl_Update",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControl_Update" "', argument " "1"" of type '" "iGenMeshAnimationControl *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGenMeshAnimationControl_Update" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  (arg1)->Update(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControl_UpdateVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  csTicks arg2 ;
  csVector3 *arg3 = (csVector3 *) 0 ;
  int arg4 ;
  uint32 arg5 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGenMeshAnimationControl_UpdateVertices",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControl_UpdateVertices" "', argument " "1"" of type '" "iGenMeshAnimationControl *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGenMeshAnimationControl_UpdateVertices" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGenMeshAnimationControl_UpdateVertices" "', argument " "3"" of type '" "csVector3 const *""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGenMeshAnimationControl_UpdateVertices" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iGenMeshAnimationControl_UpdateVertices" "', argument " "5"" of type '" "uint32""'"); 
    }  
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGenMeshAnimationControl_UpdateVertices" "', argument " "5"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp5);
      arg5 = *temp;
      if (SWIG_IsNewObj(res5)) delete temp;
    }
  }
  result = (csVector3 *)(arg1)->UpdateVertices(arg2,(csVector3 const *)arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControl_UpdateTexels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  csTicks arg2 ;
  csVector2 *arg3 = (csVector2 *) 0 ;
  int arg4 ;
  uint32 arg5 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGenMeshAnimationControl_UpdateTexels",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControl_UpdateTexels" "', argument " "1"" of type '" "iGenMeshAnimationControl *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGenMeshAnimationControl_UpdateTexels" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGenMeshAnimationControl_UpdateTexels" "', argument " "3"" of type '" "csVector2 const *""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGenMeshAnimationControl_UpdateTexels" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iGenMeshAnimationControl_UpdateTexels" "', argument " "5"" of type '" "uint32""'"); 
    }  
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGenMeshAnimationControl_UpdateTexels" "', argument " "5"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp5);
      arg5 = *temp;
      if (SWIG_IsNewObj(res5)) delete temp;
    }
  }
  result = (csVector2 *)(arg1)->UpdateTexels(arg2,(csVector2 const *)arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControl_UpdateNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  csTicks arg2 ;
  csVector3 *arg3 = (csVector3 *) 0 ;
  int arg4 ;
  uint32 arg5 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGenMeshAnimationControl_UpdateNormals",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControl_UpdateNormals" "', argument " "1"" of type '" "iGenMeshAnimationControl *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGenMeshAnimationControl_UpdateNormals" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGenMeshAnimationControl_UpdateNormals" "', argument " "3"" of type '" "csVector3 const *""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGenMeshAnimationControl_UpdateNormals" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iGenMeshAnimationControl_UpdateNormals" "', argument " "5"" of type '" "uint32""'"); 
    }  
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGenMeshAnimationControl_UpdateNormals" "', argument " "5"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp5);
      arg5 = *temp;
      if (SWIG_IsNewObj(res5)) delete temp;
    }
  }
  result = (csVector3 *)(arg1)->UpdateNormals(arg2,(csVector3 const *)arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControl_UpdateColors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  csTicks arg2 ;
  csColor4 *arg3 = (csColor4 *) 0 ;
  int arg4 ;
  uint32 arg5 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGenMeshAnimationControl_UpdateColors",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControl_UpdateColors" "', argument " "1"" of type '" "iGenMeshAnimationControl *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGenMeshAnimationControl_UpdateColors" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGenMeshAnimationControl_UpdateColors" "', argument " "3"" of type '" "csColor4 const *""'"); 
  }
  arg3 = reinterpret_cast< csColor4 * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGenMeshAnimationControl_UpdateColors" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iGenMeshAnimationControl_UpdateColors" "', argument " "5"" of type '" "uint32""'"); 
    }  
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGenMeshAnimationControl_UpdateColors" "', argument " "5"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp5);
      arg5 = *temp;
      if (SWIG_IsNewObj(res5)) delete temp;
    }
  }
  result = (csColor4 *)(arg1)->UpdateColors(arg2,(csColor4 const *)arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGenMeshAnimationControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControl *arg1 = (iGenMeshAnimationControl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGenMeshAnimationControl",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControl, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGenMeshAnimationControl" "', argument " "1"" of type '" "iGenMeshAnimationControl *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControl * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iGenMeshAnimationControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGenMeshAnimationControl, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGenMeshAnimationControlFactory_CreateAnimationControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControlFactory *arg1 = (iGenMeshAnimationControlFactory *) 0 ;
  iMeshObject *arg2 = (iMeshObject *) 0 ;
  SwigValueWrapper<csPtr<iGenMeshAnimationControl > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGenMeshAnimationControlFactory_CreateAnimationControl",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControlFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControlFactory_CreateAnimationControl" "', argument " "1"" of type '" "iGenMeshAnimationControlFactory *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControlFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGenMeshAnimationControlFactory_CreateAnimationControl" "', argument " "2"" of type '" "iMeshObject *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObject * >(argp2);
  result = (arg1)->CreateAnimationControl(arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iGenMeshAnimationControl >(static_cast< const csPtr<iGenMeshAnimationControl >& >(result))), SWIGTYPE_p_csPtrTiGenMeshAnimationControl_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControlFactory_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControlFactory *arg1 = (iGenMeshAnimationControlFactory *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGenMeshAnimationControlFactory_Load",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControlFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControlFactory_Load" "', argument " "1"" of type '" "iGenMeshAnimationControlFactory *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControlFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGenMeshAnimationControlFactory_Load" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (char *)(arg1)->Load(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshAnimationControlFactory_Save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControlFactory *arg1 = (iGenMeshAnimationControlFactory *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGenMeshAnimationControlFactory_Save",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControlFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControlFactory_Save" "', argument " "1"" of type '" "iGenMeshAnimationControlFactory *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControlFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGenMeshAnimationControlFactory_Save" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (char *)(arg1)->Save(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGenMeshAnimationControlFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControlFactory *arg1 = (iGenMeshAnimationControlFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGenMeshAnimationControlFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControlFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGenMeshAnimationControlFactory" "', argument " "1"" of type '" "iGenMeshAnimationControlFactory *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControlFactory * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iGenMeshAnimationControlFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGenMeshAnimationControlFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGenMeshAnimationControlType_CreateAnimationControlFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControlType *arg1 = (iGenMeshAnimationControlType *) 0 ;
  SwigValueWrapper<csPtr<iGenMeshAnimationControlFactory > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshAnimationControlType_CreateAnimationControlFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControlType, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshAnimationControlType_CreateAnimationControlFactory" "', argument " "1"" of type '" "iGenMeshAnimationControlType *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControlType * >(argp1);
  result = (arg1)->CreateAnimationControlFactory();
  resultobj = SWIG_NewPointerObj((new csPtr<iGenMeshAnimationControlFactory >(static_cast< const csPtr<iGenMeshAnimationControlFactory >& >(result))), SWIGTYPE_p_csPtrTiGenMeshAnimationControlFactory_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGenMeshAnimationControlType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshAnimationControlType *arg1 = (iGenMeshAnimationControlType *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGenMeshAnimationControlType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshAnimationControlType, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGenMeshAnimationControlType" "', argument " "1"" of type '" "iGenMeshAnimationControlType *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshAnimationControlType * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iGenMeshAnimationControlType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGenMeshAnimationControlType, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonBone_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBone_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetName" "', argument " "1"" of type '" "iSkeletonBone const *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  result = (char *)((iSkeletonBone const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBone_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_SetName" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBone_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBone_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetTransform" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBone_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_SetTransform" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBone_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBone_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->SetTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_GetFullTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBone_GetFullTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetFullTransform" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetFullTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  iSkeletonBone *arg2 = (iSkeletonBone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBone_SetParent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_SetParent" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBone_SetParent" "', argument " "2"" of type '" "iSkeletonBone *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBone * >(argp2);
  (arg1)->SetParent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  iSkeletonBone *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBone_GetParent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetParent" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  result = (iSkeletonBone *)(arg1)->GetParent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBone_GetChildrenCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetChildrenCount" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  result = (int)(arg1)->GetChildrenCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_GetChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  size_t arg2 ;
  iSkeletonBone *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBone_GetChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetChild" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBone_GetChild" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSkeletonBone *)(arg1)->GetChild(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonBone *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBone_FindChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_FindChild" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBone_FindChild" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonBone *)(arg1)->FindChild((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_FindChildIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  iSkeletonBone *arg2 = (iSkeletonBone *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBone_FindChildIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_FindChildIndex" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBone_FindChildIndex" "', argument " "2"" of type '" "iSkeletonBone *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBone * >(argp2);
  result = (arg1)->FindChildIndex(arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_SetSkinBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  csBox3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBone_SetSkinBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_SetSkinBox" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBone_SetSkinBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBone_SetSkinBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  (arg1)->SetSkinBox(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_GetSkinBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBone_GetSkinBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetSkinBox" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  {
    csBox3 &_result_ref = (arg1)->GetSkinBox();
    result = (csBox3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_SetUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  iSkeletonBoneUpdateCallback *arg2 = (iSkeletonBoneUpdateCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBone_SetUpdateCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_SetUpdateCallback" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBoneUpdateCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBone_SetUpdateCallback" "', argument " "2"" of type '" "iSkeletonBoneUpdateCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBoneUpdateCallback * >(argp2);
  (arg1)->SetUpdateCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_GetUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  iSkeletonBoneUpdateCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBone_GetUpdateCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetUpdateCallback" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  result = (iSkeletonBoneUpdateCallback *)(arg1)->GetUpdateCallback();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneUpdateCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_GetFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  iSkeletonBoneFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBone_GetFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetFactory" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  result = (iSkeletonBoneFactory *)(arg1)->GetFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_SetTransformMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  csBoneTransformType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBone_SetTransformMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_SetTransformMode" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBone_SetTransformMode" "', argument " "2"" of type '" "csBoneTransformType""'");
  } 
  arg2 = static_cast< csBoneTransformType >(val2);
  (arg1)->SetTransformMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_GetTransformMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  csBoneTransformType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBone_GetTransformMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBone_GetTransformMode" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  result = (csBoneTransformType)(arg1)->GetTransformMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBone *arg1 = (iSkeletonBone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonBone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBone, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonBone" "', argument " "1"" of type '" "iSkeletonBone *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBone * >(argp1);
  delete_iSkeletonBone(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBone_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeletonBone_scfGetVersion")) SWIG_fail;
  result = (int)iSkeletonBone_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonBone_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonBone, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonBoneUpdateCallback_UpdateTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneUpdateCallback *arg1 = (iSkeletonBoneUpdateCallback *) 0 ;
  iSkeletonBone *arg2 = (iSkeletonBone *) 0 ;
  csReversibleTransform *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSkeletonBoneUpdateCallback_UpdateTransform",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneUpdateCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneUpdateCallback_UpdateTransform" "', argument " "1"" of type '" "iSkeletonBoneUpdateCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneUpdateCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneUpdateCallback_UpdateTransform" "', argument " "2"" of type '" "iSkeletonBone *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBone * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSkeletonBoneUpdateCallback_UpdateTransform" "', argument " "3"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBoneUpdateCallback_UpdateTransform" "', argument " "3"" of type '" "csReversibleTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  (arg1)->UpdateTransform(arg2,(csReversibleTransform const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonBoneUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneUpdateCallback *arg1 = (iSkeletonBoneUpdateCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonBoneUpdateCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneUpdateCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonBoneUpdateCallback" "', argument " "1"" of type '" "iSkeletonBoneUpdateCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneUpdateCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonBoneUpdateCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonBoneUpdateCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScriptKeyFrame_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_GetName" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame const *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  result = (char *)((iSkeletonScriptKeyFrame const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScriptKeyFrame_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_SetName" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScriptKeyFrame_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_GetDuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  csTicks result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScriptKeyFrame_GetDuration",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_GetDuration" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  result = (csTicks)(arg1)->GetDuration();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_SetDuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  csTicks arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScriptKeyFrame_SetDuration",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_SetDuration" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonScriptKeyFrame_SetDuration" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  (arg1)->SetDuration(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_GetTransformsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScriptKeyFrame_GetTransformsCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_GetTransformsCount" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  result = (arg1)->GetTransformsCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_AddTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  iSkeletonBoneFactory *arg2 = (iSkeletonBoneFactory *) 0 ;
  csReversibleTransform *arg3 = 0 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSkeletonScriptKeyFrame_AddTransform",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_AddTransform" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScriptKeyFrame_AddTransform" "', argument " "2"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBoneFactory * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csReversibleTransform,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSkeletonScriptKeyFrame_AddTransform" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonScriptKeyFrame_AddTransform" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSkeletonScriptKeyFrame_AddTransform" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->AddTransform(arg2,*arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_AddTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  iSkeletonBoneFactory *arg2 = (iSkeletonBoneFactory *) 0 ;
  csReversibleTransform *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSkeletonScriptKeyFrame_AddTransform",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_AddTransform" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScriptKeyFrame_AddTransform" "', argument " "2"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBoneFactory * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csReversibleTransform,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSkeletonScriptKeyFrame_AddTransform" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonScriptKeyFrame_AddTransform" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  (arg1)->AddTransform(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_AddTransform(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSkeletonScriptKeyFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSkeletonBoneFactory, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSkeletonScriptKeyFrame_AddTransform__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSkeletonScriptKeyFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSkeletonBoneFactory, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSkeletonScriptKeyFrame_AddTransform__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSkeletonScriptKeyFrame_AddTransform'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  iSkeletonBoneFactory *arg2 = (iSkeletonBoneFactory *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScriptKeyFrame_GetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_GetTransform" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScriptKeyFrame_GetTransform" "', argument " "2"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBoneFactory * >(argp2);
  {
    csReversibleTransform &_result_ref = (arg1)->GetTransform(arg2);
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  iSkeletonBoneFactory *arg2 = (iSkeletonBoneFactory *) 0 ;
  csReversibleTransform *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSkeletonScriptKeyFrame_SetTransform",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_SetTransform" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScriptKeyFrame_SetTransform" "', argument " "2"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBoneFactory * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csReversibleTransform,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSkeletonScriptKeyFrame_SetTransform" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonScriptKeyFrame_SetTransform" "', argument " "3"" of type '" "csReversibleTransform &""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  (arg1)->SetTransform(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_GetKeyFrameData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  iSkeletonBoneFactory *arg2 = (iSkeletonBoneFactory *) 0 ;
  csQuaternion *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csQuaternion *arg5 = 0 ;
  bool *arg6 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iSkeletonScriptKeyFrame_GetKeyFrameData",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "2"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBoneFactory * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csQuaternion,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "3"" of type '" "csQuaternion &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "3"" of type '" "csQuaternion &""'"); 
  }
  arg3 = reinterpret_cast< csQuaternion * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csQuaternion,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "5"" of type '" "csQuaternion &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "5"" of type '" "csQuaternion &""'"); 
  }
  arg5 = reinterpret_cast< csQuaternion * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "6"" of type '" "bool &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonScriptKeyFrame_GetKeyFrameData" "', argument " "6"" of type '" "bool &""'"); 
  }
  arg6 = reinterpret_cast< bool * >(argp6);
  (arg1)->GetKeyFrameData(arg2,*arg3,*arg4,*arg5,*arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonScriptKeyFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptKeyFrame *arg1 = (iSkeletonScriptKeyFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonScriptKeyFrame",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptKeyFrame, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonScriptKeyFrame" "', argument " "1"" of type '" "iSkeletonScriptKeyFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptKeyFrame * >(argp1);
  delete_iSkeletonScriptKeyFrame(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptKeyFrame_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeletonScriptKeyFrame_scfGetVersion")) SWIG_fail;
  result = (int)iSkeletonScriptKeyFrame_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonScriptKeyFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonScriptKeyFrame, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonScript_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScript_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_GetName" "', argument " "1"" of type '" "iSkeletonScript const *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  result = (char *)((iSkeletonScript const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScript_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_SetName" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScript_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_GetTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  csTicks result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScript_GetTime",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_GetTime" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  result = (csTicks)(arg1)->GetTime();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_SetTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  csTicks arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScript_SetTime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_SetTime" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonScript_SetTime" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  (arg1)->SetTime(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_GetSpeed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScript_GetSpeed",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_GetSpeed" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  result = (float)(arg1)->GetSpeed();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_SetSpeed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScript_SetSpeed",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_SetSpeed" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonScript_SetSpeed" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetSpeed(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_SetFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScript_SetFactor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_SetFactor" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonScript_SetFactor" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetFactor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_GetFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScript_GetFactor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_GetFactor" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  result = (float)(arg1)->GetFactor();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_SetLoop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScript_SetLoop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_SetLoop" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonScript_SetLoop" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetLoop(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_GetLoop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScript_GetLoop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_GetLoop" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  result = (bool)(arg1)->GetLoop();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_CreateFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonScriptKeyFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScript_CreateFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_CreateFrame" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScript_CreateFrame" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonScriptKeyFrame *)(arg1)->CreateFrame((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_GetFramesCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScript_GetFramesCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_GetFramesCount" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  result = (arg1)->GetFramesCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  size_t arg2 ;
  iSkeletonScriptKeyFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScript_GetFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_GetFrame" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonScript_GetFrame" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSkeletonScriptKeyFrame *)(arg1)->GetFrame(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonScriptKeyFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_FindFrameIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScript_FindFrameIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_FindFrameIndex" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScript_FindFrameIndex" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->FindFrameIndex((char const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_RemoveFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScript_RemoveFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_RemoveFrame" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonScript_RemoveFrame" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->RemoveFrame(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_RecalcSpline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonScript_RecalcSpline",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScript_RecalcSpline" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  (arg1)->RecalcSpline();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonScript(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScript *arg1 = (iSkeletonScript *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonScript",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScript, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonScript" "', argument " "1"" of type '" "iSkeletonScript *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScript * >(argp1);
  delete_iSkeletonScript(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScript_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeletonScript_scfGetVersion")) SWIG_fail;
  result = (int)iSkeletonScript_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonScript_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonScript, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonScriptCallback_Execute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptCallback *arg1 = (iSkeletonScriptCallback *) 0 ;
  iSkeletonScript *arg2 = (iSkeletonScript *) 0 ;
  size_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSkeletonScriptCallback_Execute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptCallback_Execute" "', argument " "1"" of type '" "iSkeletonScriptCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScriptCallback_Execute" "', argument " "2"" of type '" "iSkeletonScript *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonScript * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSkeletonScriptCallback_Execute" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  (arg1)->Execute(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonScriptCallback_OnFinish(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptCallback *arg1 = (iSkeletonScriptCallback *) 0 ;
  iSkeletonScript *arg2 = (iSkeletonScript *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonScriptCallback_OnFinish",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonScriptCallback_OnFinish" "', argument " "1"" of type '" "iSkeletonScriptCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonScriptCallback_OnFinish" "', argument " "2"" of type '" "iSkeletonScript *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonScript * >(argp2);
  (arg1)->OnFinish(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonScriptCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonScriptCallback *arg1 = (iSkeletonScriptCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonScriptCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonScriptCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonScriptCallback" "', argument " "1"" of type '" "iSkeletonScriptCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonScriptCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonScriptCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonScriptCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonUpdateCallback_Execute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonUpdateCallback *arg1 = (iSkeletonUpdateCallback *) 0 ;
  iSkeleton *arg2 = (iSkeleton *) 0 ;
  csTicks *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csTicks temp3 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSkeletonUpdateCallback_Execute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonUpdateCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonUpdateCallback_Execute" "', argument " "1"" of type '" "iSkeletonUpdateCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonUpdateCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonUpdateCallback_Execute" "', argument " "2"" of type '" "iSkeleton *""'"); 
  }
  arg2 = reinterpret_cast< iSkeleton * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSkeletonUpdateCallback_Execute" "', argument " "3"" of type '" "csTicks""'");
  } 
  temp3 = static_cast< csTicks >(val3);
  arg3 = &temp3;
  (arg1)->Execute(arg2,(csTicks const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonUpdateCallback *arg1 = (iSkeletonUpdateCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonUpdateCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonUpdateCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonUpdateCallback" "', argument " "1"" of type '" "iSkeletonUpdateCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonUpdateCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonUpdateCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonUpdateCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeleton_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeleton_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_GetName" "', argument " "1"" of type '" "iSkeleton const *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  result = (char *)((iSkeleton const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_SetName" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_GetBonesCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeleton_GetBonesCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_GetBonesCount" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  result = (arg1)->GetBonesCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_GetBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  size_t arg2 ;
  iSkeletonBone *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_GetBone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_GetBone" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeleton_GetBone" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSkeletonBone *)(arg1)->GetBone(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_FindBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonBone *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_FindBone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_FindBone" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_FindBone" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonBone *)(arg1)->FindBone((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_FindBoneIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_FindBoneIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_FindBoneIndex" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_FindBoneIndex" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->FindBoneIndex((char const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_Execute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonScript *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_Execute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_Execute" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_Execute" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonScript *)(arg1)->Execute((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_Append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonScript *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_Append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_Append" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_Append" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonScript *)(arg1)->Append((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_ClearPendingScripts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeleton_ClearPendingScripts",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_ClearPendingScripts" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  (arg1)->ClearPendingScripts();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_GetScriptsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeleton_GetScriptsCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_GetScriptsCount" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  result = (arg1)->GetScriptsCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_GetScript(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  size_t arg2 ;
  iSkeletonScript *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_GetScript",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_GetScript" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeleton_GetScript" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSkeletonScript *)(arg1)->GetScript(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_FindScript(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonScript *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_FindScript",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_FindScript" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_FindScript" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonScript *)(arg1)->FindScript((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_FindSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_FindSocket" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_FindSocket" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonSocket *)(arg1)->FindSocket((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_StopAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeleton_StopAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_StopAll" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  (arg1)->StopAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_Stop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_Stop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_Stop" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_Stop" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->Stop((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_GetFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  iSkeletonFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeleton_GetFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_GetFactory" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  result = (iSkeletonFactory *)(arg1)->GetFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_SetScriptCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  iSkeletonScriptCallback *arg2 = (iSkeletonScriptCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_SetScriptCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_SetScriptCallback" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonScriptCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_SetScriptCallback" "', argument " "2"" of type '" "iSkeletonScriptCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonScriptCallback * >(argp2);
  (arg1)->SetScriptCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_AddUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  iSkeletonUpdateCallback *arg2 = (iSkeletonUpdateCallback *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_AddUpdateCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_AddUpdateCallback" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonUpdateCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeleton_AddUpdateCallback" "', argument " "2"" of type '" "iSkeletonUpdateCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonUpdateCallback * >(argp2);
  result = (arg1)->AddUpdateCallback(arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_GetUpdateCallbacksCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeleton_GetUpdateCallbacksCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_GetUpdateCallbacksCount" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  result = (arg1)->GetUpdateCallbacksCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_GetUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  size_t arg2 ;
  iSkeletonUpdateCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_GetUpdateCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_GetUpdateCallback" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeleton_GetUpdateCallback" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSkeletonUpdateCallback *)(arg1)->GetUpdateCallback(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonUpdateCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_RemoveUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeleton_RemoveUpdateCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeleton_RemoveUpdateCallback" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeleton_RemoveUpdateCallback" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->RemoveUpdateCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeleton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeleton *arg1 = (iSkeleton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeleton",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeleton, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeleton" "', argument " "1"" of type '" "iSkeleton *""'"); 
  }
  arg1 = reinterpret_cast< iSkeleton * >(argp1);
  delete_iSkeleton(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeleton_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeleton_scfGetVersion")) SWIG_fail;
  result = (int)iSkeleton_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeleton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeleton, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonSocket_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocket_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_GetName" "', argument " "1"" of type '" "iSkeletonSocket const *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  result = (char *)((iSkeletonSocket const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonSocket_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_SetName" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonSocket_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocket_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_GetTransform" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonSocket_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_SetTransform" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonSocket_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonSocket_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->SetTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_GetFullTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocket_GetFullTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_GetFullTransform" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetFullTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_SetBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  iSkeletonBone *arg2 = (iSkeletonBone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonSocket_SetBone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_SetBone" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonSocket_SetBone" "', argument " "2"" of type '" "iSkeletonBone *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBone * >(argp2);
  (arg1)->SetBone(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_GetBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  iSkeletonBone *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocket_GetBone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_GetBone" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  result = (iSkeletonBone *)(arg1)->GetBone();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBone, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_SetSceneNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  iSceneNode *arg2 = (iSceneNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonSocket_SetSceneNode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_SetSceneNode" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSceneNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonSocket_SetSceneNode" "', argument " "2"" of type '" "iSceneNode *""'"); 
  }
  arg2 = reinterpret_cast< iSceneNode * >(argp2);
  (arg1)->SetSceneNode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_GetSceneNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  iSceneNode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocket_GetSceneNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_GetSceneNode" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  result = (iSceneNode *)(arg1)->GetSceneNode();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSceneNode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_GetFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  iSkeletonSocketFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocket_GetFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocket_GetFactory" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  result = (iSkeletonSocketFactory *)(arg1)->GetFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocket *arg1 = (iSkeletonSocket *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonSocket",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocket, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonSocket" "', argument " "1"" of type '" "iSkeletonSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocket * >(argp1);
  delete_iSkeletonSocket(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocket_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeletonSocket_scfGetVersion")) SWIG_fail;
  result = (int)iSkeletonSocket_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonSocket_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonSocket, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetEnabled",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetEnabled" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneRagdollInfo_SetEnabled" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetEnabled(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetEnabled" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (bool)(arg1)->GetEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetAttachToParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetAttachToParent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetAttachToParent" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneRagdollInfo_SetAttachToParent" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetAttachToParent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetAttachToParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetAttachToParent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetAttachToParent" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (bool)(arg1)->GetAttachToParent();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetGeomName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetGeomName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetGeomName" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneRagdollInfo_SetGeomName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetGeomName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetGeomName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetGeomName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetGeomName" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (char *)(arg1)->GetGeomName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetGeomType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetGeomType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetGeomType" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneRagdollInfo_SetGeomType" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetGeomType(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetGeomType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetGeomType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetGeomType" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (int)(arg1)->GetGeomType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetGeomDimensions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetGeomDimensions",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetGeomDimensions" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneRagdollInfo_SetGeomDimensions" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBoneRagdollInfo_SetGeomDimensions" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetGeomDimensions(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetGeomDimensions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetGeomDimensions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetGeomDimensions" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  {
    csVector3 &_result_ref = (arg1)->GetGeomDimensions();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetFriction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetFriction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetFriction" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneRagdollInfo_SetFriction" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetFriction(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetFriction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetFriction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetFriction" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (float)(arg1)->GetFriction();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetElasticity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetElasticity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetElasticity" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneRagdollInfo_SetElasticity" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetElasticity(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetElasticity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetElasticity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetElasticity" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (float)(arg1)->GetElasticity();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetSoftness(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetSoftness",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetSoftness" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneRagdollInfo_SetSoftness" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetSoftness(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetSoftness(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetSoftness",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetSoftness" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (float)(arg1)->GetSoftness();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetSlip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetSlip",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetSlip" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneRagdollInfo_SetSlip" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetSlip(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetSlip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetSlip",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetSlip" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (float)(arg1)->GetSlip();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetBodyName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetBodyName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetBodyName" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneRagdollInfo_SetBodyName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetBodyName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetBodyName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetBodyName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetBodyName" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (char *)(arg1)->GetBodyName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetBodyMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetBodyMass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetBodyMass" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneRagdollInfo_SetBodyMass" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetBodyMass(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetBodyMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetBodyMass",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetBodyMass" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (float)(arg1)->GetBodyMass();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetBodyGravmode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetBodyGravmode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetBodyGravmode" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneRagdollInfo_SetBodyGravmode" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetBodyGravmode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetBodyGravmode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetBodyGravmode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetBodyGravmode" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (int)(arg1)->GetBodyGravmode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetJointName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetJointName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetJointName" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneRagdollInfo_SetJointName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetJointName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetJointName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetJointName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetJointName" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  result = (char *)(arg1)->GetJointName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetJointMinRotContraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetJointMinRotContraints",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetJointMinRotContraints" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneRagdollInfo_SetJointMinRotContraints" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBoneRagdollInfo_SetJointMinRotContraints" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetJointMinRotContraints(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetJointMinRotContraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetJointMinRotContraints",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetJointMinRotContraints" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  {
    csVector3 &_result_ref = (arg1)->GetJointMinRotContraints();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetJointMaxRotContraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetJointMaxRotContraints",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetJointMaxRotContraints" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneRagdollInfo_SetJointMaxRotContraints" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBoneRagdollInfo_SetJointMaxRotContraints" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetJointMaxRotContraints(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetJointMaxRotContraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetJointMaxRotContraints",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetJointMaxRotContraints" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  {
    csVector3 &_result_ref = (arg1)->GetJointMaxRotContraints();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetJointMinTransContraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetJointMinTransContraints",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetJointMinTransContraints" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneRagdollInfo_SetJointMinTransContraints" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBoneRagdollInfo_SetJointMinTransContraints" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetJointMinTransContraints(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetJointMinTransContraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetJointMinTransContraints",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetJointMinTransContraints" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  {
    csVector3 &_result_ref = (arg1)->GetJointMinTransContraints();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_SetJointMaxTransContraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneRagdollInfo_SetJointMaxTransContraints",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_SetJointMaxTransContraints" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneRagdollInfo_SetJointMaxTransContraints" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBoneRagdollInfo_SetJointMaxTransContraints" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetJointMaxTransContraints(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_GetJointMaxTransContraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneRagdollInfo_GetJointMaxTransContraints",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneRagdollInfo_GetJointMaxTransContraints" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  {
    csVector3 &_result_ref = (arg1)->GetJointMaxTransContraints();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonBoneRagdollInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneRagdollInfo *arg1 = (iSkeletonBoneRagdollInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonBoneRagdollInfo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneRagdollInfo, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonBoneRagdollInfo" "', argument " "1"" of type '" "iSkeletonBoneRagdollInfo *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneRagdollInfo * >(argp1);
  delete_iSkeletonBoneRagdollInfo(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneRagdollInfo_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeletonBoneRagdollInfo_scfGetVersion")) SWIG_fail;
  result = (int)iSkeletonBoneRagdollInfo_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonBoneRagdollInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonBoneRagdollInfo, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneFactory_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_GetName" "', argument " "1"" of type '" "iSkeletonBoneFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  result = (char *)((iSkeletonBoneFactory const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneFactory_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_SetName" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneFactory_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneFactory_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_GetTransform" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneFactory_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_SetTransform" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneFactory_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBoneFactory_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->SetTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_GetFullTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneFactory_GetFullTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_GetFullTransform" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetFullTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  iSkeletonBoneFactory *arg2 = (iSkeletonBoneFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneFactory_SetParent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_SetParent" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneFactory_SetParent" "', argument " "2"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBoneFactory * >(argp2);
  (arg1)->SetParent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  iSkeletonBoneFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneFactory_GetParent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_GetParent" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  result = (iSkeletonBoneFactory *)(arg1)->GetParent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneFactory_GetChildrenCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_GetChildrenCount" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  result = (int)(arg1)->GetChildrenCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_GetChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  size_t arg2 ;
  iSkeletonBoneFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneFactory_GetChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_GetChild" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonBoneFactory_GetChild" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSkeletonBoneFactory *)(arg1)->GetChild(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonBoneFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneFactory_FindChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_FindChild" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneFactory_FindChild" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonBoneFactory *)(arg1)->FindChild((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_FindChildIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  iSkeletonBoneFactory *arg2 = (iSkeletonBoneFactory *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneFactory_FindChildIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_FindChildIndex" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneFactory_FindChildIndex" "', argument " "2"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBoneFactory * >(argp2);
  result = (arg1)->FindChildIndex(arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_SetSkinBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  csBox3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonBoneFactory_SetSkinBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_SetSkinBox" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonBoneFactory_SetSkinBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonBoneFactory_SetSkinBox" "', argument " "2"" of type '" "csBox3 &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  (arg1)->SetSkinBox(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_GetSkinBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneFactory_GetSkinBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_GetSkinBox" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  {
    csBox3 &_result_ref = (arg1)->GetSkinBox();
    result = (csBox3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_GetRagdollInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  iSkeletonBoneRagdollInfo *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonBoneFactory_GetRagdollInfo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonBoneFactory_GetRagdollInfo" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  result = (iSkeletonBoneRagdollInfo *)(arg1)->GetRagdollInfo();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneRagdollInfo, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonBoneFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonBoneFactory *arg1 = (iSkeletonBoneFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonBoneFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonBoneFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonBoneFactory" "', argument " "1"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonBoneFactory * >(argp1);
  delete_iSkeletonBoneFactory(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonBoneFactory_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeletonBoneFactory_scfGetVersion")) SWIG_fail;
  result = (int)iSkeletonBoneFactory_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonBoneFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonBoneFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonSocketFactory_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocketFactory *arg1 = (iSkeletonSocketFactory *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocketFactory_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocketFactory_GetName" "', argument " "1"" of type '" "iSkeletonSocketFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocketFactory * >(argp1);
  result = (char *)((iSkeletonSocketFactory const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocketFactory_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocketFactory *arg1 = (iSkeletonSocketFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonSocketFactory_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocketFactory_SetName" "', argument " "1"" of type '" "iSkeletonSocketFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocketFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonSocketFactory_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocketFactory_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocketFactory *arg1 = (iSkeletonSocketFactory *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocketFactory_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocketFactory_GetTransform" "', argument " "1"" of type '" "iSkeletonSocketFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocketFactory * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocketFactory_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocketFactory *arg1 = (iSkeletonSocketFactory *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonSocketFactory_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocketFactory_SetTransform" "', argument " "1"" of type '" "iSkeletonSocketFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocketFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonSocketFactory_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSkeletonSocketFactory_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->SetTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocketFactory_GetFullTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocketFactory *arg1 = (iSkeletonSocketFactory *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocketFactory_GetFullTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocketFactory_GetFullTransform" "', argument " "1"" of type '" "iSkeletonSocketFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocketFactory * >(argp1);
  {
    csReversibleTransform &_result_ref = (arg1)->GetFullTransform();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocketFactory_SetBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocketFactory *arg1 = (iSkeletonSocketFactory *) 0 ;
  iSkeletonBoneFactory *arg2 = (iSkeletonBoneFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonSocketFactory_SetBone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocketFactory_SetBone" "', argument " "1"" of type '" "iSkeletonSocketFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocketFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonSocketFactory_SetBone" "', argument " "2"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonBoneFactory * >(argp2);
  (arg1)->SetBone(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocketFactory_GetBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocketFactory *arg1 = (iSkeletonSocketFactory *) 0 ;
  iSkeletonBoneFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonSocketFactory_GetBone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonSocketFactory_GetBone" "', argument " "1"" of type '" "iSkeletonSocketFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocketFactory * >(argp1);
  result = (iSkeletonBoneFactory *)(arg1)->GetBone();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonSocketFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonSocketFactory *arg1 = (iSkeletonSocketFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonSocketFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonSocketFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonSocketFactory" "', argument " "1"" of type '" "iSkeletonSocketFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonSocketFactory * >(argp1);
  delete_iSkeletonSocketFactory(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonSocketFactory_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeletonSocketFactory_scfGetVersion")) SWIG_fail;
  result = (int)iSkeletonSocketFactory_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonSocketFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonSocketFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonFactory_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonFactory_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_GetName" "', argument " "1"" of type '" "iSkeletonFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  result = (char *)((iSkeletonFactory const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_SetName" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonFactory_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_CreateBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonBoneFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_CreateBone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_CreateBone" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonFactory_CreateBone" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonBoneFactory *)(arg1)->CreateBone((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_CreateScript(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonScript *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_CreateScript",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_CreateScript" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonFactory_CreateScript" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonScript *)(arg1)->CreateScript((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_FindScript(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonScript *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_FindScript",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_FindScript" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonFactory_FindScript" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonScript *)(arg1)->FindScript((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonScript, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_FindBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonBoneFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_FindBone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_FindBone" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonFactory_FindBone" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonBoneFactory *)(arg1)->FindBone((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_FindBoneIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_FindBoneIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_FindBoneIndex" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonFactory_FindBoneIndex" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->FindBoneIndex((char const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_GetBonesCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonFactory_GetBonesCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_GetBonesCount" "', argument " "1"" of type '" "iSkeletonFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  result = ((iSkeletonFactory const *)arg1)->GetBonesCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_GetBone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  size_t arg2 ;
  iSkeletonBoneFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_GetBone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_GetBone" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonFactory_GetBone" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSkeletonBoneFactory *)(arg1)->GetBone(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_GetGraveyard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  iSkeletonGraveyard *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonFactory_GetGraveyard",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_GetGraveyard" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  result = (iSkeletonGraveyard *)(arg1)->GetGraveyard();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonGraveyard, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_CreateSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonBoneFactory *arg3 = (iSkeletonBoneFactory *) 0 ;
  iSkeletonSocketFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSkeletonFactory_CreateSocket",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_CreateSocket" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonFactory_CreateSocket" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSkeletonBoneFactory, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSkeletonFactory_CreateSocket" "', argument " "3"" of type '" "iSkeletonBoneFactory *""'"); 
  }
  arg3 = reinterpret_cast< iSkeletonBoneFactory * >(argp3);
  result = (iSkeletonSocketFactory *)(arg1)->CreateSocket((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_FindSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonSocketFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_FindSocket" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonFactory_FindSocket" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonSocketFactory *)(arg1)->FindSocket((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_GetSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  int arg2 ;
  iSkeletonSocketFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_GetSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_GetSocket" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonFactory_GetSocket" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSkeletonSocketFactory *)(arg1)->GetSocket(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonSocketFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_RemoveSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonFactory_RemoveSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_RemoveSocket" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSkeletonFactory_RemoveSocket" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->RemoveSocket(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_GetSocketsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonFactory_GetSocketsCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonFactory_GetSocketsCount" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  result = (arg1)->GetSocketsCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonFactory *arg1 = (iSkeletonFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonFactory" "', argument " "1"" of type '" "iSkeletonFactory *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonFactory * >(argp1);
  delete_iSkeletonFactory(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonFactory_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeletonFactory_scfGetVersion")) SWIG_fail;
  result = (int)iSkeletonFactory_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSkeletonGraveyard_GetFactoriesCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonGraveyard *arg1 = (iSkeletonGraveyard *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSkeletonGraveyard_GetFactoriesCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonGraveyard, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonGraveyard_GetFactoriesCount" "', argument " "1"" of type '" "iSkeletonGraveyard *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonGraveyard * >(argp1);
  result = (arg1)->GetFactoriesCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonGraveyard_CreateFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonGraveyard *arg1 = (iSkeletonGraveyard *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonGraveyard_CreateFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonGraveyard, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonGraveyard_CreateFactory" "', argument " "1"" of type '" "iSkeletonGraveyard *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonGraveyard * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonGraveyard_CreateFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonFactory *)(arg1)->CreateFactory((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonGraveyard_LoadFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonGraveyard *arg1 = (iSkeletonGraveyard *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonGraveyard_LoadFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonGraveyard, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonGraveyard_LoadFactory" "', argument " "1"" of type '" "iSkeletonGraveyard *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonGraveyard * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonGraveyard_LoadFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonFactory *)(arg1)->LoadFactory((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonGraveyard_FindFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonGraveyard *arg1 = (iSkeletonGraveyard *) 0 ;
  char *arg2 = (char *) 0 ;
  iSkeletonFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonGraveyard_FindFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonGraveyard, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonGraveyard_FindFactory" "', argument " "1"" of type '" "iSkeletonGraveyard *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonGraveyard * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonGraveyard_FindFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSkeletonFactory *)(arg1)->FindFactory((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonGraveyard_CreateSkeleton__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonGraveyard *arg1 = (iSkeletonGraveyard *) 0 ;
  iSkeletonFactory *arg2 = (iSkeletonFactory *) 0 ;
  char *arg3 = (char *) 0 ;
  iSkeleton *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSkeletonGraveyard_CreateSkeleton",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonGraveyard, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonGraveyard_CreateSkeleton" "', argument " "1"" of type '" "iSkeletonGraveyard *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonGraveyard * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonGraveyard_CreateSkeleton" "', argument " "2"" of type '" "iSkeletonFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonFactory * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSkeletonGraveyard_CreateSkeleton" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (iSkeleton *)(arg1)->CreateSkeleton(arg2,(char const *)arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeleton, 0 |  0 );
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonGraveyard_CreateSkeleton__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonGraveyard *arg1 = (iSkeletonGraveyard *) 0 ;
  iSkeletonFactory *arg2 = (iSkeletonFactory *) 0 ;
  iSkeleton *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSkeletonGraveyard_CreateSkeleton",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonGraveyard, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSkeletonGraveyard_CreateSkeleton" "', argument " "1"" of type '" "iSkeletonGraveyard *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonGraveyard * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSkeletonFactory, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSkeletonGraveyard_CreateSkeleton" "', argument " "2"" of type '" "iSkeletonFactory *""'"); 
  }
  arg2 = reinterpret_cast< iSkeletonFactory * >(argp2);
  result = (iSkeleton *)(arg1)->CreateSkeleton(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeleton, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonGraveyard_CreateSkeleton(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSkeletonGraveyard, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSkeletonFactory, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSkeletonGraveyard_CreateSkeleton__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSkeletonGraveyard, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSkeletonFactory, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSkeletonGraveyard_CreateSkeleton__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSkeletonGraveyard_CreateSkeleton'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSkeletonGraveyard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSkeletonGraveyard *arg1 = (iSkeletonGraveyard *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSkeletonGraveyard",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSkeletonGraveyard, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSkeletonGraveyard" "', argument " "1"" of type '" "iSkeletonGraveyard *""'"); 
  }
  arg1 = reinterpret_cast< iSkeletonGraveyard * >(argp1);
  delete_iSkeletonGraveyard(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSkeletonGraveyard_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSkeletonGraveyard_scfGetVersion")) SWIG_fail;
  result = (int)iSkeletonGraveyard_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSkeletonGraveyard_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSkeletonGraveyard, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGenMeshSkeletonControlState_GetAnimatedVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshSkeletonControlState *arg1 = (iGenMeshSkeletonControlState *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshSkeletonControlState_GetAnimatedVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshSkeletonControlState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshSkeletonControlState_GetAnimatedVertices" "', argument " "1"" of type '" "iGenMeshSkeletonControlState *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshSkeletonControlState * >(argp1);
  result = (csVector3 *)(arg1)->GetAnimatedVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshSkeletonControlState_GetAnimatedVerticesCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshSkeletonControlState *arg1 = (iGenMeshSkeletonControlState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshSkeletonControlState_GetAnimatedVerticesCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshSkeletonControlState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshSkeletonControlState_GetAnimatedVerticesCount" "', argument " "1"" of type '" "iGenMeshSkeletonControlState *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshSkeletonControlState * >(argp1);
  result = (int)(arg1)->GetAnimatedVerticesCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshSkeletonControlState_GetAnimatedFaceNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshSkeletonControlState *arg1 = (iGenMeshSkeletonControlState *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshSkeletonControlState_GetAnimatedFaceNormals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshSkeletonControlState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshSkeletonControlState_GetAnimatedFaceNormals" "', argument " "1"" of type '" "iGenMeshSkeletonControlState *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshSkeletonControlState * >(argp1);
  result = (csVector3 *)(arg1)->GetAnimatedFaceNormals();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshSkeletonControlState_GetAnimatedFaceNormalsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshSkeletonControlState *arg1 = (iGenMeshSkeletonControlState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshSkeletonControlState_GetAnimatedFaceNormalsCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshSkeletonControlState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshSkeletonControlState_GetAnimatedFaceNormalsCount" "', argument " "1"" of type '" "iGenMeshSkeletonControlState *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshSkeletonControlState * >(argp1);
  result = (int)(arg1)->GetAnimatedFaceNormalsCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshSkeletonControlState_GetAnimatedVertNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshSkeletonControlState *arg1 = (iGenMeshSkeletonControlState *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshSkeletonControlState_GetAnimatedVertNormals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshSkeletonControlState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshSkeletonControlState_GetAnimatedVertNormals" "', argument " "1"" of type '" "iGenMeshSkeletonControlState *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshSkeletonControlState * >(argp1);
  result = (csVector3 *)(arg1)->GetAnimatedVertNormals();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshSkeletonControlState_GetAnimatedVertNormalsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshSkeletonControlState *arg1 = (iGenMeshSkeletonControlState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshSkeletonControlState_GetAnimatedVertNormalsCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshSkeletonControlState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshSkeletonControlState_GetAnimatedVertNormalsCount" "', argument " "1"" of type '" "iGenMeshSkeletonControlState *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshSkeletonControlState * >(argp1);
  result = (int)(arg1)->GetAnimatedVertNormalsCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshSkeletonControlState_GetSkeleton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshSkeletonControlState *arg1 = (iGenMeshSkeletonControlState *) 0 ;
  iSkeleton *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGenMeshSkeletonControlState_GetSkeleton",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshSkeletonControlState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGenMeshSkeletonControlState_GetSkeleton" "', argument " "1"" of type '" "iGenMeshSkeletonControlState *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshSkeletonControlState * >(argp1);
  result = (iSkeleton *)(arg1)->GetSkeleton();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSkeleton, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGenMeshSkeletonControlState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGenMeshSkeletonControlState *arg1 = (iGenMeshSkeletonControlState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGenMeshSkeletonControlState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGenMeshSkeletonControlState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGenMeshSkeletonControlState" "', argument " "1"" of type '" "iGenMeshSkeletonControlState *""'"); 
  }
  arg1 = reinterpret_cast< iGenMeshSkeletonControlState * >(argp1);
  delete_iGenMeshSkeletonControlState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGenMeshSkeletonControlState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iGenMeshSkeletonControlState_scfGetVersion")) SWIG_fail;
  result = (int)iGenMeshSkeletonControlState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iGenMeshSkeletonControlState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGenMeshSkeletonControlState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayReadOnly_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csSprite2DVertex > *arg1 = (iArrayReadOnly<csSprite2DVertex > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertexArrayReadOnly_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayReadOnly_GetSize" "', argument " "1"" of type '" "iArrayReadOnly<csSprite2DVertex > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csSprite2DVertex > * >(argp1);
  result = ((iArrayReadOnly<csSprite2DVertex > const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayReadOnly_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csSprite2DVertex > *arg1 = (iArrayReadOnly<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  csSprite2DVertex *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayReadOnly_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayReadOnly_Get" "', argument " "1"" of type '" "iArrayReadOnly<csSprite2DVertex > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayReadOnly_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csSprite2DVertex const &_result_ref = ((iArrayReadOnly<csSprite2DVertex > const *)arg1)->Get(arg2);
    result = (csSprite2DVertex *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayReadOnly_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csSprite2DVertex > *arg1 = (iArrayReadOnly<csSprite2DVertex > *) 0 ;
  csSprite2DVertex *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertexArrayReadOnly_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayReadOnly_Top" "', argument " "1"" of type '" "iArrayReadOnly<csSprite2DVertex > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csSprite2DVertex > * >(argp1);
  {
    csSprite2DVertex const &_result_ref = ((iArrayReadOnly<csSprite2DVertex > const *)arg1)->Top();
    result = (csSprite2DVertex *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayReadOnly_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csSprite2DVertex > *arg1 = (iArrayReadOnly<csSprite2DVertex > *) 0 ;
  csSprite2DVertex *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayReadOnly_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayReadOnly_Find" "', argument " "1"" of type '" "iArrayReadOnly<csSprite2DVertex > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csSprite2DVertex > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSprite2DVertex,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertexArrayReadOnly_Find" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSprite2DVertexArrayReadOnly_Find" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  arg2 = reinterpret_cast< csSprite2DVertex * >(argp2);
  result = ((iArrayReadOnly<csSprite2DVertex > const *)arg1)->Find((csSprite2DVertex const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayReadOnly_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csSprite2DVertex > *arg1 = (iArrayReadOnly<csSprite2DVertex > *) 0 ;
  csSprite2DVertex *arg2 = (csSprite2DVertex *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayReadOnly_GetIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayReadOnly_GetIndex" "', argument " "1"" of type '" "iArrayReadOnly<csSprite2DVertex > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csSprite2DVertex > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertexArrayReadOnly_GetIndex" "', argument " "2"" of type '" "csSprite2DVertex const *""'"); 
  }
  arg2 = reinterpret_cast< csSprite2DVertex * >(argp2);
  result = ((iArrayReadOnly<csSprite2DVertex > const *)arg1)->GetIndex((csSprite2DVertex const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayReadOnly_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csSprite2DVertex > *arg1 = (iArrayReadOnly<csSprite2DVertex > *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertexArrayReadOnly_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayReadOnly_IsEmpty" "', argument " "1"" of type '" "iArrayReadOnly<csSprite2DVertex > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csSprite2DVertex > * >(argp1);
  result = (bool)((iArrayReadOnly<csSprite2DVertex > const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayReadOnly_GetAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csSprite2DVertex > *arg1 = (iArrayReadOnly<csSprite2DVertex > *) 0 ;
  csSprite2DVertex *arg2 = (csSprite2DVertex *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayReadOnly_GetAll",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayReadOnly_GetAll" "', argument " "1"" of type '" "iArrayReadOnly<csSprite2DVertex > const *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csSprite2DVertex > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertexArrayReadOnly_GetAll" "', argument " "2"" of type '" "csSprite2DVertex *""'"); 
  }
  arg2 = reinterpret_cast< csSprite2DVertex * >(argp2);
  ((iArrayReadOnly<csSprite2DVertex > const *)arg1)->GetAll(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSprite2DVertexArrayReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayReadOnly<csSprite2DVertex > *arg1 = (iArrayReadOnly<csSprite2DVertex > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSprite2DVertexArrayReadOnly",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSprite2DVertexArrayReadOnly" "', argument " "1"" of type '" "iArrayReadOnly<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayReadOnly<csSprite2DVertex > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSprite2DVertexArrayReadOnly_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iArrayReadOnlyTcsSprite2DVertex_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeElements_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeElements<csSprite2DVertex > *arg1 = (iArrayChangeElements<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  csSprite2DVertex *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeElements_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeElementsTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeElements_Get" "', argument " "1"" of type '" "iArrayChangeElements<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeElements<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayChangeElements_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csSprite2DVertex &_result_ref = (arg1)->Get(arg2);
    result = (csSprite2DVertex *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeElements_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeElements<csSprite2DVertex > *arg1 = (iArrayChangeElements<csSprite2DVertex > *) 0 ;
  csSprite2DVertex *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertexArrayChangeElements_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeElementsTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeElements_Top" "', argument " "1"" of type '" "iArrayChangeElements<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeElements<csSprite2DVertex > * >(argp1);
  {
    csSprite2DVertex &_result_ref = (arg1)->Top();
    result = (csSprite2DVertex *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSprite2DVertexArrayChangeElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeElements<csSprite2DVertex > *arg1 = (iArrayChangeElements<csSprite2DVertex > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSprite2DVertexArrayChangeElements",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeElementsTcsSprite2DVertex_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSprite2DVertexArrayChangeElements" "', argument " "1"" of type '" "iArrayChangeElements<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeElements<csSprite2DVertex > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSprite2DVertexArrayChangeElements_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iArrayChangeElementsTcsSprite2DVertex_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_SetSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  csSprite2DVertex *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSprite2DVertexArrayChangeAll_SetSize",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_SetSize" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayChangeAll_SetSize" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSprite2DVertex,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csSprite2DVertexArrayChangeAll_SetSize" "', argument " "3"" of type '" "csSprite2DVertex const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSprite2DVertexArrayChangeAll_SetSize" "', argument " "3"" of type '" "csSprite2DVertex const &""'"); 
  }
  arg3 = reinterpret_cast< csSprite2DVertex * >(argp3);
  (arg1)->SetSize(arg2,(csSprite2DVertex const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_SetSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeAll_SetSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_SetSize" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayChangeAll_SetSize" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->SetSize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_SetSize(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csSprite2DVertexArrayChangeAll_SetSize__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csSprite2DVertex, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csSprite2DVertexArrayChangeAll_SetSize__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csSprite2DVertexArrayChangeAll_SetSize'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_GetExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  csSprite2DVertex *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeAll_GetExtend",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_GetExtend" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayChangeAll_GetExtend" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csSprite2DVertex &_result_ref = (arg1)->GetExtend(arg2);
    result = (csSprite2DVertex *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_Put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  csSprite2DVertex *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSprite2DVertexArrayChangeAll_Put",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_Put" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayChangeAll_Put" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSprite2DVertex,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csSprite2DVertexArrayChangeAll_Put" "', argument " "3"" of type '" "csSprite2DVertex const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSprite2DVertexArrayChangeAll_Put" "', argument " "3"" of type '" "csSprite2DVertex const &""'"); 
  }
  arg3 = reinterpret_cast< csSprite2DVertex * >(argp3);
  (arg1)->Put(arg2,(csSprite2DVertex const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_Push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  csSprite2DVertex *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeAll_Push",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_Push" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSprite2DVertex,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertexArrayChangeAll_Push" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSprite2DVertexArrayChangeAll_Push" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  arg2 = reinterpret_cast< csSprite2DVertex * >(argp2);
  result = (arg1)->Push((csSprite2DVertex const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_PushSmart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  csSprite2DVertex *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeAll_PushSmart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_PushSmart" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSprite2DVertex,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertexArrayChangeAll_PushSmart" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSprite2DVertexArrayChangeAll_PushSmart" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  arg2 = reinterpret_cast< csSprite2DVertex * >(argp2);
  result = (arg1)->PushSmart((csSprite2DVertex const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_Pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  csSprite2DVertex result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertexArrayChangeAll_Pop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_Pop" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  result = (arg1)->Pop();
  resultobj = SWIG_NewPointerObj((new csSprite2DVertex(static_cast< const csSprite2DVertex& >(result))), SWIGTYPE_p_csSprite2DVertex, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  csSprite2DVertex *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csSprite2DVertexArrayChangeAll_Insert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_Insert" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayChangeAll_Insert" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSprite2DVertex,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csSprite2DVertexArrayChangeAll_Insert" "', argument " "3"" of type '" "csSprite2DVertex const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSprite2DVertexArrayChangeAll_Insert" "', argument " "3"" of type '" "csSprite2DVertex const &""'"); 
  }
  arg3 = reinterpret_cast< csSprite2DVertex * >(argp3);
  result = (bool)(arg1)->Insert(arg2,(csSprite2DVertex const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_DeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertexArrayChangeAll_DeleteAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_DeleteAll" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  (arg1)->DeleteAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_Truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeAll_Truncate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_Truncate" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayChangeAll_Truncate" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->Truncate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertexArrayChangeAll_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_Empty" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  (arg1)->Empty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_DeleteIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeAll_DeleteIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_DeleteIndex" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayChangeAll_DeleteIndex" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndex(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_DeleteIndexFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeAll_DeleteIndexFast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_DeleteIndexFast" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertexArrayChangeAll_DeleteIndexFast" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndexFast(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  csSprite2DVertex *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeAll_Delete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_Delete" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSprite2DVertex,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertexArrayChangeAll_Delete" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSprite2DVertexArrayChangeAll_Delete" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  arg2 = reinterpret_cast< csSprite2DVertex * >(argp2);
  result = (bool)(arg1)->Delete((csSprite2DVertex const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertexArrayChangeAll_DeleteFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  csSprite2DVertex *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertexArrayChangeAll_DeleteFast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertexArrayChangeAll_DeleteFast" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSprite2DVertex,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertexArrayChangeAll_DeleteFast" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSprite2DVertexArrayChangeAll_DeleteFast" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  arg2 = reinterpret_cast< csSprite2DVertex * >(argp2);
  result = (bool)(arg1)->DeleteFast((csSprite2DVertex const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSprite2DVertexArrayChangeAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iArrayChangeAll<csSprite2DVertex > *arg1 = (iArrayChangeAll<csSprite2DVertex > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSprite2DVertexArrayChangeAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSprite2DVertexArrayChangeAll" "', argument " "1"" of type '" "iArrayChangeAll<csSprite2DVertex > *""'"); 
  }
  arg1 = reinterpret_cast< iArrayChangeAll<csSprite2DVertex > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSprite2DVertexArrayChangeAll_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iArrayChangeAllTcsSprite2DVertex_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csSprite2DVertex_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertex_pos_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_pos_set" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertex_pos_set" "', argument " "2"" of type '" "csVector2 *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  if (arg1) (arg1)->pos = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertex_pos_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_pos_get" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  result = (csVector2 *)& ((arg1)->pos);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex_color_init_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  csColor *arg2 = (csColor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertex_color_init_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_color_init_set" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertex_color_init_set" "', argument " "2"" of type '" "csColor *""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  if (arg1) (arg1)->color_init = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex_color_init_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertex_color_init_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_color_init_get" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  result = (csColor *)& ((arg1)->color_init);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  csColor *arg2 = (csColor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertex_color_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_color_set" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csColor, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertex_color_set" "', argument " "2"" of type '" "csColor *""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  if (arg1) (arg1)->color = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  csColor *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertex_color_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_color_get" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  result = (csColor *)& ((arg1)->color);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex_u_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertex_u_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_u_set" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertex_u_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->u = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex_u_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertex_u_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_u_get" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  result = (float) ((arg1)->u);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex_v_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertex_v_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_v_set" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSprite2DVertex_v_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->v = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex_v_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSprite2DVertex_v_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex_v_get" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  result = (float) ((arg1)->v);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSprite2DVertex___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  csSprite2DVertex *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSprite2DVertex___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSprite2DVertex___eq__" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSprite2DVertex,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSprite2DVertex___eq__" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSprite2DVertex___eq__" "', argument " "2"" of type '" "csSprite2DVertex const &""'"); 
  }
  arg2 = reinterpret_cast< csSprite2DVertex * >(argp2);
  result = (bool)(arg1)->operator ==((csSprite2DVertex const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSprite2DVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csSprite2DVertex")) SWIG_fail;
  result = (csSprite2DVertex *)new csSprite2DVertex();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSprite2DVertex, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSprite2DVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSprite2DVertex *arg1 = (csSprite2DVertex *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSprite2DVertex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSprite2DVertex, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSprite2DVertex" "', argument " "1"" of type '" "csSprite2DVertex *""'"); 
  }
  arg1 = reinterpret_cast< csSprite2DVertex * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSprite2DVertex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSprite2DVertex, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_iColoredVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iColoredVertices *arg1 = (iColoredVertices *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iColoredVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iColoredVertices, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iColoredVertices" "', argument " "1"" of type '" "iColoredVertices *""'"); 
  }
  arg1 = reinterpret_cast< iColoredVertices * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iColoredVertices_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iColoredVertices, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DUVAnimationFrame_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_SetName" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite2DUVAnimationFrame_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DUVAnimationFrame_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_GetName" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  result = (char *)((iSprite2DUVAnimationFrame const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_GetUVCoo__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  int arg2 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DUVAnimationFrame_GetUVCoo",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_GetUVCoo" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DUVAnimationFrame_GetUVCoo" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    csVector2 &_result_ref = (arg1)->GetUVCoo(arg2);
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_GetUVCoo__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DUVAnimationFrame_GetUVCoo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_GetUVCoo" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  result = (csVector2 *)(arg1)->GetUVCoo();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_GetUVCoo(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite2DUVAnimationFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iSprite2DUVAnimationFrame_GetUVCoo__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite2DUVAnimationFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSprite2DUVAnimationFrame_GetUVCoo__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSprite2DUVAnimationFrame_GetUVCoo'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_GetUVCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DUVAnimationFrame_GetUVCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_GetUVCount" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  result = (int)(arg1)->GetUVCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_SetUV(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  int arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite2DUVAnimationFrame_SetUV",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_SetUV" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DUVAnimationFrame_SetUV" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite2DUVAnimationFrame_SetUV" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSprite2DUVAnimationFrame_SetUV" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->SetUV(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_SetFrameData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int arg4 ;
  float *arg5 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSprite2DUVAnimationFrame_SetFrameData",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_SetFrameData" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite2DUVAnimationFrame_SetFrameData" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite2DUVAnimationFrame_SetFrameData" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSprite2DUVAnimationFrame_SetFrameData" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSprite2DUVAnimationFrame_SetFrameData" "', argument " "5"" of type '" "float *""'"); 
  }
  arg5 = reinterpret_cast< float * >(argp5);
  (arg1)->SetFrameData((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_RemoveUV(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DUVAnimationFrame_RemoveUV",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_RemoveUV" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DUVAnimationFrame_RemoveUV" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->RemoveUV(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_GetDuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DUVAnimationFrame_GetDuration",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_GetDuration" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  result = (int)(arg1)->GetDuration();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimationFrame_SetDuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DUVAnimationFrame_SetDuration",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimationFrame_SetDuration" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DUVAnimationFrame_SetDuration" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetDuration(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSprite2DUVAnimationFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimationFrame *arg1 = (iSprite2DUVAnimationFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSprite2DUVAnimationFrame",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimationFrame, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSprite2DUVAnimationFrame" "', argument " "1"" of type '" "iSprite2DUVAnimationFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimationFrame * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSprite2DUVAnimationFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSprite2DUVAnimationFrame, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSprite2DUVAnimation_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimation *arg1 = (iSprite2DUVAnimation *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DUVAnimation_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimation_SetName" "', argument " "1"" of type '" "iSprite2DUVAnimation *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimation * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite2DUVAnimation_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimation_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimation *arg1 = (iSprite2DUVAnimation *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DUVAnimation_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimation_GetName" "', argument " "1"" of type '" "iSprite2DUVAnimation const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimation * >(argp1);
  result = (char *)((iSprite2DUVAnimation const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimation_GetFrameCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimation *arg1 = (iSprite2DUVAnimation *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DUVAnimation_GetFrameCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimation_GetFrameCount" "', argument " "1"" of type '" "iSprite2DUVAnimation *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimation * >(argp1);
  result = (int)(arg1)->GetFrameCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimation_GetFrame__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimation *arg1 = (iSprite2DUVAnimation *) 0 ;
  int arg2 ;
  iSprite2DUVAnimationFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DUVAnimation_GetFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimation_GetFrame" "', argument " "1"" of type '" "iSprite2DUVAnimation *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimation * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DUVAnimation_GetFrame" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSprite2DUVAnimationFrame *)(arg1)->GetFrame(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimation_GetFrame__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimation *arg1 = (iSprite2DUVAnimation *) 0 ;
  char *arg2 = (char *) 0 ;
  iSprite2DUVAnimationFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DUVAnimation_GetFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimation_GetFrame" "', argument " "1"" of type '" "iSprite2DUVAnimation *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimation * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite2DUVAnimation_GetFrame" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSprite2DUVAnimationFrame *)(arg1)->GetFrame((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimation_GetFrame(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite2DUVAnimation, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSprite2DUVAnimation_GetFrame__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite2DUVAnimation, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSprite2DUVAnimation_GetFrame__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSprite2DUVAnimation_GetFrame'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimation_CreateFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimation *arg1 = (iSprite2DUVAnimation *) 0 ;
  int arg2 ;
  iSprite2DUVAnimationFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DUVAnimation_CreateFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimation_CreateFrame" "', argument " "1"" of type '" "iSprite2DUVAnimation *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimation * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DUVAnimation_CreateFrame" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSprite2DUVAnimationFrame *)(arg1)->CreateFrame(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSprite2DUVAnimationFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimation_MoveFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimation *arg1 = (iSprite2DUVAnimation *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite2DUVAnimation_MoveFrame",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimation_MoveFrame" "', argument " "1"" of type '" "iSprite2DUVAnimation *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimation * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DUVAnimation_MoveFrame" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite2DUVAnimation_MoveFrame" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->MoveFrame(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DUVAnimation_RemoveFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimation *arg1 = (iSprite2DUVAnimation *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DUVAnimation_RemoveFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DUVAnimation_RemoveFrame" "', argument " "1"" of type '" "iSprite2DUVAnimation *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimation * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DUVAnimation_RemoveFrame" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->RemoveFrame(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSprite2DUVAnimation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DUVAnimation *arg1 = (iSprite2DUVAnimation *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSprite2DUVAnimation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DUVAnimation, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSprite2DUVAnimation" "', argument " "1"" of type '" "iSprite2DUVAnimation *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DUVAnimation * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSprite2DUVAnimation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSprite2DUVAnimation, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSprite2DFactoryState_SetLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DFactoryState *arg1 = (iSprite2DFactoryState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DFactoryState_SetLighting",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DFactoryState_SetLighting" "', argument " "1"" of type '" "iSprite2DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DFactoryState_SetLighting" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetLighting(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DFactoryState_HasLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DFactoryState *arg1 = (iSprite2DFactoryState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DFactoryState_HasLighting",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DFactoryState_HasLighting" "', argument " "1"" of type '" "iSprite2DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DFactoryState * >(argp1);
  result = (bool)((iSprite2DFactoryState const *)arg1)->HasLighting();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DFactoryState_GetUVAnimationCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DFactoryState *arg1 = (iSprite2DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DFactoryState_GetUVAnimationCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DFactoryState_GetUVAnimationCount" "', argument " "1"" of type '" "iSprite2DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DFactoryState * >(argp1);
  result = (int)((iSprite2DFactoryState const *)arg1)->GetUVAnimationCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DFactoryState_CreateUVAnimation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DFactoryState *arg1 = (iSprite2DFactoryState *) 0 ;
  iSprite2DUVAnimation *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DFactoryState_CreateUVAnimation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DFactoryState_CreateUVAnimation" "', argument " "1"" of type '" "iSprite2DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DFactoryState * >(argp1);
  result = (iSprite2DUVAnimation *)(arg1)->CreateUVAnimation();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DFactoryState_RemoveUVAnimation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DFactoryState *arg1 = (iSprite2DFactoryState *) 0 ;
  iSprite2DUVAnimation *arg2 = (iSprite2DUVAnimation *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DFactoryState_RemoveUVAnimation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DFactoryState_RemoveUVAnimation" "', argument " "1"" of type '" "iSprite2DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite2DFactoryState_RemoveUVAnimation" "', argument " "2"" of type '" "iSprite2DUVAnimation *""'"); 
  }
  arg2 = reinterpret_cast< iSprite2DUVAnimation * >(argp2);
  (arg1)->RemoveUVAnimation(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DFactoryState_GetUVAnimation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DFactoryState *arg1 = (iSprite2DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  iSprite2DUVAnimation *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DFactoryState_GetUVAnimation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DFactoryState_GetUVAnimation" "', argument " "1"" of type '" "iSprite2DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite2DFactoryState_GetUVAnimation" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSprite2DUVAnimation *)((iSprite2DFactoryState const *)arg1)->GetUVAnimation((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DFactoryState_GetUVAnimation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DFactoryState *arg1 = (iSprite2DFactoryState *) 0 ;
  int arg2 ;
  iSprite2DUVAnimation *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DFactoryState_GetUVAnimation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DFactoryState_GetUVAnimation" "', argument " "1"" of type '" "iSprite2DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DFactoryState_GetUVAnimation" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSprite2DUVAnimation *)((iSprite2DFactoryState const *)arg1)->GetUVAnimation(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DFactoryState_GetUVAnimation(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite2DFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSprite2DFactoryState_GetUVAnimation__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite2DFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSprite2DFactoryState_GetUVAnimation__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSprite2DFactoryState_GetUVAnimation'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSprite2DFactoryState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DFactoryState *arg1 = (iSprite2DFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSprite2DFactoryState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DFactoryState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSprite2DFactoryState" "', argument " "1"" of type '" "iSprite2DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DFactoryState * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSprite2DFactoryState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSprite2DFactoryState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSprite2DState_CreateRegularVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  int arg2 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite2DState_CreateRegularVertices",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DState_CreateRegularVertices" "', argument " "1"" of type '" "iSprite2DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DState_CreateRegularVertices" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite2DState_CreateRegularVertices" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->CreateRegularVertices(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_SetUVAnimation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite2DState_SetUVAnimation",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DState_SetUVAnimation" "', argument " "1"" of type '" "iSprite2DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite2DState_SetUVAnimation" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite2DState_SetUVAnimation" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSprite2DState_SetUVAnimation" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->SetUVAnimation((char const *)arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_GetUVAnimation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  char *arg2 = (char *) 0 ;
  iSprite2DUVAnimation *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DState_GetUVAnimation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DState_GetUVAnimation" "', argument " "1"" of type '" "iSprite2DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite2DState_GetUVAnimation" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSprite2DUVAnimation *)((iSprite2DState const *)arg1)->GetUVAnimation((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_GetUVAnimation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  int arg2 ;
  iSprite2DUVAnimation *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DState_GetUVAnimation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DState_GetUVAnimation" "', argument " "1"" of type '" "iSprite2DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DState_GetUVAnimation" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSprite2DUVAnimation *)((iSprite2DState const *)arg1)->GetUVAnimation(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_GetUVAnimation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  int arg2 ;
  int *arg3 = 0 ;
  bool *arg4 = 0 ;
  iSprite2DUVAnimation *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite2DState_GetUVAnimation",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DState_GetUVAnimation" "', argument " "1"" of type '" "iSprite2DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DState_GetUVAnimation" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSprite2DState_GetUVAnimation" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSprite2DState_GetUVAnimation" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSprite2DState_GetUVAnimation" "', argument " "4"" of type '" "bool &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSprite2DState_GetUVAnimation" "', argument " "4"" of type '" "bool &""'"); 
  }
  arg4 = reinterpret_cast< bool * >(argp4);
  result = (iSprite2DUVAnimation *)((iSprite2DState const *)arg1)->GetUVAnimation(arg2,*arg3,*arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSprite2DUVAnimation, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_GetUVAnimation(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite2DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSprite2DState_GetUVAnimation__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite2DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSprite2DState_GetUVAnimation__SWIG_0(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite2DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_bool, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSprite2DState_GetUVAnimation__SWIG_2(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSprite2DState_GetUVAnimation'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_StopUVAnimation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DState_StopUVAnimation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DState_StopUVAnimation" "', argument " "1"" of type '" "iSprite2DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DState_StopUVAnimation" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->StopUVAnimation(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_PlayUVAnimation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  int arg2 ;
  int arg3 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite2DState_PlayUVAnimation",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DState_PlayUVAnimation" "', argument " "1"" of type '" "iSprite2DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DState_PlayUVAnimation" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite2DState_PlayUVAnimation" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSprite2DState_PlayUVAnimation" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->PlayUVAnimation(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSprite2DState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSprite2DState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSprite2DState" "', argument " "1"" of type '" "iSprite2DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  delete_iSprite2DState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSprite2DState_scfGetVersion")) SWIG_fail;
  result = (int)iSprite2DState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_GetVertexByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  int arg2 ;
  csSprite2DVertex *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite2DState_GetVertexByIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DState_GetVertexByIndex" "', argument " "1"" of type '" "iSprite2DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite2DState_GetVertexByIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csSprite2DVertex *)iSprite2DState_GetVertexByIndex(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSprite2DVertex, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite2DState_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite2DState *arg1 = (iSprite2DState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite2DState_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite2DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite2DState_GetVertexCount" "', argument " "1"" of type '" "iSprite2DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite2DState * >(argp1);
  result = (int)iSprite2DState_GetVertexCount(arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSprite2DState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSprite2DState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSpriteFrame_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteFrame *arg1 = (iSpriteFrame *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteFrame_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteFrame_SetName" "', argument " "1"" of type '" "iSpriteFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteFrame * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteFrame_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteFrame_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteFrame *arg1 = (iSpriteFrame *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteFrame_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteFrame_GetName" "', argument " "1"" of type '" "iSpriteFrame const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteFrame * >(argp1);
  result = (char *)((iSpriteFrame const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteFrame_GetAnmIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteFrame *arg1 = (iSpriteFrame *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteFrame_GetAnmIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteFrame_GetAnmIndex" "', argument " "1"" of type '" "iSpriteFrame const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteFrame * >(argp1);
  result = (int)((iSpriteFrame const *)arg1)->GetAnmIndex();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteFrame_GetTexIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteFrame *arg1 = (iSpriteFrame *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteFrame_GetTexIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteFrame_GetTexIndex" "', argument " "1"" of type '" "iSpriteFrame const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteFrame * >(argp1);
  result = (int)((iSpriteFrame const *)arg1)->GetTexIndex();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSpriteFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteFrame *arg1 = (iSpriteFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSpriteFrame",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteFrame, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSpriteFrame" "', argument " "1"" of type '" "iSpriteFrame *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteFrame * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSpriteFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSpriteFrame, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSpriteAction_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteAction *arg1 = (iSpriteAction *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteAction_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteAction, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteAction_SetName" "', argument " "1"" of type '" "iSpriteAction *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteAction * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteAction_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteAction_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteAction *arg1 = (iSpriteAction *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteAction_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteAction, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteAction_GetName" "', argument " "1"" of type '" "iSpriteAction const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteAction * >(argp1);
  result = (char *)((iSpriteAction const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteAction_GetFrameCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteAction *arg1 = (iSpriteAction *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteAction_GetFrameCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteAction, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteAction_GetFrameCount" "', argument " "1"" of type '" "iSpriteAction *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteAction * >(argp1);
  result = (int)(arg1)->GetFrameCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteAction_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteAction *arg1 = (iSpriteAction *) 0 ;
  int arg2 ;
  iSpriteFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteAction_GetFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteAction, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteAction_GetFrame" "', argument " "1"" of type '" "iSpriteAction *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteAction * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteAction_GetFrame" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSpriteFrame *)(arg1)->GetFrame(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteAction_GetNextFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteAction *arg1 = (iSpriteAction *) 0 ;
  int arg2 ;
  iSpriteFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteAction_GetNextFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteAction, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteAction_GetNextFrame" "', argument " "1"" of type '" "iSpriteAction *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteAction * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteAction_GetNextFrame" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSpriteFrame *)(arg1)->GetNextFrame(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteAction_GetFrameDelay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteAction *arg1 = (iSpriteAction *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteAction_GetFrameDelay",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteAction, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteAction_GetFrameDelay" "', argument " "1"" of type '" "iSpriteAction *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteAction * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteAction_GetFrameDelay" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (int)(arg1)->GetFrameDelay(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteAction_GetFrameDisplacement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteAction *arg1 = (iSpriteAction *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteAction_GetFrameDisplacement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteAction, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteAction_GetFrameDisplacement" "', argument " "1"" of type '" "iSpriteAction *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteAction * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteAction_GetFrameDisplacement" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetFrameDisplacement(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteAction_AddFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteAction *arg1 = (iSpriteAction *) 0 ;
  iSpriteFrame *arg2 = (iSpriteFrame *) 0 ;
  int arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSpriteAction_AddFrame",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteAction, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteAction_AddFrame" "', argument " "1"" of type '" "iSpriteAction *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteAction * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteAction_AddFrame" "', argument " "2"" of type '" "iSpriteFrame *""'"); 
  }
  arg2 = reinterpret_cast< iSpriteFrame * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteAction_AddFrame" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSpriteAction_AddFrame" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->AddFrame(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSpriteAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteAction *arg1 = (iSpriteAction *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSpriteAction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteAction, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSpriteAction" "', argument " "1"" of type '" "iSpriteAction *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteAction * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSpriteAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSpriteAction, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSpriteSocket_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteSocket *arg1 = (iSpriteSocket *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteSocket_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteSocket_SetName" "', argument " "1"" of type '" "iSpriteSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteSocket * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteSocket_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteSocket_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteSocket *arg1 = (iSpriteSocket *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteSocket_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteSocket_GetName" "', argument " "1"" of type '" "iSpriteSocket const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteSocket * >(argp1);
  result = (char *)((iSpriteSocket const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteSocket_SetMeshWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteSocket *arg1 = (iSpriteSocket *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteSocket_SetMeshWrapper",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteSocket_SetMeshWrapper" "', argument " "1"" of type '" "iSpriteSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteSocket * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteSocket_SetMeshWrapper" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->SetMeshWrapper(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteSocket_GetMeshWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteSocket *arg1 = (iSpriteSocket *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteSocket_GetMeshWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteSocket_GetMeshWrapper" "', argument " "1"" of type '" "iSpriteSocket const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteSocket * >(argp1);
  result = (iMeshWrapper *)((iSpriteSocket const *)arg1)->GetMeshWrapper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteSocket_SetTriangleIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteSocket *arg1 = (iSpriteSocket *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteSocket_SetTriangleIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteSocket_SetTriangleIndex" "', argument " "1"" of type '" "iSpriteSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteSocket * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteSocket_SetTriangleIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetTriangleIndex(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteSocket_GetTriangleIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteSocket *arg1 = (iSpriteSocket *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteSocket_GetTriangleIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteSocket_GetTriangleIndex" "', argument " "1"" of type '" "iSpriteSocket const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteSocket * >(argp1);
  result = (int)((iSpriteSocket const *)arg1)->GetTriangleIndex();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSpriteSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteSocket *arg1 = (iSpriteSocket *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSpriteSocket",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteSocket, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSpriteSocket" "', argument " "1"" of type '" "iSpriteSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteSocket * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSpriteSocket_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSpriteSocket, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_AddVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_AddVertices",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_AddVertices" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_AddVertices" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->AddVertices(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetVertexCount" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (int)((iSprite3DFactoryState const *)arg1)->GetVertexCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DFactoryState_GetVertex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetVertex" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetVertex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_GetVertex" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    csVector3 const &_result_ref = ((iSprite3DFactoryState const *)arg1)->GetVertex(arg2,arg3);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  csVector3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite3DFactoryState_SetVertex",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetVertex" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_SetVertex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_SetVertex" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSprite3DFactoryState_SetVertex" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSprite3DFactoryState_SetVertex" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  (arg1)->SetVertex(arg2,arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_GetVertices",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetVertices" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetVertices" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csVector3 *)((iSprite3DFactoryState const *)arg1)->GetVertices(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DFactoryState_SetVertices",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetVertices" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DFactoryState_SetVertices" "', argument " "2"" of type '" "csVector3 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_SetVertices" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetVertices((csVector3 const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetTexel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DFactoryState_GetTexel",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetTexel" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetTexel" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_GetTexel" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    csVector2 const &_result_ref = ((iSprite3DFactoryState const *)arg1)->GetTexel(arg2,arg3);
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetTexel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  csVector2 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite3DFactoryState_SetTexel",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetTexel" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_SetTexel" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_SetTexel" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSprite3DFactoryState_SetTexel" "', argument " "4"" of type '" "csVector2 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSprite3DFactoryState_SetTexel" "', argument " "4"" of type '" "csVector2 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector2 * >(argp4);
  (arg1)->SetTexel(arg2,arg3,(csVector2 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetTexels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_GetTexels",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetTexels" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetTexels" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csVector2 *)((iSprite3DFactoryState const *)arg1)->GetTexels(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetTexels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DFactoryState_SetTexels",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetTexels" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DFactoryState_SetTexels" "', argument " "2"" of type '" "csVector2 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_SetTexels" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetTexels((csVector2 const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DFactoryState_GetNormal",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetNormal" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetNormal" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_GetNormal" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    csVector3 const &_result_ref = ((iSprite3DFactoryState const *)arg1)->GetNormal(arg2,arg3);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  csVector3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite3DFactoryState_SetNormal",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetNormal" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_SetNormal" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_SetNormal" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSprite3DFactoryState_SetNormal" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSprite3DFactoryState_SetNormal" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  (arg1)->SetNormal(arg2,arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_GetNormals",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetNormals" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetNormals" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csVector3 *)((iSprite3DFactoryState const *)arg1)->GetNormals(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DFactoryState_SetNormals",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetNormals" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DFactoryState_SetNormals" "', argument " "2"" of type '" "csVector3 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_SetNormals" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetNormals((csVector3 const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_AddTriangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite3DFactoryState_AddTriangle",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_AddTriangle" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_AddTriangle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_AddTriangle" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSprite3DFactoryState_AddTriangle" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->AddTriangle(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetTriangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  csTriangle result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_GetTriangle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetTriangle" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetTriangle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = ((iSprite3DFactoryState const *)arg1)->GetTriangle(arg2);
  resultobj = SWIG_NewPointerObj((new csTriangle(static_cast< const csTriangle& >(result))), SWIGTYPE_p_csTriangle, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  csTriangle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetTriangles",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetTriangles" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (csTriangle *)((iSprite3DFactoryState const *)arg1)->GetTriangles();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTriangle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetTriangleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetTriangleCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetTriangleCount" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (int)((iSprite3DFactoryState const *)arg1)->GetTriangleCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetTriangleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_SetTriangleCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetTriangleCount" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_SetTriangleCount" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetTriangleCount(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  csTriangle *arg2 = (csTriangle *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DFactoryState_SetTriangles",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetTriangles" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csTriangle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DFactoryState_SetTriangles" "', argument " "2"" of type '" "csTriangle const *""'"); 
  }
  arg2 = reinterpret_cast< csTriangle * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_SetTriangles" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetTriangles((csTriangle const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_AddFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  iSpriteFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_AddFrame",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_AddFrame" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (iSpriteFrame *)(arg1)->AddFrame();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_FindFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  iSpriteFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_FindFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_FindFrame" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DFactoryState_FindFrame" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSpriteFrame *)((iSprite3DFactoryState const *)arg1)->FindFrame((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetFrameCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetFrameCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetFrameCount" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (int)((iSprite3DFactoryState const *)arg1)->GetFrameCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  iSpriteFrame *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_GetFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetFrame" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetFrame" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSpriteFrame *)((iSprite3DFactoryState const *)arg1)->GetFrame(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteFrame, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_AddAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  iSpriteAction *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_AddAction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_AddAction" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (iSpriteAction *)(arg1)->AddAction();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteAction, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_FindAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  iSpriteAction *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_FindAction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_FindAction" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DFactoryState_FindAction" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSpriteAction *)((iSprite3DFactoryState const *)arg1)->FindAction((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteAction, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetFirstAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  iSpriteAction *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetFirstAction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetFirstAction" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (iSpriteAction *)((iSprite3DFactoryState const *)arg1)->GetFirstAction();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteAction, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetActionCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetActionCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetActionCount" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (int)((iSprite3DFactoryState const *)arg1)->GetActionCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  iSpriteAction *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_GetAction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetAction" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetAction" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSpriteAction *)((iSprite3DFactoryState const *)arg1)->GetAction(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteAction, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_AddSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  iSpriteSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_AddSocket",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_AddSocket" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (iSpriteSocket *)(arg1)->AddSocket();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_FindSocket__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  iSpriteSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_FindSocket" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DFactoryState_FindSocket" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSpriteSocket *)((iSprite3DFactoryState const *)arg1)->FindSocket((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_FindSocket__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  iSpriteSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_FindSocket" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DFactoryState_FindSocket" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (iSpriteSocket *)((iSprite3DFactoryState const *)arg1)->FindSocket(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_FindSocket(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSprite3DFactoryState_FindSocket__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSprite3DFactoryState_FindSocket__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSprite3DFactoryState_FindSocket'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetSocketCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetSocketCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetSocketCount" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (int)((iSprite3DFactoryState const *)arg1)->GetSocketCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  iSpriteSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_GetSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetSocket" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_GetSocket" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSpriteSocket *)((iSprite3DFactoryState const *)arg1)->GetSocket(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_EnableTweening(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_EnableTweening",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_EnableTweening" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_EnableTweening" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableTweening(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_IsTweeningEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_IsTweeningEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_IsTweeningEnabled" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (bool)((iSprite3DFactoryState const *)arg1)->IsTweeningEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetLightingQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_SetLightingQuality",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetLightingQuality" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_SetLightingQuality" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLightingQuality(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetLightingQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetLightingQuality",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetLightingQuality" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (int)((iSprite3DFactoryState const *)arg1)->GetLightingQuality();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetLightingQualityConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_SetLightingQualityConfig",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetLightingQualityConfig" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_SetLightingQualityConfig" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLightingQualityConfig(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetLightingQualityConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetLightingQualityConfig",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetLightingQualityConfig" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (int)((iSprite3DFactoryState const *)arg1)->GetLightingQualityConfig();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_SetLodLevelConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_SetLodLevelConfig",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_SetLodLevelConfig" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_SetLodLevelConfig" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLodLevelConfig(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_GetLodLevelConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_GetLodLevelConfig",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_GetLodLevelConfig" "', argument " "1"" of type '" "iSprite3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  result = (int)((iSprite3DFactoryState const *)arg1)->GetLodLevelConfig();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_MergeNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DFactoryState_MergeNormals",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_MergeNormals" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_MergeNormals" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DFactoryState_MergeNormals" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->MergeNormals(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_MergeNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DFactoryState_MergeNormals",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_MergeNormals" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DFactoryState_MergeNormals" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->MergeNormals(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_MergeNormals__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DFactoryState_MergeNormals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DFactoryState_MergeNormals" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  (arg1)->MergeNormals();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DFactoryState_MergeNormals(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iSprite3DFactoryState_MergeNormals__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSprite3DFactoryState_MergeNormals__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSprite3DFactoryState_MergeNormals__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSprite3DFactoryState_MergeNormals'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSprite3DFactoryState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DFactoryState *arg1 = (iSprite3DFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSprite3DFactoryState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DFactoryState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSprite3DFactoryState" "', argument " "1"" of type '" "iSprite3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DFactoryState * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSprite3DFactoryState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSprite3DFactoryState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSprite3DState_SetMixMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetMixMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetMixMode" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetMixMode" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  (arg1)->SetMixMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_GetMixMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_GetMixMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_GetMixMode" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (uint)((iSprite3DState const *)arg1)->GetMixMode();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetLighting",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetLighting" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetLighting" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetLighting(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_IsLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_IsLighting",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_IsLighting" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (bool)((iSprite3DState const *)arg1)->IsLighting();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetFrame",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetFrame" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetFrame" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetFrame(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_GetCurFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_GetCurFrame",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_GetCurFrame" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (int)((iSprite3DState const *)arg1)->GetCurFrame();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_GetFrameCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_GetFrameCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_GetFrameCount" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (int)((iSprite3DState const *)arg1)->GetFrameCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite3DState_SetAction",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DState_SetAction" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DState_SetAction" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSprite3DState_SetAction" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->SetAction((char const *)arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DState_SetAction",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DState_SetAction" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DState_SetAction" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->SetAction((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetAction__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetAction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DState_SetAction" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->SetAction((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetAction__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int arg2 ;
  bool arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSprite3DState_SetAction",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetAction" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DState_SetAction" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSprite3DState_SetAction" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->SetAction(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetAction__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int arg2 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DState_SetAction",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetAction" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DState_SetAction" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->SetAction(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetAction__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetAction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetAction" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->SetAction(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetAction(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSprite3DState_SetAction__SWIG_5(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSprite3DState_SetAction__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSprite3DState_SetAction__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSprite3DState_SetAction__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSprite3DState_SetAction__SWIG_3(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSprite3DState_SetAction__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSprite3DState_SetAction'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetReverseAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetReverseAction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetReverseAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetReverseAction" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetReverseAction(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetSingleStepAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetSingleStepAction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetSingleStepAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetSingleStepAction" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetSingleStepAction(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetOverrideAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DState_SetOverrideAction",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->SetOverrideAction((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetOverrideAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetOverrideAction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->SetOverrideAction((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetOverrideAction__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int arg2 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSprite3DState_SetOverrideAction",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->SetOverrideAction(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetOverrideAction__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetOverrideAction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetOverrideAction" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->SetOverrideAction(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetOverrideAction(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSprite3DState_SetOverrideAction__SWIG_3(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSprite3DState_SetOverrideAction__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSprite3DState_SetOverrideAction__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSprite3DState_SetOverrideAction__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSprite3DState_SetOverrideAction'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_PropagateAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_PropagateAction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_PropagateAction" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DState_PropagateAction" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->PropagateAction((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_GetCurAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  iSpriteAction *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_GetCurAction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_GetCurAction" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (iSpriteAction *)((iSprite3DState const *)arg1)->GetCurAction();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteAction, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_GetReverseAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_GetReverseAction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_GetReverseAction" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (bool)((iSprite3DState const *)arg1)->GetReverseAction();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_EnableTweening(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_EnableTweening",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_EnableTweening" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_EnableTweening" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableTweening(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_IsTweeningEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_IsTweeningEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_IsTweeningEnabled" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (bool)((iSprite3DState const *)arg1)->IsTweeningEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_UnsetTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_UnsetTexture",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_UnsetTexture" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  (arg1)->UnsetTexture();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_GetLightingQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_GetLightingQuality",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_GetLightingQuality" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (int)(arg1)->GetLightingQuality();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetLocalLightingQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetLocalLightingQuality",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetLocalLightingQuality" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetLocalLightingQuality" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLocalLightingQuality(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetLightingQualityConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetLightingQualityConfig",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetLightingQualityConfig" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetLightingQualityConfig" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLightingQualityConfig(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_GetLightingQualityConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_GetLightingQualityConfig",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_GetLightingQualityConfig" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (int)((iSprite3DState const *)arg1)->GetLightingQualityConfig();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_SetLodLevelConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_SetLodLevelConfig",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_SetLodLevelConfig" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSprite3DState_SetLodLevelConfig" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLodLevelConfig(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_GetLodLevelConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_GetLodLevelConfig",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_GetLodLevelConfig" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (int)((iSprite3DState const *)arg1)->GetLodLevelConfig();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_IsLodEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSprite3DState_IsLodEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_IsLodEnabled" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  result = (bool)((iSprite3DState const *)arg1)->IsLodEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_FindSocket__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  iSpriteSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_FindSocket" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DState_FindSocket" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (iSpriteSocket *)((iSprite3DState const *)arg1)->FindSocket(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_FindSocket__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  iSpriteSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSprite3DState_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSprite3DState_FindSocket" "', argument " "1"" of type '" "iSprite3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSprite3DState_FindSocket" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSpriteSocket *)((iSprite3DState const *)arg1)->FindSocket((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteSocket, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_FindSocket(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSprite3DState_FindSocket__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSprite3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSprite3DState_FindSocket__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSprite3DState_FindSocket'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSprite3DState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSprite3DState *arg1 = (iSprite3DState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSprite3DState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSprite3DState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSprite3DState" "', argument " "1"" of type '" "iSprite3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSprite3DState * >(argp1);
  delete_iSprite3DState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSprite3DState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSprite3DState_scfGetVersion")) SWIG_fail;
  result = (int)iSprite3DState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSprite3DState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSprite3DState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_SetSubmeshIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DSocket_SetSubmeshIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_SetSubmeshIndex" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DSocket_SetSubmeshIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetSubmeshIndex(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_GetSubmeshIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DSocket_GetSubmeshIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_GetSubmeshIndex" "', argument " "1"" of type '" "iSpriteCal3DSocket const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  result = (int)((iSpriteCal3DSocket const *)arg1)->GetSubmeshIndex();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_SetMeshIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DSocket_SetMeshIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_SetMeshIndex" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DSocket_SetMeshIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetMeshIndex(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_GetMeshIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DSocket_GetMeshIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_GetMeshIndex" "', argument " "1"" of type '" "iSpriteCal3DSocket const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  result = (int)((iSpriteCal3DSocket const *)arg1)->GetMeshIndex();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DSocket_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_SetTransform" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DSocket_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSpriteCal3DSocket_SetTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->SetTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  csReversibleTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DSocket_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_GetTransform" "', argument " "1"" of type '" "iSpriteCal3DSocket const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  result = ((iSpriteCal3DSocket const *)arg1)->GetTransform();
  resultobj = SWIG_NewPointerObj((new csReversibleTransform(static_cast< const csReversibleTransform& >(result))), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_GetSecondaryCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DSocket_GetSecondaryCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_GetSecondaryCount" "', argument " "1"" of type '" "iSpriteCal3DSocket const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  result = ((iSpriteCal3DSocket const *)arg1)->GetSecondaryCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_GetSecondaryMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  size_t arg2 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DSocket_GetSecondaryMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_GetSecondaryMesh" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DSocket_GetSecondaryMesh" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iMeshWrapper *)(arg1)->GetSecondaryMesh(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_GetSecondaryTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  size_t arg2 ;
  csReversibleTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DSocket_GetSecondaryTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_GetSecondaryTransform" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DSocket_GetSecondaryTransform" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (arg1)->GetSecondaryTransform(arg2);
  resultobj = SWIG_NewPointerObj((new csReversibleTransform(static_cast< const csReversibleTransform& >(result))), SWIGTYPE_p_csReversibleTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_SetSecondaryTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  size_t arg2 ;
  csReversibleTransform arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DSocket_SetSecondaryTransform",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_SetSecondaryTransform" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DSocket_SetSecondaryTransform" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csReversibleTransform,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DSocket_SetSecondaryTransform" "', argument " "3"" of type '" "csReversibleTransform""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSpriteCal3DSocket_SetSecondaryTransform" "', argument " "3"" of type '" "csReversibleTransform""'");
    } else {
      csReversibleTransform * temp = reinterpret_cast< csReversibleTransform * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  (arg1)->SetSecondaryTransform(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_AttachSecondary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  csReversibleTransform arg3 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DSocket_AttachSecondary",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_AttachSecondary" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DSocket_AttachSecondary" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csReversibleTransform,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DSocket_AttachSecondary" "', argument " "3"" of type '" "csReversibleTransform""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSpriteCal3DSocket_AttachSecondary" "', argument " "3"" of type '" "csReversibleTransform""'");
    } else {
      csReversibleTransform * temp = reinterpret_cast< csReversibleTransform * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (arg1)->AttachSecondary(arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_DetachSecondary__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DSocket_DetachSecondary",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_DetachSecondary" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DSocket_DetachSecondary" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->DetachSecondary((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_DetachSecondary__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DSocket_DetachSecondary",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_DetachSecondary" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DSocket_DetachSecondary" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->DetachSecondary(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_DetachSecondary(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DSocket, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSpriteCal3DSocket_DetachSecondary__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DSocket, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSpriteCal3DSocket_DetachSecondary__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DSocket_DetachSecondary'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DSocket_FindSecondary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DSocket_FindSecondary",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DSocket_FindSecondary" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DSocket_FindSecondary" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->FindSecondary((char const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSpriteCal3DSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DSocket *arg1 = (iSpriteCal3DSocket *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSpriteCal3DSocket",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DSocket, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSpriteCal3DSocket" "', argument " "1"" of type '" "iSpriteCal3DSocket *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DSocket * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSpriteCal3DSocket_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSpriteCal3DSocket, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_Create",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_Create" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_Create" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->Create((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_ReportLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DFactoryState_ReportLastError",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_ReportLastError" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  (arg1)->ReportLastError();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_SetLoadFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_SetLoadFlags",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_SetLoadFlags" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DFactoryState_SetLoadFlags" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLoadFlags(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_SetBasePath",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_SetBasePath" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_SetBasePath" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetBasePath((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_LoadCoreSkeleton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  iVFS *arg2 = (iVFS *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DFactoryState_LoadCoreSkeleton",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_LoadCoreSkeleton" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_LoadCoreSkeleton" "', argument " "2"" of type '" "iVFS *""'"); 
  }
  arg2 = reinterpret_cast< iVFS * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DFactoryState_LoadCoreSkeleton" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->LoadCoreSkeleton(arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_RescaleFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_RescaleFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_RescaleFactory" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DFactoryState_RescaleFactory" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->RescaleFactory(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_LoadCoreAnimation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  iVFS *arg2 = (iVFS *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  float arg6 ;
  float arg7 ;
  float arg8 ;
  int arg9 ;
  int arg10 ;
  int arg11 ;
  bool arg12 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  float val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  int val10 ;
  int ecode10 = 0 ;
  int val11 ;
  int ecode11 = 0 ;
  bool val12 ;
  int ecode12 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  PyObject * obj10 = 0 ;
  PyObject * obj11 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOOO:iSpriteCal3DFactoryState_LoadCoreAnimation",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "2"" of type '" "iVFS *""'"); 
  }
  arg2 = reinterpret_cast< iVFS * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  ecode8 = SWIG_AsVal_float(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "8"" of type '" "float""'");
  } 
  arg8 = static_cast< float >(val8);
  ecode9 = SWIG_AsVal_int(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "9"" of type '" "int""'");
  } 
  arg9 = static_cast< int >(val9);
  ecode10 = SWIG_AsVal_int(obj9, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "10"" of type '" "int""'");
  } 
  arg10 = static_cast< int >(val10);
  ecode11 = SWIG_AsVal_int(obj10, &val11);
  if (!SWIG_IsOK(ecode11)) {
    SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "11"" of type '" "int""'");
  } 
  arg11 = static_cast< int >(val11);
  ecode12 = SWIG_AsVal_bool(obj11, &val12);
  if (!SWIG_IsOK(ecode12)) {
    SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "iSpriteCal3DFactoryState_LoadCoreAnimation" "', argument " "12"" of type '" "bool""'");
  } 
  arg12 = static_cast< bool >(val12);
  result = (int)(arg1)->LoadCoreAnimation(arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_LoadCoreMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  iVFS *arg2 = (iVFS *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  bool arg5 ;
  iMaterialWrapper *arg6 = (iMaterialWrapper *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iSpriteCal3DFactoryState_LoadCoreMesh",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_LoadCoreMesh" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_LoadCoreMesh" "', argument " "2"" of type '" "iVFS *""'"); 
  }
  arg2 = reinterpret_cast< iVFS * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DFactoryState_LoadCoreMesh" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSpriteCal3DFactoryState_LoadCoreMesh" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSpriteCal3DFactoryState_LoadCoreMesh" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iSpriteCal3DFactoryState_LoadCoreMesh" "', argument " "6"" of type '" "iMaterialWrapper *""'"); 
  }
  arg6 = reinterpret_cast< iMaterialWrapper * >(argp6);
  result = (int)(arg1)->LoadCoreMesh(arg2,(char const *)arg3,(char const *)arg4,arg5,arg6);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_LoadCoreMorphTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  iVFS *arg2 = (iVFS *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSpriteCal3DFactoryState_LoadCoreMorphTarget",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_LoadCoreMorphTarget" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_LoadCoreMorphTarget" "', argument " "2"" of type '" "iVFS *""'"); 
  }
  arg2 = reinterpret_cast< iVFS * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DFactoryState_LoadCoreMorphTarget" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSpriteCal3DFactoryState_LoadCoreMorphTarget" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSpriteCal3DFactoryState_LoadCoreMorphTarget" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  result = (int)(arg1)->LoadCoreMorphTarget(arg2,arg3,(char const *)arg4,(char const *)arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_AddMorphAnimation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_AddMorphAnimation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_AddMorphAnimation" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_AddMorphAnimation" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)(arg1)->AddMorphAnimation((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_AddMorphTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSpriteCal3DFactoryState_AddMorphTarget",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_AddMorphTarget" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DFactoryState_AddMorphTarget" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DFactoryState_AddMorphTarget" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSpriteCal3DFactoryState_AddMorphTarget" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->AddMorphTarget(arg2,(char const *)arg3,(char const *)arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_AddCoreMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_AddCoreMaterial",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_AddCoreMaterial" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_AddCoreMaterial" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  result = (bool)(arg1)->AddCoreMaterial(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_CalculateAllBoneBoundingBoxes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DFactoryState_CalculateAllBoneBoundingBoxes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_CalculateAllBoneBoundingBoxes" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  (arg1)->CalculateAllBoneBoundingBoxes();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_BindMaterials(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DFactoryState_BindMaterials",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_BindMaterials" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  (arg1)->BindMaterials();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_GetMeshCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DFactoryState_GetMeshCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_GetMeshCount" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  result = (int)(arg1)->GetMeshCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_GetMorphAnimationCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DFactoryState_GetMorphAnimationCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_GetMorphAnimationCount" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  result = (int)(arg1)->GetMorphAnimationCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_GetMorphTargetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_GetMorphTargetCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_GetMorphTargetCount" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DFactoryState_GetMorphTargetCount" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (int)(arg1)->GetMorphTargetCount(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_GetMeshName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_GetMeshName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_GetMeshName" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DFactoryState_GetMeshName" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (char *)(arg1)->GetMeshName(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_FindMeshName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_FindMeshName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_FindMeshName" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_FindMeshName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)(arg1)->FindMeshName((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_GetDefaultMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_GetDefaultMaterial",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_GetDefaultMaterial" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_GetDefaultMaterial" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (char *)(arg1)->GetDefaultMaterial((char const *)arg2);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_GetMorphAnimationName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_GetMorphAnimationName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_GetMorphAnimationName" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DFactoryState_GetMorphAnimationName" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (char *)(arg1)->GetMorphAnimationName(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_FindMorphAnimationName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_FindMorphAnimationName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_FindMorphAnimationName" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_FindMorphAnimationName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)(arg1)->FindMorphAnimationName((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_IsMeshDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_IsMeshDefault",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_IsMeshDefault" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DFactoryState_IsMeshDefault" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->IsMeshDefault(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_AddSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  iSpriteCal3DSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DFactoryState_AddSocket",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_AddSocket" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  result = (iSpriteCal3DSocket *)(arg1)->AddSocket();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_FindSocket__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  iSpriteCal3DSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_FindSocket" "', argument " "1"" of type '" "iSpriteCal3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_FindSocket" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSpriteCal3DSocket *)((iSpriteCal3DFactoryState const *)arg1)->FindSocket((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_FindSocket__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  iSpriteCal3DSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_FindSocket" "', argument " "1"" of type '" "iSpriteCal3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_FindSocket" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (iSpriteCal3DSocket *)((iSpriteCal3DFactoryState const *)arg1)->FindSocket(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_FindSocket(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSpriteCal3DFactoryState_FindSocket__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSpriteCal3DFactoryState_FindSocket__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DFactoryState_FindSocket'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_GetSocketCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DFactoryState_GetSocketCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_GetSocketCount" "', argument " "1"" of type '" "iSpriteCal3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  result = (int)((iSpriteCal3DFactoryState const *)arg1)->GetSocketCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_GetSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  int arg2 ;
  iSpriteCal3DSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DFactoryState_GetSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_GetSocket" "', argument " "1"" of type '" "iSpriteCal3DFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DFactoryState_GetSocket" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSpriteCal3DSocket *)((iSpriteCal3DFactoryState const *)arg1)->GetSocket(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_GetCal3DCoreModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  CalCoreModel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DFactoryState_GetCal3DCoreModel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_GetCal3DCoreModel" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  result = (CalCoreModel *)(arg1)->GetCal3DCoreModel();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CalCoreModel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_RegisterAnimCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  CalAnimationCallback *arg3 = (CalAnimationCallback *) 0 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSpriteCal3DFactoryState_RegisterAnimCallback",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_RegisterAnimCallback" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_RegisterAnimCallback" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CalAnimationCallback, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DFactoryState_RegisterAnimCallback" "', argument " "3"" of type '" "CalAnimationCallback *""'"); 
  }
  arg3 = reinterpret_cast< CalAnimationCallback * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSpriteCal3DFactoryState_RegisterAnimCallback" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->RegisterAnimCallback((char const *)arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DFactoryState_RemoveAnimCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  CalAnimationCallback *arg3 = (CalAnimationCallback *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DFactoryState_RemoveAnimCallback",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DFactoryState_RemoveAnimCallback" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DFactoryState_RemoveAnimCallback" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CalAnimationCallback, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DFactoryState_RemoveAnimCallback" "', argument " "3"" of type '" "CalAnimationCallback *""'"); 
  }
  arg3 = reinterpret_cast< CalAnimationCallback * >(argp3);
  result = (bool)(arg1)->RemoveAnimCallback((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSpriteCal3DFactoryState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DFactoryState *arg1 = (iSpriteCal3DFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSpriteCal3DFactoryState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DFactoryState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSpriteCal3DFactoryState" "', argument " "1"" of type '" "iSpriteCal3DFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DFactoryState * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSpriteCal3DFactoryState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSpriteCal3DFactoryState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iAnimTimeUpdateHandler_UpdatePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAnimTimeUpdateHandler *arg1 = (iAnimTimeUpdateHandler *) 0 ;
  float arg2 ;
  CalModel *arg3 = (CalModel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iAnimTimeUpdateHandler_UpdatePosition",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAnimTimeUpdateHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iAnimTimeUpdateHandler_UpdatePosition" "', argument " "1"" of type '" "iAnimTimeUpdateHandler *""'"); 
  }
  arg1 = reinterpret_cast< iAnimTimeUpdateHandler * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iAnimTimeUpdateHandler_UpdatePosition" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CalModel, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iAnimTimeUpdateHandler_UpdatePosition" "', argument " "3"" of type '" "CalModel *""'"); 
  }
  arg3 = reinterpret_cast< CalModel * >(argp3);
  (arg1)->UpdatePosition(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iAnimTimeUpdateHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iAnimTimeUpdateHandler *arg1 = (iAnimTimeUpdateHandler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iAnimTimeUpdateHandler",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iAnimTimeUpdateHandler, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iAnimTimeUpdateHandler" "', argument " "1"" of type '" "iAnimTimeUpdateHandler *""'"); 
  }
  arg1 = reinterpret_cast< iAnimTimeUpdateHandler * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iAnimTimeUpdateHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iAnimTimeUpdateHandler, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csSpriteCal3DActiveAnim_index_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpriteCal3DActiveAnim *arg1 = (csSpriteCal3DActiveAnim *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpriteCal3DActiveAnim_index_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpriteCal3DActiveAnim, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpriteCal3DActiveAnim_index_set" "', argument " "1"" of type '" "csSpriteCal3DActiveAnim *""'"); 
  }
  arg1 = reinterpret_cast< csSpriteCal3DActiveAnim * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpriteCal3DActiveAnim_index_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->index = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpriteCal3DActiveAnim_index_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpriteCal3DActiveAnim *arg1 = (csSpriteCal3DActiveAnim *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSpriteCal3DActiveAnim_index_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpriteCal3DActiveAnim, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpriteCal3DActiveAnim_index_get" "', argument " "1"" of type '" "csSpriteCal3DActiveAnim *""'"); 
  }
  arg1 = reinterpret_cast< csSpriteCal3DActiveAnim * >(argp1);
  result = (int) ((arg1)->index);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpriteCal3DActiveAnim_weight_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpriteCal3DActiveAnim *arg1 = (csSpriteCal3DActiveAnim *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSpriteCal3DActiveAnim_weight_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpriteCal3DActiveAnim, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpriteCal3DActiveAnim_weight_set" "', argument " "1"" of type '" "csSpriteCal3DActiveAnim *""'"); 
  }
  arg1 = reinterpret_cast< csSpriteCal3DActiveAnim * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSpriteCal3DActiveAnim_weight_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->weight = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSpriteCal3DActiveAnim_weight_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpriteCal3DActiveAnim *arg1 = (csSpriteCal3DActiveAnim *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSpriteCal3DActiveAnim_weight_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpriteCal3DActiveAnim, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSpriteCal3DActiveAnim_weight_get" "', argument " "1"" of type '" "csSpriteCal3DActiveAnim *""'"); 
  }
  arg1 = reinterpret_cast< csSpriteCal3DActiveAnim * >(argp1);
  result = (float) ((arg1)->weight);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSpriteCal3DActiveAnim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpriteCal3DActiveAnim *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csSpriteCal3DActiveAnim")) SWIG_fail;
  result = (csSpriteCal3DActiveAnim *)new csSpriteCal3DActiveAnim();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSpriteCal3DActiveAnim, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSpriteCal3DActiveAnim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSpriteCal3DActiveAnim *arg1 = (csSpriteCal3DActiveAnim *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSpriteCal3DActiveAnim",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSpriteCal3DActiveAnim, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSpriteCal3DActiveAnim" "', argument " "1"" of type '" "csSpriteCal3DActiveAnim *""'"); 
  }
  arg1 = reinterpret_cast< csSpriteCal3DActiveAnim * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSpriteCal3DActiveAnim_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSpriteCal3DActiveAnim, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetAnimCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DState_GetAnimCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetAnimCount" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  result = (int)(arg1)->GetAnimCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetAnimName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_GetAnimName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetAnimName" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_GetAnimName" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (char *)(arg1)->GetAnimName(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetAnimType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_GetAnimType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetAnimType" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_GetAnimType" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (int)(arg1)->GetAnimType(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_FindAnim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_FindAnim",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_FindAnim" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_FindAnim" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)(arg1)->FindAnim((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_ClearAllAnims(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DState_ClearAllAnims",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_ClearAllAnims" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  (arg1)->ClearAllAnims();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetAnimCycle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_SetAnimCycle",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetAnimCycle" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_SetAnimCycle" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_SetAnimCycle" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->SetAnimCycle((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetAnimCycle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_SetAnimCycle",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetAnimCycle" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_SetAnimCycle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_SetAnimCycle" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->SetAnimCycle(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetAnimCycle(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSpriteCal3DState_SetAnimCycle__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSpriteCal3DState_SetAnimCycle__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DState_SetAnimCycle'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_AddAnimCycle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSpriteCal3DState_AddAnimCycle",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_AddAnimCycle" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_AddAnimCycle" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_AddAnimCycle" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSpriteCal3DState_AddAnimCycle" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->AddAnimCycle((char const *)arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_AddAnimCycle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  float arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSpriteCal3DState_AddAnimCycle",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_AddAnimCycle" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_AddAnimCycle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_AddAnimCycle" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSpriteCal3DState_AddAnimCycle" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->AddAnimCycle(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_AddAnimCycle(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSpriteCal3DState_AddAnimCycle__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSpriteCal3DState_AddAnimCycle__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DState_AddAnimCycle'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_ClearAnimCycle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_ClearAnimCycle",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_ClearAnimCycle" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_ClearAnimCycle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_ClearAnimCycle" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->ClearAnimCycle(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_ClearAnimCycle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_ClearAnimCycle",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_ClearAnimCycle" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_ClearAnimCycle" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_ClearAnimCycle" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->ClearAnimCycle((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_ClearAnimCycle(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSpriteCal3DState_ClearAnimCycle__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSpriteCal3DState_ClearAnimCycle__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DState_ClearAnimCycle'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetActiveAnimCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DState_GetActiveAnimCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetActiveAnimCount" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  result = (arg1)->GetActiveAnimCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetActiveAnims(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  csSpriteCal3DActiveAnim *arg2 = (csSpriteCal3DActiveAnim *) 0 ;
  size_t arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_GetActiveAnims",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetActiveAnims" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csSpriteCal3DActiveAnim, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_GetActiveAnims" "', argument " "2"" of type '" "csSpriteCal3DActiveAnim *""'"); 
  }
  arg2 = reinterpret_cast< csSpriteCal3DActiveAnim * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_GetActiveAnims" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (bool)(arg1)->GetActiveAnims(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetActiveAnims(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  csSpriteCal3DActiveAnim *arg2 = (csSpriteCal3DActiveAnim *) 0 ;
  size_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_SetActiveAnims",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetActiveAnims" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csSpriteCal3DActiveAnim, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_SetActiveAnims" "', argument " "2"" of type '" "csSpriteCal3DActiveAnim const *""'"); 
  }
  arg2 = reinterpret_cast< csSpriteCal3DActiveAnim * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_SetActiveAnims" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  (arg1)->SetActiveAnims((csSpriteCal3DActiveAnim const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetAnimAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSpriteCal3DState_SetAnimAction",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetAnimAction" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_SetAnimAction" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_SetAnimAction" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSpriteCal3DState_SetAnimAction" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->SetAnimAction((char const *)arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetAnimAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  float arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSpriteCal3DState_SetAnimAction",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetAnimAction" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_SetAnimAction" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_SetAnimAction" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSpriteCal3DState_SetAnimAction" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->SetAnimAction(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetAnimAction(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSpriteCal3DState_SetAnimAction__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSpriteCal3DState_SetAnimAction__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DState_SetAnimAction'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetVelocity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  float arg2 ;
  csRandomGen *arg3 = (csRandomGen *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_SetVelocity",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetVelocity" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_SetVelocity" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csRandomGen, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DState_SetVelocity" "', argument " "3"" of type '" "csRandomGen *""'"); 
  }
  arg3 = reinterpret_cast< csRandomGen * >(argp3);
  result = (bool)(arg1)->SetVelocity(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetVelocity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  float arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_SetVelocity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetVelocity" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_SetVelocity" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (bool)(arg1)->SetVelocity(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetVelocity(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSpriteCal3DState_SetVelocity__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRandomGen, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSpriteCal3DState_SetVelocity__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DState_SetVelocity'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetDefaultIdleAnim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_SetDefaultIdleAnim",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetDefaultIdleAnim" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_SetDefaultIdleAnim" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetDefaultIdleAnim((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetLOD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_SetLOD",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetLOD" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_SetLOD" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetLOD(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_AttachCoreMesh__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_AttachCoreMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_AttachCoreMesh" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_AttachCoreMesh" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->AttachCoreMesh((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_DetachCoreMesh__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_DetachCoreMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_DetachCoreMesh" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_DetachCoreMesh" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->DetachCoreMesh((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_AttachCoreMesh__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  iMaterialWrapper *arg3 = (iMaterialWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_AttachCoreMesh",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_AttachCoreMesh" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_AttachCoreMesh" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DState_AttachCoreMesh" "', argument " "3"" of type '" "iMaterialWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMaterialWrapper * >(argp3);
  result = (bool)(arg1)->AttachCoreMesh(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_AttachCoreMesh__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_AttachCoreMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_AttachCoreMesh" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_AttachCoreMesh" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->AttachCoreMesh(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_AttachCoreMesh(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSpriteCal3DState_AttachCoreMesh__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSpriteCal3DState_AttachCoreMesh__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iMaterialWrapper, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSpriteCal3DState_AttachCoreMesh__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DState_AttachCoreMesh'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_DetachCoreMesh__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_DetachCoreMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_DetachCoreMesh" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_DetachCoreMesh" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->DetachCoreMesh(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_DetachCoreMesh(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSpriteCal3DState_DetachCoreMesh__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSpriteCal3DState_DetachCoreMesh__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DState_DetachCoreMesh'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_BlendMorphTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  float arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSpriteCal3DState_BlendMorphTarget",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_BlendMorphTarget" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_BlendMorphTarget" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_BlendMorphTarget" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSpriteCal3DState_BlendMorphTarget" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->BlendMorphTarget(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_ClearMorphTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  int arg2 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_ClearMorphTarget",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_ClearMorphTarget" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_ClearMorphTarget" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSpriteCal3DState_ClearMorphTarget" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->ClearMorphTarget(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_FindSocket__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  iSpriteCal3DSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_FindSocket" "', argument " "1"" of type '" "iSpriteCal3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_FindSocket" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (iSpriteCal3DSocket *)((iSpriteCal3DState const *)arg1)->FindSocket(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_FindSocket__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  iSpriteCal3DSocket *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_FindSocket",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_FindSocket" "', argument " "1"" of type '" "iSpriteCal3DState const *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_FindSocket" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSpriteCal3DSocket *)((iSpriteCal3DState const *)arg1)->FindSocket((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSpriteCal3DSocket, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_FindSocket(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSpriteCal3DState_FindSocket__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSpriteCal3DState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSpriteCal3DState_FindSocket__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSpriteCal3DState_FindSocket'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  iMaterialWrapper *arg3 = (iMaterialWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSpriteCal3DState_SetMaterial",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetMaterial" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_SetMaterial" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSpriteCal3DState_SetMaterial" "', argument " "3"" of type '" "iMaterialWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMaterialWrapper * >(argp3);
  result = (bool)(arg1)->SetMaterial((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetTimeFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_SetTimeFactor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetTimeFactor" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_SetTimeFactor" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetTimeFactor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetTimeFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DState_GetTimeFactor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetTimeFactor" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  result = (float)(arg1)->GetTimeFactor();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetAnimationTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DState_GetAnimationTime",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetAnimationTime" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  result = (float)(arg1)->GetAnimationTime();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetAnimationDuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DState_GetAnimationDuration",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetAnimationDuration" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  result = (float)(arg1)->GetAnimationDuration();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetAnimationTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_SetAnimationTime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetAnimationTime" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSpriteCal3DState_SetAnimationTime" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetAnimationTime(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetAnimTimeUpdateHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  iAnimTimeUpdateHandler *arg2 = (iAnimTimeUpdateHandler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_SetAnimTimeUpdateHandler",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetAnimTimeUpdateHandler" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iAnimTimeUpdateHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_SetAnimTimeUpdateHandler" "', argument " "2"" of type '" "iAnimTimeUpdateHandler *""'"); 
  }
  arg2 = reinterpret_cast< iAnimTimeUpdateHandler * >(argp2);
  (arg1)->SetAnimTimeUpdateHandler(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_SetUserData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  void *arg2 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_SetUserData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_SetUserData" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_SetUserData" "', argument " "2"" of type '" "void *""'"); 
  }
  (arg1)->SetUserData(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetCoreMeshShaderVarContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  char *arg2 = (char *) 0 ;
  iShaderVariableContext *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSpriteCal3DState_GetCoreMeshShaderVarContext",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetCoreMeshShaderVarContext" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSpriteCal3DState_GetCoreMeshShaderVarContext" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iShaderVariableContext *)(arg1)->GetCoreMeshShaderVarContext((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_GetCal3DModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  CalModel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSpriteCal3DState_GetCal3DModel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSpriteCal3DState_GetCal3DModel" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  result = (CalModel *)(arg1)->GetCal3DModel();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CalModel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSpriteCal3DState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSpriteCal3DState *arg1 = (iSpriteCal3DState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSpriteCal3DState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSpriteCal3DState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSpriteCal3DState" "', argument " "1"" of type '" "iSpriteCal3DState *""'"); 
  }
  arg1 = reinterpret_cast< iSpriteCal3DState * >(argp1);
  delete_iSpriteCal3DState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSpriteCal3DState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSpriteCal3DState_scfGetVersion")) SWIG_fail;
  result = (int)iSpriteCal3DState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSpriteCal3DState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSpriteCal3DState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshObjectDrawCallback_BeforeDrawing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectDrawCallback *arg1 = (iMeshObjectDrawCallback *) 0 ;
  iMeshObject *arg2 = (iMeshObject *) 0 ;
  iRenderView *arg3 = (iRenderView *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshObjectDrawCallback_BeforeDrawing",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectDrawCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectDrawCallback_BeforeDrawing" "', argument " "1"" of type '" "iMeshObjectDrawCallback *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectDrawCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObjectDrawCallback_BeforeDrawing" "', argument " "2"" of type '" "iMeshObject *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObject * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRenderView, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshObjectDrawCallback_BeforeDrawing" "', argument " "3"" of type '" "iRenderView *""'"); 
  }
  arg3 = reinterpret_cast< iRenderView * >(argp3);
  result = (bool)(arg1)->BeforeDrawing(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshObjectDrawCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectDrawCallback *arg1 = (iMeshObjectDrawCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshObjectDrawCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectDrawCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshObjectDrawCallback" "', argument " "1"" of type '" "iMeshObjectDrawCallback *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectDrawCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshObjectDrawCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshObjectDrawCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshObject_GetFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  iMeshObjectFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_GetFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_GetFactory" "', argument " "1"" of type '" "iMeshObject const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  result = (iMeshObjectFactory *)((iMeshObject const *)arg1)->GetFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_GetFlags" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  SwigValueWrapper<csPtr<iMeshObject > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_Clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_Clone" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  result = (arg1)->Clone();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshObject> ref((csPtr<iMeshObject>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshObject *)ref), (void *)(iMeshObject *)ref, "iMeshObject" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_GetRenderMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  int *arg2 = 0 ;
  iRenderView *arg3 = (iRenderView *) 0 ;
  iMovable *arg4 = (iMovable *) 0 ;
  uint32 arg5 ;
  csRenderMesh **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iMeshObject_GetRenderMeshes",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_GetRenderMeshes" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_GetRenderMeshes" "', argument " "2"" of type '" "int &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_GetRenderMeshes" "', argument " "2"" of type '" "int &""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRenderView, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshObject_GetRenderMeshes" "', argument " "3"" of type '" "iRenderView *""'"); 
  }
  arg3 = reinterpret_cast< iRenderView * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iMeshObject_GetRenderMeshes" "', argument " "4"" of type '" "iMovable *""'"); 
  }
  arg4 = reinterpret_cast< iMovable * >(argp4);
  {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iMeshObject_GetRenderMeshes" "', argument " "5"" of type '" "uint32""'"); 
    }  
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_GetRenderMeshes" "', argument " "5"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp5);
      arg5 = *temp;
      if (SWIG_IsNewObj(res5)) delete temp;
    }
  }
  result = (csRenderMesh **)(arg1)->GetRenderMeshes(*arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_csRenderMesh, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_SetVisibleCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  iMeshObjectDrawCallback *arg2 = (iMeshObjectDrawCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObject_SetVisibleCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_SetVisibleCallback" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObjectDrawCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_SetVisibleCallback" "', argument " "2"" of type '" "iMeshObjectDrawCallback *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObjectDrawCallback * >(argp2);
  (arg1)->SetVisibleCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_GetVisibleCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  iMeshObjectDrawCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_GetVisibleCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_GetVisibleCallback" "', argument " "1"" of type '" "iMeshObject const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  result = (iMeshObjectDrawCallback *)((iMeshObject const *)arg1)->GetVisibleCallback();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshObjectDrawCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_NextFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  csTicks arg2 ;
  csVector3 *arg3 = 0 ;
  uint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iMeshObject_NextFrame",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_NextFrame" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshObject_NextFrame" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshObject_NextFrame" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_NextFrame" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iMeshObject_NextFrame" "', argument " "4"" of type '" "uint""'");
  } 
  arg4 = static_cast< uint >(val4);
  (arg1)->NextFrame(arg2,(csVector3 const &)*arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_HardTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObject_HardTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_HardTransform" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->HardTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_SupportsHardTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_SupportsHardTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_SupportsHardTransform" "', argument " "1"" of type '" "iMeshObject const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  result = (bool)((iMeshObject const *)arg1)->SupportsHardTransform();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_HitBeamOutline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float *arg5 = (float *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float temp5 ;
  int res5 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iMeshObject_HitBeamOutline",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_HitBeamOutline" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_HitBeamOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_HitBeamOutline" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshObject_HitBeamOutline" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_HitBeamOutline" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iMeshObject_HitBeamOutline" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_HitBeamOutline" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (bool)(arg1)->HitBeamOutline((csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_HitBeamObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float *arg5 = (float *) 0 ;
  int *arg6 = (int *) 0 ;
  iMaterialWrapper **arg7 = (iMaterialWrapper **) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float temp5 ;
  int res5 = SWIG_TMPOBJ ;
  int temp6 ;
  int res6 = SWIG_TMPOBJ ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  arg5 = &temp5;
  arg6 = &temp6;
  if (!PyArg_ParseTuple(args,(char *)"OOOO|O:iMeshObject_HitBeamObject",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_HitBeamObject" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_HitBeamObject" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_HitBeamObject" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMeshObject_HitBeamObject" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_HitBeamObject" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iMeshObject_HitBeamObject" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_HitBeamObject" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  if (obj4) {
    res7 = SWIG_ConvertPtr(obj4, &argp7,SWIGTYPE_p_p_iMaterialWrapper, 0 |  0 );
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iMeshObject_HitBeamObject" "', argument " "7"" of type '" "iMaterialWrapper **""'"); 
    }
    arg7 = reinterpret_cast< iMaterialWrapper ** >(argp7);
  }
  result = (bool)(arg1)->HitBeamObject((csVector3 const &)*arg2,(csVector3 const &)*arg3,*arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res6)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6)));
  } else {
    int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_SetMeshWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObject_SetMeshWrapper",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_SetMeshWrapper" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_SetMeshWrapper" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->SetMeshWrapper(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_GetMeshWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_GetMeshWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_GetMeshWrapper" "', argument " "1"" of type '" "iMeshObject const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  result = (iMeshWrapper *)((iMeshObject const *)arg1)->GetMeshWrapper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_GetObjectModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  iObjectModel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_GetObjectModel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_GetObjectModel" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  result = (iObjectModel *)(arg1)->GetObjectModel();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObjectModel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  csColor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObject_SetColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_SetColor" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_SetColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_SetColor" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  result = (bool)(arg1)->SetColor((csColor const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  csColor *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObject_GetColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_GetColor" "', argument " "1"" of type '" "iMeshObject const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_GetColor" "', argument " "2"" of type '" "csColor &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObject_GetColor" "', argument " "2"" of type '" "csColor &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  result = (bool)((iMeshObject const *)arg1)->GetColor(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_SetMaterialWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObject_SetMaterialWrapper",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_SetMaterialWrapper" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_SetMaterialWrapper" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  result = (bool)(arg1)->SetMaterialWrapper(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_GetMaterialWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_GetMaterialWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_GetMaterialWrapper" "', argument " "1"" of type '" "iMeshObject const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  result = (iMaterialWrapper *)((iMeshObject const *)arg1)->GetMaterialWrapper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_SetMixMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObject_SetMixMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_SetMixMode" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshObject_SetMixMode" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  (arg1)->SetMixMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_GetMixMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_GetMixMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_GetMixMode" "', argument " "1"" of type '" "iMeshObject const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  result = (uint)((iMeshObject const *)arg1)->GetMixMode();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_InvalidateMaterialHandles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObject_InvalidateMaterialHandles",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_InvalidateMaterialHandles" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  (arg1)->InvalidateMaterialHandles();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_PositionChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  iMeshObject *arg2 = (iMeshObject *) 0 ;
  csTicks arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMeshObject_PositionChild",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObject_PositionChild" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObject_PositionChild" "', argument " "2"" of type '" "iMeshObject *""'"); 
  }
  arg2 = reinterpret_cast< iMeshObject * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMeshObject_PositionChild" "', argument " "3"" of type '" "csTicks""'");
  } 
  arg3 = static_cast< csTicks >(val3);
  (arg1)->PositionChild(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObject *arg1 = (iMeshObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObject, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshObject" "', argument " "1"" of type '" "iMeshObject *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObject * >(argp1);
  delete_iMeshObject(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObject_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMeshObject_scfGetVersion")) SWIG_fail;
  result = (int)iMeshObject_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshObject, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshObjectFactory_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectFactory_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_GetFlags" "', argument " "1"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  {
    csFlags &_result_ref = (arg1)->GetFlags();
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_NewInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  SwigValueWrapper<csPtr<iMeshObject > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectFactory_NewInstance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_NewInstance" "', argument " "1"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  result = (arg1)->NewInstance();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshObject> ref((csPtr<iMeshObject>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshObject *)ref), (void *)(iMeshObject *)ref, "iMeshObject" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  SwigValueWrapper<csPtr<iMeshObjectFactory > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectFactory_Clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_Clone" "', argument " "1"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  result = (arg1)->Clone();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshObjectFactory> ref((csPtr<iMeshObjectFactory>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshObjectFactory *)ref), (void *)(iMeshObjectFactory *)ref, "iMeshObjectFactory" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_HardTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObjectFactory_HardTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_HardTransform" "', argument " "1"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObjectFactory_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMeshObjectFactory_HardTransform" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->HardTransform((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_SupportsHardTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectFactory_SupportsHardTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_SupportsHardTransform" "', argument " "1"" of type '" "iMeshObjectFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  result = (bool)((iMeshObjectFactory const *)arg1)->SupportsHardTransform();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_SetMeshFactoryWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  iMeshFactoryWrapper *arg2 = (iMeshFactoryWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObjectFactory_SetMeshFactoryWrapper",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_SetMeshFactoryWrapper" "', argument " "1"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObjectFactory_SetMeshFactoryWrapper" "', argument " "2"" of type '" "iMeshFactoryWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshFactoryWrapper * >(argp2);
  (arg1)->SetMeshFactoryWrapper(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_GetMeshFactoryWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectFactory_GetMeshFactoryWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_GetMeshFactoryWrapper" "', argument " "1"" of type '" "iMeshObjectFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  result = (iMeshFactoryWrapper *)((iMeshObjectFactory const *)arg1)->GetMeshFactoryWrapper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_GetMeshObjectType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  iMeshObjectType *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectFactory_GetMeshObjectType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_GetMeshObjectType" "', argument " "1"" of type '" "iMeshObjectFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  result = (iMeshObjectType *)((iMeshObjectFactory const *)arg1)->GetMeshObjectType();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshObjectType, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_GetObjectModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  iObjectModel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectFactory_GetObjectModel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_GetObjectModel" "', argument " "1"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  result = (iObjectModel *)(arg1)->GetObjectModel();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObjectModel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_SetMaterialWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObjectFactory_SetMaterialWrapper",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_SetMaterialWrapper" "', argument " "1"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMeshObjectFactory_SetMaterialWrapper" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  result = (bool)(arg1)->SetMaterialWrapper(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_GetMaterialWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectFactory_GetMaterialWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_GetMaterialWrapper" "', argument " "1"" of type '" "iMeshObjectFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  result = (iMaterialWrapper *)((iMeshObjectFactory const *)arg1)->GetMaterialWrapper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_SetMixMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMeshObjectFactory_SetMixMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_SetMixMode" "', argument " "1"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMeshObjectFactory_SetMixMode" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  (arg1)->SetMixMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_GetMixMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectFactory_GetMixMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectFactory_GetMixMode" "', argument " "1"" of type '" "iMeshObjectFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  result = (uint)((iMeshObjectFactory const *)arg1)->GetMixMode();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshObjectFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectFactory *arg1 = (iMeshObjectFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshObjectFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshObjectFactory" "', argument " "1"" of type '" "iMeshObjectFactory *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectFactory * >(argp1);
  delete_iMeshObjectFactory(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectFactory_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMeshObjectFactory_scfGetVersion")) SWIG_fail;
  result = (int)iMeshObjectFactory_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshObjectFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshObjectFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMeshObjectType_NewFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectType *arg1 = (iMeshObjectType *) 0 ;
  SwigValueWrapper<csPtr<iMeshObjectFactory > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMeshObjectType_NewFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectType, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMeshObjectType_NewFactory" "', argument " "1"" of type '" "iMeshObjectType *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectType * >(argp1);
  result = (arg1)->NewFactory();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshObjectFactory> ref((csPtr<iMeshObjectFactory>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshObjectFactory *)ref), (void *)(iMeshObjectFactory *)ref, "iMeshObjectFactory" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMeshObjectType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMeshObjectType *arg1 = (iMeshObjectType *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMeshObjectType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMeshObjectType, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMeshObjectType" "', argument " "1"" of type '" "iMeshObjectType *""'"); 
  }
  arg1 = reinterpret_cast< iMeshObjectType * >(argp1);
  delete_iMeshObjectType(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMeshObjectType_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMeshObjectType_scfGetVersion")) SWIG_fail;
  result = (int)iMeshObjectType_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMeshObjectType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMeshObjectType, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csPolygonRange_start_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonRange *arg1 = (csPolygonRange *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPolygonRange_start_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonRange_start_set" "', argument " "1"" of type '" "csPolygonRange *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonRange * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPolygonRange_start_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->start = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonRange_start_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonRange *arg1 = (csPolygonRange *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonRange_start_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonRange_start_get" "', argument " "1"" of type '" "csPolygonRange *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonRange * >(argp1);
  result = (int) ((arg1)->start);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonRange_end_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonRange *arg1 = (csPolygonRange *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPolygonRange_end_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonRange_end_set" "', argument " "1"" of type '" "csPolygonRange *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonRange * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPolygonRange_end_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->end = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonRange_end_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonRange *arg1 = (csPolygonRange *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPolygonRange_end_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonRange_end_get" "', argument " "1"" of type '" "csPolygonRange *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonRange * >(argp1);
  result = (int) ((arg1)->end);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPolygonRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  csPolygonRange *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csPolygonRange",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csPolygonRange" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csPolygonRange" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csPolygonRange *)new csPolygonRange(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPolygonRange, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonRange_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonRange *arg1 = (csPolygonRange *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csPolygonRange_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonRange_Set" "', argument " "1"" of type '" "csPolygonRange *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonRange * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPolygonRange_Set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPolygonRange_Set" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->Set(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonRange_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonRange *arg1 = (csPolygonRange *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPolygonRange_Set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPolygonRange_Set" "', argument " "1"" of type '" "csPolygonRange *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonRange * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPolygonRange_Set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->Set(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPolygonRange_Set(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPolygonRange, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csPolygonRange_Set__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csPolygonRange, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csPolygonRange_Set__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPolygonRange_Set'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPolygonRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPolygonRange *arg1 = (csPolygonRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPolygonRange",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPolygonRange, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPolygonRange" "', argument " "1"" of type '" "csPolygonRange *""'"); 
  }
  arg1 = reinterpret_cast< csPolygonRange * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPolygonRange_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPolygonRange, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iPolygonHandle_GetThingFactoryState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonHandle *arg1 = (iPolygonHandle *) 0 ;
  iThingFactoryState *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonHandle_GetThingFactoryState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonHandle_GetThingFactoryState" "', argument " "1"" of type '" "iPolygonHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonHandle * >(argp1);
  result = (iThingFactoryState *)((iPolygonHandle const *)arg1)->GetThingFactoryState();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonHandle_GetMeshObjectFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonHandle *arg1 = (iPolygonHandle *) 0 ;
  iMeshObjectFactory *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonHandle_GetMeshObjectFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonHandle_GetMeshObjectFactory" "', argument " "1"" of type '" "iPolygonHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonHandle * >(argp1);
  result = (iMeshObjectFactory *)((iPolygonHandle const *)arg1)->GetMeshObjectFactory();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshObjectFactory, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonHandle_GetThingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonHandle *arg1 = (iPolygonHandle *) 0 ;
  iThingState *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonHandle_GetThingState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonHandle_GetThingState" "', argument " "1"" of type '" "iPolygonHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonHandle * >(argp1);
  result = (iThingState *)((iPolygonHandle const *)arg1)->GetThingState();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iThingState, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonHandle_GetMeshObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonHandle *arg1 = (iPolygonHandle *) 0 ;
  iMeshObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonHandle_GetMeshObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonHandle_GetMeshObject" "', argument " "1"" of type '" "iPolygonHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonHandle * >(argp1);
  result = (iMeshObject *)((iPolygonHandle const *)arg1)->GetMeshObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPolygonHandle_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonHandle *arg1 = (iPolygonHandle *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPolygonHandle_GetIndex",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPolygonHandle_GetIndex" "', argument " "1"" of type '" "iPolygonHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonHandle * >(argp1);
  result = (int)((iPolygonHandle const *)arg1)->GetIndex();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iPolygonHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPolygonHandle *arg1 = (iPolygonHandle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iPolygonHandle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPolygonHandle, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iPolygonHandle" "', argument " "1"" of type '" "iPolygonHandle *""'"); 
  }
  arg1 = reinterpret_cast< iPolygonHandle * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iPolygonHandle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iPolygonHandle, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iThingFactoryState_CompressVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingFactoryState_CompressVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_CompressVertices" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  (arg1)->CompressVertices();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetPolygonCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingFactoryState_GetPolygonCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetPolygonCount" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  result = (int)(arg1)->GetPolygonCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_RemovePolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_RemovePolygon",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_RemovePolygon" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_RemovePolygon" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->RemovePolygon(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_RemovePolygons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingFactoryState_RemovePolygons",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_RemovePolygons" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  (arg1)->RemovePolygons();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_FindPolygonByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_FindPolygonByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_FindPolygonByName" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_FindPolygonByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)(arg1)->FindPolygonByName((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddEmptyPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingFactoryState_AddEmptyPolygon",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddEmptyPolygon" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  result = (int)(arg1)->AddEmptyPolygon();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddTriangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iThingFactoryState_AddTriangle",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddTriangle" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_AddTriangle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddTriangle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_AddTriangle" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddTriangle" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_AddTriangle" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddTriangle" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (int)(arg1)->AddTriangle((csVector3 const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddQuad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iThingFactoryState_AddQuad",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddQuad" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_AddQuad" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddQuad" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_AddQuad" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddQuad" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_AddQuad" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddQuad" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iThingFactoryState_AddQuad" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddQuad" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (int)(arg1)->AddQuad((csVector3 const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,(csVector3 const &)*arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddPolygon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  int arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_AddPolygon",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddPolygon" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  {
    /*@SWIG:TYPEMAP_IN_ARRAY_BODY@*/
    if (!PyList_Check(obj1))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    arg3 = PyList_Size(obj1);
    typedef csVector3 Array_Type;
    arg2 = new Array_Type[arg3];
    for (int i = 0; i < arg3; ++i)
    {
      csVector3 * p;
      PyObject * o = PyList_GetItem(obj1, i);
      if ((SWIG_ConvertPtr(o, (void **) &p, SWIGTYPE_p_csVector3,
            SWIG_POINTER_EXCEPTION)) == -1)
      {
        PyErr_SetString(PyExc_TypeError, "list must contain ""csVector3" "'s");
        delete [] arg2;
        return 0;
      }
      arg2[i] = * p;
    }
    /*@SWIG@*/
  }
  result = (int)(arg1)->AddPolygon(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  {
    delete [] arg2;
  }
  return resultobj;
fail:
  {
    delete [] arg2;
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddPolygon__SWIG_1__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  void *arg3 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_AddPolygon",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddPolygon" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_AddPolygon" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (int)(arg1)->AddPolygon(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddPolygon__SWIG_1(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,2);
  varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1);
  resultobj = _wrap_iThingFactoryState_AddPolygon__SWIG_1__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddPolygon(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        if (argc <= 2) {
          return _wrap_iThingFactoryState_AddPolygon__SWIG_0(self, args);
        }
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iThingFactoryState_AddPolygon__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc >= 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        if (argc <= 2) {
          return _wrap_iThingFactoryState_AddPolygon__SWIG_1(self, args);
        }
        return _wrap_iThingFactoryState_AddPolygon__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iThingFactoryState_AddPolygon'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddOutsideBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_AddOutsideBox",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddOutsideBox" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_AddOutsideBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddOutsideBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_AddOutsideBox" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddOutsideBox" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (int)(arg1)->AddOutsideBox((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddInsideBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_AddInsideBox",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddInsideBox" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_AddInsideBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddInsideBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_AddInsideBox" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddInsideBox" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (int)(arg1)->AddInsideBox((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_SetPolygonName",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonName" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonName" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonName" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetPolygonName" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->SetPolygonName((csPolygonRange const &)*arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetPolygonName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_GetPolygonName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetPolygonName" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetPolygonName" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (char *)(arg1)->GetPolygonName(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_CreatePolygonHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  SwigValueWrapper<csPtr<iPolygonHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_CreatePolygonHandle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_CreatePolygonHandle" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_CreatePolygonHandle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->CreatePolygonHandle(arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iPolygonHandle >(static_cast< const csPtr<iPolygonHandle >& >(result))), SWIGTYPE_p_csPtrTiPolygonHandle_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  iMaterialWrapper *arg3 = (iMaterialWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_SetPolygonMaterial",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonMaterial" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonMaterial" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonMaterial" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetPolygonMaterial" "', argument " "3"" of type '" "iMaterialWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMaterialWrapper * >(argp3);
  (arg1)->SetPolygonMaterial((csPolygonRange const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetPolygonMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_GetPolygonMaterial",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetPolygonMaterial" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetPolygonMaterial" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iMaterialWrapper *)(arg1)->GetPolygonMaterial(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddPolygonVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_AddPolygonVertex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddPolygonVertex" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_AddPolygonVertex" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddPolygonVertex" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_AddPolygonVertex" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddPolygonVertex" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->AddPolygonVertex((csPolygonRange const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddPolygonVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_AddPolygonVertex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddPolygonVertex" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_AddPolygonVertex" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_AddPolygonVertex" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iThingFactoryState_AddPolygonVertex" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->AddPolygonVertex((csPolygonRange const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddPolygonVertex(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iThingFactoryState_AddPolygonVertex__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iThingFactoryState_AddPolygonVertex__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iThingFactoryState_AddPolygonVertex'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonVertexIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  int arg3 ;
  int *arg4 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iThingFactoryState_SetPolygonVertexIndices",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonVertexIndices" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonVertexIndices" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonVertexIndices" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iThingFactoryState_SetPolygonVertexIndices" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_SetPolygonVertexIndices" "', argument " "4"" of type '" "int *""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  (arg1)->SetPolygonVertexIndices((csPolygonRange const &)*arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetPolygonVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_GetPolygonVertexCount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetPolygonVertexCount" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetPolygonVertexCount" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (int)(arg1)->GetPolygonVertexCount(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetPolygonVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_GetPolygonVertex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetPolygonVertex" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetPolygonVertex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iThingFactoryState_GetPolygonVertex" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    csVector3 const &_result_ref = (arg1)->GetPolygonVertex(arg2,arg3);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetPolygonVertexIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  int *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_GetPolygonVertexIndices",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetPolygonVertexIndices" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetPolygonVertexIndices" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (int *)(arg1)->GetPolygonVertexIndices(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  csMatrix3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iThingFactoryState_SetPolygonTextureMapping",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csMatrix3 const &""'"); 
  }
  arg3 = reinterpret_cast< csMatrix3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  result = (bool)(arg1)->SetPolygonTextureMapping((csPolygonRange const &)*arg2,(csMatrix3 const &)*arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  csVector2 *arg3 = 0 ;
  csVector2 *arg4 = 0 ;
  csVector2 *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iThingFactoryState_SetPolygonTextureMapping",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csVector2 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector2 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector2 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector2 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "5"" of type '" "csVector2 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "5"" of type '" "csVector2 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector2 * >(argp5);
  result = (bool)(arg1)->SetPolygonTextureMapping((csPolygonRange const &)*arg2,(csVector2 const &)*arg3,(csVector2 const &)*arg4,(csVector2 const &)*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector2 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  csVector2 *arg6 = 0 ;
  csVector3 *arg7 = 0 ;
  csVector2 *arg8 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iThingFactoryState_SetPolygonTextureMapping",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector2 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector2 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector2 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "6"" of type '" "csVector2 const &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "6"" of type '" "csVector2 const &""'"); 
  }
  arg6 = reinterpret_cast< csVector2 * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "7"" of type '" "csVector3 const &""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "7"" of type '" "csVector3 const &""'"); 
  }
  arg7 = reinterpret_cast< csVector3 * >(argp7);
  res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "8"" of type '" "csVector2 const &""'"); 
  }
  if (!argp8) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "8"" of type '" "csVector2 const &""'"); 
  }
  arg8 = reinterpret_cast< csVector2 * >(argp8);
  result = (bool)(arg1)->SetPolygonTextureMapping((csPolygonRange const &)*arg2,(csVector3 const &)*arg3,(csVector2 const &)*arg4,(csVector3 const &)*arg5,(csVector2 const &)*arg6,(csVector3 const &)*arg7,(csVector2 const &)*arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iThingFactoryState_SetPolygonTextureMapping",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = (bool)(arg1)->SetPolygonTextureMapping((csPolygonRange const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float arg5 ;
  csVector3 *arg6 = 0 ;
  float arg7 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iThingFactoryState_SetPolygonTextureMapping",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "6"" of type '" "csVector3 const &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "6"" of type '" "csVector3 const &""'"); 
  }
  arg6 = reinterpret_cast< csVector3 * >(argp6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  result = (bool)(arg1)->SetPolygonTextureMapping((csPolygonRange const &)*arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,arg5,(csVector3 const &)*arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_SetPolygonTextureMapping",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iThingFactoryState_SetPolygonTextureMapping" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->SetPolygonTextureMapping((csPolygonRange const &)*arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonTextureMapping(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[9];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 8); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_5(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csMatrix3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_0(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_3(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector2, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector2, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csVector2, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_csVector3, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_4(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector2, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_csVector2, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_csVector3, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_csVector2, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    return _wrap_iThingFactoryState_SetPolygonTextureMapping__SWIG_2(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iThingFactoryState_SetPolygonTextureMapping'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetPolygonTextureMapping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  csMatrix3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iThingFactoryState_GetPolygonTextureMapping",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetPolygonTextureMapping" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetPolygonTextureMapping" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csMatrix3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_GetPolygonTextureMapping" "', argument " "3"" of type '" "csMatrix3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_GetPolygonTextureMapping" "', argument " "3"" of type '" "csMatrix3 &""'"); 
  }
  arg3 = reinterpret_cast< csMatrix3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_GetPolygonTextureMapping" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_GetPolygonTextureMapping" "', argument " "4"" of type '" "csVector3 &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  (arg1)->GetPolygonTextureMapping(arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonTextureMappingEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_SetPolygonTextureMappingEnabled",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonTextureMappingEnabled" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonTextureMappingEnabled" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonTextureMappingEnabled" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iThingFactoryState_SetPolygonTextureMappingEnabled" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->SetPolygonTextureMappingEnabled((csPolygonRange const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_IsPolygonTextureMappingEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_IsPolygonTextureMappingEnabled",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_IsPolygonTextureMappingEnabled" "', argument " "1"" of type '" "iThingFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_IsPolygonTextureMappingEnabled" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)((iThingFactoryState const *)arg1)->IsPolygonTextureMappingEnabled(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonFlags__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  uint32 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_SetPolygonFlags",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "3"" of type '" "uint32""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "3"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  (arg1)->SetPolygonFlags((csPolygonRange const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonFlags__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  uint32 arg3 ;
  uint32 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  void *argp4 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iThingFactoryState_SetPolygonFlags",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "3"" of type '" "uint32""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "3"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "4"" of type '" "uint32""'"); 
    }  
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetPolygonFlags" "', argument " "4"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp4);
      arg4 = *temp;
      if (SWIG_IsNewObj(res4)) delete temp;
    }
  }
  (arg1)->SetPolygonFlags((csPolygonRange const &)*arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetPolygonFlags(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint32_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iThingFactoryState_SetPolygonFlags__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iThingFactoryState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPolygonRange, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint32_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_uint32_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iThingFactoryState_SetPolygonFlags__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iThingFactoryState_SetPolygonFlags'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_ResetPolygonFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csPolygonRange *arg2 = 0 ;
  uint32 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_ResetPolygonFlags",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_ResetPolygonFlags" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPolygonRange,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_ResetPolygonFlags" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_ResetPolygonFlags" "', argument " "2"" of type '" "csPolygonRange const &""'"); 
  }
  arg2 = reinterpret_cast< csPolygonRange * >(argp2);
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_ResetPolygonFlags" "', argument " "3"" of type '" "uint32""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_ResetPolygonFlags" "', argument " "3"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  (arg1)->ResetPolygonFlags((csPolygonRange const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetPolygonFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  csFlags *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_GetPolygonFlags",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetPolygonFlags" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetPolygonFlags" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    csFlags &_result_ref = (arg1)->GetPolygonFlags(arg2);
    result = (csFlags *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFlags, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetPolygonObjectPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_GetPolygonObjectPlane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetPolygonObjectPlane" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetPolygonObjectPlane" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    csPlane3 const &_result_ref = (arg1)->GetPolygonObjectPlane(arg2);
    result = (csPlane3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_IsPolygonTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_IsPolygonTransparent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_IsPolygonTransparent" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_IsPolygonTransparent" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->IsPolygonTransparent(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_PointOnPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_PointOnPolygon",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_PointOnPolygon" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_PointOnPolygon" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_PointOnPolygon" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_PointOnPolygon" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  result = (bool)(arg1)->PointOnPolygon(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetVertexCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingFactoryState_GetVertexCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetVertexCount" "', argument " "1"" of type '" "iThingFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  result = (int)((iThingFactoryState const *)arg1)->GetVertexCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_GetVertex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetVertex" "', argument " "1"" of type '" "iThingFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetVertex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    csVector3 const &_result_ref = ((iThingFactoryState const *)arg1)->GetVertex(arg2);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingFactoryState_GetVertices",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetVertices" "', argument " "1"" of type '" "iThingFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  result = (csVector3 *)((iThingFactoryState const *)arg1)->GetVertices();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_CreateVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csVector3 *arg2 = 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_CreateVertex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_CreateVertex" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingFactoryState_CreateVertex" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_CreateVertex" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (int)(arg1)->CreateVertex((csVector3 const &)*arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_SetVertex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetVertex" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_SetVertex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_SetVertex" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_SetVertex" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetVertex(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_DeleteVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_DeleteVertex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_DeleteVertex" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_DeleteVertex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->DeleteVertex(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_DeleteVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingFactoryState_DeleteVertices",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_DeleteVertices" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_DeleteVertices" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iThingFactoryState_DeleteVertices" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->DeleteVertices(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetSmoothingFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_SetSmoothingFlag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetSmoothingFlag" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_SetSmoothingFlag" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetSmoothingFlag(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetSmoothingFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingFactoryState_GetSmoothingFlag",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetSmoothingFlag" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  result = (bool)(arg1)->GetSmoothingFlag();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingFactoryState_GetNormals",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetNormals" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  result = (csVector3 *)(arg1)->GetNormals();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetCosinusFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingFactoryState_GetCosinusFactor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetCosinusFactor" "', argument " "1"" of type '" "iThingFactoryState const *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  result = (float)((iThingFactoryState const *)arg1)->GetCosinusFactor();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_SetCosinusFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingFactoryState_SetCosinusFactor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_SetCosinusFactor" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_SetCosinusFactor" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetCosinusFactor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_AddPolygonRenderBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  iRenderBuffer *arg4 = (iRenderBuffer *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iThingFactoryState_AddPolygonRenderBuffer",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_AddPolygonRenderBuffer" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_AddPolygonRenderBuffer" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_AddPolygonRenderBuffer" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRenderBuffer, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_AddPolygonRenderBuffer" "', argument " "4"" of type '" "iRenderBuffer *""'"); 
  }
  arg4 = reinterpret_cast< iRenderBuffer * >(argp4);
  result = (bool)(arg1)->AddPolygonRenderBuffer(arg2,(char const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_GetLightmapLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  int arg2 ;
  size_t *arg3 = 0 ;
  csRect *arg4 = 0 ;
  float *arg5 = (float *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iThingFactoryState_GetLightmapLayout",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingFactoryState_GetLightmapLayout" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingFactoryState_GetLightmapLayout" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingFactoryState_GetLightmapLayout" "', argument " "3"" of type '" "size_t &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_GetLightmapLayout" "', argument " "3"" of type '" "size_t &""'"); 
  }
  arg3 = reinterpret_cast< size_t * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csRect,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingFactoryState_GetLightmapLayout" "', argument " "4"" of type '" "csRect &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingFactoryState_GetLightmapLayout" "', argument " "4"" of type '" "csRect &""'"); 
  }
  arg4 = reinterpret_cast< csRect * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iThingFactoryState_GetLightmapLayout" "', argument " "5"" of type '" "float *""'"); 
  }
  arg5 = reinterpret_cast< float * >(argp5);
  result = (bool)(arg1)->GetLightmapLayout(arg2,*arg3,*arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iThingFactoryState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingFactoryState *arg1 = (iThingFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iThingFactoryState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingFactoryState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iThingFactoryState" "', argument " "1"" of type '" "iThingFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iThingFactoryState * >(argp1);
  delete_iThingFactoryState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingFactoryState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iThingFactoryState_scfGetVersion")) SWIG_fail;
  result = (int)iThingFactoryState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iThingFactoryState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iThingFactoryState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iThingState_GetVertexW(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  int arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingState_GetVertexW",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_GetVertexW" "', argument " "1"" of type '" "iThingState const *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingState_GetVertexW" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    csVector3 const &_result_ref = ((iThingState const *)arg1)->GetVertexW(arg2);
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_GetVerticesW(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingState_GetVerticesW",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_GetVerticesW" "', argument " "1"" of type '" "iThingState const *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  result = (csVector3 *)((iThingState const *)arg1)->GetVerticesW();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_GetMovingOption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingState_GetMovingOption",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_GetMovingOption" "', argument " "1"" of type '" "iThingState const *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  result = (int)((iThingState const *)arg1)->GetMovingOption();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_SetMovingOption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingState_SetMovingOption",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_SetMovingOption" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingState_SetMovingOption" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetMovingOption(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_Prepare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingState_Prepare",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_Prepare" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  (arg1)->Prepare();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_Unprepare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingState_Unprepare",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_Unprepare" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  (arg1)->Unprepare();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_ReplaceMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  iMaterialWrapper *arg3 = (iMaterialWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iThingState_ReplaceMaterial",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_ReplaceMaterial" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingState_ReplaceMaterial" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iThingState_ReplaceMaterial" "', argument " "3"" of type '" "iMaterialWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iMaterialWrapper * >(argp3);
  (arg1)->ReplaceMaterial(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_ClearReplacedMaterials(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingState_ClearReplacedMaterials",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_ClearReplacedMaterials" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  (arg1)->ClearReplacedMaterials();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_SetMixMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingState_SetMixMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_SetMixMode" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingState_SetMixMode" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  (arg1)->SetMixMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_GetMixMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingState_GetMixMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_GetMixMode" "', argument " "1"" of type '" "iThingState const *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  result = (uint)((iThingState const *)arg1)->GetMixMode();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_CreatePolygonHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  int arg2 ;
  SwigValueWrapper<csPtr<iPolygonHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingState_CreatePolygonHandle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_CreatePolygonHandle" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingState_CreatePolygonHandle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->CreatePolygonHandle(arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iPolygonHandle >(static_cast< const csPtr<iPolygonHandle >& >(result))), SWIGTYPE_p_csPtrTiPolygonHandle_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_GetPolygonWorldPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  int arg2 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingState_GetPolygonWorldPlane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_GetPolygonWorldPlane" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingState_GetPolygonWorldPlane" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    csPlane3 const &_result_ref = (arg1)->GetPolygonWorldPlane(arg2);
    result = (csPlane3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_GetPolygonLightmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  int arg2 ;
  SwigValueWrapper<csPtr<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingState_GetPolygonLightmap",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_GetPolygonLightmap" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingState_GetPolygonLightmap" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->GetPolygonLightmap(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csPtr<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_GetPolygonPDLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  int arg2 ;
  size_t arg3 ;
  csRef<iImage > *arg4 = 0 ;
  iLight **arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iThingState_GetPolygonPDLight",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_GetPolygonPDLight" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingState_GetPolygonPDLight" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iThingState_GetPolygonPDLight" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csRefTiImage_t,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iThingState_GetPolygonPDLight" "', argument " "4"" of type '" "csRef<iImage > &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingState_GetPolygonPDLight" "', argument " "4"" of type '" "csRef<iImage > &""'"); 
  }
  arg4 = reinterpret_cast< csRef<iImage > * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_iLight,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iThingState_GetPolygonPDLight" "', argument " "5"" of type '" "iLight *&""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iThingState_GetPolygonPDLight" "', argument " "5"" of type '" "iLight *&""'"); 
  }
  arg5 = reinterpret_cast< iLight ** >(argp5);
  result = (bool)(arg1)->GetPolygonPDLight(arg2,arg3,*arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_GetReplacedMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  iMaterialWrapper *arg2 = (iMaterialWrapper *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingState_GetReplacedMaterial",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingState_GetReplacedMaterial" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iThingState_GetReplacedMaterial" "', argument " "2"" of type '" "iMaterialWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMaterialWrapper * >(argp2);
  result = (iMaterialWrapper *)(arg1)->GetReplacedMaterial(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iThingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingState *arg1 = (iThingState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iThingState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iThingState" "', argument " "1"" of type '" "iThingState *""'"); 
  }
  arg1 = reinterpret_cast< iThingState * >(argp1);
  delete_iThingState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iThingState_scfGetVersion")) SWIG_fail;
  result = (int)iThingState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iThingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iThingState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iThingEnvironment_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingEnvironment *arg1 = (iThingEnvironment *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingEnvironment_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingEnvironment, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingEnvironment_Clear" "', argument " "1"" of type '" "iThingEnvironment *""'"); 
  }
  arg1 = reinterpret_cast< iThingEnvironment * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingEnvironment_GetLightmapCellSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingEnvironment *arg1 = (iThingEnvironment *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingEnvironment_GetLightmapCellSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingEnvironment, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingEnvironment_GetLightmapCellSize" "', argument " "1"" of type '" "iThingEnvironment const *""'"); 
  }
  arg1 = reinterpret_cast< iThingEnvironment * >(argp1);
  result = (int)((iThingEnvironment const *)arg1)->GetLightmapCellSize();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingEnvironment_SetLightmapCellSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingEnvironment *arg1 = (iThingEnvironment *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iThingEnvironment_SetLightmapCellSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingEnvironment, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingEnvironment_SetLightmapCellSize" "', argument " "1"" of type '" "iThingEnvironment *""'"); 
  }
  arg1 = reinterpret_cast< iThingEnvironment * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iThingEnvironment_SetLightmapCellSize" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLightmapCellSize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iThingEnvironment_GetDefaultLightmapCellSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingEnvironment *arg1 = (iThingEnvironment *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iThingEnvironment_GetDefaultLightmapCellSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingEnvironment, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iThingEnvironment_GetDefaultLightmapCellSize" "', argument " "1"" of type '" "iThingEnvironment const *""'"); 
  }
  arg1 = reinterpret_cast< iThingEnvironment * >(argp1);
  result = (int)((iThingEnvironment const *)arg1)->GetDefaultLightmapCellSize();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iThingEnvironment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iThingEnvironment *arg1 = (iThingEnvironment *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iThingEnvironment",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iThingEnvironment, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iThingEnvironment" "', argument " "1"" of type '" "iThingEnvironment *""'"); 
  }
  arg1 = reinterpret_cast< iThingEnvironment * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iThingEnvironment_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iThingEnvironment, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csCharArrayArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csArrayCapacityDefault *arg2 = 0 ;
  csArray<csArray<char > > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csCharArrayArray",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csCharArrayArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayCapacityDefault,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csCharArrayArray" "', argument " "2"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csCharArrayArray" "', argument " "2"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  arg2 = reinterpret_cast< csArrayCapacityDefault * >(argp2);
  result = (csArray<csArray<char > > *)new csArray<csArray<char > >(arg1,(csArrayCapacityDefault const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCharArrayArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csArray<csArray<char > > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csCharArrayArray",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csCharArrayArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csArray<csArray<char > > *)new csArray<csArray<char > >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCharArrayArray__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csCharArrayArray")) SWIG_fail;
  result = (csArray<csArray<char > > *)new csArray<csArray<char > >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCharArrayArray__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  CS::Memory::AllocatorMalloc *arg2 = 0 ;
  csArrayCapacityDefault *arg3 = 0 ;
  csArray<csArray<char > > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csCharArrayArray",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csCharArrayArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CS__Memory__AllocatorMalloc,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csCharArrayArray" "', argument " "2"" of type '" "CS::Memory::AllocatorMalloc const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csCharArrayArray" "', argument " "2"" of type '" "CS::Memory::AllocatorMalloc const &""'"); 
  }
  arg2 = reinterpret_cast< CS::Memory::AllocatorMalloc * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csArrayCapacityDefault,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csCharArrayArray" "', argument " "3"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csCharArrayArray" "', argument " "3"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  arg3 = reinterpret_cast< csArrayCapacityDefault * >(argp3);
  result = (csArray<csArray<char > > *)new csArray<csArray<char > >(arg1,(CS::Memory::AllocatorMalloc const &)*arg2,(csArrayCapacityDefault const &)*arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csCharArrayArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csCharArrayArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csCharArrayArray" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCharArrayArray__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = 0 ;
  csArray<csArray<char > > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csCharArrayArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csCharArrayArray" "', argument " "1"" of type '" "csArray<csArray<char > > const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csCharArrayArray" "', argument " "1"" of type '" "csArray<csArray<char > > const &""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  result = (csArray<csArray<char > > *)new csArray<csArray<char > >((csArray<csArray<char > > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCharArrayArray(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csCharArrayArray__SWIG_2(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csCharArrayArray__SWIG_4(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csCharArrayArray__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csArrayCapacityDefault, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csCharArrayArray__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CS__Memory__AllocatorMalloc, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csArrayCapacityDefault, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csCharArrayArray__SWIG_3(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csCharArrayArray'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCharArrayArray_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_GetSize" "', argument " "1"" of type '" "csArray<csArray<char > > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  result = ((csArray<csArray<char > > const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCharArrayArray_Length",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Length" "', argument " "1"" of type '" "csArray<csArray<char > > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  result = ((csArray<csArray<char > > const *)arg1)->Length();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t arg2 ;
  csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Get" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCharArrayArray_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > &_result_ref = (arg1)->Get(arg2);
    result = (csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t arg2 ;
  csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Get" "', argument " "1"" of type '" "csArray<csArray<char > > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCharArrayArray_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &_result_ref = ((csArray<csArray<char > > const *)arg1)->Get(arg2);
    result = (csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Get(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csCharArrayArray_Get__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csCharArrayArray_Get__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csCharArrayArray_Get'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t arg2 ;
  csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csCharArrayArray_Put",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Put" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCharArrayArray_Put" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csCharArrayArray_Put" "', argument " "3"" of type '" "csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csCharArrayArray_Put" "', argument " "3"" of type '" "csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &""'"); 
  }
  arg3 = reinterpret_cast< csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > * >(argp3);
  (arg1)->Put(arg2,(csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray_Push",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Push" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCharArrayArray_Push" "', argument " "2"" of type '" "csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csCharArrayArray_Push" "', argument " "2"" of type '" "csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > * >(argp2);
  result = (arg1)->Push((csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  SwigValueWrapper<csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCharArrayArray_Pop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Pop" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  result = (arg1)->Pop();
  resultobj = SWIG_NewPointerObj((new csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault >(static_cast< const csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault >& >(result))), SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Top__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCharArrayArray_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Top" "', argument " "1"" of type '" "csArray<csArray<char > > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  {
    csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &_result_ref = ((csArray<csArray<char > > const *)arg1)->Top();
    result = (csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Top__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCharArrayArray_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Top" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  {
    csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > &_result_ref = (arg1)->Top();
    result = (csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Top(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csCharArrayArray_Top__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csCharArrayArray_Top__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csCharArrayArray_Top'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t arg2 ;
  csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csCharArrayArray_Insert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Insert" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCharArrayArray_Insert" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csCharArrayArray_Insert" "', argument " "3"" of type '" "csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csCharArrayArray_Insert" "', argument " "3"" of type '" "csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &""'"); 
  }
  arg3 = reinterpret_cast< csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > * >(argp3);
  result = (bool)(arg1)->Insert(arg2,(csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Contains" "', argument " "1"" of type '" "csArray<csArray<char > > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCharArrayArray_Contains" "', argument " "2"" of type '" "csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csCharArrayArray_Contains" "', argument " "2"" of type '" "csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > * >(argp2);
  result = ((csArray<csArray<char > > const *)arg1)->Contains((csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray_Truncate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Truncate" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCharArrayArray_Truncate" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->Truncate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCharArrayArray_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_Empty" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  (arg1)->Empty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCharArrayArray_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_IsEmpty" "', argument " "1"" of type '" "csArray<csArray<char > > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  result = (bool)((csArray<csArray<char > > const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_SetMinimalCapacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray_SetMinimalCapacity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_SetMinimalCapacity" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCharArrayArray_SetMinimalCapacity" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->SetMinimalCapacity(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_DeleteIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray_DeleteIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_DeleteIndex" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCharArrayArray_DeleteIndex" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndex(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_DeleteIndexFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray_DeleteIndexFast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_DeleteIndexFast" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCharArrayArray_DeleteIndexFast" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndexFast(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_DeleteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  size_t arg2 ;
  size_t arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csCharArrayArray_DeleteRange",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_DeleteRange" "', argument " "1"" of type '" "csArray<csArray<char > > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCharArrayArray_DeleteRange" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csCharArrayArray_DeleteRange" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (bool)(arg1)->DeleteRange(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  csArray<csArray<char > > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray___eq__" "', argument " "1"" of type '" "csArray<csArray<char > > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCharArrayArray___eq__" "', argument " "2"" of type '" "csArray<csArray<char > > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csCharArrayArray___eq__" "', argument " "2"" of type '" "csArray<csArray<char > > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<csArray<char > > * >(argp2);
  result = (bool)((csArray<csArray<char > > const *)arg1)->operator ==((csArray<csArray<char > > const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  csArray<csArray<char > > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCharArrayArray___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray___ne__" "', argument " "1"" of type '" "csArray<csArray<char > > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCharArrayArray___ne__" "', argument " "2"" of type '" "csArray<csArray<char > > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csCharArrayArray___ne__" "', argument " "2"" of type '" "csArray<csArray<char > > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<csArray<char > > * >(argp2);
  result = (bool)((csArray<csArray<char > > const *)arg1)->operator !=((csArray<csArray<char > > const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCharArrayArray_GetAllocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csArray<char > > *arg1 = (csArray<csArray<char > > *) 0 ;
  CS::Memory::AllocatorMalloc *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCharArrayArray_GetAllocator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCharArrayArray_GetAllocator" "', argument " "1"" of type '" "csArray<csArray<char > > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csArray<char > > * >(argp1);
  {
    CS::Memory::AllocatorMalloc const &_result_ref = ((csArray<csArray<char > > const *)arg1)->GetAllocator();
    result = (CS::Memory::AllocatorMalloc *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CS__Memory__AllocatorMalloc, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csCharArrayArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialPalette(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  csArray<iMaterialWrapper * > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SetMaterialPalette",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetMaterialPalette" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetMaterialPalette" "', argument " "2"" of type '" "csArray<iMaterialWrapper * > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerrainObjectState_SetMaterialPalette" "', argument " "2"" of type '" "csArray<iMaterialWrapper * > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<iMaterialWrapper * > * >(argp2);
  result = (bool)(arg1)->SetMaterialPalette((csArray<iMaterialWrapper * > const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_GetMaterialPalette(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  csArray<iMaterialWrapper * > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerrainObjectState_GetMaterialPalette",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_GetMaterialPalette" "', argument " "1"" of type '" "iTerrainObjectState const *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  {
    csArray<iMaterialWrapper * > const &_result_ref = ((iTerrainObjectState const *)arg1)->GetMaterialPalette();
    result = (csArray<iMaterialWrapper * > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialMap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  csArray<char > *arg2 = 0 ;
  int arg3 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iTerrainObjectState_SetMaterialMap",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetMaterialMap" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetMaterialMap" "', argument " "2"" of type '" "csArray<char > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerrainObjectState_SetMaterialMap" "', argument " "2"" of type '" "csArray<char > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<char > * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerrainObjectState_SetMaterialMap" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTerrainObjectState_SetMaterialMap" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->SetMaterialMap((csArray<char > const &)*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialMap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SetMaterialMap",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetMaterialMap" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetMaterialMap" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  result = (bool)(arg1)->SetMaterialMap(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialMap(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTerrainObjectState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTerrainObjectState_SetMaterialMap__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTerrainObjectState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iTerrainObjectState_SetMaterialMap__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTerrainObjectState_SetMaterialMap'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialAlphaMaps__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  csArray<csArray<char > > *arg2 = 0 ;
  int arg3 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iTerrainObjectState_SetMaterialAlphaMaps",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetMaterialAlphaMaps" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetMaterialAlphaMaps" "', argument " "2"" of type '" "csArray<csArray<char > > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerrainObjectState_SetMaterialAlphaMaps" "', argument " "2"" of type '" "csArray<csArray<char > > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<csArray<char > > * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerrainObjectState_SetMaterialAlphaMaps" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTerrainObjectState_SetMaterialAlphaMaps" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->SetMaterialAlphaMaps((csArray<csArray<char > > const &)*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialAlphaMaps__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  csArray<iImage * > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SetMaterialAlphaMaps",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetMaterialAlphaMaps" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTiImage_p_csArrayElementHandlerTiImage_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetMaterialAlphaMaps" "', argument " "2"" of type '" "csArray<iImage * > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerrainObjectState_SetMaterialAlphaMaps" "', argument " "2"" of type '" "csArray<iImage * > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<iImage * > * >(argp2);
  result = (bool)(arg1)->SetMaterialAlphaMaps((csArray<iImage * > const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialAlphaMaps(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTerrainObjectState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csArrayTiImage_p_csArrayElementHandlerTiImage_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTerrainObjectState_SetMaterialAlphaMaps__SWIG_1(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTerrainObjectState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iTerrainObjectState_SetMaterialAlphaMaps__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTerrainObjectState_SetMaterialAlphaMaps'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetLODValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iTerrainObjectState_SetLODValue",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetLODValue" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetLODValue" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerrainObjectState_SetLODValue" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->SetLODValue((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_GetLODValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  char *arg2 = (char *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_GetLODValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_GetLODValue" "', argument " "1"" of type '" "iTerrainObjectState const *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_GetLODValue" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (float)((iTerrainObjectState const *)arg1)->GetLODValue((char const *)arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SaveState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SaveState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SaveState" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SaveState" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->SaveState((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_RestoreState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_RestoreState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_RestoreState" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_RestoreState" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->RestoreState((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_CollisionDetect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  iMovable *arg2 = (iMovable *) 0 ;
  csTransform *arg3 = (csTransform *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iTerrainObjectState_CollisionDetect",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_CollisionDetect" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMovable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_CollisionDetect" "', argument " "2"" of type '" "iMovable *""'"); 
  }
  arg2 = reinterpret_cast< iMovable * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iTerrainObjectState_CollisionDetect" "', argument " "3"" of type '" "csTransform *""'"); 
  }
  arg3 = reinterpret_cast< csTransform * >(argp3);
  result = (int)(arg1)->CollisionDetect(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetStaticLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SetStaticLighting",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetStaticLighting" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerrainObjectState_SetStaticLighting" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetStaticLighting(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_GetStaticLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerrainObjectState_GetStaticLighting",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_GetStaticLighting" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  result = (bool)(arg1)->GetStaticLighting();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetCastShadows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SetCastShadows",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetCastShadows" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerrainObjectState_SetCastShadows" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetCastShadows(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_GetCastShadows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerrainObjectState_GetCastShadows",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_GetCastShadows" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  result = (bool)(arg1)->GetCastShadows();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialMapFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int arg4 ;
  bool arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iTerrainObjectState_SetMaterialMapFile",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetMaterialMapFile" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetMaterialMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerrainObjectState_SetMaterialMapFile" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTerrainObjectState_SetMaterialMapFile" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iTerrainObjectState_SetMaterialMapFile" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  (arg1)->SetMaterialMapFile((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialMapFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iTerrainObjectState_SetMaterialMapFile",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetMaterialMapFile" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetMaterialMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerrainObjectState_SetMaterialMapFile" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTerrainObjectState_SetMaterialMapFile" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->SetMaterialMapFile((char const *)arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetMaterialMapFile(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTerrainObjectState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iTerrainObjectState_SetMaterialMapFile__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTerrainObjectState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iTerrainObjectState_SetMaterialMapFile__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTerrainObjectState_SetMaterialMapFile'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_GetMaterialMapFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  bool *arg4 = 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iTerrainObjectState_GetMaterialMapFile",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_GetMaterialMapFile" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_GetMaterialMapFile" "', argument " "2"" of type '" "int &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerrainObjectState_GetMaterialMapFile" "', argument " "2"" of type '" "int &""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iTerrainObjectState_GetMaterialMapFile" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerrainObjectState_GetMaterialMapFile" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iTerrainObjectState_GetMaterialMapFile" "', argument " "4"" of type '" "bool &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerrainObjectState_GetMaterialMapFile" "', argument " "4"" of type '" "bool &""'"); 
  }
  arg4 = reinterpret_cast< bool * >(argp4);
  result = (char *)(arg1)->GetMaterialMapFile(*arg2,*arg3,*arg4);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetTopNeighbor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  iTerrainObjectState *arg2 = (iTerrainObjectState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SetTopNeighbor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetTopNeighbor" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetTopNeighbor" "', argument " "2"" of type '" "iTerrainObjectState *""'"); 
  }
  arg2 = reinterpret_cast< iTerrainObjectState * >(argp2);
  (arg1)->SetTopNeighbor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetRightNeighbor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  iTerrainObjectState *arg2 = (iTerrainObjectState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SetRightNeighbor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetRightNeighbor" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetRightNeighbor" "', argument " "2"" of type '" "iTerrainObjectState *""'"); 
  }
  arg2 = reinterpret_cast< iTerrainObjectState * >(argp2);
  (arg1)->SetRightNeighbor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetLeftNeighbor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  iTerrainObjectState *arg2 = (iTerrainObjectState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SetLeftNeighbor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetLeftNeighbor" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetLeftNeighbor" "', argument " "2"" of type '" "iTerrainObjectState *""'"); 
  }
  arg2 = reinterpret_cast< iTerrainObjectState * >(argp2);
  (arg1)->SetLeftNeighbor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_SetBottomNeighbor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  iTerrainObjectState *arg2 = (iTerrainObjectState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainObjectState_SetBottomNeighbor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainObjectState_SetBottomNeighbor" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTerrainObjectState, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainObjectState_SetBottomNeighbor" "', argument " "2"" of type '" "iTerrainObjectState *""'"); 
  }
  arg2 = reinterpret_cast< iTerrainObjectState * >(argp2);
  (arg1)->SetBottomNeighbor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iTerrainObjectState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainObjectState *arg1 = (iTerrainObjectState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iTerrainObjectState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainObjectState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iTerrainObjectState" "', argument " "1"" of type '" "iTerrainObjectState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainObjectState * >(argp1);
  delete_iTerrainObjectState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainObjectState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iTerrainObjectState_scfGetVersion")) SWIG_fail;
  result = (int)iTerrainObjectState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iTerrainObjectState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iTerrainObjectState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iTerrainFactoryState_SetTerraFormer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainFactoryState *arg1 = (iTerrainFactoryState *) 0 ;
  iTerraFormer *arg2 = (iTerraFormer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainFactoryState_SetTerraFormer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainFactoryState_SetTerraFormer" "', argument " "1"" of type '" "iTerrainFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainFactoryState_SetTerraFormer" "', argument " "2"" of type '" "iTerraFormer *""'"); 
  }
  arg2 = reinterpret_cast< iTerraFormer * >(argp2);
  (arg1)->SetTerraFormer(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainFactoryState_GetTerraFormer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainFactoryState *arg1 = (iTerrainFactoryState *) 0 ;
  iTerraFormer *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerrainFactoryState_GetTerraFormer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainFactoryState_GetTerraFormer" "', argument " "1"" of type '" "iTerrainFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainFactoryState * >(argp1);
  result = (iTerraFormer *)(arg1)->GetTerraFormer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTerraFormer, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainFactoryState_SetSamplerRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainFactoryState *arg1 = (iTerrainFactoryState *) 0 ;
  csBox2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainFactoryState_SetSamplerRegion",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainFactoryState_SetSamplerRegion" "', argument " "1"" of type '" "iTerrainFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainFactoryState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainFactoryState_SetSamplerRegion" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerrainFactoryState_SetSamplerRegion" "', argument " "2"" of type '" "csBox2 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox2 * >(argp2);
  (arg1)->SetSamplerRegion((csBox2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainFactoryState_GetSamplerRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainFactoryState *arg1 = (iTerrainFactoryState *) 0 ;
  csBox2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerrainFactoryState_GetSamplerRegion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainFactoryState_GetSamplerRegion" "', argument " "1"" of type '" "iTerrainFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainFactoryState * >(argp1);
  {
    csBox2 const &_result_ref = (arg1)->GetSamplerRegion();
    result = (csBox2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainFactoryState_SaveState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainFactoryState *arg1 = (iTerrainFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainFactoryState_SaveState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainFactoryState_SaveState" "', argument " "1"" of type '" "iTerrainFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainFactoryState_SaveState" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->SaveState((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainFactoryState_RestoreState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainFactoryState *arg1 = (iTerrainFactoryState *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerrainFactoryState_RestoreState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainFactoryState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerrainFactoryState_RestoreState" "', argument " "1"" of type '" "iTerrainFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainFactoryState * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerrainFactoryState_RestoreState" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->RestoreState((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iTerrainFactoryState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerrainFactoryState *arg1 = (iTerrainFactoryState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iTerrainFactoryState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerrainFactoryState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iTerrainFactoryState" "', argument " "1"" of type '" "iTerrainFactoryState *""'"); 
  }
  arg1 = reinterpret_cast< iTerrainFactoryState * >(argp1);
  delete_iTerrainFactoryState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerrainFactoryState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iTerrainFactoryState_scfGetVersion")) SWIG_fail;
  result = (int)iTerrainFactoryState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iTerrainFactoryState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iTerrainFactoryState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csParticle_position_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticle_position_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_position_set" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csParticle_position_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->position = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_position_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticle_position_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_position_get" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  result = (csVector3 *)& ((arg1)->position);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_mass_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticle_mass_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_mass_set" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csParticle_mass_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->mass = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_mass_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticle_mass_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_mass_get" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  result = (float) ((arg1)->mass);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  csQuaternion *arg2 = (csQuaternion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticle_orientation_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_orientation_set" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csQuaternion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csParticle_orientation_set" "', argument " "2"" of type '" "csQuaternion *""'"); 
  }
  arg2 = reinterpret_cast< csQuaternion * >(argp2);
  if (arg1) (arg1)->orientation = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  csQuaternion *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticle_orientation_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_orientation_get" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  result = (csQuaternion *)& ((arg1)->orientation);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csQuaternion, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_linearVelocity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticle_linearVelocity_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_linearVelocity_set" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csParticle_linearVelocity_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->linearVelocity = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_linearVelocity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticle_linearVelocity_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_linearVelocity_get" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  result = (csVector3 *)& ((arg1)->linearVelocity);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_timeToLive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticle_timeToLive_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_timeToLive_set" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csParticle_timeToLive_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->timeToLive = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_timeToLive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticle_timeToLive_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_timeToLive_get" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  result = (float) ((arg1)->timeToLive);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_angularVelocity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticle_angularVelocity_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_angularVelocity_set" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csParticle_angularVelocity_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->angularVelocity = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_angularVelocity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticle_angularVelocity_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_angularVelocity_get" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  result = (csVector3 *)& ((arg1)->angularVelocity);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_pad_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticle_pad_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_pad_set" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csParticle_pad_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->pad = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticle_pad_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticle_pad_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticle_pad_get" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  result = (float) ((arg1)->pad);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csParticle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csParticle")) SWIG_fail;
  result = (csParticle *)new csParticle();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csParticle, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csParticle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticle *arg1 = (csParticle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csParticle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticle, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csParticle" "', argument " "1"" of type '" "csParticle *""'"); 
  }
  arg1 = reinterpret_cast< csParticle * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csParticle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csParticle, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csParticleAux_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleAux *arg1 = (csParticleAux *) 0 ;
  csColor4 *arg2 = (csColor4 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticleAux_color_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleAux, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleAux_color_set" "', argument " "1"" of type '" "csParticleAux *""'"); 
  }
  arg1 = reinterpret_cast< csParticleAux * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csColor4, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csParticleAux_color_set" "', argument " "2"" of type '" "csColor4 *""'"); 
  }
  arg2 = reinterpret_cast< csColor4 * >(argp2);
  if (arg1) (arg1)->color = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleAux_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleAux *arg1 = (csParticleAux *) 0 ;
  csColor4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticleAux_color_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleAux, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleAux_color_get" "', argument " "1"" of type '" "csParticleAux *""'"); 
  }
  arg1 = reinterpret_cast< csParticleAux * >(argp1);
  result = (csColor4 *)& ((arg1)->color);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColor4, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleAux_particleSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleAux *arg1 = (csParticleAux *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticleAux_particleSize_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleAux, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleAux_particleSize_set" "', argument " "1"" of type '" "csParticleAux *""'"); 
  }
  arg1 = reinterpret_cast< csParticleAux * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csParticleAux_particleSize_set" "', argument " "2"" of type '" "csVector2 *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  if (arg1) (arg1)->particleSize = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleAux_particleSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleAux *arg1 = (csParticleAux *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticleAux_particleSize_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleAux, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleAux_particleSize_get" "', argument " "1"" of type '" "csParticleAux *""'"); 
  }
  arg1 = reinterpret_cast< csParticleAux * >(argp1);
  result = (csVector2 *)& ((arg1)->particleSize);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleAux_pad_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleAux *arg1 = (csParticleAux *) 0 ;
  float *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticleAux_pad_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleAux, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleAux_pad_set" "', argument " "1"" of type '" "csParticleAux *""'"); 
  }
  arg1 = reinterpret_cast< csParticleAux * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csParticleAux_pad_set" "', argument " "2"" of type '" "float [2]""'"); 
  } 
  arg2 = reinterpret_cast< float * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)2; ++ii) arg1->pad[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""pad""' of type '""float [2]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleAux_pad_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleAux *arg1 = (csParticleAux *) 0 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticleAux_pad_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleAux, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleAux_pad_get" "', argument " "1"" of type '" "csParticleAux *""'"); 
  }
  arg1 = reinterpret_cast< csParticleAux * >(argp1);
  result = (float *)(float *) ((arg1)->pad);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csParticleAux(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleAux *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csParticleAux")) SWIG_fail;
  result = (csParticleAux *)new csParticleAux();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csParticleAux, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csParticleAux(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleAux *arg1 = (csParticleAux *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csParticleAux",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleAux, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csParticleAux" "', argument " "1"" of type '" "csParticleAux *""'"); 
  }
  arg1 = reinterpret_cast< csParticleAux * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csParticleAux_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csParticleAux, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csParticleBuffer_particleData_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleBuffer *arg1 = (csParticleBuffer *) 0 ;
  csParticle *arg2 = (csParticle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticleBuffer_particleData_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleBuffer_particleData_set" "', argument " "1"" of type '" "csParticleBuffer *""'"); 
  }
  arg1 = reinterpret_cast< csParticleBuffer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csParticle, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csParticleBuffer_particleData_set" "', argument " "2"" of type '" "csParticle *""'"); 
  }
  arg2 = reinterpret_cast< csParticle * >(argp2);
  if (arg1) (arg1)->particleData = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleBuffer_particleData_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleBuffer *arg1 = (csParticleBuffer *) 0 ;
  csParticle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticleBuffer_particleData_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleBuffer_particleData_get" "', argument " "1"" of type '" "csParticleBuffer *""'"); 
  }
  arg1 = reinterpret_cast< csParticleBuffer * >(argp1);
  result = (csParticle *) ((arg1)->particleData);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csParticle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleBuffer_particleAuxData_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleBuffer *arg1 = (csParticleBuffer *) 0 ;
  csParticleAux *arg2 = (csParticleAux *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticleBuffer_particleAuxData_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleBuffer_particleAuxData_set" "', argument " "1"" of type '" "csParticleBuffer *""'"); 
  }
  arg1 = reinterpret_cast< csParticleBuffer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csParticleAux, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csParticleBuffer_particleAuxData_set" "', argument " "2"" of type '" "csParticleAux *""'"); 
  }
  arg2 = reinterpret_cast< csParticleAux * >(argp2);
  if (arg1) (arg1)->particleAuxData = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleBuffer_particleAuxData_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleBuffer *arg1 = (csParticleBuffer *) 0 ;
  csParticleAux *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticleBuffer_particleAuxData_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleBuffer_particleAuxData_get" "', argument " "1"" of type '" "csParticleBuffer *""'"); 
  }
  arg1 = reinterpret_cast< csParticleBuffer * >(argp1);
  result = (csParticleAux *) ((arg1)->particleAuxData);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csParticleAux, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleBuffer_particleCount_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleBuffer *arg1 = (csParticleBuffer *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csParticleBuffer_particleCount_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleBuffer_particleCount_set" "', argument " "1"" of type '" "csParticleBuffer *""'"); 
  }
  arg1 = reinterpret_cast< csParticleBuffer * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csParticleBuffer_particleCount_set" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  if (arg1) (arg1)->particleCount = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csParticleBuffer_particleCount_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleBuffer *arg1 = (csParticleBuffer *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csParticleBuffer_particleCount_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csParticleBuffer_particleCount_get" "', argument " "1"" of type '" "csParticleBuffer *""'"); 
  }
  arg1 = reinterpret_cast< csParticleBuffer * >(argp1);
  result =  ((arg1)->particleCount);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csParticleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleBuffer *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csParticleBuffer")) SWIG_fail;
  result = (csParticleBuffer *)new csParticleBuffer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csParticleBuffer, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csParticleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csParticleBuffer *arg1 = (csParticleBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csParticleBuffer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csParticleBuffer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csParticleBuffer" "', argument " "1"" of type '" "csParticleBuffer *""'"); 
  }
  arg1 = reinterpret_cast< csParticleBuffer * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csParticleBuffer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csParticleBuffer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleEmitter_SetEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleEmitter_SetEnabled",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_SetEnabled" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleEmitter_SetEnabled" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetEnabled(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_GetEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleEmitter_GetEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_GetEnabled" "', argument " "1"" of type '" "iParticleEmitter const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  result = (bool)((iParticleEmitter const *)arg1)->GetEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_SetStartTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleEmitter_SetStartTime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_SetStartTime" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleEmitter_SetStartTime" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetStartTime(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_GetStartTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleEmitter_GetStartTime",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_GetStartTime" "', argument " "1"" of type '" "iParticleEmitter const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  result = (float)((iParticleEmitter const *)arg1)->GetStartTime();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_SetDuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleEmitter_SetDuration",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_SetDuration" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleEmitter_SetDuration" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetDuration(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_GetDuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleEmitter_GetDuration",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_GetDuration" "', argument " "1"" of type '" "iParticleEmitter const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  result = (float)((iParticleEmitter const *)arg1)->GetDuration();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_SetEmissionRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleEmitter_SetEmissionRate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_SetEmissionRate" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleEmitter_SetEmissionRate" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetEmissionRate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_GetEmissionRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleEmitter_GetEmissionRate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_GetEmissionRate" "', argument " "1"" of type '" "iParticleEmitter const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  result = (float)((iParticleEmitter const *)arg1)->GetEmissionRate();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_SetInitialTTL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iParticleEmitter_SetInitialTTL",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_SetInitialTTL" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleEmitter_SetInitialTTL" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iParticleEmitter_SetInitialTTL" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetInitialTTL(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_GetInitialTTL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float *arg2 = 0 ;
  float *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float temp2 ;
  int res2 = SWIG_TMPOBJ ;
  float temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleEmitter_GetInitialTTL",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_GetInitialTTL" "', argument " "1"" of type '" "iParticleEmitter const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  ((iParticleEmitter const *)arg1)->GetInitialTTL(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_SetInitialMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iParticleEmitter_SetInitialMass",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_SetInitialMass" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleEmitter_SetInitialMass" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iParticleEmitter_SetInitialMass" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetInitialMass(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_GetInitialMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  float *arg2 = 0 ;
  float *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float temp2 ;
  int res2 = SWIG_TMPOBJ ;
  float temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleEmitter_GetInitialMass",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_GetInitialMass" "', argument " "1"" of type '" "iParticleEmitter const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  ((iParticleEmitter const *)arg1)->GetInitialMass(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  SwigValueWrapper<csPtr<iParticleEmitter > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleEmitter_Clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_Clone" "', argument " "1"" of type '" "iParticleEmitter const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  result = ((iParticleEmitter const *)arg1)->Clone();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iParticleEmitter> ref((csPtr<iParticleEmitter>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iParticleEmitter *)ref), (void *)(iParticleEmitter *)ref, "iParticleEmitter" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_ParticlesToEmit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  iParticleSystemBase *arg2 = (iParticleSystemBase *) 0 ;
  float arg3 ;
  float arg4 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iParticleEmitter_ParticlesToEmit",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_ParticlesToEmit" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleEmitter_ParticlesToEmit" "', argument " "2"" of type '" "iParticleSystemBase *""'"); 
  }
  arg2 = reinterpret_cast< iParticleSystemBase * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iParticleEmitter_ParticlesToEmit" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iParticleEmitter_ParticlesToEmit" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (arg1)->ParticlesToEmit(arg2,arg3,arg4);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_EmitParticles__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  iParticleSystemBase *arg2 = (iParticleSystemBase *) 0 ;
  csParticleBuffer *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  csReversibleTransform *arg6 = (csReversibleTransform *) (csReversibleTransform *)0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iParticleEmitter_EmitParticles",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_EmitParticles" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleEmitter_EmitParticles" "', argument " "2"" of type '" "iParticleSystemBase *""'"); 
  }
  arg2 = reinterpret_cast< iParticleSystemBase * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csParticleBuffer,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iParticleEmitter_EmitParticles" "', argument " "3"" of type '" "csParticleBuffer const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleEmitter_EmitParticles" "', argument " "3"" of type '" "csParticleBuffer const &""'"); 
  }
  arg3 = reinterpret_cast< csParticleBuffer * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iParticleEmitter_EmitParticles" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iParticleEmitter_EmitParticles" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iParticleEmitter_EmitParticles" "', argument " "6"" of type '" "csReversibleTransform const *const""'"); 
  }
  arg6 = reinterpret_cast< csReversibleTransform * >(argp6);
  (arg1)->EmitParticles(arg2,(csParticleBuffer const &)*arg3,arg4,arg5,(csReversibleTransform const *)arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_EmitParticles__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  iParticleSystemBase *arg2 = (iParticleSystemBase *) 0 ;
  csParticleBuffer *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iParticleEmitter_EmitParticles",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEmitter_EmitParticles" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleEmitter_EmitParticles" "', argument " "2"" of type '" "iParticleSystemBase *""'"); 
  }
  arg2 = reinterpret_cast< iParticleSystemBase * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csParticleBuffer,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iParticleEmitter_EmitParticles" "', argument " "3"" of type '" "csParticleBuffer const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleEmitter_EmitParticles" "', argument " "3"" of type '" "csParticleBuffer const &""'"); 
  }
  arg3 = reinterpret_cast< csParticleBuffer * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iParticleEmitter_EmitParticles" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iParticleEmitter_EmitParticles" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->EmitParticles(arg2,(csParticleBuffer const &)*arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_EmitParticles(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iParticleEmitter, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iParticleSystemBase, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csParticleBuffer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iParticleEmitter_EmitParticles__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iParticleEmitter, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iParticleSystemBase, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csParticleBuffer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iParticleEmitter_EmitParticles__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iParticleEmitter_EmitParticles'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleEmitter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEmitter *arg1 = (iParticleEmitter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleEmitter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEmitter, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleEmitter" "', argument " "1"" of type '" "iParticleEmitter *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEmitter * >(argp1);
  delete_iParticleEmitter(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEmitter_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleEmitter_scfGetVersion")) SWIG_fail;
  result = (int)iParticleEmitter_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleEmitter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleEmitter, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleEffector_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEffector *arg1 = (iParticleEffector *) 0 ;
  SwigValueWrapper<csPtr<iParticleEffector > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleEffector_Clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEffector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEffector_Clone" "', argument " "1"" of type '" "iParticleEffector const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEffector * >(argp1);
  result = ((iParticleEffector const *)arg1)->Clone();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iParticleEffector> ref((csPtr<iParticleEffector>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iParticleEffector *)ref), (void *)(iParticleEffector *)ref, "iParticleEffector" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEffector_EffectParticles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEffector *arg1 = (iParticleEffector *) 0 ;
  iParticleSystemBase *arg2 = (iParticleSystemBase *) 0 ;
  csParticleBuffer *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iParticleEffector_EffectParticles",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEffector, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleEffector_EffectParticles" "', argument " "1"" of type '" "iParticleEffector *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEffector * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleEffector_EffectParticles" "', argument " "2"" of type '" "iParticleSystemBase *""'"); 
  }
  arg2 = reinterpret_cast< iParticleSystemBase * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csParticleBuffer,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iParticleEffector_EffectParticles" "', argument " "3"" of type '" "csParticleBuffer const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleEffector_EffectParticles" "', argument " "3"" of type '" "csParticleBuffer const &""'"); 
  }
  arg3 = reinterpret_cast< csParticleBuffer * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iParticleEffector_EffectParticles" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iParticleEffector_EffectParticles" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->EffectParticles(arg2,(csParticleBuffer const &)*arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleEffector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleEffector *arg1 = (iParticleEffector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleEffector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleEffector, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleEffector" "', argument " "1"" of type '" "iParticleEffector *""'"); 
  }
  arg1 = reinterpret_cast< iParticleEffector * >(argp1);
  delete_iParticleEffector(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleEffector_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleEffector_scfGetVersion")) SWIG_fail;
  result = (int)iParticleEffector_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleEffector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleEffector, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleSystemBase_SetParticleRenderOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleRenderOrientation arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_SetParticleRenderOrientation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_SetParticleRenderOrientation" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_SetParticleRenderOrientation" "', argument " "2"" of type '" "csParticleRenderOrientation""'");
  } 
  arg2 = static_cast< csParticleRenderOrientation >(val2);
  (arg1)->SetParticleRenderOrientation(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetParticleRenderOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleRenderOrientation result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetParticleRenderOrientation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetParticleRenderOrientation" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  result = (csParticleRenderOrientation)((iParticleSystemBase const *)arg1)->GetParticleRenderOrientation();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_SetRotationMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleRotationMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_SetRotationMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_SetRotationMode" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_SetRotationMode" "', argument " "2"" of type '" "csParticleRotationMode""'");
  } 
  arg2 = static_cast< csParticleRotationMode >(val2);
  (arg1)->SetRotationMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetRotationMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleRotationMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetRotationMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetRotationMode" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  result = (csParticleRotationMode)((iParticleSystemBase const *)arg1)->GetRotationMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_SetSortMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleSortMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_SetSortMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_SetSortMode" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_SetSortMode" "', argument " "2"" of type '" "csParticleSortMode""'");
  } 
  arg2 = static_cast< csParticleSortMode >(val2);
  (arg1)->SetSortMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetSortMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleSortMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetSortMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetSortMode" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  result = (csParticleSortMode)((iParticleSystemBase const *)arg1)->GetSortMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_SetIntegrationMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleIntegrationMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_SetIntegrationMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_SetIntegrationMode" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_SetIntegrationMode" "', argument " "2"" of type '" "csParticleIntegrationMode""'");
  } 
  arg2 = static_cast< csParticleIntegrationMode >(val2);
  (arg1)->SetIntegrationMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetIntegrationMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleIntegrationMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetIntegrationMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetIntegrationMode" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  result = (csParticleIntegrationMode)(arg1)->GetIntegrationMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_SetCommonDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_SetCommonDirection",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_SetCommonDirection" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleSystemBase_SetCommonDirection" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleSystemBase_SetCommonDirection" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetCommonDirection((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetCommonDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetCommonDirection",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetCommonDirection" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  {
    csVector3 const &_result_ref = ((iParticleSystemBase const *)arg1)->GetCommonDirection();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_SetTransformMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleTransformMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_SetTransformMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_SetTransformMode" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_SetTransformMode" "', argument " "2"" of type '" "csParticleTransformMode""'");
  } 
  arg2 = static_cast< csParticleTransformMode >(val2);
  (arg1)->SetTransformMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetTransformMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csParticleTransformMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetTransformMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetTransformMode" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  result = (csParticleTransformMode)((iParticleSystemBase const *)arg1)->GetTransformMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_SetUseIndividualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_SetUseIndividualSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_SetUseIndividualSize" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_SetUseIndividualSize" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetUseIndividualSize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetUseIndividualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetUseIndividualSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetUseIndividualSize" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  result = (bool)((iParticleSystemBase const *)arg1)->GetUseIndividualSize();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_SetParticleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csVector2 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_SetParticleSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_SetParticleSize" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleSystemBase_SetParticleSize" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleSystemBase_SetParticleSize" "', argument " "2"" of type '" "csVector2 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  (arg1)->SetParticleSize((csVector2 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetParticleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetParticleSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetParticleSize" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  {
    csVector2 const &_result_ref = ((iParticleSystemBase const *)arg1)->GetParticleSize();
    result = (csVector2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_SetMinBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csBox3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_SetMinBoundingBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_SetMinBoundingBox" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleSystemBase_SetMinBoundingBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleSystemBase_SetMinBoundingBox" "', argument " "2"" of type '" "csBox3 const &""'"); 
  }
  arg2 = reinterpret_cast< csBox3 * >(argp2);
  (arg1)->SetMinBoundingBox((csBox3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetMinBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  csBox3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetMinBoundingBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetMinBoundingBox" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  {
    csBox3 const &_result_ref = ((iParticleSystemBase const *)arg1)->GetMinBoundingBox();
    result = (csBox3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_AddEmitter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  iParticleEmitter *arg2 = (iParticleEmitter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_AddEmitter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_AddEmitter" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleSystemBase_AddEmitter" "', argument " "2"" of type '" "iParticleEmitter *""'"); 
  }
  arg2 = reinterpret_cast< iParticleEmitter * >(argp2);
  (arg1)->AddEmitter(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetEmitter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  size_t arg2 ;
  iParticleEmitter *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_GetEmitter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetEmitter" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_GetEmitter" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iParticleEmitter *)((iParticleSystemBase const *)arg1)->GetEmitter(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iParticleEmitter, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_RemoveEmitter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_RemoveEmitter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_RemoveEmitter" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_RemoveEmitter" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->RemoveEmitter(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetEmitterCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetEmitterCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetEmitterCount" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  result = ((iParticleSystemBase const *)arg1)->GetEmitterCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_AddEffector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  iParticleEffector *arg2 = (iParticleEffector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_AddEffector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_AddEffector" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iParticleEffector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleSystemBase_AddEffector" "', argument " "2"" of type '" "iParticleEffector *""'"); 
  }
  arg2 = reinterpret_cast< iParticleEffector * >(argp2);
  (arg1)->AddEffector(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetEffector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  size_t arg2 ;
  iParticleEffector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_GetEffector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetEffector" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_GetEffector" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iParticleEffector *)((iParticleSystemBase const *)arg1)->GetEffector(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iParticleEffector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_RemoveEffector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemBase_RemoveEffector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_RemoveEffector" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemBase_RemoveEffector" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->RemoveEffector(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_GetEffectorCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemBase_GetEffectorCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemBase_GetEffectorCount" "', argument " "1"" of type '" "iParticleSystemBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  result = ((iParticleSystemBase const *)arg1)->GetEffectorCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleSystemBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemBase *arg1 = (iParticleSystemBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleSystemBase",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemBase, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleSystemBase" "', argument " "1"" of type '" "iParticleSystemBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemBase * >(argp1);
  delete_iParticleSystemBase(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemBase_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleSystemBase_scfGetVersion")) SWIG_fail;
  result = (int)iParticleSystemBase_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleSystemBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleSystemBase, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleSystemFactory_SetDeepCreation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemFactory *arg1 = (iParticleSystemFactory *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystemFactory_SetDeepCreation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemFactory_SetDeepCreation" "', argument " "1"" of type '" "iParticleSystemFactory *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemFactory * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystemFactory_SetDeepCreation" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetDeepCreation(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemFactory_GetDeepCreation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemFactory *arg1 = (iParticleSystemFactory *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystemFactory_GetDeepCreation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystemFactory_GetDeepCreation" "', argument " "1"" of type '" "iParticleSystemFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemFactory * >(argp1);
  result = (bool)((iParticleSystemFactory const *)arg1)->GetDeepCreation();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleSystemFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystemFactory *arg1 = (iParticleSystemFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleSystemFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystemFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleSystemFactory" "', argument " "1"" of type '" "iParticleSystemFactory *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystemFactory * >(argp1);
  delete_iParticleSystemFactory(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystemFactory_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleSystemFactory_scfGetVersion")) SWIG_fail;
  result = (int)iParticleSystemFactory_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleSystemFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleSystemFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleSystem_GetParticleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystem *arg1 = (iParticleSystem *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleSystem_GetParticleCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystem_GetParticleCount" "', argument " "1"" of type '" "iParticleSystem const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystem * >(argp1);
  result = ((iParticleSystem const *)arg1)->GetParticleCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystem_GetParticle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystem *arg1 = (iParticleSystem *) 0 ;
  size_t arg2 ;
  csParticle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystem_GetParticle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystem_GetParticle" "', argument " "1"" of type '" "iParticleSystem *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystem * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystem_GetParticle" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (csParticle *)(arg1)->GetParticle(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csParticle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystem_GetParticleAux(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystem *arg1 = (iParticleSystem *) 0 ;
  size_t arg2 ;
  csParticleAux *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystem_GetParticleAux",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystem_GetParticleAux" "', argument " "1"" of type '" "iParticleSystem *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystem * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystem_GetParticleAux" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (csParticleAux *)(arg1)->GetParticleAux(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csParticleAux, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystem_LockForExternalControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystem *arg1 = (iParticleSystem *) 0 ;
  size_t arg2 ;
  csParticleBuffer *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleSystem_LockForExternalControl",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleSystem_LockForExternalControl" "', argument " "1"" of type '" "iParticleSystem *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystem * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleSystem_LockForExternalControl" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (csParticleBuffer *)(arg1)->LockForExternalControl(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csParticleBuffer, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleSystem *arg1 = (iParticleSystem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleSystem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleSystem, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleSystem" "', argument " "1"" of type '" "iParticleSystem *""'"); 
  }
  arg1 = reinterpret_cast< iParticleSystem * >(argp1);
  delete_iParticleSystem(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleSystem_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleSystem_scfGetVersion")) SWIG_fail;
  result = (int)iParticleSystem_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleSystem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleSystem, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBase_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBase *arg1 = (iParticleBuiltinEmitterBase *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEmitterBase_SetPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBase_SetPosition" "', argument " "1"" of type '" "iParticleBuiltinEmitterBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEmitterBase_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEmitterBase_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetPosition((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBase_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBase *arg1 = (iParticleBuiltinEmitterBase *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterBase_GetPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBase_GetPosition" "', argument " "1"" of type '" "iParticleBuiltinEmitterBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBase * >(argp1);
  {
    csVector3 const &_result_ref = ((iParticleBuiltinEmitterBase const *)arg1)->GetPosition();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBase_SetParticlePlacement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBase *arg1 = (iParticleBuiltinEmitterBase *) 0 ;
  csParticleBuiltinEmitterPlacement arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEmitterBase_SetParticlePlacement",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBase_SetParticlePlacement" "', argument " "1"" of type '" "iParticleBuiltinEmitterBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBase * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEmitterBase_SetParticlePlacement" "', argument " "2"" of type '" "csParticleBuiltinEmitterPlacement""'");
  } 
  arg2 = static_cast< csParticleBuiltinEmitterPlacement >(val2);
  (arg1)->SetParticlePlacement(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBase_GetParticlePlacement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBase *arg1 = (iParticleBuiltinEmitterBase *) 0 ;
  csParticleBuiltinEmitterPlacement result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterBase_GetParticlePlacement",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBase_GetParticlePlacement" "', argument " "1"" of type '" "iParticleBuiltinEmitterBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBase * >(argp1);
  result = (csParticleBuiltinEmitterPlacement)((iParticleBuiltinEmitterBase const *)arg1)->GetParticlePlacement();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBase_SetUniformVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBase *arg1 = (iParticleBuiltinEmitterBase *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEmitterBase_SetUniformVelocity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBase_SetUniformVelocity" "', argument " "1"" of type '" "iParticleBuiltinEmitterBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBase * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEmitterBase_SetUniformVelocity" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetUniformVelocity(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBase_GetUniformVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBase *arg1 = (iParticleBuiltinEmitterBase *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterBase_GetUniformVelocity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBase_GetUniformVelocity" "', argument " "1"" of type '" "iParticleBuiltinEmitterBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBase * >(argp1);
  result = (bool)((iParticleBuiltinEmitterBase const *)arg1)->GetUniformVelocity();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBase_SetInitialVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBase *arg1 = (iParticleBuiltinEmitterBase *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iParticleBuiltinEmitterBase_SetInitialVelocity",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBase_SetInitialVelocity" "', argument " "1"" of type '" "iParticleBuiltinEmitterBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEmitterBase_SetInitialVelocity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEmitterBase_SetInitialVelocity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iParticleBuiltinEmitterBase_SetInitialVelocity" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEmitterBase_SetInitialVelocity" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetInitialVelocity((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBase_GetInitialVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBase *arg1 = (iParticleBuiltinEmitterBase *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iParticleBuiltinEmitterBase_GetInitialVelocity",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBase_GetInitialVelocity" "', argument " "1"" of type '" "iParticleBuiltinEmitterBase const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBase * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEmitterBase_GetInitialVelocity" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEmitterBase_GetInitialVelocity" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iParticleBuiltinEmitterBase_GetInitialVelocity" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEmitterBase_GetInitialVelocity" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ((iParticleBuiltinEmitterBase const *)arg1)->GetInitialVelocity(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEmitterBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBase *arg1 = (iParticleBuiltinEmitterBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEmitterBase",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBase, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEmitterBase" "', argument " "1"" of type '" "iParticleBuiltinEmitterBase *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBase * >(argp1);
  delete_iParticleBuiltinEmitterBase(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBase_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleBuiltinEmitterBase_scfGetVersion")) SWIG_fail;
  result = (int)iParticleBuiltinEmitterBase_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEmitterBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEmitterBase, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterSphere_SetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterSphere *arg1 = (iParticleBuiltinEmitterSphere *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEmitterSphere_SetRadius",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterSphere, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterSphere_SetRadius" "', argument " "1"" of type '" "iParticleBuiltinEmitterSphere *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterSphere * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEmitterSphere_SetRadius" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetRadius(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterSphere_GetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterSphere *arg1 = (iParticleBuiltinEmitterSphere *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterSphere_GetRadius",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterSphere, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterSphere_GetRadius" "', argument " "1"" of type '" "iParticleBuiltinEmitterSphere const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterSphere * >(argp1);
  result = (float)((iParticleBuiltinEmitterSphere const *)arg1)->GetRadius();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEmitterSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterSphere *arg1 = (iParticleBuiltinEmitterSphere *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEmitterSphere",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterSphere, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEmitterSphere" "', argument " "1"" of type '" "iParticleBuiltinEmitterSphere *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterSphere * >(argp1);
  delete_iParticleBuiltinEmitterSphere(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterSphere_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleBuiltinEmitterSphere_scfGetVersion")) SWIG_fail;
  result = (int)iParticleBuiltinEmitterSphere_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEmitterSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEmitterSphere, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCone_SetExtent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCone *arg1 = (iParticleBuiltinEmitterCone *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEmitterCone_SetExtent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterCone_SetExtent" "', argument " "1"" of type '" "iParticleBuiltinEmitterCone *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCone * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEmitterCone_SetExtent" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEmitterCone_SetExtent" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetExtent((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCone_GetExtent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCone *arg1 = (iParticleBuiltinEmitterCone *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterCone_GetExtent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterCone_GetExtent" "', argument " "1"" of type '" "iParticleBuiltinEmitterCone const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCone * >(argp1);
  {
    csVector3 const &_result_ref = ((iParticleBuiltinEmitterCone const *)arg1)->GetExtent();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCone_SetConeAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCone *arg1 = (iParticleBuiltinEmitterCone *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEmitterCone_SetConeAngle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterCone_SetConeAngle" "', argument " "1"" of type '" "iParticleBuiltinEmitterCone *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCone * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEmitterCone_SetConeAngle" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetConeAngle(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCone_GetConeAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCone *arg1 = (iParticleBuiltinEmitterCone *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterCone_GetConeAngle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterCone_GetConeAngle" "', argument " "1"" of type '" "iParticleBuiltinEmitterCone const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCone * >(argp1);
  result = (float)((iParticleBuiltinEmitterCone const *)arg1)->GetConeAngle();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEmitterCone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCone *arg1 = (iParticleBuiltinEmitterCone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEmitterCone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCone, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEmitterCone" "', argument " "1"" of type '" "iParticleBuiltinEmitterCone *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCone * >(argp1);
  delete_iParticleBuiltinEmitterCone(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCone_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleBuiltinEmitterCone_scfGetVersion")) SWIG_fail;
  result = (int)iParticleBuiltinEmitterCone_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEmitterCone_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEmitterCone, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBox_SetBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBox *arg1 = (iParticleBuiltinEmitterBox *) 0 ;
  csOBB *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEmitterBox_SetBox",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBox_SetBox" "', argument " "1"" of type '" "iParticleBuiltinEmitterBox *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBox * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csOBB,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEmitterBox_SetBox" "', argument " "2"" of type '" "csOBB const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEmitterBox_SetBox" "', argument " "2"" of type '" "csOBB const &""'"); 
  }
  arg2 = reinterpret_cast< csOBB * >(argp2);
  (arg1)->SetBox((csOBB const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBox_GetBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBox *arg1 = (iParticleBuiltinEmitterBox *) 0 ;
  csOBB *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterBox_GetBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBox, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterBox_GetBox" "', argument " "1"" of type '" "iParticleBuiltinEmitterBox const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBox * >(argp1);
  {
    csOBB const &_result_ref = ((iParticleBuiltinEmitterBox const *)arg1)->GetBox();
    result = (csOBB *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csOBB, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEmitterBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterBox *arg1 = (iParticleBuiltinEmitterBox *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEmitterBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterBox, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEmitterBox" "', argument " "1"" of type '" "iParticleBuiltinEmitterBox *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterBox * >(argp1);
  delete_iParticleBuiltinEmitterBox(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterBox_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleBuiltinEmitterBox_scfGetVersion")) SWIG_fail;
  result = (int)iParticleBuiltinEmitterBox_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEmitterBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEmitterBox, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCylinder_SetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCylinder *arg1 = (iParticleBuiltinEmitterCylinder *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEmitterCylinder_SetRadius",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCylinder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterCylinder_SetRadius" "', argument " "1"" of type '" "iParticleBuiltinEmitterCylinder *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCylinder * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEmitterCylinder_SetRadius" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetRadius(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCylinder_GetRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCylinder *arg1 = (iParticleBuiltinEmitterCylinder *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterCylinder_GetRadius",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCylinder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterCylinder_GetRadius" "', argument " "1"" of type '" "iParticleBuiltinEmitterCylinder const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCylinder * >(argp1);
  result = (float)((iParticleBuiltinEmitterCylinder const *)arg1)->GetRadius();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCylinder_SetExtent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCylinder *arg1 = (iParticleBuiltinEmitterCylinder *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEmitterCylinder_SetExtent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCylinder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterCylinder_SetExtent" "', argument " "1"" of type '" "iParticleBuiltinEmitterCylinder *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCylinder * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEmitterCylinder_SetExtent" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEmitterCylinder_SetExtent" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetExtent((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCylinder_GetExtent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCylinder *arg1 = (iParticleBuiltinEmitterCylinder *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterCylinder_GetExtent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCylinder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterCylinder_GetExtent" "', argument " "1"" of type '" "iParticleBuiltinEmitterCylinder const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCylinder * >(argp1);
  {
    csVector3 const &_result_ref = ((iParticleBuiltinEmitterCylinder const *)arg1)->GetExtent();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEmitterCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterCylinder *arg1 = (iParticleBuiltinEmitterCylinder *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEmitterCylinder",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterCylinder, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEmitterCylinder" "', argument " "1"" of type '" "iParticleBuiltinEmitterCylinder *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterCylinder * >(argp1);
  delete_iParticleBuiltinEmitterCylinder(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterCylinder_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleBuiltinEmitterCylinder_scfGetVersion")) SWIG_fail;
  result = (int)iParticleBuiltinEmitterCylinder_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEmitterCylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEmitterCylinder, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterFactory_CreateSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterFactory *arg1 = (iParticleBuiltinEmitterFactory *) 0 ;
  SwigValueWrapper<csPtr<iParticleBuiltinEmitterSphere > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterFactory_CreateSphere",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterFactory_CreateSphere" "', argument " "1"" of type '" "iParticleBuiltinEmitterFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterFactory * >(argp1);
  result = ((iParticleBuiltinEmitterFactory const *)arg1)->CreateSphere();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iParticleBuiltinEmitterSphere> ref((csPtr<iParticleBuiltinEmitterSphere>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iParticleBuiltinEmitterSphere *)ref), (void *)(iParticleBuiltinEmitterSphere *)ref, "iParticleBuiltinEmitterSphere" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterFactory_CreateCone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterFactory *arg1 = (iParticleBuiltinEmitterFactory *) 0 ;
  SwigValueWrapper<csPtr<iParticleBuiltinEmitterCone > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterFactory_CreateCone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterFactory_CreateCone" "', argument " "1"" of type '" "iParticleBuiltinEmitterFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterFactory * >(argp1);
  result = ((iParticleBuiltinEmitterFactory const *)arg1)->CreateCone();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iParticleBuiltinEmitterCone> ref((csPtr<iParticleBuiltinEmitterCone>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iParticleBuiltinEmitterCone *)ref), (void *)(iParticleBuiltinEmitterCone *)ref, "iParticleBuiltinEmitterCone" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterFactory_CreateBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterFactory *arg1 = (iParticleBuiltinEmitterFactory *) 0 ;
  SwigValueWrapper<csPtr<iParticleBuiltinEmitterBox > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterFactory_CreateBox",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterFactory_CreateBox" "', argument " "1"" of type '" "iParticleBuiltinEmitterFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterFactory * >(argp1);
  result = ((iParticleBuiltinEmitterFactory const *)arg1)->CreateBox();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iParticleBuiltinEmitterBox> ref((csPtr<iParticleBuiltinEmitterBox>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iParticleBuiltinEmitterBox *)ref), (void *)(iParticleBuiltinEmitterBox *)ref, "iParticleBuiltinEmitterBox" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterFactory_CreateCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterFactory *arg1 = (iParticleBuiltinEmitterFactory *) 0 ;
  SwigValueWrapper<csPtr<iParticleBuiltinEmitterCylinder > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEmitterFactory_CreateCylinder",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEmitterFactory_CreateCylinder" "', argument " "1"" of type '" "iParticleBuiltinEmitterFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterFactory * >(argp1);
  result = ((iParticleBuiltinEmitterFactory const *)arg1)->CreateCylinder();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iParticleBuiltinEmitterCylinder> ref((csPtr<iParticleBuiltinEmitterCylinder>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iParticleBuiltinEmitterCylinder *)ref), (void *)(iParticleBuiltinEmitterCylinder *)ref, "iParticleBuiltinEmitterCylinder" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEmitterFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEmitterFactory *arg1 = (iParticleBuiltinEmitterFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEmitterFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEmitterFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEmitterFactory" "', argument " "1"" of type '" "iParticleBuiltinEmitterFactory *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEmitterFactory * >(argp1);
  delete_iParticleBuiltinEmitterFactory(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEmitterFactory_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleBuiltinEmitterFactory_scfGetVersion")) SWIG_fail;
  result = (int)iParticleBuiltinEmitterFactory_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEmitterFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEmitterFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorForce_SetAcceleration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorForce *arg1 = (iParticleBuiltinEffectorForce *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEffectorForce_SetAcceleration",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorForce, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorForce_SetAcceleration" "', argument " "1"" of type '" "iParticleBuiltinEffectorForce *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorForce * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEffectorForce_SetAcceleration" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEffectorForce_SetAcceleration" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetAcceleration((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorForce_GetAcceleration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorForce *arg1 = (iParticleBuiltinEffectorForce *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorForce_GetAcceleration",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorForce, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorForce_GetAcceleration" "', argument " "1"" of type '" "iParticleBuiltinEffectorForce const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorForce * >(argp1);
  {
    csVector3 const &_result_ref = ((iParticleBuiltinEffectorForce const *)arg1)->GetAcceleration();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorForce_SetForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorForce *arg1 = (iParticleBuiltinEffectorForce *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEffectorForce_SetForce",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorForce, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorForce_SetForce" "', argument " "1"" of type '" "iParticleBuiltinEffectorForce *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorForce * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEffectorForce_SetForce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEffectorForce_SetForce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetForce((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorForce_GetForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorForce *arg1 = (iParticleBuiltinEffectorForce *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorForce_GetForce",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorForce, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorForce_GetForce" "', argument " "1"" of type '" "iParticleBuiltinEffectorForce const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorForce * >(argp1);
  {
    csVector3 const &_result_ref = ((iParticleBuiltinEffectorForce const *)arg1)->GetForce();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorForce_SetRandomAcceleration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorForce *arg1 = (iParticleBuiltinEffectorForce *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEffectorForce_SetRandomAcceleration",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorForce, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorForce_SetRandomAcceleration" "', argument " "1"" of type '" "iParticleBuiltinEffectorForce *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorForce * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEffectorForce_SetRandomAcceleration" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEffectorForce_SetRandomAcceleration" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetRandomAcceleration((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorForce_GetRandomAcceleration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorForce *arg1 = (iParticleBuiltinEffectorForce *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorForce_GetRandomAcceleration",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorForce, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorForce_GetRandomAcceleration" "', argument " "1"" of type '" "iParticleBuiltinEffectorForce const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorForce * >(argp1);
  {
    csVector3 const &_result_ref = ((iParticleBuiltinEffectorForce const *)arg1)->GetRandomAcceleration();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEffectorForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorForce *arg1 = (iParticleBuiltinEffectorForce *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEffectorForce",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorForce, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEffectorForce" "', argument " "1"" of type '" "iParticleBuiltinEffectorForce *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorForce * >(argp1);
  delete_iParticleBuiltinEffectorForce(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorForce_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleBuiltinEffectorForce_scfGetVersion")) SWIG_fail;
  result = (int)iParticleBuiltinEffectorForce_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEffectorForce_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEffectorForce, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorLinColor_AddColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorLinColor *arg1 = (iParticleBuiltinEffectorLinColor *) 0 ;
  csColor4 *arg2 = 0 ;
  float arg3 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iParticleBuiltinEffectorLinColor_AddColor",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorLinColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorLinColor_AddColor" "', argument " "1"" of type '" "iParticleBuiltinEffectorLinColor *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorLinColor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor4,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParticleBuiltinEffectorLinColor_AddColor" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEffectorLinColor_AddColor" "', argument " "2"" of type '" "csColor4 const &""'"); 
  }
  arg2 = reinterpret_cast< csColor4 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iParticleBuiltinEffectorLinColor_AddColor" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (arg1)->AddColor((csColor4 const &)*arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorLinColor_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorLinColor *arg1 = (iParticleBuiltinEffectorLinColor *) 0 ;
  size_t arg2 ;
  csColor4 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iParticleBuiltinEffectorLinColor_SetColor",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorLinColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorLinColor_SetColor" "', argument " "1"" of type '" "iParticleBuiltinEffectorLinColor *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorLinColor * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEffectorLinColor_SetColor" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csColor4,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iParticleBuiltinEffectorLinColor_SetColor" "', argument " "3"" of type '" "csColor4 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEffectorLinColor_SetColor" "', argument " "3"" of type '" "csColor4 const &""'"); 
  }
  arg3 = reinterpret_cast< csColor4 * >(argp3);
  (arg1)->SetColor(arg2,(csColor4 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorLinColor_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorLinColor *arg1 = (iParticleBuiltinEffectorLinColor *) 0 ;
  size_t arg2 ;
  csColor4 *arg3 = 0 ;
  float *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iParticleBuiltinEffectorLinColor_GetColor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorLinColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorLinColor_GetColor" "', argument " "1"" of type '" "iParticleBuiltinEffectorLinColor const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorLinColor * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEffectorLinColor_GetColor" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csColor4,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iParticleBuiltinEffectorLinColor_GetColor" "', argument " "3"" of type '" "csColor4 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEffectorLinColor_GetColor" "', argument " "3"" of type '" "csColor4 &""'"); 
  }
  arg3 = reinterpret_cast< csColor4 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iParticleBuiltinEffectorLinColor_GetColor" "', argument " "4"" of type '" "float &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEffectorLinColor_GetColor" "', argument " "4"" of type '" "float &""'"); 
  }
  arg4 = reinterpret_cast< float * >(argp4);
  ((iParticleBuiltinEffectorLinColor const *)arg1)->GetColor(arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorLinColor_GetColorCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorLinColor *arg1 = (iParticleBuiltinEffectorLinColor *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorLinColor_GetColorCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorLinColor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorLinColor_GetColorCount" "', argument " "1"" of type '" "iParticleBuiltinEffectorLinColor const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorLinColor * >(argp1);
  result = ((iParticleBuiltinEffectorLinColor const *)arg1)->GetColorCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEffectorLinColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorLinColor *arg1 = (iParticleBuiltinEffectorLinColor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEffectorLinColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorLinColor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEffectorLinColor" "', argument " "1"" of type '" "iParticleBuiltinEffectorLinColor *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorLinColor * >(argp1);
  delete_iParticleBuiltinEffectorLinColor(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorLinColor_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleBuiltinEffectorLinColor_scfGetVersion")) SWIG_fail;
  result = (int)iParticleBuiltinEffectorLinColor_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEffectorLinColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEffectorLinColor, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorVelocityField_SetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorVelocityField *arg1 = (iParticleBuiltinEffectorVelocityField *) 0 ;
  csParticleBuiltinEffectorVFType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEffectorVelocityField_SetType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorVelocityField_SetType" "', argument " "1"" of type '" "iParticleBuiltinEffectorVelocityField *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorVelocityField * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEffectorVelocityField_SetType" "', argument " "2"" of type '" "csParticleBuiltinEffectorVFType""'");
  } 
  arg2 = static_cast< csParticleBuiltinEffectorVFType >(val2);
  (arg1)->SetType(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorVelocityField_GetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorVelocityField *arg1 = (iParticleBuiltinEffectorVelocityField *) 0 ;
  csParticleBuiltinEffectorVFType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorVelocityField_GetType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorVelocityField_GetType" "', argument " "1"" of type '" "iParticleBuiltinEffectorVelocityField const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorVelocityField * >(argp1);
  result = (csParticleBuiltinEffectorVFType)((iParticleBuiltinEffectorVelocityField const *)arg1)->GetType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorVelocityField_SetFParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorVelocityField *arg1 = (iParticleBuiltinEffectorVelocityField *) 0 ;
  size_t arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iParticleBuiltinEffectorVelocityField_SetFParameter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorVelocityField_SetFParameter" "', argument " "1"" of type '" "iParticleBuiltinEffectorVelocityField *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorVelocityField * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEffectorVelocityField_SetFParameter" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iParticleBuiltinEffectorVelocityField_SetFParameter" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetFParameter(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorVelocityField_GetFParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorVelocityField *arg1 = (iParticleBuiltinEffectorVelocityField *) 0 ;
  size_t arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEffectorVelocityField_GetFParameter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorVelocityField_GetFParameter" "', argument " "1"" of type '" "iParticleBuiltinEffectorVelocityField const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorVelocityField * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEffectorVelocityField_GetFParameter" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (float)((iParticleBuiltinEffectorVelocityField const *)arg1)->GetFParameter(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorVelocityField_GetFParameterCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorVelocityField *arg1 = (iParticleBuiltinEffectorVelocityField *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorVelocityField_GetFParameterCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorVelocityField_GetFParameterCount" "', argument " "1"" of type '" "iParticleBuiltinEffectorVelocityField const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorVelocityField * >(argp1);
  result = ((iParticleBuiltinEffectorVelocityField const *)arg1)->GetFParameterCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorVelocityField_SetVParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorVelocityField *arg1 = (iParticleBuiltinEffectorVelocityField *) 0 ;
  size_t arg2 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iParticleBuiltinEffectorVelocityField_SetVParameter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorVelocityField_SetVParameter" "', argument " "1"" of type '" "iParticleBuiltinEffectorVelocityField *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorVelocityField * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEffectorVelocityField_SetVParameter" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iParticleBuiltinEffectorVelocityField_SetVParameter" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iParticleBuiltinEffectorVelocityField_SetVParameter" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetVParameter(arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorVelocityField_GetVParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorVelocityField *arg1 = (iParticleBuiltinEffectorVelocityField *) 0 ;
  size_t arg2 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParticleBuiltinEffectorVelocityField_GetVParameter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorVelocityField_GetVParameter" "', argument " "1"" of type '" "iParticleBuiltinEffectorVelocityField const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorVelocityField * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iParticleBuiltinEffectorVelocityField_GetVParameter" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = ((iParticleBuiltinEffectorVelocityField const *)arg1)->GetVParameter(arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorVelocityField_GetVParameterCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorVelocityField *arg1 = (iParticleBuiltinEffectorVelocityField *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorVelocityField_GetVParameterCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorVelocityField_GetVParameterCount" "', argument " "1"" of type '" "iParticleBuiltinEffectorVelocityField const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorVelocityField * >(argp1);
  result = ((iParticleBuiltinEffectorVelocityField const *)arg1)->GetVParameterCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEffectorVelocityField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorVelocityField *arg1 = (iParticleBuiltinEffectorVelocityField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEffectorVelocityField",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEffectorVelocityField" "', argument " "1"" of type '" "iParticleBuiltinEffectorVelocityField *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorVelocityField * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEffectorVelocityField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEffectorVelocityField, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorFactory_CreateForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorFactory *arg1 = (iParticleBuiltinEffectorFactory *) 0 ;
  SwigValueWrapper<csPtr<iParticleBuiltinEffectorForce > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorFactory_CreateForce",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorFactory_CreateForce" "', argument " "1"" of type '" "iParticleBuiltinEffectorFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorFactory * >(argp1);
  result = ((iParticleBuiltinEffectorFactory const *)arg1)->CreateForce();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iParticleBuiltinEffectorForce> ref((csPtr<iParticleBuiltinEffectorForce>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iParticleBuiltinEffectorForce *)ref), (void *)(iParticleBuiltinEffectorForce *)ref, "iParticleBuiltinEffectorForce" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorFactory_CreateLinColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorFactory *arg1 = (iParticleBuiltinEffectorFactory *) 0 ;
  SwigValueWrapper<csPtr<iParticleBuiltinEffectorLinColor > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorFactory_CreateLinColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorFactory_CreateLinColor" "', argument " "1"" of type '" "iParticleBuiltinEffectorFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorFactory * >(argp1);
  result = ((iParticleBuiltinEffectorFactory const *)arg1)->CreateLinColor();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iParticleBuiltinEffectorLinColor> ref((csPtr<iParticleBuiltinEffectorLinColor>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iParticleBuiltinEffectorLinColor *)ref), (void *)(iParticleBuiltinEffectorLinColor *)ref, "iParticleBuiltinEffectorLinColor" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorFactory_CreateVelocityField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorFactory *arg1 = (iParticleBuiltinEffectorFactory *) 0 ;
  SwigValueWrapper<csPtr<iParticleBuiltinEffectorVelocityField > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParticleBuiltinEffectorFactory_CreateVelocityField",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorFactory, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParticleBuiltinEffectorFactory_CreateVelocityField" "', argument " "1"" of type '" "iParticleBuiltinEffectorFactory const *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorFactory * >(argp1);
  result = ((iParticleBuiltinEffectorFactory const *)arg1)->CreateVelocityField();
  resultobj = SWIG_NewPointerObj((new csPtr<iParticleBuiltinEffectorVelocityField >(static_cast< const csPtr<iParticleBuiltinEffectorVelocityField >& >(result))), SWIGTYPE_p_csPtrTiParticleBuiltinEffectorVelocityField_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParticleBuiltinEffectorFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParticleBuiltinEffectorFactory *arg1 = (iParticleBuiltinEffectorFactory *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParticleBuiltinEffectorFactory",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParticleBuiltinEffectorFactory, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParticleBuiltinEffectorFactory" "', argument " "1"" of type '" "iParticleBuiltinEffectorFactory *""'"); 
  }
  arg1 = reinterpret_cast< iParticleBuiltinEffectorFactory * >(argp1);
  delete_iParticleBuiltinEffectorFactory(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParticleBuiltinEffectorFactory_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iParticleBuiltinEffectorFactory_scfGetVersion")) SWIG_fail;
  result = (int)iParticleBuiltinEffectorFactory_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParticleBuiltinEffectorFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParticleBuiltinEffectorFactory, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLoaderStatus_IsReady(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoaderStatus *arg1 = (iLoaderStatus *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLoaderStatus_IsReady",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoaderStatus, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoaderStatus_IsReady" "', argument " "1"" of type '" "iLoaderStatus *""'"); 
  }
  arg1 = reinterpret_cast< iLoaderStatus * >(argp1);
  result = (bool)(arg1)->IsReady();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoaderStatus_IsError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoaderStatus *arg1 = (iLoaderStatus *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLoaderStatus_IsError",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoaderStatus, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoaderStatus_IsError" "', argument " "1"" of type '" "iLoaderStatus *""'"); 
  }
  arg1 = reinterpret_cast< iLoaderStatus * >(argp1);
  result = (bool)(arg1)->IsError();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLoaderStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoaderStatus *arg1 = (iLoaderStatus *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLoaderStatus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoaderStatus, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLoaderStatus" "', argument " "1"" of type '" "iLoaderStatus *""'"); 
  }
  arg1 = reinterpret_cast< iLoaderStatus * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iLoaderStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLoaderStatus, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMissingLoaderData_MissingMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMissingLoaderData *arg1 = (iMissingLoaderData *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  iMaterialWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMissingLoaderData_MissingMaterial",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMissingLoaderData_MissingMaterial" "', argument " "1"" of type '" "iMissingLoaderData *""'"); 
  }
  arg1 = reinterpret_cast< iMissingLoaderData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMissingLoaderData_MissingMaterial" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMissingLoaderData_MissingMaterial" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (iMaterialWrapper *)(arg1)->MissingMaterial((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMaterialWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMissingLoaderData_MissingTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMissingLoaderData *arg1 = (iMissingLoaderData *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMissingLoaderData_MissingTexture",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMissingLoaderData_MissingTexture" "', argument " "1"" of type '" "iMissingLoaderData *""'"); 
  }
  arg1 = reinterpret_cast< iMissingLoaderData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMissingLoaderData_MissingTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMissingLoaderData_MissingTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (iTextureWrapper *)(arg1)->MissingTexture((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMissingLoaderData_MissingShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMissingLoaderData *arg1 = (iMissingLoaderData *) 0 ;
  char *arg2 = (char *) 0 ;
  iShader *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMissingLoaderData_MissingShader",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMissingLoaderData_MissingShader" "', argument " "1"" of type '" "iMissingLoaderData *""'"); 
  }
  arg1 = reinterpret_cast< iMissingLoaderData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMissingLoaderData_MissingShader" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iShader *)(arg1)->MissingShader((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShader, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMissingLoaderData_MissingFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMissingLoaderData *arg1 = (iMissingLoaderData *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshFactoryWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMissingLoaderData_MissingFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMissingLoaderData_MissingFactory" "', argument " "1"" of type '" "iMissingLoaderData *""'"); 
  }
  arg1 = reinterpret_cast< iMissingLoaderData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMissingLoaderData_MissingFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshFactoryWrapper *)(arg1)->MissingFactory((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshFactoryWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMissingLoaderData_MissingMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMissingLoaderData *arg1 = (iMissingLoaderData *) 0 ;
  char *arg2 = (char *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMissingLoaderData_MissingMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMissingLoaderData_MissingMesh" "', argument " "1"" of type '" "iMissingLoaderData *""'"); 
  }
  arg1 = reinterpret_cast< iMissingLoaderData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMissingLoaderData_MissingMesh" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iMeshWrapper *)(arg1)->MissingMesh((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMissingLoaderData_MissingSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMissingLoaderData *arg1 = (iMissingLoaderData *) 0 ;
  char *arg2 = (char *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMissingLoaderData_MissingSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMissingLoaderData_MissingSector" "', argument " "1"" of type '" "iMissingLoaderData *""'"); 
  }
  arg1 = reinterpret_cast< iMissingLoaderData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMissingLoaderData_MissingSector" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSector *)(arg1)->MissingSector((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMissingLoaderData_MissingLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMissingLoaderData *arg1 = (iMissingLoaderData *) 0 ;
  char *arg2 = (char *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMissingLoaderData_MissingLight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMissingLoaderData_MissingLight" "', argument " "1"" of type '" "iMissingLoaderData *""'"); 
  }
  arg1 = reinterpret_cast< iMissingLoaderData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMissingLoaderData_MissingLight" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iLight *)(arg1)->MissingLight((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMissingLoaderData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMissingLoaderData *arg1 = (iMissingLoaderData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMissingLoaderData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMissingLoaderData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMissingLoaderData" "', argument " "1"" of type '" "iMissingLoaderData *""'"); 
  }
  arg1 = reinterpret_cast< iMissingLoaderData * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMissingLoaderData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMissingLoaderData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLoader_LoadImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadImage",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadImage" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadImage" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadImage" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->LoadImage((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csPtr<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadImage",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadImage" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadImage" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->LoadImage((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csPtr<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  iTextureManager *arg4 = (iTextureManager *) 0 ;
  csRef<iImage > *arg5 = (csRef<iImage > *) 0 ;
  SwigValueWrapper<csPtr<iTextureHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "iTextureManager *""'"); 
  }
  arg4 = reinterpret_cast< iTextureManager * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_csRefTiImage_t, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "csRef<iImage > *""'"); 
  }
  arg5 = reinterpret_cast< csRef<iImage > * >(argp5);
  result = (arg1)->LoadTexture((char const *)arg2,arg3,arg4,arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTextureHandle> ref((csPtr<iTextureHandle>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTextureHandle *)ref), (void *)(iTextureHandle *)ref, "iTextureHandle" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  iTextureManager *arg4 = (iTextureManager *) 0 ;
  SwigValueWrapper<csPtr<iTextureHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "iTextureManager *""'"); 
  }
  arg4 = reinterpret_cast< iTextureManager * >(argp4);
  result = (arg1)->LoadTexture((char const *)arg2,arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTextureHandle> ref((csPtr<iTextureHandle>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTextureHandle *)ref), (void *)(iTextureHandle *)ref, "iTextureHandle" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iTextureHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadTexture",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->LoadTexture((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTextureHandle> ref((csPtr<iTextureHandle>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTextureHandle *)ref), (void *)(iTextureHandle *)ref, "iTextureHandle" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iTextureHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadTexture",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->LoadTexture((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTextureHandle> ref((csPtr<iTextureHandle>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTextureHandle *)ref), (void *)(iTextureHandle *)ref, "iTextureHandle" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  iTextureManager *arg5 = (iTextureManager *) 0 ;
  bool arg6 ;
  bool arg7 ;
  bool arg8 ;
  iRegion *arg9 = (iRegion *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  bool val8 ;
  int ecode8 = 0 ;
  void *argp9 = 0 ;
  int res9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "iTextureManager *""'"); 
  }
  arg5 = reinterpret_cast< iTextureManager * >(argp5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadTexture" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  ecode7 = SWIG_AsVal_bool(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iLoader_LoadTexture" "', argument " "7"" of type '" "bool""'");
  } 
  arg7 = static_cast< bool >(val7);
  ecode8 = SWIG_AsVal_bool(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iLoader_LoadTexture" "', argument " "8"" of type '" "bool""'");
  } 
  arg8 = static_cast< bool >(val8);
  res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "iLoader_LoadTexture" "', argument " "9"" of type '" "iRegion *""'"); 
  }
  arg9 = reinterpret_cast< iRegion * >(argp9);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  iTextureManager *arg5 = (iTextureManager *) 0 ;
  bool arg6 ;
  bool arg7 ;
  bool arg8 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  bool val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "iTextureManager *""'"); 
  }
  arg5 = reinterpret_cast< iTextureManager * >(argp5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadTexture" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  ecode7 = SWIG_AsVal_bool(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iLoader_LoadTexture" "', argument " "7"" of type '" "bool""'");
  } 
  arg7 = static_cast< bool >(val7);
  ecode8 = SWIG_AsVal_bool(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iLoader_LoadTexture" "', argument " "8"" of type '" "bool""'");
  } 
  arg8 = static_cast< bool >(val8);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  iTextureManager *arg5 = (iTextureManager *) 0 ;
  bool arg6 ;
  bool arg7 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "iTextureManager *""'"); 
  }
  arg5 = reinterpret_cast< iTextureManager * >(argp5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadTexture" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  ecode7 = SWIG_AsVal_bool(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iLoader_LoadTexture" "', argument " "7"" of type '" "bool""'");
  } 
  arg7 = static_cast< bool >(val7);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  iTextureManager *arg5 = (iTextureManager *) 0 ;
  bool arg6 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "iTextureManager *""'"); 
  }
  arg5 = reinterpret_cast< iTextureManager * >(argp5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadTexture" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,(char const *)arg3,arg4,arg5,arg6);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  iTextureManager *arg5 = (iTextureManager *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "iTextureManager *""'"); 
  }
  arg5 = reinterpret_cast< iTextureManager * >(argp5);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,(char const *)arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadTexture",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadImage__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadImage",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadImage" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadImage" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadImage" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->LoadImage(arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csPtr<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadImage__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  SwigValueWrapper<csPtr<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadImage",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadImage" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadImage" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  result = (arg1)->LoadImage(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csPtr<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadImage(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadImage__SWIG_3(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadImage__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iLoader_LoadImage__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iLoader_LoadImage__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_LoadImage'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  int arg3 ;
  iTextureManager *arg4 = (iTextureManager *) 0 ;
  csRef<iImage > *arg5 = (csRef<iImage > *) 0 ;
  SwigValueWrapper<csPtr<iTextureHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "iTextureManager *""'"); 
  }
  arg4 = reinterpret_cast< iTextureManager * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_csRefTiImage_t, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "csRef<iImage > *""'"); 
  }
  arg5 = reinterpret_cast< csRef<iImage > * >(argp5);
  result = (arg1)->LoadTexture(arg2,arg3,arg4,arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTextureHandle> ref((csPtr<iTextureHandle>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTextureHandle *)ref), (void *)(iTextureHandle *)ref, "iTextureHandle" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  int arg3 ;
  iTextureManager *arg4 = (iTextureManager *) 0 ;
  SwigValueWrapper<csPtr<iTextureHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "iTextureManager *""'"); 
  }
  arg4 = reinterpret_cast< iTextureManager * >(argp4);
  result = (arg1)->LoadTexture(arg2,arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTextureHandle> ref((csPtr<iTextureHandle>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTextureHandle *)ref), (void *)(iTextureHandle *)ref, "iTextureHandle" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iTextureHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadTexture",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->LoadTexture(arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTextureHandle> ref((csPtr<iTextureHandle>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTextureHandle *)ref), (void *)(iTextureHandle *)ref, "iTextureHandle" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  SwigValueWrapper<csPtr<iTextureHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadTexture",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  result = (arg1)->LoadTexture(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTextureHandle> ref((csPtr<iTextureHandle>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTextureHandle *)ref), (void *)(iTextureHandle *)ref, "iTextureHandle" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iDataBuffer *arg3 = (iDataBuffer *) 0 ;
  int arg4 ;
  iTextureManager *arg5 = (iTextureManager *) 0 ;
  bool arg6 ;
  bool arg7 ;
  bool arg8 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  bool val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "iDataBuffer *""'"); 
  }
  arg3 = reinterpret_cast< iDataBuffer * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "iTextureManager *""'"); 
  }
  arg5 = reinterpret_cast< iTextureManager * >(argp5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadTexture" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  ecode7 = SWIG_AsVal_bool(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iLoader_LoadTexture" "', argument " "7"" of type '" "bool""'");
  } 
  arg7 = static_cast< bool >(val7);
  ecode8 = SWIG_AsVal_bool(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iLoader_LoadTexture" "', argument " "8"" of type '" "bool""'");
  } 
  arg8 = static_cast< bool >(val8);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iDataBuffer *arg3 = (iDataBuffer *) 0 ;
  int arg4 ;
  iTextureManager *arg5 = (iTextureManager *) 0 ;
  bool arg6 ;
  bool arg7 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "iDataBuffer *""'"); 
  }
  arg3 = reinterpret_cast< iDataBuffer * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "iTextureManager *""'"); 
  }
  arg5 = reinterpret_cast< iTextureManager * >(argp5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadTexture" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  ecode7 = SWIG_AsVal_bool(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iLoader_LoadTexture" "', argument " "7"" of type '" "bool""'");
  } 
  arg7 = static_cast< bool >(val7);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iDataBuffer *arg3 = (iDataBuffer *) 0 ;
  int arg4 ;
  iTextureManager *arg5 = (iTextureManager *) 0 ;
  bool arg6 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "iDataBuffer *""'"); 
  }
  arg3 = reinterpret_cast< iDataBuffer * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "iTextureManager *""'"); 
  }
  arg5 = reinterpret_cast< iTextureManager * >(argp5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadTexture" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_18(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iDataBuffer *arg3 = (iDataBuffer *) 0 ;
  int arg4 ;
  iTextureManager *arg5 = (iTextureManager *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "iDataBuffer *""'"); 
  }
  arg3 = reinterpret_cast< iDataBuffer * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoader_LoadTexture" "', argument " "5"" of type '" "iTextureManager *""'"); 
  }
  arg5 = reinterpret_cast< iTextureManager * >(argp5);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_19(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iDataBuffer *arg3 = (iDataBuffer *) 0 ;
  int arg4 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_LoadTexture",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "iDataBuffer *""'"); 
  }
  arg3 = reinterpret_cast< iDataBuffer * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadTexture" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture__SWIG_20(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iDataBuffer *arg3 = (iDataBuffer *) 0 ;
  iTextureWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadTexture",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadTexture" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadTexture" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadTexture" "', argument " "3"" of type '" "iDataBuffer *""'"); 
  }
  arg3 = reinterpret_cast< iDataBuffer * >(argp3);
  result = (iTextureWrapper *)(arg1)->LoadTexture((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadTexture(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[10];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 9); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadTexture__SWIG_14(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadTexture__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iLoader_LoadTexture__SWIG_13(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDataBuffer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_LoadTexture__SWIG_20(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iLoader_LoadTexture__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_LoadTexture__SWIG_10(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iTextureManager, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iLoader_LoadTexture__SWIG_12(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDataBuffer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iLoader_LoadTexture__SWIG_19(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iTextureManager, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iLoader_LoadTexture__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iLoader_LoadTexture__SWIG_9(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iTextureManager, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_csRefTiImage_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iLoader_LoadTexture__SWIG_11(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDataBuffer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iTextureManager, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iLoader_LoadTexture__SWIG_18(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iTextureManager, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_csRefTiImage_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iLoader_LoadTexture__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iTextureManager, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iLoader_LoadTexture__SWIG_8(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDataBuffer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iTextureManager, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iLoader_LoadTexture__SWIG_17(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iTextureManager, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iLoader_LoadTexture__SWIG_7(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDataBuffer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iTextureManager, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_bool(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iLoader_LoadTexture__SWIG_16(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iTextureManager, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_bool(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iLoader_LoadTexture__SWIG_6(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDataBuffer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iTextureManager, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_bool(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_bool(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    return _wrap_iLoader_LoadTexture__SWIG_15(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iTextureManager, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_bool(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_bool(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    return _wrap_iLoader_LoadTexture__SWIG_5(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 9) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iTextureManager, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_bool(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_bool(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    void *vptr = 0;
                    int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_iRegion, 0);
                    _v = SWIG_CheckState(res);
                    if (_v) {
                      return _wrap_iLoader_LoadTexture__SWIG_4(self, args);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_LoadTexture'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadSoundSysData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iSndSysData > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadSoundSysData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadSoundSysData" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadSoundSysData" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->LoadSoundSysData((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iSndSysData> ref((csPtr<iSndSysData>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iSndSysData *)ref), (void *)(iSndSysData *)ref, "iSndSysData" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadSoundStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iSndSysStream > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadSoundStream",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadSoundStream" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadSoundStream" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadSoundStream" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->LoadSoundStream((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iSndSysStream> ref((csPtr<iSndSysStream>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iSndSysStream *)ref), (void *)(iSndSysStream *)ref, "iSndSysStream" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadSoundWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  iSndSysWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_LoadSoundWrapper",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadSoundWrapper" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadSoundWrapper" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadSoundWrapper" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadSoundWrapper" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (iSndSysWrapper *)(arg1)->LoadSoundWrapper((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_ThreadedLoadMapFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  bool arg5 ;
  SwigValueWrapper<csPtr<iLoaderStatus > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_ThreadedLoadMapFile",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (arg1)->ThreadedLoadMapFile((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj((new csPtr<iLoaderStatus >(static_cast< const csPtr<iLoaderStatus >& >(result))), SWIGTYPE_p_csPtrTiLoaderStatus_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_ThreadedLoadMapFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  SwigValueWrapper<csPtr<iLoaderStatus > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_ThreadedLoadMapFile",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  result = (arg1)->ThreadedLoadMapFile((char const *)arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj((new csPtr<iLoaderStatus >(static_cast< const csPtr<iLoaderStatus >& >(result))), SWIGTYPE_p_csPtrTiLoaderStatus_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_ThreadedLoadMapFile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  SwigValueWrapper<csPtr<iLoaderStatus > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_ThreadedLoadMapFile",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (arg1)->ThreadedLoadMapFile((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iLoaderStatus >(static_cast< const csPtr<iLoaderStatus >& >(result))), SWIGTYPE_p_csPtrTiLoaderStatus_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_ThreadedLoadMapFile__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iLoaderStatus > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_ThreadedLoadMapFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_ThreadedLoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->ThreadedLoadMapFile((char const *)arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iLoaderStatus >(static_cast< const csPtr<iLoaderStatus >& >(result))), SWIGTYPE_p_csPtrTiLoaderStatus_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_ThreadedLoadMapFile(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_ThreadedLoadMapFile__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_ThreadedLoadMapFile__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iLoader_ThreadedLoadMapFile__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iLoader_ThreadedLoadMapFile__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_ThreadedLoadMapFile'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMapFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  iMissingLoaderData *arg8 = (iMissingLoaderData *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iLoader_LoadMapFile",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMapFile" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMapFile" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadMapFile" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadMapFile" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_LoadMapFile" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iLoader_LoadMapFile" "', argument " "8"" of type '" "iMissingLoaderData *""'"); 
  }
  arg8 = reinterpret_cast< iMissingLoaderData * >(argp8);
  result = (bool)(arg1)->LoadMapFile((char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMapFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iLoader_LoadMapFile",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMapFile" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMapFile" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadMapFile" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadMapFile" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_LoadMapFile" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  result = (bool)(arg1)->LoadMapFile((char const *)arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMapFile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iLoader_LoadMapFile",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMapFile" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMapFile" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadMapFile" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadMapFile" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  result = (bool)(arg1)->LoadMapFile((char const *)arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMapFile__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_LoadMapFile",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMapFile" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMapFile" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadMapFile" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (bool)(arg1)->LoadMapFile((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMapFile__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_LoadMapFile",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMapFile" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMapFile" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  result = (bool)(arg1)->LoadMapFile((char const *)arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMapFile__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadMapFile",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMapFile" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->LoadMapFile((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMapFile__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadMapFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMapFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->LoadMapFile((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMapFile(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[9];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 8); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadMapFile__SWIG_6(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iLoader_LoadMapFile__SWIG_5(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iLoader_LoadMapFile__SWIG_4(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iLoader_LoadMapFile__SWIG_3(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iLoader_LoadMapFile__SWIG_2(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iLoader_LoadMapFile__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  void *vptr = 0;
                  int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_iMissingLoaderData, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    return _wrap_iLoader_LoadMapFile__SWIG_0(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_LoadMapFile'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  iMissingLoaderData *arg8 = (iMissingLoaderData *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iLoader_LoadMap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMap" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMap" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMap" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMap" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadMap" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadMap" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_LoadMap" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iLoader_LoadMap" "', argument " "8"" of type '" "iMissingLoaderData *""'"); 
  }
  arg8 = reinterpret_cast< iMissingLoaderData * >(argp8);
  result = (bool)(arg1)->LoadMap(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iLoader_LoadMap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMap" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMap" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMap" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMap" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadMap" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadMap" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_LoadMap" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  result = (bool)(arg1)->LoadMap(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMap__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iLoader_LoadMap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMap" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMap" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMap" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMap" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadMap" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_LoadMap" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  result = (bool)(arg1)->LoadMap(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMap__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_LoadMap",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMap" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMap" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMap" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMap" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadMap" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (bool)(arg1)->LoadMap(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMap__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool arg3 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_LoadMap",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMap" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMap" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMap" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_LoadMap" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  result = (bool)(arg1)->LoadMap(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMap__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadMap",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMap" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMap" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iLoader_LoadMap" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->LoadMap(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMap__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadMap",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMap" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMap" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (bool)(arg1)->LoadMap(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMap(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[9];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 8); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadMap__SWIG_6(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iLoader_LoadMap__SWIG_5(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iLoader_LoadMap__SWIG_4(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iLoader_LoadMap__SWIG_3(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iLoader_LoadMap__SWIG_2(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iLoader_LoadMap__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  void *vptr = 0;
                  int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_iMissingLoaderData, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    return _wrap_iLoader_LoadMap__SWIG_0(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_LoadMap'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibraryFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  bool arg5 ;
  iStreamSource *arg6 = (iStreamSource *) 0 ;
  iMissingLoaderData *arg7 = (iMissingLoaderData *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iLoader_LoadLibraryFile",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibraryFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibraryFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibraryFile" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadLibraryFile" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadLibraryFile" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iLoader_LoadLibraryFile" "', argument " "6"" of type '" "iStreamSource *""'"); 
  }
  arg6 = reinterpret_cast< iStreamSource * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_LoadLibraryFile" "', argument " "7"" of type '" "iMissingLoaderData *""'"); 
  }
  arg7 = reinterpret_cast< iMissingLoaderData * >(argp7);
  result = (bool)(arg1)->LoadLibraryFile((char const *)arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibraryFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  bool arg5 ;
  iStreamSource *arg6 = (iStreamSource *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iLoader_LoadLibraryFile",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibraryFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibraryFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibraryFile" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadLibraryFile" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadLibraryFile" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iLoader_LoadLibraryFile" "', argument " "6"" of type '" "iStreamSource *""'"); 
  }
  arg6 = reinterpret_cast< iStreamSource * >(argp6);
  result = (bool)(arg1)->LoadLibraryFile((char const *)arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibraryFile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  bool arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_LoadLibraryFile",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibraryFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibraryFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibraryFile" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadLibraryFile" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadLibraryFile" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (bool)(arg1)->LoadLibraryFile((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibraryFile__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_LoadLibraryFile",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibraryFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibraryFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibraryFile" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadLibraryFile" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  result = (bool)(arg1)->LoadLibraryFile((char const *)arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibraryFile__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadLibraryFile",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibraryFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibraryFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibraryFile" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (bool)(arg1)->LoadLibraryFile((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibraryFile__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadLibraryFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibraryFile" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibraryFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->LoadLibraryFile((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibraryFile(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadLibraryFile__SWIG_5(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_LoadLibraryFile__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iLoader_LoadLibraryFile__SWIG_3(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iLoader_LoadLibraryFile__SWIG_2(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_iStreamSource, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iLoader_LoadLibraryFile__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_iStreamSource, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iMissingLoaderData, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iLoader_LoadLibraryFile__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_LoadLibraryFile'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibrary__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  bool arg5 ;
  iStreamSource *arg6 = (iStreamSource *) 0 ;
  iMissingLoaderData *arg7 = (iMissingLoaderData *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iLoader_LoadLibrary",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibrary" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibrary" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibrary" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadLibrary" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadLibrary" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iLoader_LoadLibrary" "', argument " "6"" of type '" "iStreamSource *""'"); 
  }
  arg6 = reinterpret_cast< iStreamSource * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_LoadLibrary" "', argument " "7"" of type '" "iMissingLoaderData *""'"); 
  }
  arg7 = reinterpret_cast< iMissingLoaderData * >(argp7);
  result = (bool)(arg1)->LoadLibrary(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibrary__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  bool arg5 ;
  iStreamSource *arg6 = (iStreamSource *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iLoader_LoadLibrary",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibrary" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibrary" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibrary" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadLibrary" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadLibrary" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iLoader_LoadLibrary" "', argument " "6"" of type '" "iStreamSource *""'"); 
  }
  arg6 = reinterpret_cast< iStreamSource * >(argp6);
  result = (bool)(arg1)->LoadLibrary(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibrary__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  bool arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_LoadLibrary",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibrary" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibrary" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibrary" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadLibrary" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_LoadLibrary" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (bool)(arg1)->LoadLibrary(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibrary__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_LoadLibrary",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibrary" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibrary" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibrary" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iLoader_LoadLibrary" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  result = (bool)(arg1)->LoadLibrary(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibrary__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadLibrary",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibrary" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibrary" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadLibrary" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  result = (bool)(arg1)->LoadLibrary(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibrary__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadLibrary",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadLibrary" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadLibrary" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (bool)(arg1)->LoadLibrary(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadLibrary(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadLibrary__SWIG_5(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_LoadLibrary__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iLoader_LoadLibrary__SWIG_3(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iLoader_LoadLibrary__SWIG_2(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_iStreamSource, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iLoader_LoadLibrary__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_iStreamSource, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iMissingLoaderData, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iLoader_LoadLibrary__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_LoadLibrary'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMeshObjectFactory__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iStreamSource *arg3 = (iStreamSource *) 0 ;
  SwigValueWrapper<csPtr<iMeshFactoryWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadMeshObjectFactory",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMeshObjectFactory" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMeshObjectFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadMeshObjectFactory" "', argument " "3"" of type '" "iStreamSource *""'"); 
  }
  arg3 = reinterpret_cast< iStreamSource * >(argp3);
  result = (arg1)->LoadMeshObjectFactory((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshFactoryWrapper> ref((csPtr<iMeshFactoryWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshFactoryWrapper *)ref), (void *)(iMeshFactoryWrapper *)ref, "iMeshFactoryWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMeshObjectFactory__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshFactoryWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadMeshObjectFactory",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMeshObjectFactory" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMeshObjectFactory" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->LoadMeshObjectFactory((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshFactoryWrapper> ref((csPtr<iMeshFactoryWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshFactoryWrapper *)ref), (void *)(iMeshFactoryWrapper *)ref, "iMeshFactoryWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMeshObjectFactory(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadMeshObjectFactory__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iStreamSource, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_LoadMeshObjectFactory__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_LoadMeshObjectFactory'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMeshObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iStreamSource *arg3 = (iStreamSource *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_LoadMeshObject",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMeshObject" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMeshObject" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_LoadMeshObject" "', argument " "3"" of type '" "iStreamSource *""'"); 
  }
  arg3 = reinterpret_cast< iStreamSource * >(argp3);
  result = (arg1)->LoadMeshObject((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMeshObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iMeshWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadMeshObject",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadMeshObject" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadMeshObject" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->LoadMeshObject((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iMeshWrapper> ref((csPtr<iMeshWrapper>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iMeshWrapper *)ref), (void *)(iMeshWrapper *)ref, "iMeshWrapper" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadMeshObject(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iLoader_LoadMeshObject__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iStreamSource, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_LoadMeshObject__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_LoadMeshObject'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  char *arg8 = (char *) 0 ;
  iMissingLoaderData *arg9 = (iMissingLoaderData *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  int res8 ;
  char *buf8 = 0 ;
  int alloc8 = 0 ;
  void *argp9 = 0 ;
  int res9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_Load" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  res8 = SWIG_AsCharPtrAndSize(obj7, &buf8, NULL, &alloc8);
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iLoader_Load" "', argument " "8"" of type '" "char const *""'");
  }
  arg8 = buf8;
  res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "iLoader_Load" "', argument " "9"" of type '" "iMissingLoaderData *""'"); 
  }
  arg9 = reinterpret_cast< iMissingLoaderData * >(argp9);
  result = (bool)(arg1)->Load((char const *)arg2,*arg3,arg4,arg5,arg6,arg7,(char const *)arg8,arg9);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  char *arg8 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  int res8 ;
  char *buf8 = 0 ;
  int alloc8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_Load" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  res8 = SWIG_AsCharPtrAndSize(obj7, &buf8, NULL, &alloc8);
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iLoader_Load" "', argument " "8"" of type '" "char const *""'");
  }
  arg8 = buf8;
  result = (bool)(arg1)->Load((char const *)arg2,*arg3,arg4,arg5,arg6,arg7,(char const *)arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_Load" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  result = (bool)(arg1)->Load((char const *)arg2,*arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  result = (bool)(arg1)->Load((char const *)arg2,*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (bool)(arg1)->Load((char const *)arg2,*arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  result = (bool)(arg1)->Load((char const *)arg2,*arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase **arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_Load",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  result = (bool)(arg1)->Load((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  char *arg8 = (char *) 0 ;
  iMissingLoaderData *arg9 = (iMissingLoaderData *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  int res8 ;
  char *buf8 = 0 ;
  int alloc8 = 0 ;
  void *argp9 = 0 ;
  int res9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_Load" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  res8 = SWIG_AsCharPtrAndSize(obj7, &buf8, NULL, &alloc8);
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iLoader_Load" "', argument " "8"" of type '" "char const *""'");
  }
  arg8 = buf8;
  res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "iLoader_Load" "', argument " "9"" of type '" "iMissingLoaderData *""'"); 
  }
  arg9 = reinterpret_cast< iMissingLoaderData * >(argp9);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5,arg6,arg7,(char const *)arg8,arg9);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return resultobj;
fail:
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  char *arg8 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  int res8 ;
  char *buf8 = 0 ;
  int alloc8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_Load" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  res8 = SWIG_AsCharPtrAndSize(obj7, &buf8, NULL, &alloc8);
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iLoader_Load" "', argument " "8"" of type '" "char const *""'");
  }
  arg8 = buf8;
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5,arg6,arg7,(char const *)arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return resultobj;
fail:
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_Load" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  iBase **arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_Load",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  result = (bool)(arg1)->Load(arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  char *arg8 = (char *) 0 ;
  iMissingLoaderData *arg9 = (iMissingLoaderData *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  int res8 ;
  char *buf8 = 0 ;
  int alloc8 = 0 ;
  void *argp9 = 0 ;
  int res9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_Load" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  res8 = SWIG_AsCharPtrAndSize(obj7, &buf8, NULL, &alloc8);
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iLoader_Load" "', argument " "8"" of type '" "char const *""'");
  }
  arg8 = buf8;
  res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_iMissingLoaderData, 0 |  0 );
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "iLoader_Load" "', argument " "9"" of type '" "iMissingLoaderData *""'"); 
  }
  arg9 = reinterpret_cast< iMissingLoaderData * >(argp9);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5,arg6,arg7,(char const *)arg8,arg9);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return resultobj;
fail:
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  char *arg8 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  int res8 ;
  char *buf8 = 0 ;
  int alloc8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_Load" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  res8 = SWIG_AsCharPtrAndSize(obj7, &buf8, NULL, &alloc8);
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "iLoader_Load" "', argument " "8"" of type '" "char const *""'");
  }
  arg8 = buf8;
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5,arg6,arg7,(char const *)arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return resultobj;
fail:
  if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  iStreamSource *arg7 = (iStreamSource *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iLoader_Load" "', argument " "7"" of type '" "iStreamSource *""'"); 
  }
  arg7 = reinterpret_cast< iStreamSource * >(argp7);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iLoader_Load" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_18(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iLoader_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_19(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iBase **arg3 = 0 ;
  iRegion *arg4 = (iRegion *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iLoader_Load",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoader_Load" "', argument " "4"" of type '" "iRegion *""'"); 
  }
  arg4 = reinterpret_cast< iRegion * >(argp4);
  result = (bool)(arg1)->Load(arg2,*arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load__SWIG_20(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iBase **arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iLoader_Load",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_Load" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_Load" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_iBase,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iLoader_Load" "', argument " "3"" of type '" "iBase *&""'"); 
  }
  arg3 = reinterpret_cast< iBase ** >(argp3);
  result = (bool)(arg1)->Load(arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_Load(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[10];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 9); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_Load__SWIG_13(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_Load__SWIG_20(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iLoader_Load__SWIG_6(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iLoader_Load__SWIG_19(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iLoader_Load__SWIG_12(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iLoader_Load__SWIG_5(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iLoader_Load__SWIG_18(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iLoader_Load__SWIG_11(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iLoader_Load__SWIG_4(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iLoader_Load__SWIG_10(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iLoader_Load__SWIG_17(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iLoader_Load__SWIG_3(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iLoader_Load__SWIG_9(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iLoader_Load__SWIG_16(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iLoader_Load__SWIG_2(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  int res = SWIG_AsCharPtrAndSize(argv[7], 0, NULL, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    return _wrap_iLoader_Load__SWIG_15(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  int res = SWIG_AsCharPtrAndSize(argv[7], 0, NULL, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    return _wrap_iLoader_Load__SWIG_8(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  int res = SWIG_AsCharPtrAndSize(argv[7], 0, NULL, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    return _wrap_iLoader_Load__SWIG_1(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 9) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  int res = SWIG_AsCharPtrAndSize(argv[7], 0, NULL, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    void *vptr = 0;
                    int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_iMissingLoaderData, 0);
                    _v = SWIG_CheckState(res);
                    if (_v) {
                      return _wrap_iLoader_Load__SWIG_7(self, args);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 9) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  int res = SWIG_AsCharPtrAndSize(argv[7], 0, NULL, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    void *vptr = 0;
                    int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_iMissingLoaderData, 0);
                    _v = SWIG_CheckState(res);
                    if (_v) {
                      return _wrap_iLoader_Load__SWIG_14(self, args);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 9) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iRegion, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_iStreamSource, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  int res = SWIG_AsCharPtrAndSize(argv[7], 0, NULL, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    void *vptr = 0;
                    int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_iMissingLoaderData, 0);
                    _v = SWIG_CheckState(res);
                    if (_v) {
                      return _wrap_iLoader_Load__SWIG_0(self, args);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iLoader_Load'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_LoadShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_LoadShader",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_LoadShader" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoader_LoadShader" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->LoadShader((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_SetAutoRegions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iLoader_SetAutoRegions",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_SetAutoRegions" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iLoader_SetAutoRegions" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetAutoRegions(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_GetAutoRegions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iLoader_GetAutoRegions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoader_GetAutoRegions" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  result = (bool)(arg1)->GetAutoRegions();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLoader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoader *arg1 = (iLoader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLoader",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoader, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLoader" "', argument " "1"" of type '" "iLoader *""'"); 
  }
  arg1 = reinterpret_cast< iLoader * >(argp1);
  delete_iLoader(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoader_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iLoader_scfGetVersion")) SWIG_fail;
  result = (int)iLoader_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iLoader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLoader, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iLoaderPlugin_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoaderPlugin *arg1 = (iLoaderPlugin *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  iStreamSource *arg3 = (iStreamSource *) 0 ;
  iLoaderContext *arg4 = (iLoaderContext *) 0 ;
  iBase *arg5 = (iBase *) 0 ;
  SwigValueWrapper<csPtr<iBase > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iLoaderPlugin_Parse",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoaderPlugin, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iLoaderPlugin_Parse" "', argument " "1"" of type '" "iLoaderPlugin *""'"); 
  }
  arg1 = reinterpret_cast< iLoaderPlugin * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iLoaderPlugin_Parse" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iLoaderPlugin_Parse" "', argument " "3"" of type '" "iStreamSource *""'"); 
  }
  arg3 = reinterpret_cast< iStreamSource * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iLoaderContext, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iLoaderPlugin_Parse" "', argument " "4"" of type '" "iLoaderContext *""'"); 
  }
  arg4 = reinterpret_cast< iLoaderContext * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iLoaderPlugin_Parse" "', argument " "5"" of type '" "iBase *""'"); 
  }
  arg5 = reinterpret_cast< iBase * >(argp5);
  result = (arg1)->Parse(arg2,arg3,arg4,arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iBase> ref((csPtr<iBase>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iBase *)ref), (void *)(iBase *)ref, "iBase" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iLoaderPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iLoaderPlugin *arg1 = (iLoaderPlugin *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iLoaderPlugin",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iLoaderPlugin, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iLoaderPlugin" "', argument " "1"" of type '" "iLoaderPlugin *""'"); 
  }
  arg1 = reinterpret_cast< iLoaderPlugin * >(argp1);
  delete_iLoaderPlugin(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iLoaderPlugin_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iLoaderPlugin_scfGetVersion")) SWIG_fail;
  result = (int)iLoaderPlugin_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iLoaderPlugin_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iLoaderPlugin, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iBinaryLoaderPlugin_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBinaryLoaderPlugin *arg1 = (iBinaryLoaderPlugin *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  iStreamSource *arg3 = (iStreamSource *) 0 ;
  iLoaderContext *arg4 = (iLoaderContext *) 0 ;
  iBase *arg5 = (iBase *) 0 ;
  SwigValueWrapper<csPtr<iBase > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iBinaryLoaderPlugin_Parse",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBinaryLoaderPlugin, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBinaryLoaderPlugin_Parse" "', argument " "1"" of type '" "iBinaryLoaderPlugin *""'"); 
  }
  arg1 = reinterpret_cast< iBinaryLoaderPlugin * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iBinaryLoaderPlugin_Parse" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iStreamSource, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iBinaryLoaderPlugin_Parse" "', argument " "3"" of type '" "iStreamSource *""'"); 
  }
  arg3 = reinterpret_cast< iStreamSource * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iLoaderContext, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iBinaryLoaderPlugin_Parse" "', argument " "4"" of type '" "iLoaderContext *""'"); 
  }
  arg4 = reinterpret_cast< iLoaderContext * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iBinaryLoaderPlugin_Parse" "', argument " "5"" of type '" "iBase *""'"); 
  }
  arg5 = reinterpret_cast< iBase * >(argp5);
  result = (arg1)->Parse(arg2,arg3,arg4,arg5);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iBase> ref((csPtr<iBase>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iBase *)ref), (void *)(iBase *)ref, "iBase" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iBinaryLoaderPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBinaryLoaderPlugin *arg1 = (iBinaryLoaderPlugin *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iBinaryLoaderPlugin",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBinaryLoaderPlugin, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iBinaryLoaderPlugin" "', argument " "1"" of type '" "iBinaryLoaderPlugin *""'"); 
  }
  arg1 = reinterpret_cast< iBinaryLoaderPlugin * >(argp1);
  delete_iBinaryLoaderPlugin(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBinaryLoaderPlugin_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iBinaryLoaderPlugin_scfGetVersion")) SWIG_fail;
  result = (int)iBinaryLoaderPlugin_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iBinaryLoaderPlugin_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iBinaryLoaderPlugin, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSaver_SaveMapFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSaver *arg1 = (iSaver *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSaver_SaveMapFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSaver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSaver_SaveMapFile" "', argument " "1"" of type '" "iSaver *""'"); 
  }
  arg1 = reinterpret_cast< iSaver * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSaver_SaveMapFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->SaveMapFile((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSaver_SaveMapFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSaver *arg1 = (iSaver *) 0 ;
  SwigValueWrapper<csRef<iString > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSaver_SaveMapFile",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSaver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSaver_SaveMapFile" "', argument " "1"" of type '" "iSaver *""'"); 
  }
  arg1 = reinterpret_cast< iSaver * >(argp1);
  result = (arg1)->SaveMapFile();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iString> ref((csRef<iString>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iString *)ref), (void *)(iString *)ref, "iString" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSaver_SaveMapFile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSaver *arg1 = (iSaver *) 0 ;
  csRef<iDocumentNode > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSaver_SaveMapFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSaver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSaver_SaveMapFile" "', argument " "1"" of type '" "iSaver *""'"); 
  }
  arg1 = reinterpret_cast< iSaver * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiDocumentNode_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSaver_SaveMapFile" "', argument " "2"" of type '" "csRef<iDocumentNode > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSaver_SaveMapFile" "', argument " "2"" of type '" "csRef<iDocumentNode > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iDocumentNode > * >(argp2);
  result = (bool)(arg1)->SaveMapFile(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSaver_SaveMapFile(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSaver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iSaver_SaveMapFile__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSaver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csRefTiDocumentNode_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSaver_SaveMapFile__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSaver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSaver_SaveMapFile__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSaver_SaveMapFile'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSaver_SaveAllRegions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSaver *arg1 = (iSaver *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSaver_SaveAllRegions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSaver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSaver_SaveAllRegions" "', argument " "1"" of type '" "iSaver *""'"); 
  }
  arg1 = reinterpret_cast< iSaver * >(argp1);
  result = (bool)(arg1)->SaveAllRegions();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSaver_SaveRegionFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSaver *arg1 = (iSaver *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSaver_SaveRegionFile",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSaver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSaver_SaveRegionFile" "', argument " "1"" of type '" "iSaver *""'"); 
  }
  arg1 = reinterpret_cast< iSaver * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSaver_SaveRegionFile" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSaver_SaveRegionFile" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSaver_SaveRegionFile" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->SaveRegionFile(arg2,(char const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSaver_SaveRegion__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSaver *arg1 = (iSaver *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  int arg3 ;
  SwigValueWrapper<csRef<iString > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSaver_SaveRegion",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSaver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSaver_SaveRegion" "', argument " "1"" of type '" "iSaver *""'"); 
  }
  arg1 = reinterpret_cast< iSaver * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSaver_SaveRegion" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSaver_SaveRegion" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->SaveRegion(arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iString> ref((csRef<iString>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iString *)ref), (void *)(iString *)ref, "iString" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSaver_SaveRegion__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSaver *arg1 = (iSaver *) 0 ;
  iRegion *arg2 = (iRegion *) 0 ;
  int arg3 ;
  csRef<iDocumentNode > *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSaver_SaveRegion",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSaver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSaver_SaveRegion" "', argument " "1"" of type '" "iSaver *""'"); 
  }
  arg1 = reinterpret_cast< iSaver * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSaver_SaveRegion" "', argument " "2"" of type '" "iRegion *""'"); 
  }
  arg2 = reinterpret_cast< iRegion * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSaver_SaveRegion" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csRefTiDocumentNode_t,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSaver_SaveRegion" "', argument " "4"" of type '" "csRef<iDocumentNode > &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSaver_SaveRegion" "', argument " "4"" of type '" "csRef<iDocumentNode > &""'"); 
  }
  arg4 = reinterpret_cast< csRef<iDocumentNode > * >(argp4);
  result = (bool)(arg1)->SaveRegion(arg2,arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSaver_SaveRegion(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSaver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSaver_SaveRegion__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSaver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csRefTiDocumentNode_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSaver_SaveRegion__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSaver_SaveRegion'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSaver_SavePortal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSaver *arg1 = (iSaver *) 0 ;
  iPortal *arg2 = (iPortal *) 0 ;
  iDocumentNode *arg3 = (iDocumentNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSaver_SavePortal",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSaver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSaver_SavePortal" "', argument " "1"" of type '" "iSaver *""'"); 
  }
  arg1 = reinterpret_cast< iSaver * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPortal, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSaver_SavePortal" "', argument " "2"" of type '" "iPortal *""'"); 
  }
  arg2 = reinterpret_cast< iPortal * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSaver_SavePortal" "', argument " "3"" of type '" "iDocumentNode *""'"); 
  }
  arg3 = reinterpret_cast< iDocumentNode * >(argp3);
  result = (bool)(arg1)->SavePortal(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSaver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSaver *arg1 = (iSaver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSaver",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSaver, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSaver" "', argument " "1"" of type '" "iSaver *""'"); 
  }
  arg1 = reinterpret_cast< iSaver * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSaver_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSaver, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysData_GetFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysData *arg1 = (iSndSysData *) 0 ;
  csSndSysSoundFormat *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysData_GetFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysData_GetFormat" "', argument " "1"" of type '" "iSndSysData *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysData * >(argp1);
  result = (csSndSysSoundFormat *)(arg1)->GetFormat();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysData_GetFrameCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysData *arg1 = (iSndSysData *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysData_GetFrameCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysData_GetFrameCount" "', argument " "1"" of type '" "iSndSysData *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysData * >(argp1);
  result = (arg1)->GetFrameCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysData_GetDataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysData *arg1 = (iSndSysData *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysData_GetDataSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysData_GetDataSize" "', argument " "1"" of type '" "iSndSysData *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysData * >(argp1);
  result = (arg1)->GetDataSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysData_CreateStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysData *arg1 = (iSndSysData *) 0 ;
  csSndSysSoundFormat *arg2 = (csSndSysSoundFormat *) 0 ;
  int arg3 ;
  iSndSysStream *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysData_CreateStream",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysData_CreateStream" "', argument " "1"" of type '" "iSndSysData *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysData_CreateStream" "', argument " "2"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg2 = reinterpret_cast< csSndSysSoundFormat * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSndSysData_CreateStream" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (iSndSysStream *)(arg1)->CreateStream(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysStream, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysData_SetDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysData *arg1 = (iSndSysData *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysData_SetDescription",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysData_SetDescription" "', argument " "1"" of type '" "iSndSysData *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysData * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysData_SetDescription" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetDescription((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysData_GetDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysData *arg1 = (iSndSysData *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysData_GetDescription",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysData_GetDescription" "', argument " "1"" of type '" "iSndSysData *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysData * >(argp1);
  result = (char *)(arg1)->GetDescription();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysData *arg1 = (iSndSysData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysData" "', argument " "1"" of type '" "iSndSysData *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysData * >(argp1);
  delete_iSndSysData(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysData_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysData_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysData_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_clean_buffer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csSoundSample *arg2 = (csSoundSample *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_clean_buffer_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_clean_buffer_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3DProperties_clean_buffer_set" "', argument " "2"" of type '" "csSoundSample *""'"); 
  }
  arg2 = reinterpret_cast< csSoundSample * >(argp2);
  if (arg1) (arg1)->clean_buffer = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_clean_buffer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csSoundSample *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_clean_buffer_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_clean_buffer_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result = (csSoundSample *) ((arg1)->clean_buffer);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_work_buffer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csSoundSample *arg2 = (csSoundSample *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_work_buffer_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_work_buffer_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3DProperties_work_buffer_set" "', argument " "2"" of type '" "csSoundSample *""'"); 
  }
  arg2 = reinterpret_cast< csSoundSample * >(argp2);
  if (arg1) (arg1)->work_buffer = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_work_buffer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csSoundSample *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_work_buffer_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_work_buffer_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result = (csSoundSample *) ((arg1)->work_buffer);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_buffer_samples_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_buffer_samples_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_buffer_samples_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSoftwareFilter3DProperties_buffer_samples_set" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  if (arg1) (arg1)->buffer_samples = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_buffer_samples_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_buffer_samples_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_buffer_samples_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result =  ((arg1)->buffer_samples);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_source_parameters_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csSourceParameters3D *arg2 = (csSourceParameters3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_source_parameters_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_source_parameters_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csSourceParameters3D, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3DProperties_source_parameters_set" "', argument " "2"" of type '" "csSourceParameters3D *""'"); 
  }
  arg2 = reinterpret_cast< csSourceParameters3D * >(argp2);
  if (arg1) (arg1)->source_parameters = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_source_parameters_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csSourceParameters3D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_source_parameters_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_source_parameters_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result = (csSourceParameters3D *) ((arg1)->source_parameters);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSourceParameters3D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_listener_parameters_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csListenerProperties *arg2 = (csListenerProperties *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_listener_parameters_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_listener_parameters_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csListenerProperties, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3DProperties_listener_parameters_set" "', argument " "2"" of type '" "csListenerProperties *""'"); 
  }
  arg2 = reinterpret_cast< csListenerProperties * >(argp2);
  if (arg1) (arg1)->listener_parameters = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_listener_parameters_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csListenerProperties *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_listener_parameters_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_listener_parameters_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result = (csListenerProperties *) ((arg1)->listener_parameters);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csListenerProperties, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_sound_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csSndSysSoundFormat *arg2 = (csSndSysSoundFormat *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_sound_format_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_sound_format_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csSndSysSoundFormat, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3DProperties_sound_format_set" "', argument " "2"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg2 = reinterpret_cast< csSndSysSoundFormat * >(argp2);
  if (arg1) (arg1)->sound_format = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_sound_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  csSndSysSoundFormat *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_sound_format_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_sound_format_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result = (csSndSysSoundFormat *) ((arg1)->sound_format);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_closest_speaker_distance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_closest_speaker_distance_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_closest_speaker_distance_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSoftwareFilter3DProperties_closest_speaker_distance_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->closest_speaker_distance = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_closest_speaker_distance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_closest_speaker_distance_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_closest_speaker_distance_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result = (float) ((arg1)->closest_speaker_distance);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_speaker_distance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  float *arg2 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_speaker_distance_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_speaker_distance_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3DProperties_speaker_distance_set" "', argument " "2"" of type '" "float *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  if (arg1) (arg1)->speaker_distance = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_speaker_distance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_speaker_distance_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_speaker_distance_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result = (float *) ((arg1)->speaker_distance);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_speaker_direction_cos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  float *arg2 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_speaker_direction_cos_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_speaker_direction_cos_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3DProperties_speaker_direction_cos_set" "', argument " "2"" of type '" "float *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  if (arg1) (arg1)->speaker_direction_cos = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_speaker_direction_cos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_speaker_direction_cos_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_speaker_direction_cos_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result = (float *) ((arg1)->speaker_direction_cos);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_channel_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3DProperties_channel_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_channel_set" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSoftwareFilter3DProperties_channel_set" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  if (arg1) (arg1)->channel = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3DProperties_channel_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3DProperties_channel_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3DProperties_channel_get" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  result =  ((arg1)->channel);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_iSndSysSoftwareFilter3DProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_iSndSysSoftwareFilter3DProperties")) SWIG_fail;
  result = (iSndSysSoftwareFilter3DProperties *)new iSndSysSoftwareFilter3DProperties();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysSoftwareFilter3DProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3DProperties *arg1 = (iSndSysSoftwareFilter3DProperties *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysSoftwareFilter3DProperties",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysSoftwareFilter3DProperties" "', argument " "1"" of type '" "iSndSysSoftwareFilter3DProperties *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysSoftwareFilter3DProperties_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysSoftwareFilter3DProperties, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3D_Apply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3D *arg1 = (iSndSysSoftwareFilter3D *) 0 ;
  iSndSysSoftwareFilter3DProperties *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3D_Apply",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3D_Apply" "', argument " "1"" of type '" "iSndSysSoftwareFilter3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iSndSysSoftwareFilter3DProperties,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3D_Apply" "', argument " "2"" of type '" "iSndSysSoftwareFilter3DProperties &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSndSysSoftwareFilter3D_Apply" "', argument " "2"" of type '" "iSndSysSoftwareFilter3DProperties &""'"); 
  }
  arg2 = reinterpret_cast< iSndSysSoftwareFilter3DProperties * >(argp2);
  (arg1)->Apply(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3D_AddSubFilter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3D *arg1 = (iSndSysSoftwareFilter3D *) 0 ;
  iSndSysSoftwareFilter3D *arg2 = (iSndSysSoftwareFilter3D *) 0 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysSoftwareFilter3D_AddSubFilter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3D_AddSubFilter" "', argument " "1"" of type '" "iSndSysSoftwareFilter3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3D_AddSubFilter" "', argument " "2"" of type '" "iSndSysSoftwareFilter3D *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysSoftwareFilter3D * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSndSysSoftwareFilter3D_AddSubFilter" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)(arg1)->AddSubFilter(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3D_AddSubFilter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3D *arg1 = (iSndSysSoftwareFilter3D *) 0 ;
  iSndSysSoftwareFilter3D *arg2 = (iSndSysSoftwareFilter3D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3D_AddSubFilter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3D_AddSubFilter" "', argument " "1"" of type '" "iSndSysSoftwareFilter3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareFilter3D_AddSubFilter" "', argument " "2"" of type '" "iSndSysSoftwareFilter3D *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysSoftwareFilter3D * >(argp2);
  result = (bool)(arg1)->AddSubFilter(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3D_AddSubFilter(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSndSysSoftwareFilter3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSndSysSoftwareFilter3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSndSysSoftwareFilter3D_AddSubFilter__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSndSysSoftwareFilter3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSndSysSoftwareFilter3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iSndSysSoftwareFilter3D_AddSubFilter__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSndSysSoftwareFilter3D_AddSubFilter'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3D_GetSubFilter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3D *arg1 = (iSndSysSoftwareFilter3D *) 0 ;
  int arg2 ;
  iSndSysSoftwareFilter3D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareFilter3D_GetSubFilter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3D_GetSubFilter" "', argument " "1"" of type '" "iSndSysSoftwareFilter3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSoftwareFilter3D_GetSubFilter" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (iSndSysSoftwareFilter3D *)(arg1)->GetSubFilter(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3D_GetSubFilter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3D *arg1 = (iSndSysSoftwareFilter3D *) 0 ;
  iSndSysSoftwareFilter3D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3D_GetSubFilter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3D_GetSubFilter" "', argument " "1"" of type '" "iSndSysSoftwareFilter3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3D * >(argp1);
  result = (iSndSysSoftwareFilter3D *)(arg1)->GetSubFilter();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3D_GetSubFilter(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSndSysSoftwareFilter3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iSndSysSoftwareFilter3D_GetSubFilter__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSndSysSoftwareFilter3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSndSysSoftwareFilter3D_GetSubFilter__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSndSysSoftwareFilter3D_GetSubFilter'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3D_GetPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3D *arg1 = (iSndSysSoftwareFilter3D *) 0 ;
  iSndSysSoftwareFilter3D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareFilter3D_GetPtr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareFilter3D_GetPtr" "', argument " "1"" of type '" "iSndSysSoftwareFilter3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3D * >(argp1);
  result = (iSndSysSoftwareFilter3D *)(arg1)->GetPtr();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysSoftwareFilter3D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysSoftwareFilter3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareFilter3D *arg1 = (iSndSysSoftwareFilter3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysSoftwareFilter3D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareFilter3D, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysSoftwareFilter3D" "', argument " "1"" of type '" "iSndSysSoftwareFilter3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareFilter3D * >(argp1);
  delete_iSndSysSoftwareFilter3D(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareFilter3D_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysSoftwareFilter3D_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysSoftwareFilter3D_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysSoftwareFilter3D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysSoftwareFilter3D, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysSoftwareOutputFilter_FormatNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareOutputFilter *arg1 = (iSndSysSoftwareOutputFilter *) 0 ;
  csSndSysSoundFormat *arg2 = (csSndSysSoundFormat *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSoftwareOutputFilter_FormatNotify",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareOutputFilter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareOutputFilter_FormatNotify" "', argument " "1"" of type '" "iSndSysSoftwareOutputFilter *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareOutputFilter * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareOutputFilter_FormatNotify" "', argument " "2"" of type '" "csSndSysSoundFormat const *""'"); 
  }
  arg2 = reinterpret_cast< csSndSysSoundFormat * >(argp2);
  result = (bool)(arg1)->FormatNotify((csSndSysSoundFormat const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareOutputFilter_DeliverData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareOutputFilter *arg1 = (iSndSysSoftwareOutputFilter *) 0 ;
  csSoundSample *arg2 = (csSoundSample *) 0 ;
  size_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysSoftwareOutputFilter_DeliverData",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareOutputFilter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareOutputFilter_DeliverData" "', argument " "1"" of type '" "iSndSysSoftwareOutputFilter *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareOutputFilter * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareOutputFilter_DeliverData" "', argument " "2"" of type '" "csSoundSample const *""'"); 
  }
  arg2 = reinterpret_cast< csSoundSample * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSndSysSoftwareOutputFilter_DeliverData" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  (arg1)->DeliverData((csSoundSample const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysSoftwareOutputFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareOutputFilter *arg1 = (iSndSysSoftwareOutputFilter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysSoftwareOutputFilter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareOutputFilter, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysSoftwareOutputFilter" "', argument " "1"" of type '" "iSndSysSoftwareOutputFilter *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareOutputFilter * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysSoftwareOutputFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysSoftwareOutputFilter, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysListener_SetDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysListener *arg1 = (iSndSysListener *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysListener_SetDirection",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysListener_SetDirection" "', argument " "1"" of type '" "iSndSysListener *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysListener_SetDirection" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSndSysListener_SetDirection" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSndSysListener_SetDirection" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSndSysListener_SetDirection" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->SetDirection((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysListener_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysListener *arg1 = (iSndSysListener *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysListener_SetPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysListener_SetPosition" "', argument " "1"" of type '" "iSndSysListener *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysListener_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSndSysListener_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetPosition((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysListener_SetDistanceFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysListener *arg1 = (iSndSysListener *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysListener_SetDistanceFactor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysListener_SetDistanceFactor" "', argument " "1"" of type '" "iSndSysListener *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysListener * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysListener_SetDistanceFactor" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetDistanceFactor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysListener_SetRollOffFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysListener *arg1 = (iSndSysListener *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysListener_SetRollOffFactor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysListener_SetRollOffFactor" "', argument " "1"" of type '" "iSndSysListener *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysListener * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysListener_SetRollOffFactor" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetRollOffFactor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysListener_GetDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysListener *arg1 = (iSndSysListener *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysListener_GetDirection",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysListener_GetDirection" "', argument " "1"" of type '" "iSndSysListener *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysListener_GetDirection" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSndSysListener_GetDirection" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSndSysListener_GetDirection" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSndSysListener_GetDirection" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->GetDirection(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysListener_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysListener *arg1 = (iSndSysListener *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysListener_GetPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysListener_GetPosition" "', argument " "1"" of type '" "iSndSysListener *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysListener * >(argp1);
  {
    csVector3 const &_result_ref = (arg1)->GetPosition();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysListener_GetDistanceFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysListener *arg1 = (iSndSysListener *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysListener_GetDistanceFactor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysListener_GetDistanceFactor" "', argument " "1"" of type '" "iSndSysListener *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysListener * >(argp1);
  result = (float)(arg1)->GetDistanceFactor();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysListener_GetRollOffFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysListener *arg1 = (iSndSysListener *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysListener_GetRollOffFactor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysListener_GetRollOffFactor" "', argument " "1"" of type '" "iSndSysListener *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysListener * >(argp1);
  result = (float)(arg1)->GetRollOffFactor();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysListener *arg1 = (iSndSysListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysListener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysListener, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysListener" "', argument " "1"" of type '" "iSndSysListener *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysListener * >(argp1);
  delete_iSndSysListener(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysListener_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysListener_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysListener_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysListener, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysLoader_LoadSound__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysLoader *arg1 = (iSndSysLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  char *arg3 = (char *) 0 ;
  SwigValueWrapper<csPtr<iSndSysData > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysLoader_LoadSound",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysLoader_LoadSound" "', argument " "1"" of type '" "iSndSysLoader *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysLoader_LoadSound" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSndSysLoader_LoadSound" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->LoadSound(arg2,(char const *)arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iSndSysData> ref((csPtr<iSndSysData>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iSndSysData *)ref), (void *)(iSndSysData *)ref, "iSndSysData" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysLoader_LoadSound__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysLoader *arg1 = (iSndSysLoader *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  SwigValueWrapper<csPtr<iSndSysData > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysLoader_LoadSound",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysLoader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysLoader_LoadSound" "', argument " "1"" of type '" "iSndSysLoader *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysLoader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysLoader_LoadSound" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  result = (arg1)->LoadSound(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iSndSysData> ref((csPtr<iSndSysData>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iSndSysData *)ref), (void *)(iSndSysData *)ref, "iSndSysData" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysLoader_LoadSound(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSndSysLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSndSysLoader_LoadSound__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSndSysLoader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSndSysLoader_LoadSound__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSndSysLoader_LoadSound'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysLoader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysLoader *arg1 = (iSndSysLoader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysLoader",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysLoader, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysLoader" "', argument " "1"" of type '" "iSndSysLoader *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysLoader * >(argp1);
  delete_iSndSysLoader(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysLoader_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysLoader_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysLoader_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysLoader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysLoader, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysWrapper_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysWrapper *arg1 = (iSndSysWrapper *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysWrapper_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysWrapper_QueryObject" "', argument " "1"" of type '" "iSndSysWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysWrapper * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysWrapper_GetStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysWrapper *arg1 = (iSndSysWrapper *) 0 ;
  iSndSysStream *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysWrapper_GetStream",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysWrapper_GetStream" "', argument " "1"" of type '" "iSndSysWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysWrapper * >(argp1);
  result = (iSndSysStream *)(arg1)->GetStream();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysStream, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysWrapper_SetStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysWrapper *arg1 = (iSndSysWrapper *) 0 ;
  iSndSysStream *arg2 = (iSndSysStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysWrapper_SetStream",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysWrapper_SetStream" "', argument " "1"" of type '" "iSndSysWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysWrapper_SetStream" "', argument " "2"" of type '" "iSndSysStream *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysStream * >(argp2);
  (arg1)->SetStream(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysWrapper *arg1 = (iSndSysWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysWrapper" "', argument " "1"" of type '" "iSndSysWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysWrapper * >(argp1);
  delete_iSndSysWrapper(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysWrapper_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysWrapper_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysWrapper_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysWrapper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysWrapper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysManager_CreateSound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysManager *arg1 = (iSndSysManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iSndSysWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysManager_CreateSound",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysManager_CreateSound" "', argument " "1"" of type '" "iSndSysManager *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysManager_CreateSound" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSndSysWrapper *)(arg1)->CreateSound((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysManager_RemoveSound__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysManager *arg1 = (iSndSysManager *) 0 ;
  iSndSysWrapper *arg2 = (iSndSysWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysManager_RemoveSound",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysManager_RemoveSound" "', argument " "1"" of type '" "iSndSysManager *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysManager_RemoveSound" "', argument " "2"" of type '" "iSndSysWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysWrapper * >(argp2);
  (arg1)->RemoveSound(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysManager_RemoveSound__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysManager *arg1 = (iSndSysManager *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysManager_RemoveSound",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysManager_RemoveSound" "', argument " "1"" of type '" "iSndSysManager *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysManager * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysManager_RemoveSound" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->RemoveSound(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysManager_RemoveSound(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSndSysManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSndSysWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSndSysManager_RemoveSound__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSndSysManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSndSysManager_RemoveSound__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSndSysManager_RemoveSound'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysManager_RemoveSounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysManager *arg1 = (iSndSysManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysManager_RemoveSounds",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysManager_RemoveSounds" "', argument " "1"" of type '" "iSndSysManager *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysManager * >(argp1);
  (arg1)->RemoveSounds();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysManager_GetSoundCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysManager *arg1 = (iSndSysManager *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysManager_GetSoundCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysManager_GetSoundCount" "', argument " "1"" of type '" "iSndSysManager const *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysManager * >(argp1);
  result = ((iSndSysManager const *)arg1)->GetSoundCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysManager_GetSound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysManager *arg1 = (iSndSysManager *) 0 ;
  size_t arg2 ;
  iSndSysWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysManager_GetSound",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysManager_GetSound" "', argument " "1"" of type '" "iSndSysManager *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysManager * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysManager_GetSound" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSndSysWrapper *)(arg1)->GetSound(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysManager_FindSoundByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysManager *arg1 = (iSndSysManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iSndSysWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysManager_FindSoundByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysManager_FindSoundByName" "', argument " "1"" of type '" "iSndSysManager *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysManager_FindSoundByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSndSysWrapper *)(arg1)->FindSoundByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysManager *arg1 = (iSndSysManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysManager" "', argument " "1"" of type '" "iSndSysManager *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysManager * >(argp1);
  delete_iSndSysManager(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysManager_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysManager_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysManager_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysSource_SetVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSource *arg1 = (iSndSysSource *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSource_SetVolume",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSource_SetVolume" "', argument " "1"" of type '" "iSndSysSource *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSource * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSource_SetVolume" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetVolume(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSource_GetVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSource *arg1 = (iSndSysSource *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSource_GetVolume",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSource_GetVolume" "', argument " "1"" of type '" "iSndSysSource *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSource * >(argp1);
  result = (float)(arg1)->GetVolume();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSource_GetStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSource *arg1 = (iSndSysSource *) 0 ;
  SwigValueWrapper<csRef<iSndSysStream > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSource_GetStream",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSource_GetStream" "', argument " "1"" of type '" "iSndSysSource *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSource * >(argp1);
  result = (arg1)->GetStream();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iSndSysStream> ref((csRef<iSndSysStream>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iSndSysStream *)ref), (void *)(iSndSysStream *)ref, "iSndSysStream" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSource_AddOutputFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSource *arg1 = (iSndSysSource *) 0 ;
  SndSysFilterLocation arg2 ;
  iSndSysSoftwareOutputFilter *arg3 = (iSndSysSoftwareOutputFilter *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysSource_AddOutputFilter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSource_AddOutputFilter" "', argument " "1"" of type '" "iSndSysSource *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSource * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSource_AddOutputFilter" "', argument " "2"" of type '" "SndSysFilterLocation""'");
  } 
  arg2 = static_cast< SndSysFilterLocation >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSndSysSoftwareOutputFilter, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSndSysSource_AddOutputFilter" "', argument " "3"" of type '" "iSndSysSoftwareOutputFilter *""'"); 
  }
  arg3 = reinterpret_cast< iSndSysSoftwareOutputFilter * >(argp3);
  result = (bool)(arg1)->AddOutputFilter(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSource_RemoveOutputFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSource *arg1 = (iSndSysSource *) 0 ;
  SndSysFilterLocation arg2 ;
  iSndSysSoftwareOutputFilter *arg3 = (iSndSysSoftwareOutputFilter *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysSource_RemoveOutputFilter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSource_RemoveOutputFilter" "', argument " "1"" of type '" "iSndSysSource *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSource * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSource_RemoveOutputFilter" "', argument " "2"" of type '" "SndSysFilterLocation""'");
  } 
  arg2 = static_cast< SndSysFilterLocation >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSndSysSoftwareOutputFilter, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSndSysSource_RemoveOutputFilter" "', argument " "3"" of type '" "iSndSysSoftwareOutputFilter *""'"); 
  }
  arg3 = reinterpret_cast< iSndSysSoftwareOutputFilter * >(argp3);
  result = (bool)(arg1)->RemoveOutputFilter(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSource_GetPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSource *arg1 = (iSndSysSource *) 0 ;
  iSndSysSource *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSource_GetPtr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSource, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSource_GetPtr" "', argument " "1"" of type '" "iSndSysSource *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSource * >(argp1);
  result = (iSndSysSource *)(arg1)->GetPtr();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSndSysSource, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSource *arg1 = (iSndSysSource *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysSource",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSource, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysSource" "', argument " "1"" of type '" "iSndSysSource *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSource * >(argp1);
  delete_iSndSysSource(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSource_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysSource_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysSource_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysSource_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysSource, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware_MergeIntoBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware *arg1 = (iSndSysSourceSoftware *) 0 ;
  csSoundSample *arg2 = (csSoundSample *) 0 ;
  size_t arg3 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysSourceSoftware_MergeIntoBuffer",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware_MergeIntoBuffer" "', argument " "1"" of type '" "iSndSysSourceSoftware *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSourceSoftware_MergeIntoBuffer" "', argument " "2"" of type '" "csSoundSample *""'"); 
  }
  arg2 = reinterpret_cast< csSoundSample * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSndSysSourceSoftware_MergeIntoBuffer" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (arg1)->MergeIntoBuffer(arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware_ProcessOutputFilters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware *arg1 = (iSndSysSourceSoftware *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSourceSoftware_ProcessOutputFilters",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware_ProcessOutputFilters" "', argument " "1"" of type '" "iSndSysSourceSoftware *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware * >(argp1);
  (arg1)->ProcessOutputFilters();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysSourceSoftware(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware *arg1 = (iSndSysSourceSoftware *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysSourceSoftware",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysSourceSoftware" "', argument " "1"" of type '" "iSndSysSourceSoftware *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysSourceSoftware_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysSourceSoftware, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  csVector3 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSourceSoftware3D_SetPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_SetPosition" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSourceSoftware3D_SetPosition" "', argument " "2"" of type '" "csVector3""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSndSysSourceSoftware3D_SetPosition" "', argument " "2"" of type '" "csVector3""'");
    } else {
      csVector3 * temp = reinterpret_cast< csVector3 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->SetPosition(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSourceSoftware3D_GetPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_GetPosition" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  result = (arg1)->GetPosition();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_SetDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  csVector3 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSourceSoftware3D_SetDirection",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_SetDirection" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSourceSoftware3D_SetDirection" "', argument " "2"" of type '" "csVector3""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSndSysSourceSoftware3D_SetDirection" "', argument " "2"" of type '" "csVector3""'");
    } else {
      csVector3 * temp = reinterpret_cast< csVector3 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->SetDirection(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_GetDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSourceSoftware3D_GetDirection",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_GetDirection" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  result = (arg1)->GetDirection();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_SetDirectionalRadiation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSourceSoftware3D_SetDirectionalRadiation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_SetDirectionalRadiation" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSourceSoftware3D_SetDirectionalRadiation" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetDirectionalRadiation(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_GetDirectionalRadiation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSourceSoftware3D_GetDirectionalRadiation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_GetDirectionalRadiation" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  result = (float)(arg1)->GetDirectionalRadiation();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_SetMinimumDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSourceSoftware3D_SetMinimumDistance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_SetMinimumDistance" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSourceSoftware3D_SetMinimumDistance" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetMinimumDistance(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_SetMaximumDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysSourceSoftware3D_SetMaximumDistance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_SetMaximumDistance" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysSourceSoftware3D_SetMaximumDistance" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetMaximumDistance(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_GetMinimumDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSourceSoftware3D_GetMinimumDistance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_GetMinimumDistance" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  result = (float)(arg1)->GetMinimumDistance();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSourceSoftware3D_GetMaximumDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSourceSoftware3D_GetMaximumDistance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSourceSoftware3D_GetMaximumDistance" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  result = (float)(arg1)->GetMaximumDistance();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysSourceSoftware3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSourceSoftware3D *arg1 = (iSndSysSourceSoftware3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysSourceSoftware3D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSourceSoftware3D, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysSourceSoftware3D" "', argument " "1"" of type '" "iSndSysSourceSoftware3D *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSourceSoftware3D * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysSourceSoftware3D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysSourceSoftware3D, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csSndSysSoundFormat_Freq_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *arg1 = (csSndSysSoundFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSndSysSoundFormat_Freq_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSndSysSoundFormat_Freq_set" "', argument " "1"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg1 = reinterpret_cast< csSndSysSoundFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSndSysSoundFormat_Freq_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->Freq = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSndSysSoundFormat_Freq_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *arg1 = (csSndSysSoundFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSndSysSoundFormat_Freq_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSndSysSoundFormat_Freq_get" "', argument " "1"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg1 = reinterpret_cast< csSndSysSoundFormat * >(argp1);
  result = (int) ((arg1)->Freq);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSndSysSoundFormat_Bits_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *arg1 = (csSndSysSoundFormat *) 0 ;
  uint8 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSndSysSoundFormat_Bits_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSndSysSoundFormat_Bits_set" "', argument " "1"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg1 = reinterpret_cast< csSndSysSoundFormat * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSndSysSoundFormat_Bits_set" "', argument " "2"" of type '" "uint8""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSndSysSoundFormat_Bits_set" "', argument " "2"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->Bits = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSndSysSoundFormat_Bits_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *arg1 = (csSndSysSoundFormat *) 0 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSndSysSoundFormat_Bits_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSndSysSoundFormat_Bits_get" "', argument " "1"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg1 = reinterpret_cast< csSndSysSoundFormat * >(argp1);
  result =  ((arg1)->Bits);
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSndSysSoundFormat_Channels_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *arg1 = (csSndSysSoundFormat *) 0 ;
  uint8 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSndSysSoundFormat_Channels_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSndSysSoundFormat_Channels_set" "', argument " "1"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg1 = reinterpret_cast< csSndSysSoundFormat * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSndSysSoundFormat_Channels_set" "', argument " "2"" of type '" "uint8""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSndSysSoundFormat_Channels_set" "', argument " "2"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->Channels = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSndSysSoundFormat_Channels_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *arg1 = (csSndSysSoundFormat *) 0 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSndSysSoundFormat_Channels_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSndSysSoundFormat_Channels_get" "', argument " "1"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg1 = reinterpret_cast< csSndSysSoundFormat * >(argp1);
  result =  ((arg1)->Channels);
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSndSysSoundFormat_Flags_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *arg1 = (csSndSysSoundFormat *) 0 ;
  uint8 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSndSysSoundFormat_Flags_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSndSysSoundFormat_Flags_set" "', argument " "1"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg1 = reinterpret_cast< csSndSysSoundFormat * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSndSysSoundFormat_Flags_set" "', argument " "2"" of type '" "uint8""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csSndSysSoundFormat_Flags_set" "', argument " "2"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->Flags = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSndSysSoundFormat_Flags_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *arg1 = (csSndSysSoundFormat *) 0 ;
  uint8 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSndSysSoundFormat_Flags_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSndSysSoundFormat_Flags_get" "', argument " "1"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg1 = reinterpret_cast< csSndSysSoundFormat * >(argp1);
  result =  ((arg1)->Flags);
  resultobj = SWIG_NewPointerObj((new uint8(static_cast< const uint8& >(result))), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSndSysSoundFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csSndSysSoundFormat")) SWIG_fail;
  result = (csSndSysSoundFormat *)new csSndSysSoundFormat();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSndSysSoundFormat, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSndSysSoundFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSndSysSoundFormat *arg1 = (csSndSysSoundFormat *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSndSysSoundFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSndSysSoundFormat, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSndSysSoundFormat" "', argument " "1"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg1 = reinterpret_cast< csSndSysSoundFormat * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSndSysSoundFormat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSndSysSoundFormat, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN int CS_SNDSYS_STREAM_UNKNOWN_LENGTH_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable CS_SNDSYS_STREAM_UNKNOWN_LENGTH is read-only.");
  return 1;
}


SWIGINTERN PyObject *CS_SNDSYS_STREAM_UNKNOWN_LENGTH_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_size_t(static_cast< size_t >(CS_SNDSYS_STREAM_UNKNOWN_LENGTH));
  return pyobj;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_GetDescription",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetDescription" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (char *)(arg1)->GetDescription();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetRenderedFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  csSndSysSoundFormat *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_GetRenderedFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetRenderedFormat" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (csSndSysSoundFormat *)(arg1)->GetRenderedFormat();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_Get3dMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_Get3dMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_Get3dMode" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (int)(arg1)->Get3dMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetFrameCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_GetFrameCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetFrameCount" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (arg1)->GetFrameCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_GetPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetPosition" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (arg1)->GetPosition();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_ResetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_ResetPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_ResetPosition" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (bool)(arg1)->ResetPosition();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStream_SetPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_SetPosition" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysStream_SetPosition" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->SetPosition(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_Pause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_Pause",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_Pause" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (bool)(arg1)->Pause();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_Unpause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_Unpause",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_Unpause" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (bool)(arg1)->Unpause();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetPauseState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_GetPauseState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetPauseState" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (int)(arg1)->GetPauseState();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_SetLoopState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStream_SetLoopState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_SetLoopState" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysStream_SetLoopState" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->SetLoopState(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetLoopState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_GetLoopState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetLoopState" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (int)(arg1)->GetLoopState();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_SetPlayRatePercent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStream_SetPlayRatePercent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_SetPlayRatePercent" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysStream_SetPlayRatePercent" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetPlayRatePercent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetPlayRatePercent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_GetPlayRatePercent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetPlayRatePercent" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (int)(arg1)->GetPlayRatePercent();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_SetAutoUnregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStream_SetAutoUnregister",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_SetAutoUnregister" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysStream_SetAutoUnregister" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetAutoUnregister(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetAutoUnregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_GetAutoUnregister",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetAutoUnregister" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (bool)(arg1)->GetAutoUnregister();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetAutoUnregisterRequested(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_GetAutoUnregisterRequested",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetAutoUnregisterRequested" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  result = (bool)(arg1)->GetAutoUnregisterRequested();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_AdvancePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStream_AdvancePosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_AdvancePosition" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysStream_AdvancePosition" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->AdvancePosition(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_GetDataPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  size_t *arg2 = (size_t *) 0 ;
  size_t arg3 ;
  void **arg4 = (void **) 0 ;
  size_t *arg5 = (size_t *) 0 ;
  void **arg6 = (void **) 0 ;
  size_t *arg7 = (size_t *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iSndSysStream_GetDataPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_GetDataPointers" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_size_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysStream_GetDataPointers" "', argument " "2"" of type '" "size_t *""'"); 
  }
  arg2 = reinterpret_cast< size_t * >(argp2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSndSysStream_GetDataPointers" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSndSysStream_GetDataPointers" "', argument " "4"" of type '" "void **""'"); 
  }
  arg4 = reinterpret_cast< void ** >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_size_t, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSndSysStream_GetDataPointers" "', argument " "5"" of type '" "size_t *""'"); 
  }
  arg5 = reinterpret_cast< size_t * >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iSndSysStream_GetDataPointers" "', argument " "6"" of type '" "void **""'"); 
  }
  arg6 = reinterpret_cast< void ** >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_size_t, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iSndSysStream_GetDataPointers" "', argument " "7"" of type '" "size_t *""'"); 
  }
  arg7 = reinterpret_cast< size_t * >(argp7);
  (arg1)->GetDataPointers(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_InitializeSourcePositionMarker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  size_t *arg2 = (size_t *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStream_InitializeSourcePositionMarker",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_InitializeSourcePositionMarker" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_size_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysStream_InitializeSourcePositionMarker" "', argument " "2"" of type '" "size_t *""'"); 
  }
  arg2 = reinterpret_cast< size_t * >(argp2);
  (arg1)->InitializeSourcePositionMarker(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_ProcessNotifications(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStream_ProcessNotifications",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_ProcessNotifications" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  (arg1)->ProcessNotifications();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_RegisterCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  iSndSysStreamCallback *arg2 = (iSndSysStreamCallback *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStream_RegisterCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_RegisterCallback" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysStreamCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysStream_RegisterCallback" "', argument " "2"" of type '" "iSndSysStreamCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysStreamCallback * >(argp2);
  result = (bool)(arg1)->RegisterCallback(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_UnregisterCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  iSndSysStreamCallback *arg2 = (iSndSysStreamCallback *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStream_UnregisterCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_UnregisterCallback" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysStreamCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysStream_UnregisterCallback" "', argument " "2"" of type '" "iSndSysStreamCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysStreamCallback * >(argp2);
  result = (bool)(arg1)->UnregisterCallback(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_RegisterFrameNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStream_RegisterFrameNotification",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStream_RegisterFrameNotification" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysStream_RegisterFrameNotification" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->RegisterFrameNotification(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStream *arg1 = (iSndSysStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysStream",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStream, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysStream" "', argument " "1"" of type '" "iSndSysStream *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStream * >(argp1);
  delete_iSndSysStream(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStream_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysStream_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysStream_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysStream_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysStream, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysStreamCallback_StreamLoopNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStreamCallback *arg1 = (iSndSysStreamCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStreamCallback_StreamLoopNotification",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStreamCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStreamCallback_StreamLoopNotification" "', argument " "1"" of type '" "iSndSysStreamCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStreamCallback * >(argp1);
  (arg1)->StreamLoopNotification();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStreamCallback_StreamPauseNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStreamCallback *arg1 = (iSndSysStreamCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStreamCallback_StreamPauseNotification",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStreamCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStreamCallback_StreamPauseNotification" "', argument " "1"" of type '" "iSndSysStreamCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStreamCallback * >(argp1);
  (arg1)->StreamPauseNotification();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStreamCallback_StreamUnpauseNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStreamCallback *arg1 = (iSndSysStreamCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysStreamCallback_StreamUnpauseNotification",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStreamCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStreamCallback_StreamUnpauseNotification" "', argument " "1"" of type '" "iSndSysStreamCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStreamCallback * >(argp1);
  (arg1)->StreamUnpauseNotification();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysStreamCallback_StreamFrameNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStreamCallback *arg1 = (iSndSysStreamCallback *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysStreamCallback_StreamFrameNotification",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStreamCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysStreamCallback_StreamFrameNotification" "', argument " "1"" of type '" "iSndSysStreamCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStreamCallback * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysStreamCallback_StreamFrameNotification" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->StreamFrameNotification(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysStreamCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysStreamCallback *arg1 = (iSndSysStreamCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysStreamCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysStreamCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysStreamCallback" "', argument " "1"" of type '" "iSndSysStreamCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysStreamCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysStreamCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysStreamCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysRenderer_SetVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRenderer_SetVolume",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRenderer_SetVolume" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysRenderer_SetVolume" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetVolume(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRenderer_GetVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysRenderer_GetVolume",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRenderer_GetVolume" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  result = (float)(arg1)->GetVolume();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRenderer_CreateStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  iSndSysData *arg2 = (iSndSysData *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iSndSysStream > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysRenderer_CreateStream",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRenderer_CreateStream" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysData, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRenderer_CreateStream" "', argument " "2"" of type '" "iSndSysData *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysData * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSndSysRenderer_CreateStream" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->CreateStream(arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iSndSysStream> ref((csPtr<iSndSysStream>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iSndSysStream *)ref), (void *)(iSndSysStream *)ref, "iSndSysStream" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRenderer_CreateSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  iSndSysStream *arg2 = (iSndSysStream *) 0 ;
  SwigValueWrapper<csPtr<iSndSysSource > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRenderer_CreateSource",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRenderer_CreateSource" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRenderer_CreateSource" "', argument " "2"" of type '" "iSndSysStream *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysStream * >(argp2);
  result = (arg1)->CreateSource(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iSndSysSource> ref((csPtr<iSndSysSource>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iSndSysSource *)ref), (void *)(iSndSysSource *)ref, "iSndSysSource" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRenderer_RemoveStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  iSndSysStream *arg2 = (iSndSysStream *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRenderer_RemoveStream",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRenderer_RemoveStream" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRenderer_RemoveStream" "', argument " "2"" of type '" "iSndSysStream *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysStream * >(argp2);
  result = (bool)(arg1)->RemoveStream(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRenderer_RemoveSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  iSndSysSource *arg2 = (iSndSysSource *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRenderer_RemoveSource",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRenderer_RemoveSource" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysSource, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRenderer_RemoveSource" "', argument " "2"" of type '" "iSndSysSource *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysSource * >(argp2);
  result = (bool)(arg1)->RemoveSource(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRenderer_GetListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  SwigValueWrapper<csRef<iSndSysListener > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysRenderer_GetListener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRenderer_GetListener" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  result = (arg1)->GetListener();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iSndSysListener> ref((csRef<iSndSysListener>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iSndSysListener *)ref), (void *)(iSndSysListener *)ref, "iSndSysListener" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRenderer_RegisterCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  iSndSysRendererCallback *arg2 = (iSndSysRendererCallback *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRenderer_RegisterCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRenderer_RegisterCallback" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysRendererCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRenderer_RegisterCallback" "', argument " "2"" of type '" "iSndSysRendererCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysRendererCallback * >(argp2);
  result = (bool)(arg1)->RegisterCallback(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRenderer_UnregisterCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  iSndSysRendererCallback *arg2 = (iSndSysRendererCallback *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRenderer_UnregisterCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRenderer_UnregisterCallback" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysRendererCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRenderer_UnregisterCallback" "', argument " "2"" of type '" "iSndSysRendererCallback *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysRendererCallback * >(argp2);
  result = (bool)(arg1)->UnregisterCallback(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRenderer *arg1 = (iSndSysRenderer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysRenderer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRenderer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysRenderer" "', argument " "1"" of type '" "iSndSysRenderer *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRenderer * >(argp1);
  delete_iSndSysRenderer(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRenderer_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysRenderer_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysRenderer_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysRenderer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysRendererCallback_StreamAddNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRendererCallback *arg1 = (iSndSysRendererCallback *) 0 ;
  iSndSysStream *arg2 = (iSndSysStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRendererCallback_StreamAddNotification",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRendererCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRendererCallback_StreamAddNotification" "', argument " "1"" of type '" "iSndSysRendererCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRendererCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRendererCallback_StreamAddNotification" "', argument " "2"" of type '" "iSndSysStream *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysStream * >(argp2);
  (arg1)->StreamAddNotification(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRendererCallback_StreamRemoveNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRendererCallback *arg1 = (iSndSysRendererCallback *) 0 ;
  iSndSysStream *arg2 = (iSndSysStream *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRendererCallback_StreamRemoveNotification",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRendererCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRendererCallback_StreamRemoveNotification" "', argument " "1"" of type '" "iSndSysRendererCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRendererCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysStream, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRendererCallback_StreamRemoveNotification" "', argument " "2"" of type '" "iSndSysStream *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysStream * >(argp2);
  (arg1)->StreamRemoveNotification(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRendererCallback_SourceAddNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRendererCallback *arg1 = (iSndSysRendererCallback *) 0 ;
  iSndSysSource *arg2 = (iSndSysSource *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRendererCallback_SourceAddNotification",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRendererCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRendererCallback_SourceAddNotification" "', argument " "1"" of type '" "iSndSysRendererCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRendererCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysSource, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRendererCallback_SourceAddNotification" "', argument " "2"" of type '" "iSndSysSource *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysSource * >(argp2);
  (arg1)->SourceAddNotification(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRendererCallback_SourceRemoveNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRendererCallback *arg1 = (iSndSysRendererCallback *) 0 ;
  iSndSysSource *arg2 = (iSndSysSource *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSndSysRendererCallback_SourceRemoveNotification",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRendererCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRendererCallback_SourceRemoveNotification" "', argument " "1"" of type '" "iSndSysRendererCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRendererCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSndSysSource, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysRendererCallback_SourceRemoveNotification" "', argument " "2"" of type '" "iSndSysSource *""'"); 
  }
  arg2 = reinterpret_cast< iSndSysSource * >(argp2);
  (arg1)->SourceRemoveNotification(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysRendererCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRendererCallback *arg1 = (iSndSysRendererCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysRendererCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRendererCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysRendererCallback" "', argument " "1"" of type '" "iSndSysRendererCallback *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRendererCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysRendererCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysRendererCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysRendererSoftware_AddOutputFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRendererSoftware *arg1 = (iSndSysRendererSoftware *) 0 ;
  SndSysFilterLocation arg2 ;
  iSndSysSoftwareOutputFilter *arg3 = (iSndSysSoftwareOutputFilter *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysRendererSoftware_AddOutputFilter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRendererSoftware, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRendererSoftware_AddOutputFilter" "', argument " "1"" of type '" "iSndSysRendererSoftware *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRendererSoftware * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysRendererSoftware_AddOutputFilter" "', argument " "2"" of type '" "SndSysFilterLocation""'");
  } 
  arg2 = static_cast< SndSysFilterLocation >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSndSysSoftwareOutputFilter, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSndSysRendererSoftware_AddOutputFilter" "', argument " "3"" of type '" "iSndSysSoftwareOutputFilter *""'"); 
  }
  arg3 = reinterpret_cast< iSndSysSoftwareOutputFilter * >(argp3);
  result = (bool)(arg1)->AddOutputFilter(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysRendererSoftware_RemoveOutputFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRendererSoftware *arg1 = (iSndSysRendererSoftware *) 0 ;
  SndSysFilterLocation arg2 ;
  iSndSysSoftwareOutputFilter *arg3 = (iSndSysSoftwareOutputFilter *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysRendererSoftware_RemoveOutputFilter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRendererSoftware, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysRendererSoftware_RemoveOutputFilter" "', argument " "1"" of type '" "iSndSysRendererSoftware *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRendererSoftware * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSndSysRendererSoftware_RemoveOutputFilter" "', argument " "2"" of type '" "SndSysFilterLocation""'");
  } 
  arg2 = static_cast< SndSysFilterLocation >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSndSysSoftwareOutputFilter, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSndSysRendererSoftware_RemoveOutputFilter" "', argument " "3"" of type '" "iSndSysSoftwareOutputFilter *""'"); 
  }
  arg3 = reinterpret_cast< iSndSysSoftwareOutputFilter * >(argp3);
  result = (bool)(arg1)->RemoveOutputFilter(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysRendererSoftware(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysRendererSoftware *arg1 = (iSndSysRendererSoftware *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysRendererSoftware",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysRendererSoftware, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysRendererSoftware" "', argument " "1"" of type '" "iSndSysRendererSoftware *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysRendererSoftware * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysRendererSoftware_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysRendererSoftware, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSndSysSoftwareDriver_Open(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareDriver *arg1 = (iSndSysSoftwareDriver *) 0 ;
  csSndSysRendererSoftware *arg2 = (csSndSysRendererSoftware *) 0 ;
  csSndSysSoundFormat *arg3 = (csSndSysSoundFormat *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSndSysSoftwareDriver_Open",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareDriver_Open" "', argument " "1"" of type '" "iSndSysSoftwareDriver *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareDriver * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csSndSysRendererSoftware, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSndSysSoftwareDriver_Open" "', argument " "2"" of type '" "csSndSysRendererSoftware *""'"); 
  }
  arg2 = reinterpret_cast< csSndSysRendererSoftware * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csSndSysSoundFormat, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSndSysSoftwareDriver_Open" "', argument " "3"" of type '" "csSndSysSoundFormat *""'"); 
  }
  arg3 = reinterpret_cast< csSndSysSoundFormat * >(argp3);
  result = (bool)(arg1)->Open(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareDriver_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareDriver *arg1 = (iSndSysSoftwareDriver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareDriver_Close",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareDriver_Close" "', argument " "1"" of type '" "iSndSysSoftwareDriver *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareDriver * >(argp1);
  (arg1)->Close();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareDriver_StartThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareDriver *arg1 = (iSndSysSoftwareDriver *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareDriver_StartThread",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareDriver_StartThread" "', argument " "1"" of type '" "iSndSysSoftwareDriver *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareDriver * >(argp1);
  result = (bool)(arg1)->StartThread();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareDriver_StopThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareDriver *arg1 = (iSndSysSoftwareDriver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSndSysSoftwareDriver_StopThread",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSndSysSoftwareDriver_StopThread" "', argument " "1"" of type '" "iSndSysSoftwareDriver *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareDriver * >(argp1);
  (arg1)->StopThread();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSndSysSoftwareDriver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSndSysSoftwareDriver *arg1 = (iSndSysSoftwareDriver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSndSysSoftwareDriver",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSndSysSoftwareDriver, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSndSysSoftwareDriver" "', argument " "1"" of type '" "iSndSysSoftwareDriver *""'"); 
  }
  arg1 = reinterpret_cast< iSndSysSoftwareDriver * >(argp1);
  delete_iSndSysSoftwareDriver(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSndSysSoftwareDriver_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSndSysSoftwareDriver_scfGetVersion")) SWIG_fail;
  result = (int)iSndSysSoftwareDriver_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSndSysSoftwareDriver_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSndSysSoftwareDriver, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iComponent_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iComponent *arg1 = (iComponent *) 0 ;
  iObjectRegistry *arg2 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iComponent_Initialize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iComponent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iComponent_Initialize" "', argument " "1"" of type '" "iComponent *""'"); 
  }
  arg1 = reinterpret_cast< iComponent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iComponent_Initialize" "', argument " "2"" of type '" "iObjectRegistry *""'"); 
  }
  arg2 = reinterpret_cast< iObjectRegistry * >(argp2);
  result = (bool)(arg1)->Initialize(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iComponent *arg1 = (iComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iComponent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iComponent, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iComponent" "', argument " "1"" of type '" "iComponent *""'"); 
  }
  arg1 = reinterpret_cast< iComponent * >(argp1);
  delete_iComponent(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iComponent_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iComponent_scfGetVersion")) SWIG_fail;
  result = (int)iComponent_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iComponent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iComponent, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iCacheManager_SetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCacheManager_SetReadOnly",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_SetReadOnly" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCacheManager_SetReadOnly" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetReadOnly(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_IsReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCacheManager_IsReadOnly",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_IsReadOnly" "', argument " "1"" of type '" "iCacheManager const *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  result = (bool)((iCacheManager const *)arg1)->IsReadOnly();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_SetCurrentType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCacheManager_SetCurrentType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_SetCurrentType" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCacheManager_SetCurrentType" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetCurrentType((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_GetCurrentType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCacheManager_GetCurrentType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_GetCurrentType" "', argument " "1"" of type '" "iCacheManager const *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  result = (char *)((iCacheManager const *)arg1)->GetCurrentType();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_SetCurrentScope(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCacheManager_SetCurrentScope",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_SetCurrentScope" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCacheManager_SetCurrentScope" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetCurrentScope((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_GetCurrentScope(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCacheManager_GetCurrentScope",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_GetCurrentScope" "', argument " "1"" of type '" "iCacheManager const *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  result = (char *)((iCacheManager const *)arg1)->GetCurrentScope();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_CacheData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  void *arg2 = (void *) 0 ;
  size_t arg3 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  uint32 arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  void *argp6 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iCacheManager_CacheData",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_CacheData" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCacheManager_CacheData" "', argument " "2"" of type '" "void const *""'"); 
  }
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iCacheManager_CacheData" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iCacheManager_CacheData" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iCacheManager_CacheData" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  {
    res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iCacheManager_CacheData" "', argument " "6"" of type '" "uint32""'"); 
    }  
    if (!argp6) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCacheManager_CacheData" "', argument " "6"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp6);
      arg6 = *temp;
      if (SWIG_IsNewObj(res6)) delete temp;
    }
  }
  result = (bool)(arg1)->CacheData((void const *)arg2,arg3,(char const *)arg4,(char const *)arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_ReadCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  uint32 arg4 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iCacheManager_ReadCache",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_ReadCache" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCacheManager_ReadCache" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCacheManager_ReadCache" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iCacheManager_ReadCache" "', argument " "4"" of type '" "uint32""'"); 
    }  
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCacheManager_ReadCache" "', argument " "4"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp4);
      arg4 = *temp;
      if (SWIG_IsNewObj(res4)) delete temp;
    }
  }
  result = (arg1)->ReadCache((char const *)arg2,(char const *)arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_ClearCache__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  uint32 *arg4 = (uint32 *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iCacheManager_ClearCache",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_ClearCache" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCacheManager_ClearCache" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCacheManager_ClearCache" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_uint32_t, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iCacheManager_ClearCache" "', argument " "4"" of type '" "uint32 const *""'"); 
  }
  arg4 = reinterpret_cast< uint32 * >(argp4);
  result = (bool)(arg1)->ClearCache((char const *)arg2,(char const *)arg3,(uint32 const *)arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_ClearCache__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iCacheManager_ClearCache",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_ClearCache" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCacheManager_ClearCache" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCacheManager_ClearCache" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->ClearCache((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_ClearCache__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCacheManager_ClearCache",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_ClearCache" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCacheManager_ClearCache" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->ClearCache((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_ClearCache__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCacheManager_ClearCache",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_ClearCache" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  result = (bool)(arg1)->ClearCache();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_ClearCache(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCacheManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iCacheManager_ClearCache__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCacheManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCacheManager_ClearCache__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCacheManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iCacheManager_ClearCache__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCacheManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_uint32_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iCacheManager_ClearCache__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCacheManager_ClearCache'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_Flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCacheManager_Flush",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCacheManager_Flush" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  (arg1)->Flush();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iCacheManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCacheManager *arg1 = (iCacheManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iCacheManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCacheManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iCacheManager" "', argument " "1"" of type '" "iCacheManager *""'"); 
  }
  arg1 = reinterpret_cast< iCacheManager * >(argp1);
  delete_iCacheManager(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCacheManager_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iCacheManager_scfGetVersion")) SWIG_fail;
  result = (int)iCacheManager_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iCacheManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iCacheManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csFileTime_sec_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFileTime_sec_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_sec_set" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFileTime_sec_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->sec = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_sec_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFileTime_sec_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_sec_get" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  result = (int) ((arg1)->sec);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_min_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFileTime_min_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_min_set" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFileTime_min_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->min = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_min_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFileTime_min_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_min_get" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  result = (int) ((arg1)->min);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFileTime_hour_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_hour_set" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFileTime_hour_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->hour = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFileTime_hour_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_hour_get" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  result = (int) ((arg1)->hour);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFileTime_day_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_day_set" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFileTime_day_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->day = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFileTime_day_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_day_get" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  result = (int) ((arg1)->day);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_mon_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFileTime_mon_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_mon_set" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFileTime_mon_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->mon = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_mon_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFileTime_mon_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_mon_get" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  result = (int) ((arg1)->mon);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_year_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csFileTime_year_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_year_set" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csFileTime_year_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->year = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csFileTime_year_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csFileTime_year_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csFileTime_year_get" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  result = (int) ((arg1)->year);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csFileTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csFileTime")) SWIG_fail;
  result = (csFileTime *)new csFileTime();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csFileTime, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csFileTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csFileTime *arg1 = (csFileTime *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csFileTime",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csFileTime, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csFileTime" "', argument " "1"" of type '" "csFileTime *""'"); 
  }
  arg1 = reinterpret_cast< csFileTime * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csFileTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csFileTime, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iFile_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFile_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_GetName" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  result = (char *)(arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFile_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_GetSize" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  result = (arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_GetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFile_GetStatus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_GetStatus" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  result = (int)(arg1)->GetStatus();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_Read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t arg3 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iFile_Read",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_Read" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFile_Read" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iFile_Read" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (arg1)->Read(arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_Write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t arg3 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iFile_Write",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_Write" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFile_Write" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iFile_Write" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (arg1)->Write((char const *)arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_Flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFile_Flush",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_Flush" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  (arg1)->Flush();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_AtEOF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFile_AtEOF",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_AtEOF" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  result = (bool)(arg1)->AtEOF();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_GetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFile_GetPos",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_GetPos" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  result = (arg1)->GetPos();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFile_SetPos",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_SetPos" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iFile_SetPos" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->SetPos(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_GetAllData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  bool arg2 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFile_GetAllData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_GetAllData" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iFile_GetAllData" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  result = (arg1)->GetAllData(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_GetAllData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFile_GetAllData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFile_GetAllData" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  result = (arg1)->GetAllData();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_GetAllData(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iFile_GetAllData__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iFile_GetAllData__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iFile_GetAllData'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFile *arg1 = (iFile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iFile",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFile, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iFile" "', argument " "1"" of type '" "iFile *""'"); 
  }
  arg1 = reinterpret_cast< iFile * >(argp1);
  delete_iFile(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFile_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iFile_scfGetVersion")) SWIG_fail;
  result = (int)iFile_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iFile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iFile, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iVFS_ChDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_ChDir",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_ChDir" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_ChDir" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->ChDir((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_GetCwd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVFS_GetCwd",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_GetCwd" "', argument " "1"" of type '" "iVFS const *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  result = (char *)((iVFS const *)arg1)->GetCwd();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_PushDir__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_PushDir",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_PushDir" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_PushDir" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->PushDir((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_PushDir__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVFS_PushDir",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_PushDir" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  (arg1)->PushDir();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_PushDir(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iVFS_PushDir__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iVFS_PushDir__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iVFS_PushDir'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_PopDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVFS_PopDir",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_PopDir" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  result = (bool)(arg1)->PopDir();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ExpandPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_ExpandPath",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_ExpandPath" "', argument " "1"" of type '" "iVFS const *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_ExpandPath" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iVFS_ExpandPath" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = ((iVFS const *)arg1)->ExpandPath((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ExpandPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_ExpandPath",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_ExpandPath" "', argument " "1"" of type '" "iVFS const *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_ExpandPath" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = ((iVFS const *)arg1)->ExpandPath((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ExpandPath(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iVFS_ExpandPath__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iVFS_ExpandPath__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iVFS_ExpandPath'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_Exists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_Exists",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_Exists" "', argument " "1"" of type '" "iVFS const *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_Exists" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)((iVFS const *)arg1)->Exists((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_FindFiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iStringArray > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_FindFiles",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_FindFiles" "', argument " "1"" of type '" "iVFS const *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_FindFiles" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = ((iVFS const *)arg1)->FindFiles((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iStringArray> ref((csPtr<iStringArray>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iStringArray *)ref), (void *)(iStringArray *)ref, "iStringArray" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_Open(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iFile > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_Open",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_Open" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_Open" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iVFS_Open" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->Open((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iFile> ref((csPtr<iFile>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iFile *)ref), (void *)(iFile *)ref, "iFile" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ReadFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_ReadFile",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_ReadFile" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_ReadFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iVFS_ReadFile" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (arg1)->ReadFile((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ReadFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_ReadFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_ReadFile" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_ReadFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->ReadFile((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ReadFile(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iVFS_ReadFile__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iVFS_ReadFile__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iVFS_ReadFile'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_WriteFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  size_t arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  size_t val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iVFS_WriteFile",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_WriteFile" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_WriteFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_WriteFile" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_size_t(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iVFS_WriteFile" "', argument " "4"" of type '" "size_t""'");
  } 
  arg4 = static_cast< size_t >(val4);
  result = (bool)(arg1)->WriteFile((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_DeleteFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_DeleteFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_DeleteFile" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_DeleteFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->DeleteFile((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_Sync(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVFS_Sync",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_Sync" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  result = (bool)(arg1)->Sync();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_SymbolicLink__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iVFS_SymbolicLink",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_SymbolicLink" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_SymbolicLink" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_SymbolicLink" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iVFS_SymbolicLink" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->SymbolicLink((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_SymbolicLink__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_SymbolicLink",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_SymbolicLink" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_SymbolicLink" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_SymbolicLink" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->SymbolicLink((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_SymbolicLink__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_SymbolicLink",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_SymbolicLink" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_SymbolicLink" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->SymbolicLink((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_SymbolicLink(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iVFS_SymbolicLink__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iVFS_SymbolicLink__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iVFS_SymbolicLink__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iVFS_SymbolicLink'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_Mount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_Mount",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_Mount" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_Mount" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_Mount" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->Mount((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_Unmount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_Unmount",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_Unmount" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_Unmount" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_Unmount" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->Unmount((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_MountRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csRef<iStringArray > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_MountRoot",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_MountRoot" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_MountRoot" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->MountRoot((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iStringArray> ref((csRef<iStringArray>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iStringArray *)ref), (void *)(iStringArray *)ref, "iStringArray" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_SaveMounts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_SaveMounts",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_SaveMounts" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_SaveMounts" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->SaveMounts((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_LoadMountsFromFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  iConfigFile *arg2 = (iConfigFile *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_LoadMountsFromFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_LoadMountsFromFile" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_LoadMountsFromFile" "', argument " "2"" of type '" "iConfigFile *""'"); 
  }
  arg2 = reinterpret_cast< iConfigFile * >(argp2);
  result = (bool)(arg1)->LoadMountsFromFile(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ChDirAuto__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  csStringArray *arg3 = (csStringArray *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iVFS_ChDirAuto",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_ChDirAuto" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_ChDirAuto" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csStringArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_ChDirAuto" "', argument " "3"" of type '" "csStringArray const *""'"); 
  }
  arg3 = reinterpret_cast< csStringArray * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iVFS_ChDirAuto" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iVFS_ChDirAuto" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  result = (bool)(arg1)->ChDirAuto((char const *)arg2,(csStringArray const *)arg3,(char const *)arg4,(char const *)arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ChDirAuto__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  csStringArray *arg3 = (csStringArray *) 0 ;
  char *arg4 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iVFS_ChDirAuto",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_ChDirAuto" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_ChDirAuto" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csStringArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_ChDirAuto" "', argument " "3"" of type '" "csStringArray const *""'"); 
  }
  arg3 = reinterpret_cast< csStringArray * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iVFS_ChDirAuto" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->ChDirAuto((char const *)arg2,(csStringArray const *)arg3,(char const *)arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ChDirAuto__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  csStringArray *arg3 = (csStringArray *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_ChDirAuto",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_ChDirAuto" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_ChDirAuto" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csStringArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_ChDirAuto" "', argument " "3"" of type '" "csStringArray const *""'"); 
  }
  arg3 = reinterpret_cast< csStringArray * >(argp3);
  result = (bool)(arg1)->ChDirAuto((char const *)arg2,(csStringArray const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ChDirAuto__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_ChDirAuto",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_ChDirAuto" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_ChDirAuto" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->ChDirAuto((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_ChDirAuto(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iVFS_ChDirAuto__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csStringArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iVFS_ChDirAuto__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csStringArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iVFS_ChDirAuto__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iVFS, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csStringArray, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iVFS_ChDirAuto__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iVFS_ChDirAuto'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_GetFileTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  csFileTime *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_GetFileTime",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_GetFileTime" "', argument " "1"" of type '" "iVFS const *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_GetFileTime" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csFileTime,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_GetFileTime" "', argument " "3"" of type '" "csFileTime &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVFS_GetFileTime" "', argument " "3"" of type '" "csFileTime &""'"); 
  }
  arg3 = reinterpret_cast< csFileTime * >(argp3);
  result = (bool)((iVFS const *)arg1)->GetFileTime((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_SetFileTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  csFileTime *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_SetFileTime",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_SetFileTime" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_SetFileTime" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csFileTime,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_SetFileTime" "', argument " "3"" of type '" "csFileTime const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVFS_SetFileTime" "', argument " "3"" of type '" "csFileTime const &""'"); 
  }
  arg3 = reinterpret_cast< csFileTime * >(argp3);
  result = (bool)(arg1)->SetFileTime((char const *)arg2,(csFileTime const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_GetFileSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iVFS_GetFileSize",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_GetFileSize" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_GetFileSize" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iVFS_GetFileSize" "', argument " "3"" of type '" "size_t &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iVFS_GetFileSize" "', argument " "3"" of type '" "size_t &""'"); 
  }
  arg3 = reinterpret_cast< size_t * >(argp3);
  result = (bool)(arg1)->GetFileSize((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_GetRealPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_GetRealPath",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_GetRealPath" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_GetRealPath" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->GetRealPath((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_GetMounts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  SwigValueWrapper<csRef<iStringArray > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVFS_GetMounts",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_GetMounts" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  result = (arg1)->GetMounts();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iStringArray> ref((csRef<iStringArray>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iStringArray *)ref), (void *)(iStringArray *)ref, "iStringArray" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_GetRealMountPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csRef<iStringArray > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iVFS_GetRealMountPaths",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVFS_GetRealMountPaths" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iVFS_GetRealMountPaths" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->GetRealMountPaths((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iStringArray> ref((csRef<iStringArray>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iStringArray *)ref), (void *)(iStringArray *)ref, "iStringArray" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iVFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVFS *arg1 = (iVFS *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iVFS",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVFS, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iVFS" "', argument " "1"" of type '" "iVFS *""'"); 
  }
  arg1 = reinterpret_cast< iVFS * >(argp1);
  delete_iVFS(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVFS_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iVFS_scfGetVersion")) SWIG_fail;
  result = (int)iVFS_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iVFS_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iVFS, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iObjectNameChangeListener_NameChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectNameChangeListener *arg1 = (iObjectNameChangeListener *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iObjectNameChangeListener_NameChanged",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectNameChangeListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectNameChangeListener_NameChanged" "', argument " "1"" of type '" "iObjectNameChangeListener *""'"); 
  }
  arg1 = reinterpret_cast< iObjectNameChangeListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectNameChangeListener_NameChanged" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iObjectNameChangeListener_NameChanged" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iObjectNameChangeListener_NameChanged" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  (arg1)->NameChanged(arg2,(char const *)arg3,(char const *)arg4);
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iObjectNameChangeListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectNameChangeListener *arg1 = (iObjectNameChangeListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iObjectNameChangeListener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectNameChangeListener, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iObjectNameChangeListener" "', argument " "1"" of type '" "iObjectNameChangeListener *""'"); 
  }
  arg1 = reinterpret_cast< iObjectNameChangeListener * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iObjectNameChangeListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iObjectNameChangeListener, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iObject_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObject_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_SetName" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObject_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObject_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_GetName" "', argument " "1"" of type '" "iObject const *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  result = (char *)((iObject const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_GetID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObject_GetID",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_GetID" "', argument " "1"" of type '" "iObject const *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  result = (uint)((iObject const *)arg1)->GetID();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_SetObjectParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObject_SetObjectParent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_SetObjectParent" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObject_SetObjectParent" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->SetObjectParent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_GetObjectParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObject_GetObjectParent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_GetObjectParent" "', argument " "1"" of type '" "iObject const *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  result = (iObject *)((iObject const *)arg1)->GetObjectParent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_ObjAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObject_ObjAdd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_ObjAdd" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObject_ObjAdd" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->ObjAdd(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_ObjRemove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObject_ObjRemove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_ObjRemove" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObject_ObjRemove" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->ObjRemove(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_ObjRemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObject_ObjRemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_ObjRemoveAll" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  (arg1)->ObjRemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_ObjAddChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObject_ObjAddChildren",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_ObjAddChildren" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObject_ObjAddChildren" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->ObjAddChildren(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_GetChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  int arg2 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  bool arg5 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iObject_GetChild",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_GetChild" "', argument " "1"" of type '" "iObject const *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iObject_GetChild" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iObject_GetChild" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iObject_GetChild" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iObject_GetChild" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (iObject *)((iObject const *)arg1)->GetChild(arg2,arg3,(char const *)arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_GetChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  int arg2 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iObject_GetChild",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_GetChild" "', argument " "1"" of type '" "iObject const *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iObject_GetChild" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iObject_GetChild" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iObject_GetChild" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (iObject *)((iObject const *)arg1)->GetChild(arg2,arg3,(char const *)arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_GetChild__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  int arg2 ;
  int arg3 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iObject_GetChild",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_GetChild" "', argument " "1"" of type '" "iObject const *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iObject_GetChild" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iObject_GetChild" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (iObject *)((iObject const *)arg1)->GetChild(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_GetChild__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  char *arg2 = (char *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObject_GetChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_GetChild" "', argument " "1"" of type '" "iObject const *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObject_GetChild" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iObject *)((iObject const *)arg1)->GetChild((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_GetChild(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iObject_GetChild__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iObject_GetChild__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iObject_GetChild__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iObject_GetChild__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iObject_GetChild'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_GetIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  SwigValueWrapper<csPtr<iObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObject_GetIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_GetIterator" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  result = (arg1)->GetIterator();
  resultobj = SWIG_NewPointerObj((new csPtr<iObjectIterator >(static_cast< const csPtr<iObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_ObjReleaseOld(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObject_ObjReleaseOld",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_ObjReleaseOld" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObject_ObjReleaseOld" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->ObjReleaseOld(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_AddNameChangeListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iObjectNameChangeListener *arg2 = (iObjectNameChangeListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObject_AddNameChangeListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_AddNameChangeListener" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectNameChangeListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObject_AddNameChangeListener" "', argument " "2"" of type '" "iObjectNameChangeListener *""'"); 
  }
  arg2 = reinterpret_cast< iObjectNameChangeListener * >(argp2);
  (arg1)->AddNameChangeListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_RemoveNameChangeListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iObjectNameChangeListener *arg2 = (iObjectNameChangeListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObject_RemoveNameChangeListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObject_RemoveNameChangeListener" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectNameChangeListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObject_RemoveNameChangeListener" "', argument " "2"" of type '" "iObjectNameChangeListener *""'"); 
  }
  arg2 = reinterpret_cast< iObjectNameChangeListener * >(argp2);
  (arg1)->RemoveNameChangeListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iObject" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  delete_iObject(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObject_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iObject_scfGetVersion")) SWIG_fail;
  result = (int)iObject_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iObject, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iObjectIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectIterator *arg1 = (iObjectIterator *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectIterator_Next" "', argument " "1"" of type '" "iObjectIterator *""'"); 
  }
  arg1 = reinterpret_cast< iObjectIterator * >(argp1);
  result = (iObject *)(arg1)->Next();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectIterator_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectIterator *arg1 = (iObjectIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectIterator_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectIterator_Reset" "', argument " "1"" of type '" "iObjectIterator *""'"); 
  }
  arg1 = reinterpret_cast< iObjectIterator * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectIterator_GetParentObj(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectIterator *arg1 = (iObjectIterator *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectIterator_GetParentObj",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectIterator_GetParentObj" "', argument " "1"" of type '" "iObjectIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iObjectIterator * >(argp1);
  result = (iObject *)((iObjectIterator const *)arg1)->GetParentObj();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectIterator *arg1 = (iObjectIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectIterator_HasNext" "', argument " "1"" of type '" "iObjectIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iObjectIterator * >(argp1);
  result = (bool)((iObjectIterator const *)arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectIterator_FindName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectIterator *arg1 = (iObjectIterator *) 0 ;
  char *arg2 = (char *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectIterator_FindName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectIterator_FindName" "', argument " "1"" of type '" "iObjectIterator *""'"); 
  }
  arg1 = reinterpret_cast< iObjectIterator * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectIterator_FindName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iObject *)(arg1)->FindName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iObjectIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectIterator *arg1 = (iObjectIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iObjectIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iObjectIterator" "', argument " "1"" of type '" "iObjectIterator *""'"); 
  }
  arg1 = reinterpret_cast< iObjectIterator * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iObjectIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iObjectIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN int csInvalidStringID_set(PyObject *) {
  SWIG_Error(SWIG_AttributeError,"Variable csInvalidStringID is read-only.");
  return 1;
}


SWIGINTERN PyObject *csInvalidStringID_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(csInvalidStringID));
  return pyobj;
}


SWIGINTERN PyObject *_wrap_iStringSet_Request__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  char *arg2 = (char *) 0 ;
  csStringID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringSet_Request",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_Request" "', argument " "1"" of type '" "iStringSet *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStringSet_Request" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (csStringID)(arg1)->Request((char const *)arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Request__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  csStringID arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringSet_Request",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_Request" "', argument " "1"" of type '" "iStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStringSet_Request" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (char *)((iStringSet const *)arg1)->Request(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Request(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iStringSet_Request__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iStringSet_Request__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iStringSet_Request'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Contains__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringSet_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_Contains" "', argument " "1"" of type '" "iStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStringSet_Contains" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)((iStringSet const *)arg1)->Contains((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Contains__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  csStringID arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringSet_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_Contains" "', argument " "1"" of type '" "iStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStringSet_Contains" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (bool)((iStringSet const *)arg1)->Contains(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Contains(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iStringSet_Contains__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iStringSet_Contains__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iStringSet_Contains'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Delete__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringSet_Delete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_Delete" "', argument " "1"" of type '" "iStringSet *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStringSet_Delete" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->Delete((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Delete__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  csStringID arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringSet_Delete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_Delete" "', argument " "1"" of type '" "iStringSet *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStringSet_Delete" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (bool)(arg1)->Delete(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Delete(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iStringSet_Delete__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringSet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iStringSet_Delete__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iStringSet_Delete'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringSet_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_Empty" "', argument " "1"" of type '" "iStringSet *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  (arg1)->Empty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringSet_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_Clear" "', argument " "1"" of type '" "iStringSet *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringSet_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_GetSize" "', argument " "1"" of type '" "iStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  result = ((iStringSet const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringSet_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringSet_IsEmpty" "', argument " "1"" of type '" "iStringSet const *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  result = (bool)((iStringSet const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iStringSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringSet *arg1 = (iStringSet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iStringSet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringSet, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iStringSet" "', argument " "1"" of type '" "iStringSet *""'"); 
  }
  arg1 = reinterpret_cast< iStringSet * >(argp1);
  delete_iStringSet(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringSet_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iStringSet_scfGetVersion")) SWIG_fail;
  result = (int)iStringSet_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iStringSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iStringSet, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iObjectRegistry_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectRegistry_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistry_Clear" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Register__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iObjectRegistry_Register",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistry_Register" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectRegistry_Register" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iObjectRegistry_Register" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->Register(arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Register__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectRegistry_Register",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistry_Register" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectRegistry_Register" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  result = (bool)(arg1)->Register(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Register(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iBase, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iObjectRegistry_Register__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iBase, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iObjectRegistry_Register__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iObjectRegistry_Register'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Unregister__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iObjectRegistry_Unregister",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistry_Unregister" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectRegistry_Unregister" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iObjectRegistry_Unregister" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->Unregister(arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Unregister__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectRegistry_Unregister",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistry_Unregister" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectRegistry_Unregister" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  (arg1)->Unregister(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Unregister(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iBase, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iObjectRegistry_Unregister__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iBase, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iObjectRegistry_Unregister__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iObjectRegistry_Unregister'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iObjectRegistry_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistry_Get" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectRegistry_Get" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iBase *)(arg1)->Get((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  scfInterfaceID arg3 ;
  int arg4 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iObjectRegistry_Get",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistry_Get" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iObjectRegistry_Get" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iObjectRegistry_Get" "', argument " "3"" of type '" "scfInterfaceID""'");
  } 
  arg3 = static_cast< scfInterfaceID >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iObjectRegistry_Get" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (iBase *)(arg1)->Get((char const *)arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  scfInterfaceID arg2 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iObjectRegistryIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iObjectRegistry_Get",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistry_Get" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iObjectRegistry_Get" "', argument " "2"" of type '" "scfInterfaceID""'");
  } 
  arg2 = static_cast< scfInterfaceID >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iObjectRegistry_Get" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->Get(arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iObjectRegistryIterator >(static_cast< const csPtr<iObjectRegistryIterator >& >(result))), SWIGTYPE_p_csPtrTiObjectRegistryIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  SwigValueWrapper<csPtr<iObjectRegistryIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectRegistry_Get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistry_Get" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (arg1)->Get();
  resultobj = SWIG_NewPointerObj((new csPtr<iObjectRegistryIterator >(static_cast< const csPtr<iObjectRegistryIterator >& >(result))), SWIGTYPE_p_csPtrTiObjectRegistryIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_Get(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iObjectRegistry_Get__SWIG_3(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iObjectRegistry_Get__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iObjectRegistry_Get__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iObjectRegistry_Get__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iObjectRegistry_Get'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iObjectRegistry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iObjectRegistry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iObjectRegistry" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  delete_iObjectRegistry(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistry_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iObjectRegistry_scfGetVersion")) SWIG_fail;
  result = (int)iObjectRegistry_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iObjectRegistry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iObjectRegistry, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iObjectRegistryIterator_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistryIterator *arg1 = (iObjectRegistryIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectRegistryIterator_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistryIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistryIterator_Reset" "', argument " "1"" of type '" "iObjectRegistryIterator *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistryIterator * >(argp1);
  result = (bool)(arg1)->Reset();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistryIterator_GetCurrentTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistryIterator *arg1 = (iObjectRegistryIterator *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectRegistryIterator_GetCurrentTag",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistryIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistryIterator_GetCurrentTag" "', argument " "1"" of type '" "iObjectRegistryIterator *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistryIterator * >(argp1);
  result = (char *)(arg1)->GetCurrentTag();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistryIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistryIterator *arg1 = (iObjectRegistryIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectRegistryIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistryIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistryIterator_HasNext" "', argument " "1"" of type '" "iObjectRegistryIterator *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistryIterator * >(argp1);
  result = (bool)(arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iObjectRegistryIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistryIterator *arg1 = (iObjectRegistryIterator *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iObjectRegistryIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistryIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iObjectRegistryIterator_Next" "', argument " "1"" of type '" "iObjectRegistryIterator *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistryIterator * >(argp1);
  result = (iBase *)(arg1)->Next();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iObjectRegistryIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistryIterator *arg1 = (iObjectRegistryIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iObjectRegistryIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistryIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iObjectRegistryIterator" "', argument " "1"" of type '" "iObjectRegistryIterator *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistryIterator * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iObjectRegistryIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iObjectRegistryIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csQueryRegistryTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iBase > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csQueryRegistryTag",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csQueryRegistryTag" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csQueryRegistryTag" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = csQueryRegistryTag(arg1,(char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iBase> ref((csPtr<iBase>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iBase *)ref), (void *)(iBase *)ref, "iBase" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVirtualClock_Advance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVirtualClock *arg1 = (iVirtualClock *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVirtualClock_Advance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVirtualClock, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVirtualClock_Advance" "', argument " "1"" of type '" "iVirtualClock *""'"); 
  }
  arg1 = reinterpret_cast< iVirtualClock * >(argp1);
  (arg1)->Advance();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVirtualClock_Suspend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVirtualClock *arg1 = (iVirtualClock *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVirtualClock_Suspend",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVirtualClock, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVirtualClock_Suspend" "', argument " "1"" of type '" "iVirtualClock *""'"); 
  }
  arg1 = reinterpret_cast< iVirtualClock * >(argp1);
  (arg1)->Suspend();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVirtualClock_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVirtualClock *arg1 = (iVirtualClock *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVirtualClock_Resume",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVirtualClock, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVirtualClock_Resume" "', argument " "1"" of type '" "iVirtualClock *""'"); 
  }
  arg1 = reinterpret_cast< iVirtualClock * >(argp1);
  (arg1)->Resume();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVirtualClock_GetElapsedTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVirtualClock *arg1 = (iVirtualClock *) 0 ;
  csTicks result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVirtualClock_GetElapsedTicks",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVirtualClock, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVirtualClock_GetElapsedTicks" "', argument " "1"" of type '" "iVirtualClock const *""'"); 
  }
  arg1 = reinterpret_cast< iVirtualClock * >(argp1);
  result = (csTicks)((iVirtualClock const *)arg1)->GetElapsedTicks();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVirtualClock_GetCurrentTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVirtualClock *arg1 = (iVirtualClock *) 0 ;
  csTicks result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iVirtualClock_GetCurrentTicks",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVirtualClock, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iVirtualClock_GetCurrentTicks" "', argument " "1"" of type '" "iVirtualClock const *""'"); 
  }
  arg1 = reinterpret_cast< iVirtualClock * >(argp1);
  result = (csTicks)((iVirtualClock const *)arg1)->GetCurrentTicks();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iVirtualClock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iVirtualClock *arg1 = (iVirtualClock *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iVirtualClock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iVirtualClock, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iVirtualClock" "', argument " "1"" of type '" "iVirtualClock *""'"); 
  }
  arg1 = reinterpret_cast< iVirtualClock * >(argp1);
  delete_iVirtualClock(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iVirtualClock_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iVirtualClock_scfGetVersion")) SWIG_fail;
  result = (int)iVirtualClock_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iVirtualClock_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iVirtualClock, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEventAttributeIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventAttributeIterator *arg1 = (iEventAttributeIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventAttributeIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventAttributeIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventAttributeIterator_HasNext" "', argument " "1"" of type '" "iEventAttributeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iEventAttributeIterator * >(argp1);
  result = (bool)(arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventAttributeIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventAttributeIterator *arg1 = (iEventAttributeIterator *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventAttributeIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventAttributeIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventAttributeIterator_Next" "', argument " "1"" of type '" "iEventAttributeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iEventAttributeIterator * >(argp1);
  result = (char *)(arg1)->Next();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventAttributeIterator_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventAttributeIterator *arg1 = (iEventAttributeIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventAttributeIterator_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventAttributeIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventAttributeIterator_Reset" "', argument " "1"" of type '" "iEventAttributeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iEventAttributeIterator * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEventAttributeIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventAttributeIterator *arg1 = (iEventAttributeIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEventAttributeIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventAttributeIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEventAttributeIterator" "', argument " "1"" of type '" "iEventAttributeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iEventAttributeIterator * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEventAttributeIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEventAttributeIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csKeyEventData_eventType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  csKeyEventType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyEventData_eventType_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_eventType_set" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csKeyEventData_eventType_set" "', argument " "2"" of type '" "csKeyEventType""'");
  } 
  arg2 = static_cast< csKeyEventType >(val2);
  if (arg1) (arg1)->eventType = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_eventType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  csKeyEventType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventData_eventType_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_eventType_get" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  result = (csKeyEventType) ((arg1)->eventType);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_codeRaw_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  utf32_char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyEventData_codeRaw_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_codeRaw_set" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csKeyEventData_codeRaw_set" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  if (arg1) (arg1)->codeRaw = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_codeRaw_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  utf32_char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventData_codeRaw_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_codeRaw_get" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  result =  ((arg1)->codeRaw);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_codeCooked_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  utf32_char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyEventData_codeCooked_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_codeCooked_set" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csKeyEventData_codeCooked_set" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  if (arg1) (arg1)->codeCooked = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_codeCooked_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  utf32_char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventData_codeCooked_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_codeCooked_get" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  result =  ((arg1)->codeCooked);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_modifiers_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  csKeyModifiers *arg2 = (csKeyModifiers *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyEventData_modifiers_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_modifiers_set" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__csKeyModifiers, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csKeyEventData_modifiers_set" "', argument " "2"" of type '" "csKeyModifiers *""'"); 
  }
  arg2 = reinterpret_cast< csKeyModifiers * >(argp2);
  if (arg1) (arg1)->modifiers = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_modifiers_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  csKeyModifiers *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventData_modifiers_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_modifiers_get" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  result = (csKeyModifiers *)& ((arg1)->modifiers);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__csKeyModifiers, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_autoRepeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyEventData_autoRepeat_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_autoRepeat_set" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csKeyEventData_autoRepeat_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->autoRepeat = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_autoRepeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventData_autoRepeat_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_autoRepeat_get" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  result = (bool) ((arg1)->autoRepeat);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_charType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  csKeyCharType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyEventData_charType_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_charType_set" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csKeyEventData_charType_set" "', argument " "2"" of type '" "csKeyCharType""'");
  } 
  arg2 = static_cast< csKeyCharType >(val2);
  if (arg1) (arg1)->charType = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventData_charType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  csKeyCharType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventData_charType_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventData_charType_get" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  result = (csKeyCharType) ((arg1)->charType);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csKeyEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csKeyEventData")) SWIG_fail;
  result = (csKeyEventData *)new csKeyEventData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csKeyEventData, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csKeyEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventData *arg1 = (csKeyEventData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csKeyEventData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csKeyEventData" "', argument " "1"" of type '" "csKeyEventData *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventData * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csKeyEventData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csKeyEventData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csMouseEventData_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMouseEventData_x_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_x_set" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMouseEventData_x_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->x = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventData_x_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_x_get" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  result = (int) ((arg1)->x);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMouseEventData_y_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_y_set" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMouseEventData_y_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->y = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventData_y_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_y_get" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  result = (int) ((arg1)->y);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_axes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  int32 *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMouseEventData_axes_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_axes_set" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMouseEventData_axes_set" "', argument " "2"" of type '" "int32 [8]""'"); 
  } 
  arg2 = reinterpret_cast< int32 * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)8; ++ii) arg1->axes[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""axes""' of type '""int32 [8]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_axes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  int32 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventData_axes_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_axes_get" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  result = (int32 *)(int32 *) ((arg1)->axes);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_numAxes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMouseEventData_numAxes_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_numAxes_set" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMouseEventData_numAxes_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->numAxes = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_numAxes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventData_numAxes_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_numAxes_get" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  result = (uint) ((arg1)->numAxes);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_Button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMouseEventData_Button_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_Button_set" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMouseEventData_Button_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->Button = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_Button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventData_Button_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_Button_get" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  result = (uint) ((arg1)->Button);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_Modifiers_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  uint32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMouseEventData_Modifiers_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_Modifiers_set" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMouseEventData_Modifiers_set" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventData_Modifiers_set" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->Modifiers = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventData_Modifiers_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventData_Modifiers_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventData_Modifiers_get" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  result =  ((arg1)->Modifiers);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMouseEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csMouseEventData")) SWIG_fail;
  result = (csMouseEventData *)new csMouseEventData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMouseEventData, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csMouseEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventData *arg1 = (csMouseEventData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csMouseEventData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csMouseEventData" "', argument " "1"" of type '" "csMouseEventData *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventData * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csMouseEventData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csMouseEventData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csJoystickEventData_number_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csJoystickEventData_number_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_number_set" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csJoystickEventData_number_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->number = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_number_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventData_number_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_number_get" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  result = (uint) ((arg1)->number);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_axes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  int32 *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csJoystickEventData_axes_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_axes_set" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csJoystickEventData_axes_set" "', argument " "2"" of type '" "int32 [8]""'"); 
  } 
  arg2 = reinterpret_cast< int32 * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)8; ++ii) arg1->axes[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""axes""' of type '""int32 [8]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_axes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  int32 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventData_axes_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_axes_get" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  result = (int32 *)(int32 *) ((arg1)->axes);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_numAxes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csJoystickEventData_numAxes_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_numAxes_set" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csJoystickEventData_numAxes_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->numAxes = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_numAxes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventData_numAxes_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_numAxes_get" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  result = (uint) ((arg1)->numAxes);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_axesChanged_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csJoystickEventData_axesChanged_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_axesChanged_set" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csJoystickEventData_axesChanged_set" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventData_axesChanged_set" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->axesChanged = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_axesChanged_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventData_axesChanged_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_axesChanged_get" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  result =  ((arg1)->axesChanged);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_Button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csJoystickEventData_Button_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_Button_set" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csJoystickEventData_Button_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->Button = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_Button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventData_Button_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_Button_get" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  result = (uint) ((arg1)->Button);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_Modifiers_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csJoystickEventData_Modifiers_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_Modifiers_set" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csJoystickEventData_Modifiers_set" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventData_Modifiers_set" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->Modifiers = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventData_Modifiers_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventData_Modifiers_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventData_Modifiers_get" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  result =  ((arg1)->Modifiers);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csJoystickEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csJoystickEventData")) SWIG_fail;
  result = (csJoystickEventData *)new csJoystickEventData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csJoystickEventData, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csJoystickEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventData *arg1 = (csJoystickEventData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csJoystickEventData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csJoystickEventData" "', argument " "1"" of type '" "csJoystickEventData *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventData * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csJoystickEventData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csJoystickEventData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csCommandEventData_Code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandEventData *arg1 = (csCommandEventData *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCommandEventData_Code_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCommandEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandEventData_Code_set" "', argument " "1"" of type '" "csCommandEventData *""'"); 
  }
  arg1 = reinterpret_cast< csCommandEventData * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCommandEventData_Code_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->Code = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandEventData_Code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandEventData *arg1 = (csCommandEventData *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCommandEventData_Code_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCommandEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandEventData_Code_get" "', argument " "1"" of type '" "csCommandEventData *""'"); 
  }
  arg1 = reinterpret_cast< csCommandEventData * >(argp1);
  result = (uint) ((arg1)->Code);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandEventData_Info_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandEventData *arg1 = (csCommandEventData *) 0 ;
  intptr_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCommandEventData_Info_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCommandEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandEventData_Info_set" "', argument " "1"" of type '" "csCommandEventData *""'"); 
  }
  arg1 = reinterpret_cast< csCommandEventData * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCommandEventData_Info_set" "', argument " "2"" of type '" "intptr_t""'");
  } 
  arg2 = static_cast< intptr_t >(val2);
  if (arg1) (arg1)->Info = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandEventData_Info_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandEventData *arg1 = (csCommandEventData *) 0 ;
  intptr_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCommandEventData_Info_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCommandEventData, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandEventData_Info_get" "', argument " "1"" of type '" "csCommandEventData *""'"); 
  }
  arg1 = reinterpret_cast< csCommandEventData * >(argp1);
  result = (intptr_t) ((arg1)->Info);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCommandEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandEventData *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csCommandEventData")) SWIG_fail;
  result = (csCommandEventData *)new csCommandEventData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCommandEventData, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csCommandEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandEventData *arg1 = (csCommandEventData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csCommandEventData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCommandEventData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csCommandEventData" "', argument " "1"" of type '" "csCommandEventData *""'"); 
  }
  arg1 = reinterpret_cast< csCommandEventData * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csCommandEventData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csCommandEventData, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEvent_Name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEvent_Name_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Name_set" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEvent_Name_set" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  if (arg1) (arg1)->Name = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEvent_Name_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Name_get" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (csEventID) ((arg1)->Name);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEvent_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_GetName" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (csEventID)(arg1)->GetName();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csTicks arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEvent_Time_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Time_set" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEvent_Time_set" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  if (arg1) (arg1)->Time = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csTicks result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEvent_Time_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Time_get" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (csTicks) ((arg1)->Time);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Broadcast_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEvent_Broadcast_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Broadcast_set" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEvent_Broadcast_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->Broadcast = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Broadcast_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEvent_Broadcast_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Broadcast_get" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (bool) ((arg1)->Broadcast);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AddInt8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  int8 arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_AddInt8",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AddInt8" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AddInt8" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_AddInt8" "', argument " "3"" of type '" "int8""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_AddInt8" "', argument " "3"" of type '" "int8""'");
    } else {
      int8 * temp = reinterpret_cast< int8 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AddUInt8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  uint8 arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_AddUInt8",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AddUInt8" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AddUInt8" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_AddUInt8" "', argument " "3"" of type '" "uint8""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_AddUInt8" "', argument " "3"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AddInt16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  int16 arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_AddInt16",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AddInt16" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AddInt16" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int16_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_AddInt16" "', argument " "3"" of type '" "int16""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_AddInt16" "', argument " "3"" of type '" "int16""'");
    } else {
      int16 * temp = reinterpret_cast< int16 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AddUInt16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  uint16 arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_AddUInt16",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AddUInt16" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AddUInt16" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint16_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_AddUInt16" "', argument " "3"" of type '" "uint16""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_AddUInt16" "', argument " "3"" of type '" "uint16""'");
    } else {
      uint16 * temp = reinterpret_cast< uint16 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AddInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  int32 arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_AddInt32",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AddInt32" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AddInt32" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_AddInt32" "', argument " "3"" of type '" "int32""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_AddInt32" "', argument " "3"" of type '" "int32""'");
    } else {
      int32 * temp = reinterpret_cast< int32 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AddUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  uint32 arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_AddUInt32",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AddUInt32" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AddUInt32" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_AddUInt32" "', argument " "3"" of type '" "uint32""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_AddUInt32" "', argument " "3"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  int64 arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_Add",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Add" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Add" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int64_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Add" "', argument " "3"" of type '" "int64""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_Add" "', argument " "3"" of type '" "int64""'");
    } else {
      int64 * temp = reinterpret_cast< int64 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  uint64 arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_Add",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Add" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Add" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint64_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Add" "', argument " "3"" of type '" "uint64""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_Add" "', argument " "3"" of type '" "uint64""'");
    } else {
      uint64 * temp = reinterpret_cast< uint64 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AddFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_AddFloat",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AddFloat" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AddFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEvent_AddFloat" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AddDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  double arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_AddDouble",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AddDouble" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AddDouble" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEvent_AddDouble" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Add__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_Add",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Add" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Add" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Add" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->Add((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Add__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = (void *) 0 ;
  size_t arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  size_t val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEvent_Add",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Add" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Add" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Add" "', argument " "3"" of type '" "void const *""'"); 
  }
  ecode4 = SWIG_AsVal_size_t(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEvent_Add" "', argument " "4"" of type '" "size_t""'");
  } 
  arg4 = static_cast< size_t >(val4);
  result = (bool)(arg1)->Add((char const *)arg2,(void const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AddBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_AddBool",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AddBool" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AddBool" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEvent_AddBool" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Add__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  iEvent *arg3 = (iEvent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_Add",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Add" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Add" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Add" "', argument " "3"" of type '" "iEvent *""'"); 
  }
  arg3 = reinterpret_cast< iEvent * >(argp3);
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Add__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase *arg3 = (iBase *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_Add",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Add" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Add" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Add" "', argument " "3"" of type '" "iBase *""'"); 
  }
  arg3 = reinterpret_cast< iBase * >(argp3);
  result = (bool)(arg1)->Add((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Add(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int64_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEvent_Add__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint64_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEvent_Add__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iEvent, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEvent_Add__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEvent_Add__SWIG_5(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEvent_Add__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *ptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_size_t(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iEvent_Add__SWIG_3(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEvent_Add'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveInt8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  int8 *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveInt8",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveInt8" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveInt8" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveInt8" "', argument " "3"" of type '" "int8 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveInt8" "', argument " "3"" of type '" "int8 &""'"); 
  }
  arg3 = reinterpret_cast< int8 * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveUInt8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  uint8 *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveUInt8",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveUInt8" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveUInt8" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveUInt8" "', argument " "3"" of type '" "uint8 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveUInt8" "', argument " "3"" of type '" "uint8 &""'"); 
  }
  arg3 = reinterpret_cast< uint8 * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveInt16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  int16 *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveInt16",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveInt16" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveInt16" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int16_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveInt16" "', argument " "3"" of type '" "int16 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveInt16" "', argument " "3"" of type '" "int16 &""'"); 
  }
  arg3 = reinterpret_cast< int16 * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveUInt16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  uint16 *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveUInt16",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveUInt16" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveUInt16" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint16_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveUInt16" "', argument " "3"" of type '" "uint16 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveUInt16" "', argument " "3"" of type '" "uint16 &""'"); 
  }
  arg3 = reinterpret_cast< uint16 * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  int32 *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveInt32",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveInt32" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveInt32" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveInt32" "', argument " "3"" of type '" "int32 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveInt32" "', argument " "3"" of type '" "int32 &""'"); 
  }
  arg3 = reinterpret_cast< int32 * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  uint32 *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveUInt32",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveUInt32" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveUInt32" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveUInt32" "', argument " "3"" of type '" "uint32 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveUInt32" "', argument " "3"" of type '" "uint32 &""'"); 
  }
  arg3 = reinterpret_cast< uint32 * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Retrieve__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  int64 *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_Retrieve",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Retrieve" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Retrieve" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int64_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "int64 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "int64 &""'"); 
  }
  arg3 = reinterpret_cast< int64 * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Retrieve__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  uint64 *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_Retrieve",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Retrieve" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Retrieve" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint64_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "uint64 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "uint64 &""'"); 
  }
  arg3 = reinterpret_cast< uint64 * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  float *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveFloat",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveFloat" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveFloat" "', argument " "3"" of type '" "float &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveFloat" "', argument " "3"" of type '" "float &""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  double *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveDouble",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveDouble" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveDouble" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveDouble" "', argument " "3"" of type '" "double &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveDouble" "', argument " "3"" of type '" "double &""'"); 
  }
  arg3 = reinterpret_cast< double * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Retrieve__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  void **arg3 = 0 ;
  size_t *arg4 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEvent_Retrieve",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Retrieve" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Retrieve" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_void,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "void const *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "void const *&""'"); 
  }
  arg3 = reinterpret_cast< void ** >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_size_t,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEvent_Retrieve" "', argument " "4"" of type '" "size_t &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_Retrieve" "', argument " "4"" of type '" "size_t &""'"); 
  }
  arg4 = reinterpret_cast< size_t * >(argp4);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,(void const *&)*arg3,*arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  bool *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveBool",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveBool" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveBool" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveBool" "', argument " "3"" of type '" "bool &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveBool" "', argument " "3"" of type '" "bool &""'"); 
  }
  arg3 = reinterpret_cast< bool * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Retrieve__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iEvent > *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_Retrieve",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Retrieve" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Retrieve" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEvent_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "csRef<iEvent > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "csRef<iEvent > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEvent > * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Retrieve__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iBase > *arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_Retrieve",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Retrieve" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Retrieve" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiBase_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "csRef<iBase > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_Retrieve" "', argument " "3"" of type '" "csRef<iBase > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iBase > * >(argp3);
  result = (csEventError)((iEvent const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Retrieve(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int64_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEvent_Retrieve__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint64_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEvent_Retrieve__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRefTiEvent_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEvent_Retrieve__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRefTiBase_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEvent_Retrieve__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_void, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_size_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iEvent_Retrieve__SWIG_2(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEvent_Retrieve'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_AttributeExists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEvent_AttributeExists",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_AttributeExists" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_AttributeExists" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->AttributeExists((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_GetAttributeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  csEventAttributeType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEvent_GetAttributeType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_GetAttributeType" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_GetAttributeType" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (csEventAttributeType)(arg1)->GetAttributeType((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEvent_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Remove" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_Remove" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->Remove((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEvent_RemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RemoveAll" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (bool)(arg1)->RemoveAll();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_GetAttributeIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  SwigValueWrapper<csRef<iEventAttributeIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEvent_GetAttributeIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_GetAttributeIterator" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (arg1)->GetAttributeIterator();
  resultobj = SWIG_NewPointerObj((new csRef<iEventAttributeIterator >(static_cast< const csRef<iEventAttributeIterator >& >(result))), SWIGTYPE_p_csRefTiEventAttributeIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_RetrieveString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  char *arg2 = (char *) 0 ;
  char **arg3 = 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEvent_RetrieveString",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_RetrieveString" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEvent_RetrieveString" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_char,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEvent_RetrieveString" "', argument " "3"" of type '" "char *&""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEvent_RetrieveString" "', argument " "3"" of type '" "char *&""'"); 
  }
  arg3 = reinterpret_cast< char ** >(argp3);
  result = (csEventError)iEvent_RetrieveString(arg1,(char const *)arg2,*arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEvent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEvent" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  delete_iEvent(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iEvent_scfGetVersion")) SWIG_fail;
  result = (int)iEvent_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Mouse_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csMouseEventData *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEvent_Mouse_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Mouse_get" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (csMouseEventData *)iEvent_Mouse_get(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMouseEventData, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Joystick_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csJoystickEventData *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEvent_Joystick_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Joystick_get" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (csJoystickEventData *)iEvent_Joystick_get(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csJoystickEventData, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEvent_Command_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csCommandEventData *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEvent_Command_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEvent_Command_get" "', argument " "1"" of type '" "iEvent *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (csCommandEventData *)iEvent_Command_get(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCommandEventData, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEvent, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEventPlug_GetPotentiallyConflictingEvents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventPlug *arg1 = (iEventPlug *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventPlug_GetPotentiallyConflictingEvents",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventPlug, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventPlug_GetPotentiallyConflictingEvents" "', argument " "1"" of type '" "iEventPlug *""'"); 
  }
  arg1 = reinterpret_cast< iEventPlug * >(argp1);
  result = (unsigned int)(arg1)->GetPotentiallyConflictingEvents();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventPlug_QueryEventPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventPlug *arg1 = (iEventPlug *) 0 ;
  unsigned int arg2 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventPlug_QueryEventPriority",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventPlug, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventPlug_QueryEventPriority" "', argument " "1"" of type '" "iEventPlug *""'"); 
  }
  arg1 = reinterpret_cast< iEventPlug * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventPlug_QueryEventPriority" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (unsigned int)(arg1)->QueryEventPriority(arg2);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventPlug_EnableEvents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventPlug *arg1 = (iEventPlug *) 0 ;
  unsigned int arg2 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventPlug_EnableEvents",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventPlug, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventPlug_EnableEvents" "', argument " "1"" of type '" "iEventPlug *""'"); 
  }
  arg1 = reinterpret_cast< iEventPlug * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventPlug_EnableEvents" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventPlug_EnableEvents" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->EnableEvents(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEventPlug(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventPlug *arg1 = (iEventPlug *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEventPlug",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventPlug, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEventPlug" "', argument " "1"" of type '" "iEventPlug *""'"); 
  }
  arg1 = reinterpret_cast< iEventPlug * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEventPlug_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEventPlug, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEventOutlet_CreateEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  SwigValueWrapper<csPtr<iEvent > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventOutlet_CreateEvent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventOutlet_CreateEvent" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  result = (arg1)->CreateEvent();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iEvent> ref((csPtr<iEvent>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iEvent *)ref), (void *)(iEvent *)ref, "iEvent" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_Post(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  iEvent *arg2 = (iEvent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventOutlet_Post",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventOutlet_Post" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventOutlet_Post" "', argument " "2"" of type '" "iEvent *""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  (arg1)->Post(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_Key__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  utf32_char arg2 ;
  utf32_char arg3 ;
  bool arg4 ;
  bool arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEventOutlet_Key",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventOutlet_Key" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventOutlet_Key" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventOutlet_Key" "', argument " "3"" of type '" "utf32_char""'");
  } 
  arg3 = static_cast< utf32_char >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEventOutlet_Key" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iEventOutlet_Key" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  (arg1)->Key(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_Key__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  utf32_char arg2 ;
  utf32_char arg3 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEventOutlet_Key",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventOutlet_Key" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventOutlet_Key" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventOutlet_Key" "', argument " "3"" of type '" "utf32_char""'");
  } 
  arg3 = static_cast< utf32_char >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEventOutlet_Key" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->Key(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_Key(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventOutlet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iEventOutlet_Key__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventOutlet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iEventOutlet_Key__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEventOutlet_Key'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_Mouse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  int arg2 ;
  bool arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEventOutlet_Mouse",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventOutlet_Mouse" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventOutlet_Mouse" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventOutlet_Mouse" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEventOutlet_Mouse" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iEventOutlet_Mouse" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->Mouse(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_Joystick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  uint arg2 ;
  int arg3 ;
  bool arg4 ;
  int32 *arg5 = (int32 *) 0 ;
  uint arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  unsigned int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iEventOutlet_Joystick",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventOutlet_Joystick" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventOutlet_Joystick" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventOutlet_Joystick" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEventOutlet_Joystick" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEventOutlet_Joystick" "', argument " "5"" of type '" "int32 const *""'"); 
  }
  arg5 = reinterpret_cast< int32 * >(argp5);
  ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iEventOutlet_Joystick" "', argument " "6"" of type '" "uint""'");
  } 
  arg6 = static_cast< uint >(val6);
  (arg1)->Joystick(arg2,arg3,arg4,(int32 const *)arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_Broadcast__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  csEventID arg2 ;
  intptr_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventOutlet_Broadcast",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventOutlet_Broadcast" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventOutlet_Broadcast" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventOutlet_Broadcast" "', argument " "3"" of type '" "intptr_t""'");
  } 
  arg3 = static_cast< intptr_t >(val3);
  (arg1)->Broadcast(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_Broadcast__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  csEventID arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventOutlet_Broadcast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventOutlet_Broadcast" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventOutlet_Broadcast" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  (arg1)->Broadcast(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_Broadcast(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventOutlet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iEventOutlet_Broadcast__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventOutlet, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iEventOutlet_Broadcast__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEventOutlet_Broadcast'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventOutlet_ImmediateBroadcast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  csEventID arg2 ;
  intptr_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventOutlet_ImmediateBroadcast",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventOutlet_ImmediateBroadcast" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventOutlet_ImmediateBroadcast" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventOutlet_ImmediateBroadcast" "', argument " "3"" of type '" "intptr_t""'");
  } 
  arg3 = static_cast< intptr_t >(val3);
  (arg1)->ImmediateBroadcast(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEventOutlet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventOutlet *arg1 = (iEventOutlet *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEventOutlet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventOutlet, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEventOutlet" "', argument " "1"" of type '" "iEventOutlet *""'"); 
  }
  arg1 = reinterpret_cast< iEventOutlet * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEventOutlet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEventOutlet, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEventCord_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventCord *arg1 = (iEventCord *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  int arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventCord_Insert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventCord, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventCord_Insert" "', argument " "1"" of type '" "iEventCord *""'"); 
  }
  arg1 = reinterpret_cast< iEventCord * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventCord_Insert" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventCord_Insert" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (int)(arg1)->Insert(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventCord_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventCord *arg1 = (iEventCord *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventCord_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventCord, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventCord_Remove" "', argument " "1"" of type '" "iEventCord *""'"); 
  }
  arg1 = reinterpret_cast< iEventCord * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventCord_Remove" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  (arg1)->Remove(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventCord_GetPass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventCord *arg1 = (iEventCord *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventCord_GetPass",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventCord, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventCord_GetPass" "', argument " "1"" of type '" "iEventCord const *""'"); 
  }
  arg1 = reinterpret_cast< iEventCord * >(argp1);
  result = (bool)((iEventCord const *)arg1)->GetPass();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventCord_SetPass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventCord *arg1 = (iEventCord *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventCord_SetPass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventCord, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventCord_SetPass" "', argument " "1"" of type '" "iEventCord *""'"); 
  }
  arg1 = reinterpret_cast< iEventCord * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventCord_SetPass" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetPass(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventCord_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventCord *arg1 = (iEventCord *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventCord_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventCord, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventCord_GetName" "', argument " "1"" of type '" "iEventCord const *""'"); 
  }
  arg1 = reinterpret_cast< iEventCord * >(argp1);
  result = (csEventID)((iEventCord const *)arg1)->GetName();
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEventCord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventCord *arg1 = (iEventCord *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEventCord",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventCord, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEventCord" "', argument " "1"" of type '" "iEventCord *""'"); 
  }
  arg1 = reinterpret_cast< iEventCord * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEventCord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEventCord, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetRawCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  utf32_char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventHelper_GetRawCode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetRawCode" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = csKeyEventHelper::GetRawCode((iEvent const *)arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetCookedCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  utf32_char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventHelper_GetCookedCode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetCookedCode" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = csKeyEventHelper::GetCookedCode((iEvent const *)arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetModifiers__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csKeyModifiers *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyEventHelper_GetModifiers",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetModifiers" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p__csKeyModifiers,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csKeyEventHelper_GetModifiers" "', argument " "2"" of type '" "csKeyModifiers &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csKeyEventHelper_GetModifiers" "', argument " "2"" of type '" "csKeyModifiers &""'"); 
  }
  arg2 = reinterpret_cast< csKeyModifiers * >(argp2);
  csKeyEventHelper::GetModifiers((iEvent const *)arg1,*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetEventType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csKeyEventType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventHelper_GetEventType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetEventType" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (csKeyEventType)csKeyEventHelper::GetEventType((iEvent const *)arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetAutoRepeat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventHelper_GetAutoRepeat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetAutoRepeat" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (bool)csKeyEventHelper::GetAutoRepeat((iEvent const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetCharacterType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csKeyCharType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventHelper_GetCharacterType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetCharacterType" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (csKeyCharType)csKeyEventHelper::GetCharacterType((iEvent const *)arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csKeyEventData *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyEventHelper_GetEventData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetEventData" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csKeyEventData,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csKeyEventHelper_GetEventData" "', argument " "2"" of type '" "csKeyEventData &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csKeyEventHelper_GetEventData" "', argument " "2"" of type '" "csKeyEventData &""'"); 
  }
  arg2 = reinterpret_cast< csKeyEventData * >(argp2);
  result = (bool)csKeyEventHelper::GetEventData((iEvent const *)arg1,*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetModifiersBits__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyModifiers *arg1 = 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventHelper_GetModifiersBits",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p__csKeyModifiers,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetModifiersBits" "', argument " "1"" of type '" "csKeyModifiers const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csKeyEventHelper_GetModifiersBits" "', argument " "1"" of type '" "csKeyModifiers const &""'"); 
  }
  arg1 = reinterpret_cast< csKeyModifiers * >(argp1);
  result = csKeyEventHelper::GetModifiersBits((_csKeyModifiers const &)*arg1);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetModifiersBits__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyEventHelper_GetModifiersBits",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetModifiersBits" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = csKeyEventHelper::GetModifiersBits((iEvent const *)arg1);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetModifiersBits(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p__csKeyModifiers, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csKeyEventHelper_GetModifiersBits__SWIG_0(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csKeyEventHelper_GetModifiersBits__SWIG_1(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csKeyEventHelper_GetModifiersBits'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetModifiers__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  uint32 arg1 ;
  csKeyModifiers *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyEventHelper_GetModifiers",&obj0,&obj1)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyEventHelper_GetModifiers" "', argument " "1"" of type '" "uint32""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csKeyEventHelper_GetModifiers" "', argument " "1"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp1);
      arg1 = *temp;
      if (SWIG_IsNewObj(res1)) delete temp;
    }
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p__csKeyModifiers,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csKeyEventHelper_GetModifiers" "', argument " "2"" of type '" "csKeyModifiers &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csKeyEventHelper_GetModifiers" "', argument " "2"" of type '" "csKeyModifiers &""'"); 
  }
  arg2 = reinterpret_cast< csKeyModifiers * >(argp2);
  csKeyEventHelper::GetModifiers(arg1,*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyEventHelper_GetModifiers(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__csKeyModifiers, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csKeyEventHelper_GetModifiers__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_uint32_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__csKeyModifiers, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csKeyEventHelper_GetModifiers__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csKeyEventHelper_GetModifiers'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csKeyEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventHelper *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csKeyEventHelper")) SWIG_fail;
  result = (csKeyEventHelper *)new csKeyEventHelper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csKeyEventHelper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csKeyEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyEventHelper *arg1 = (csKeyEventHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csKeyEventHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csKeyEventHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csKeyEventHelper" "', argument " "1"" of type '" "csKeyEventHelper *""'"); 
  }
  arg1 = reinterpret_cast< csKeyEventHelper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csKeyEventHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csKeyEventHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csMouseEventHelper_NewEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRef<iEventNameRegistry > *arg1 = 0 ;
  csTicks arg2 ;
  csEventID arg3 ;
  csMouseEventType arg4 ;
  int arg5 ;
  int arg6 ;
  uint32 arg7 ;
  uint arg8 ;
  bool arg9 ;
  uint32 arg10 ;
  uint32 arg11 ;
  csEvent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  void *argp7 ;
  int res7 = 0 ;
  unsigned int val8 ;
  int ecode8 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  void *argp10 ;
  int res10 = 0 ;
  void *argp11 ;
  int res11 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  PyObject * obj10 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOO:csMouseEventHelper_NewEvent",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg1 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMouseEventHelper_NewEvent" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csMouseEventHelper_NewEvent" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csMouseEventHelper_NewEvent" "', argument " "4"" of type '" "csMouseEventType""'");
  } 
  arg4 = static_cast< csMouseEventType >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csMouseEventHelper_NewEvent" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csMouseEventHelper_NewEvent" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csMouseEventHelper_NewEvent" "', argument " "7"" of type '" "uint32""'"); 
    }  
    if (!argp7) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "7"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp7);
      arg7 = *temp;
      if (SWIG_IsNewObj(res7)) delete temp;
    }
  }
  ecode8 = SWIG_AsVal_unsigned_SS_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "csMouseEventHelper_NewEvent" "', argument " "8"" of type '" "uint""'");
  } 
  arg8 = static_cast< uint >(val8);
  ecode9 = SWIG_AsVal_bool(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "csMouseEventHelper_NewEvent" "', argument " "9"" of type '" "bool""'");
  } 
  arg9 = static_cast< bool >(val9);
  {
    res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res10)) {
      SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "csMouseEventHelper_NewEvent" "', argument " "10"" of type '" "uint32""'"); 
    }  
    if (!argp10) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "10"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp10);
      arg10 = *temp;
      if (SWIG_IsNewObj(res10)) delete temp;
    }
  }
  {
    res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "csMouseEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'"); 
    }  
    if (!argp11) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp11);
      arg11 = *temp;
      if (SWIG_IsNewObj(res11)) delete temp;
    }
  }
  result = (csEvent *)csMouseEventHelper::NewEvent(*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEvent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_NewEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRef<iEventNameRegistry > *arg1 = 0 ;
  csTicks arg2 ;
  csEventID arg3 ;
  uint8 arg4 ;
  csMouseEventType arg5 ;
  int arg6 ;
  int arg7 ;
  uint32 arg8 ;
  uint arg9 ;
  bool arg10 ;
  uint32 arg11 ;
  uint32 arg12 ;
  csEvent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  void *argp4 ;
  int res4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  void *argp8 ;
  int res8 = 0 ;
  unsigned int val9 ;
  int ecode9 = 0 ;
  bool val10 ;
  int ecode10 = 0 ;
  void *argp11 ;
  int res11 = 0 ;
  void *argp12 ;
  int res12 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  PyObject * obj10 = 0 ;
  PyObject * obj11 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOOO:csMouseEventHelper_NewEvent",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg1 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMouseEventHelper_NewEvent" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csMouseEventHelper_NewEvent" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csMouseEventHelper_NewEvent" "', argument " "4"" of type '" "uint8""'"); 
    }  
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "4"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp4);
      arg4 = *temp;
      if (SWIG_IsNewObj(res4)) delete temp;
    }
  }
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csMouseEventHelper_NewEvent" "', argument " "5"" of type '" "csMouseEventType""'");
  } 
  arg5 = static_cast< csMouseEventType >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csMouseEventHelper_NewEvent" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "csMouseEventHelper_NewEvent" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  {
    res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res8)) {
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "csMouseEventHelper_NewEvent" "', argument " "8"" of type '" "uint32""'"); 
    }  
    if (!argp8) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "8"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp8);
      arg8 = *temp;
      if (SWIG_IsNewObj(res8)) delete temp;
    }
  }
  ecode9 = SWIG_AsVal_unsigned_SS_int(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "csMouseEventHelper_NewEvent" "', argument " "9"" of type '" "uint""'");
  } 
  arg9 = static_cast< uint >(val9);
  ecode10 = SWIG_AsVal_bool(obj9, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "csMouseEventHelper_NewEvent" "', argument " "10"" of type '" "bool""'");
  } 
  arg10 = static_cast< bool >(val10);
  {
    res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "csMouseEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'"); 
    }  
    if (!argp11) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp11);
      arg11 = *temp;
      if (SWIG_IsNewObj(res11)) delete temp;
    }
  }
  {
    res12 = SWIG_ConvertPtr(obj11, &argp12, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res12)) {
      SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "csMouseEventHelper_NewEvent" "', argument " "12"" of type '" "uint32""'"); 
    }  
    if (!argp12) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "12"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp12);
      arg12 = *temp;
      if (SWIG_IsNewObj(res12)) delete temp;
    }
  }
  result = (csEvent *)csMouseEventHelper::NewEvent(*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEvent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_NewEvent__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRef<iEventNameRegistry > *arg1 = 0 ;
  csTicks arg2 ;
  csEventID arg3 ;
  uint8 arg4 ;
  csMouseEventType arg5 ;
  int32 *arg6 = (int32 *) 0 ;
  uint8 arg7 ;
  uint32 arg8 ;
  uint arg9 ;
  bool arg10 ;
  uint32 arg11 ;
  uint32 arg12 ;
  csEvent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  void *argp4 ;
  int res4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 ;
  int res7 = 0 ;
  void *argp8 ;
  int res8 = 0 ;
  unsigned int val9 ;
  int ecode9 = 0 ;
  bool val10 ;
  int ecode10 = 0 ;
  void *argp11 ;
  int res11 = 0 ;
  void *argp12 ;
  int res12 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  PyObject * obj10 = 0 ;
  PyObject * obj11 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOOO:csMouseEventHelper_NewEvent",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg1 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMouseEventHelper_NewEvent" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csMouseEventHelper_NewEvent" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csMouseEventHelper_NewEvent" "', argument " "4"" of type '" "uint8""'"); 
    }  
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "4"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp4);
      arg4 = *temp;
      if (SWIG_IsNewObj(res4)) delete temp;
    }
  }
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csMouseEventHelper_NewEvent" "', argument " "5"" of type '" "csMouseEventType""'");
  } 
  arg5 = static_cast< csMouseEventType >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csMouseEventHelper_NewEvent" "', argument " "6"" of type '" "int32 const *""'"); 
  }
  arg6 = reinterpret_cast< int32 * >(argp6);
  {
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csMouseEventHelper_NewEvent" "', argument " "7"" of type '" "uint8""'"); 
    }  
    if (!argp7) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "7"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp7);
      arg7 = *temp;
      if (SWIG_IsNewObj(res7)) delete temp;
    }
  }
  {
    res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res8)) {
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "csMouseEventHelper_NewEvent" "', argument " "8"" of type '" "uint32""'"); 
    }  
    if (!argp8) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "8"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp8);
      arg8 = *temp;
      if (SWIG_IsNewObj(res8)) delete temp;
    }
  }
  ecode9 = SWIG_AsVal_unsigned_SS_int(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "csMouseEventHelper_NewEvent" "', argument " "9"" of type '" "uint""'");
  } 
  arg9 = static_cast< uint >(val9);
  ecode10 = SWIG_AsVal_bool(obj9, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "csMouseEventHelper_NewEvent" "', argument " "10"" of type '" "bool""'");
  } 
  arg10 = static_cast< bool >(val10);
  {
    res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "csMouseEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'"); 
    }  
    if (!argp11) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp11);
      arg11 = *temp;
      if (SWIG_IsNewObj(res11)) delete temp;
    }
  }
  {
    res12 = SWIG_ConvertPtr(obj11, &argp12, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res12)) {
      SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "csMouseEventHelper_NewEvent" "', argument " "12"" of type '" "uint32""'"); 
    }  
    if (!argp12) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_NewEvent" "', argument " "12"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp12);
      arg12 = *temp;
      if (SWIG_IsNewObj(res12)) delete temp;
    }
  }
  result = (csEvent *)csMouseEventHelper::NewEvent(*arg1,arg2,arg3,arg4,arg5,(int32_t const *)arg6,arg7,arg8,arg9,arg10,arg11,arg12);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEvent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_NewEvent(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[13];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 12); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 11) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRefTiEventNameRegistry_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_uint32_t, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  {
                    int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    {
                      int res = SWIG_AsVal_bool(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_uint32_t, 0);
                      _v = SWIG_CheckState(res);
                      if (_v) {
                        int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_uint32_t, 0);
                        _v = SWIG_CheckState(res);
                        if (_v) {
                          return _wrap_csMouseEventHelper_NewEvent__SWIG_0(self, args);
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 12) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRefTiEventNameRegistry_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_uint8_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int32_t, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_uint8_t, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_uint32_t, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    {
                      int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      {
                        int res = SWIG_AsVal_bool(argv[9], NULL);
                        _v = SWIG_CheckState(res);
                      }
                      if (_v) {
                        int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_uint32_t, 0);
                        _v = SWIG_CheckState(res);
                        if (_v) {
                          int res = SWIG_ConvertPtr(argv[11], 0, SWIGTYPE_p_uint32_t, 0);
                          _v = SWIG_CheckState(res);
                          if (_v) {
                            return _wrap_csMouseEventHelper_NewEvent__SWIG_2(self, args);
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 12) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRefTiEventNameRegistry_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_uint8_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_int(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_uint32_t, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    {
                      int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      {
                        int res = SWIG_AsVal_bool(argv[9], NULL);
                        _v = SWIG_CheckState(res);
                      }
                      if (_v) {
                        int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_uint32_t, 0);
                        _v = SWIG_CheckState(res);
                        if (_v) {
                          int res = SWIG_ConvertPtr(argv[11], 0, SWIGTYPE_p_uint32_t, 0);
                          _v = SWIG_CheckState(res);
                          if (_v) {
                            return _wrap_csMouseEventHelper_NewEvent__SWIG_1(self, args);
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csMouseEventHelper_NewEvent'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetEventType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csMouseEventType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventHelper_GetEventType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetEventType" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (csMouseEventType)csMouseEventHelper::GetEventType((iEvent const *)arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventHelper_GetNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetNumber" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (uint)csMouseEventHelper::GetNumber((iEvent const *)arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventHelper_GetX",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetX" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (int)csMouseEventHelper::GetX((iEvent const *)arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventHelper_GetY",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetY" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (int)csMouseEventHelper::GetY((iEvent const *)arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMouseEventHelper_GetAxis",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetAxis" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csMouseEventHelper_GetAxis" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (int)csMouseEventHelper::GetAxis((iEvent const *)arg1,arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetNumAxes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventHelper_GetNumAxes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetNumAxes" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (uint)csMouseEventHelper::GetNumAxes((iEvent const *)arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventHelper_GetButton",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetButton" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (uint)csMouseEventHelper::GetButton((iEvent const *)arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetButtonState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventHelper_GetButtonState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetButtonState" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (bool)csMouseEventHelper::GetButtonState((iEvent const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetButtonMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventHelper_GetButtonMask",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetButtonMask" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = csMouseEventHelper::GetButtonMask((iEvent const *)arg1);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetModifiers__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csKeyModifiers *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMouseEventHelper_GetModifiers",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetModifiers" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p__csKeyModifiers,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMouseEventHelper_GetModifiers" "', argument " "2"" of type '" "csKeyModifiers &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_GetModifiers" "', argument " "2"" of type '" "csKeyModifiers &""'"); 
  }
  arg2 = reinterpret_cast< csKeyModifiers * >(argp2);
  csMouseEventHelper::GetModifiers((iEvent const *)arg1,*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetModifiers__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csMouseEventHelper_GetModifiers",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetModifiers" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = csMouseEventHelper::GetModifiers((iEvent const *)arg1);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetModifiers(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csMouseEventHelper_GetModifiers__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__csKeyModifiers, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csMouseEventHelper_GetModifiers__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csMouseEventHelper_GetModifiers'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csMouseEventHelper_GetEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csMouseEventData *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csMouseEventHelper_GetEventData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csMouseEventHelper_GetEventData" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMouseEventData,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csMouseEventHelper_GetEventData" "', argument " "2"" of type '" "csMouseEventData &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csMouseEventHelper_GetEventData" "', argument " "2"" of type '" "csMouseEventData &""'"); 
  }
  arg2 = reinterpret_cast< csMouseEventData * >(argp2);
  result = (bool)csMouseEventHelper::GetEventData((iEvent const *)arg1,*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csMouseEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventHelper *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csMouseEventHelper")) SWIG_fail;
  result = (csMouseEventHelper *)new csMouseEventHelper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csMouseEventHelper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csMouseEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csMouseEventHelper *arg1 = (csMouseEventHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csMouseEventHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csMouseEventHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csMouseEventHelper" "', argument " "1"" of type '" "csMouseEventHelper *""'"); 
  }
  arg1 = reinterpret_cast< csMouseEventHelper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csMouseEventHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csMouseEventHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csJoystickEventHelper_NewEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRef<iEventNameRegistry > *arg1 = 0 ;
  csTicks arg2 ;
  csEventID arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  uint32 arg7 ;
  uint arg8 ;
  bool arg9 ;
  uint32 arg10 ;
  uint32 arg11 ;
  csEvent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  void *argp7 ;
  int res7 = 0 ;
  unsigned int val8 ;
  int ecode8 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  void *argp10 ;
  int res10 = 0 ;
  void *argp11 ;
  int res11 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  PyObject * obj10 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOO:csJoystickEventHelper_NewEvent",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg1 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "7"" of type '" "uint32""'"); 
    }  
    if (!argp7) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_NewEvent" "', argument " "7"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp7);
      arg7 = *temp;
      if (SWIG_IsNewObj(res7)) delete temp;
    }
  }
  ecode8 = SWIG_AsVal_unsigned_SS_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "8"" of type '" "uint""'");
  } 
  arg8 = static_cast< uint >(val8);
  ecode9 = SWIG_AsVal_bool(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "9"" of type '" "bool""'");
  } 
  arg9 = static_cast< bool >(val9);
  {
    res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res10)) {
      SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "10"" of type '" "uint32""'"); 
    }  
    if (!argp10) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_NewEvent" "', argument " "10"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp10);
      arg10 = *temp;
      if (SWIG_IsNewObj(res10)) delete temp;
    }
  }
  {
    res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'"); 
    }  
    if (!argp11) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp11);
      arg11 = *temp;
      if (SWIG_IsNewObj(res11)) delete temp;
    }
  }
  result = (csEvent *)csJoystickEventHelper::NewEvent(*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEvent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_NewEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRef<iEventNameRegistry > *arg1 = 0 ;
  csTicks arg2 ;
  csEventID arg3 ;
  int arg4 ;
  int32 *arg5 = (int32 *) 0 ;
  uint8 arg6 ;
  uint32 arg7 ;
  uint arg8 ;
  bool arg9 ;
  uint32 arg10 ;
  uint32 arg11 ;
  csEvent *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 ;
  int res6 = 0 ;
  void *argp7 ;
  int res7 = 0 ;
  unsigned int val8 ;
  int ecode8 = 0 ;
  bool val9 ;
  int ecode9 = 0 ;
  void *argp10 ;
  int res10 = 0 ;
  void *argp11 ;
  int res11 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  PyObject * obj10 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOO:csJoystickEventHelper_NewEvent",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_NewEvent" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg1 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "5"" of type '" "int32 const *""'"); 
  }
  arg5 = reinterpret_cast< int32 * >(argp5);
  {
    res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "6"" of type '" "uint8""'"); 
    }  
    if (!argp6) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_NewEvent" "', argument " "6"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp6);
      arg6 = *temp;
      if (SWIG_IsNewObj(res6)) delete temp;
    }
  }
  {
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "7"" of type '" "uint32""'"); 
    }  
    if (!argp7) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_NewEvent" "', argument " "7"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp7);
      arg7 = *temp;
      if (SWIG_IsNewObj(res7)) delete temp;
    }
  }
  ecode8 = SWIG_AsVal_unsigned_SS_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "8"" of type '" "uint""'");
  } 
  arg8 = static_cast< uint >(val8);
  ecode9 = SWIG_AsVal_bool(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "9"" of type '" "bool""'");
  } 
  arg9 = static_cast< bool >(val9);
  {
    res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res10)) {
      SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "10"" of type '" "uint32""'"); 
    }  
    if (!argp10) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_NewEvent" "', argument " "10"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp10);
      arg10 = *temp;
      if (SWIG_IsNewObj(res10)) delete temp;
    }
  }
  {
    res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "csJoystickEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'"); 
    }  
    if (!argp11) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_NewEvent" "', argument " "11"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp11);
      arg11 = *temp;
      if (SWIG_IsNewObj(res11)) delete temp;
    }
  }
  result = (csEvent *)csJoystickEventHelper::NewEvent(*arg1,arg2,arg3,arg4,(int32_t const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEvent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_NewEvent(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[12];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 11); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 11) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRefTiEventNameRegistry_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int32_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_uint8_t, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_uint32_t, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  {
                    int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    {
                      int res = SWIG_AsVal_bool(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_uint32_t, 0);
                      _v = SWIG_CheckState(res);
                      if (_v) {
                        int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_uint32_t, 0);
                        _v = SWIG_CheckState(res);
                        if (_v) {
                          return _wrap_csJoystickEventHelper_NewEvent__SWIG_1(self, args);
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 11) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRefTiEventNameRegistry_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_uint32_t, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  {
                    int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    {
                      int res = SWIG_AsVal_bool(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_uint32_t, 0);
                      _v = SWIG_CheckState(res);
                      if (_v) {
                        int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_uint32_t, 0);
                        _v = SWIG_CheckState(res);
                        if (_v) {
                          return _wrap_csJoystickEventHelper_NewEvent__SWIG_0(self, args);
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csJoystickEventHelper_NewEvent'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventHelper_GetNumber",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_GetNumber" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (uint)csJoystickEventHelper::GetNumber((iEvent const *)arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csJoystickEventHelper_GetAxis",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_GetAxis" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csJoystickEventHelper_GetAxis" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (int)csJoystickEventHelper::GetAxis((iEvent const *)arg1,arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetNumAxes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventHelper_GetNumAxes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_GetNumAxes" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (uint)csJoystickEventHelper::GetNumAxes((iEvent const *)arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventHelper_GetButton",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_GetButton" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (uint)csJoystickEventHelper::GetButton((iEvent const *)arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetButtonState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventHelper_GetButtonState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_GetButtonState" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (bool)csJoystickEventHelper::GetButtonState((iEvent const *)arg1);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetButtonMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventHelper_GetButtonMask",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_GetButtonMask" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = csJoystickEventHelper::GetButtonMask((iEvent const *)arg1);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetModifiers__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csKeyModifiers *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csJoystickEventHelper_GetModifiers",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_GetModifiers" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p__csKeyModifiers,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csJoystickEventHelper_GetModifiers" "', argument " "2"" of type '" "csKeyModifiers &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_GetModifiers" "', argument " "2"" of type '" "csKeyModifiers &""'"); 
  }
  arg2 = reinterpret_cast< csKeyModifiers * >(argp2);
  csJoystickEventHelper::GetModifiers((iEvent const *)arg1,*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetModifiers__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csJoystickEventHelper_GetModifiers",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_GetModifiers" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = csJoystickEventHelper::GetModifiers((iEvent const *)arg1);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetModifiers(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csJoystickEventHelper_GetModifiers__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEvent, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p__csKeyModifiers, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csJoystickEventHelper_GetModifiers__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csJoystickEventHelper_GetModifiers'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csJoystickEventHelper_GetEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csJoystickEventData *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csJoystickEventHelper_GetEventData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csJoystickEventHelper_GetEventData" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csJoystickEventData,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csJoystickEventHelper_GetEventData" "', argument " "2"" of type '" "csJoystickEventData &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csJoystickEventHelper_GetEventData" "', argument " "2"" of type '" "csJoystickEventData &""'"); 
  }
  arg2 = reinterpret_cast< csJoystickEventData * >(argp2);
  result = (bool)csJoystickEventHelper::GetEventData((iEvent const *)arg1,*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csJoystickEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventHelper *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csJoystickEventHelper")) SWIG_fail;
  result = (csJoystickEventHelper *)new csJoystickEventHelper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csJoystickEventHelper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csJoystickEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csJoystickEventHelper *arg1 = (csJoystickEventHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csJoystickEventHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csJoystickEventHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csJoystickEventHelper" "', argument " "1"" of type '" "csJoystickEventHelper *""'"); 
  }
  arg1 = reinterpret_cast< csJoystickEventHelper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csJoystickEventHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csJoystickEventHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csInputEventHelper_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  iEvent *arg2 = (iEvent *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csInputEventHelper_GetButton",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInputEventHelper_GetButton" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csInputEventHelper_GetButton" "', argument " "2"" of type '" "iEvent const *""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (uint)csInputEventHelper::GetButton(arg1,(iEvent const *)arg2);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csInputEventHelper_GetButtonState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  iEvent *arg2 = (iEvent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csInputEventHelper_GetButtonState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csInputEventHelper_GetButtonState" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csInputEventHelper_GetButtonState" "', argument " "2"" of type '" "iEvent const *""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (bool)csInputEventHelper::GetButtonState(arg1,(iEvent const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csInputEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csInputEventHelper *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csInputEventHelper")) SWIG_fail;
  result = (csInputEventHelper *)new csInputEventHelper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csInputEventHelper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csInputEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csInputEventHelper *arg1 = (csInputEventHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csInputEventHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csInputEventHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csInputEventHelper" "', argument " "1"" of type '" "csInputEventHelper *""'"); 
  }
  arg1 = reinterpret_cast< csInputEventHelper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csInputEventHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csInputEventHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csCommandEventHelper_NewEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTicks arg1 ;
  csEventID arg2 ;
  bool arg3 ;
  intptr_t arg4 ;
  csEvent *result = 0 ;
  unsigned int val1 ;
  int ecode1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csCommandEventHelper_NewEvent",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csCommandEventHelper_NewEvent" "', argument " "1"" of type '" "csTicks""'");
  } 
  arg1 = static_cast< csTicks >(val1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCommandEventHelper_NewEvent" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csCommandEventHelper_NewEvent" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csCommandEventHelper_NewEvent" "', argument " "4"" of type '" "intptr_t""'");
  } 
  arg4 = static_cast< intptr_t >(val4);
  result = (csEvent *)csCommandEventHelper::NewEvent(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEvent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandEventHelper_NewEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTicks arg1 ;
  csEventID arg2 ;
  bool arg3 ;
  csEvent *result = 0 ;
  unsigned int val1 ;
  int ecode1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csCommandEventHelper_NewEvent",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csCommandEventHelper_NewEvent" "', argument " "1"" of type '" "csTicks""'");
  } 
  arg1 = static_cast< csTicks >(val1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csCommandEventHelper_NewEvent" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csCommandEventHelper_NewEvent" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (csEvent *)csCommandEventHelper::NewEvent(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csEvent, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandEventHelper_NewEvent(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csCommandEventHelper_NewEvent__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    {
      int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csCommandEventHelper_NewEvent__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csCommandEventHelper_NewEvent'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandEventHelper_GetCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCommandEventHelper_GetCode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandEventHelper_GetCode" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (uint)csCommandEventHelper::GetCode((iEvent const *)arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandEventHelper_GetInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  intptr_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCommandEventHelper_GetInfo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandEventHelper_GetInfo" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  result = (intptr_t)csCommandEventHelper::GetInfo((iEvent const *)arg1);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCommandEventHelper_GetEventData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEvent *arg1 = (iEvent *) 0 ;
  csCommandEventData *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCommandEventHelper_GetEventData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCommandEventHelper_GetEventData" "', argument " "1"" of type '" "iEvent const *""'"); 
  }
  arg1 = reinterpret_cast< iEvent * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csCommandEventData,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCommandEventHelper_GetEventData" "', argument " "2"" of type '" "csCommandEventData &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csCommandEventHelper_GetEventData" "', argument " "2"" of type '" "csCommandEventData &""'"); 
  }
  arg2 = reinterpret_cast< csCommandEventData * >(argp2);
  result = (bool)csCommandEventHelper::GetEventData((iEvent const *)arg1,*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCommandEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandEventHelper *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csCommandEventHelper")) SWIG_fail;
  result = (csCommandEventHelper *)new csCommandEventHelper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCommandEventHelper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csCommandEventHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCommandEventHelper *arg1 = (csCommandEventHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csCommandEventHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCommandEventHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csCommandEventHelper" "', argument " "1"" of type '" "csCommandEventHelper *""'"); 
  }
  arg1 = reinterpret_cast< csCommandEventHelper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csCommandEventHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csCommandEventHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_RegisterWeakListener__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csRef<iEventHandler > *arg3 = 0 ;
  csHandlerID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:RegisterWeakListener",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegisterWeakListener" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RegisterWeakListener" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEventHandler_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RegisterWeakListener" "', argument " "3"" of type '" "csRef<iEventHandler > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RegisterWeakListener" "', argument " "3"" of type '" "csRef<iEventHandler > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEventHandler > * >(argp3);
  result = CS::RegisterWeakListener(arg1,arg2,*arg3);
  resultobj = SWIG_NewPointerObj((new csHandlerID(static_cast< const csHandlerID& >(result))), SWIGTYPE_p_csHandlerID, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_RegisterWeakListener__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csEventID *arg3 = 0 ;
  csRef<iEventHandler > *arg4 = 0 ;
  csHandlerID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csEventID temp3 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:RegisterWeakListener",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegisterWeakListener" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RegisterWeakListener" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RegisterWeakListener" "', argument " "3"" of type '" "csEventID""'");
  } 
  temp3 = static_cast< csEventID >(val3);
  arg3 = &temp3;
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csRefTiEventHandler_t,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RegisterWeakListener" "', argument " "4"" of type '" "csRef<iEventHandler > &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RegisterWeakListener" "', argument " "4"" of type '" "csRef<iEventHandler > &""'"); 
  }
  arg4 = reinterpret_cast< csRef<iEventHandler > * >(argp4);
  result = CS::RegisterWeakListener(arg1,arg2,(unsigned long const &)*arg3,*arg4);
  resultobj = SWIG_NewPointerObj((new csHandlerID(static_cast< const csHandlerID& >(result))), SWIGTYPE_p_csHandlerID, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_RegisterWeakListener__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csEventID *arg3 ;
  csRef<iEventHandler > *arg4 = 0 ;
  csHandlerID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:RegisterWeakListener",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegisterWeakListener" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RegisterWeakListener" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  {
    int cnt; 
    if (!PyList_Check(obj2))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    cnt = PyList_Size(obj2);
    csEventID * ptr = new csEventID[cnt];
    for (int i = 0; i < cnt; ++i)
    {
      PyObject * o = PyList_GetItem(obj2, i);
      if (!PyNumber_Check(o))
      {
        PyErr_SetString(PyExc_TypeError, "list must contain numbers");
        delete [] ptr;
        return 0;
      }
      ptr[i] = (csEventID) PyInt_AsUnsignedLongMask(o);
    }
    arg3 = ptr;
  }
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csRefTiEventHandler_t,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RegisterWeakListener" "', argument " "4"" of type '" "csRef<iEventHandler > &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RegisterWeakListener" "', argument " "4"" of type '" "csRef<iEventHandler > &""'"); 
  }
  arg4 = reinterpret_cast< csRef<iEventHandler > * >(argp4);
  result = CS::RegisterWeakListener(arg1,arg2,(unsigned long const (*))arg3,*arg4);
  resultobj = SWIG_NewPointerObj((new csHandlerID(static_cast< const csHandlerID& >(result))), SWIGTYPE_p_csHandlerID, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_RegisterWeakListener(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRefTiEventHandler_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_RegisterWeakListener__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csRefTiEventHandler_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_RegisterWeakListener__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csRefTiEventHandler_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_RegisterWeakListener__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'RegisterWeakListener'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_RemoveWeakListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  csRef<iEventHandler > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:RemoveWeakListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoveWeakListener" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandler_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoveWeakListener" "', argument " "2"" of type '" "csRef<iEventHandler > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoveWeakListener" "', argument " "2"" of type '" "csRef<iEventHandler > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandler > * >(argp2);
  CS::RemoveWeakListener(arg1,*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyModifiers_modifiers_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyModifiers *arg1 = (csKeyModifiers *) 0 ;
  unsigned int *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csKeyModifiers_modifiers_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csKeyModifiers, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyModifiers_modifiers_set" "', argument " "1"" of type '" "csKeyModifiers *""'"); 
  }
  arg1 = reinterpret_cast< csKeyModifiers * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csKeyModifiers_modifiers_set" "', argument " "2"" of type '" "unsigned int [csKeyModifierTypeLast]""'"); 
  } 
  arg2 = reinterpret_cast< unsigned int * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)csKeyModifierTypeLast; ++ii) arg1->modifiers[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""modifiers""' of type '""unsigned int [csKeyModifierTypeLast]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csKeyModifiers_modifiers_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyModifiers *arg1 = (csKeyModifiers *) 0 ;
  unsigned int *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csKeyModifiers_modifiers_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csKeyModifiers, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csKeyModifiers_modifiers_get" "', argument " "1"" of type '" "csKeyModifiers *""'"); 
  }
  arg1 = reinterpret_cast< csKeyModifiers * >(argp1);
  result = (unsigned int *)(unsigned int *) ((arg1)->modifiers);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csKeyModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyModifiers *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csKeyModifiers")) SWIG_fail;
  result = (csKeyModifiers *)new csKeyModifiers();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__csKeyModifiers, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csKeyModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csKeyModifiers *arg1 = (csKeyModifiers *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csKeyModifiers",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csKeyModifiers, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csKeyModifiers" "', argument " "1"" of type '" "csKeyModifiers *""'"); 
  }
  arg1 = reinterpret_cast< csKeyModifiers * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csKeyModifiers_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p__csKeyModifiers, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEventQueue_Process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventQueue_Process",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_Process" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  (arg1)->Process();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Dispatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEvent *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventQueue_Dispatch",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_Dispatch" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iEvent,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_Dispatch" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventQueue_Dispatch" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  (arg1)->Dispatch(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_RegisterListener__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csHandlerID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventQueue_RegisterListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_RegisterListener" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_RegisterListener" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  result = (arg1)->RegisterListener(arg2);
  resultobj = SWIG_NewPointerObj((new csHandlerID(static_cast< const csHandlerID& >(result))), SWIGTYPE_p_csHandlerID, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Subscribe__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csEventID *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csEventID temp3 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventQueue_Subscribe",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_Subscribe" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_Subscribe" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventQueue_Subscribe" "', argument " "3"" of type '" "csEventID""'");
  } 
  temp3 = static_cast< csEventID >(val3);
  arg3 = &temp3;
  result = (bool)(arg1)->Subscribe(arg2,(csEventID const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Subscribe__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csEventID *arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventQueue_Subscribe",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_Subscribe" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_Subscribe" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  {
    int cnt; 
    if (!PyList_Check(obj2))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    cnt = PyList_Size(obj2);
    csEventID * ptr = new csEventID[cnt];
    for (int i = 0; i < cnt; ++i)
    {
      PyObject * o = PyList_GetItem(obj2, i);
      if (!PyNumber_Check(o))
      {
        PyErr_SetString(PyExc_TypeError, "list must contain numbers");
        delete [] ptr;
        return 0;
      }
      ptr[i] = (csEventID) PyInt_AsUnsignedLongMask(o);
    }
    arg3 = ptr;
  }
  result = (bool)(arg1)->Subscribe(arg2,(csEventID const (*))arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Subscribe(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEventQueue_Subscribe__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iEventQueue_Subscribe__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEventQueue_Subscribe'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Unsubscribe__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csEventID *arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventQueue_Unsubscribe",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_Unsubscribe" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_Unsubscribe" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  {
    int cnt; 
    if (!PyList_Check(obj2))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    cnt = PyList_Size(obj2);
    csEventID * ptr = new csEventID[cnt];
    for (int i = 0; i < cnt; ++i)
    {
      PyObject * o = PyList_GetItem(obj2, i);
      if (!PyNumber_Check(o))
      {
        PyErr_SetString(PyExc_TypeError, "list must contain numbers");
        delete [] ptr;
        return 0;
      }
      ptr[i] = (csEventID) PyInt_AsUnsignedLongMask(o);
    }
    arg3 = ptr;
  }
  (arg1)->Unsubscribe(arg2,(csEventID const (*))arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Unsubscribe__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csEventID *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csEventID temp3 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventQueue_Unsubscribe",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_Unsubscribe" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_Unsubscribe" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventQueue_Unsubscribe" "', argument " "3"" of type '" "csEventID""'");
  } 
  temp3 = static_cast< csEventID >(val3);
  arg3 = &temp3;
  (arg1)->Unsubscribe(arg2,(csEventID const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Unsubscribe(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEventQueue_Unsubscribe__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iEventQueue_Unsubscribe__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEventQueue_Unsubscribe'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_RegisterListener__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csEventID *arg3 = 0 ;
  csHandlerID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  csEventID temp3 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventQueue_RegisterListener",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_RegisterListener" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_RegisterListener" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventQueue_RegisterListener" "', argument " "3"" of type '" "csEventID""'");
  } 
  temp3 = static_cast< csEventID >(val3);
  arg3 = &temp3;
  result = (arg1)->RegisterListener(arg2,(csEventID const &)*arg3);
  resultobj = SWIG_NewPointerObj((new csHandlerID(static_cast< const csHandlerID& >(result))), SWIGTYPE_p_csHandlerID, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_RegisterListener__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  csEventID *arg3 ;
  csHandlerID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventQueue_RegisterListener",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_RegisterListener" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_RegisterListener" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  {
    int cnt; 
    if (!PyList_Check(obj2))
    {
      PyErr_SetString(PyExc_TypeError, "not a list");
      return 0;
    }
    cnt = PyList_Size(obj2);
    csEventID * ptr = new csEventID[cnt];
    for (int i = 0; i < cnt; ++i)
    {
      PyObject * o = PyList_GetItem(obj2, i);
      if (!PyNumber_Check(o))
      {
        PyErr_SetString(PyExc_TypeError, "list must contain numbers");
        delete [] ptr;
        return 0;
      }
      ptr[i] = (csEventID) PyInt_AsUnsignedLongMask(o);
    }
    arg3 = ptr;
  }
  result = (arg1)->RegisterListener(arg2,(csEventID const (*))arg3);
  resultobj = SWIG_NewPointerObj((new csHandlerID(static_cast< const csHandlerID& >(result))), SWIGTYPE_p_csHandlerID, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_RegisterListener(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEventQueue_RegisterListener__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_long, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEventQueue_RegisterListener__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventQueue, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEventHandler, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iEventQueue_RegisterListener__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEventQueue_RegisterListener'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_RemoveListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventHandler *arg2 = (iEventHandler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventQueue_RemoveListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_RemoveListener" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_RemoveListener" "', argument " "2"" of type '" "iEventHandler *""'"); 
  }
  arg2 = reinterpret_cast< iEventHandler * >(argp2);
  (arg1)->RemoveListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_CreateEventOutlet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventPlug *arg2 = (iEventPlug *) 0 ;
  SwigValueWrapper<csPtr<iEventOutlet > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventQueue_CreateEventOutlet",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_CreateEventOutlet" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEventPlug, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_CreateEventOutlet" "', argument " "2"" of type '" "iEventPlug *""'"); 
  }
  arg2 = reinterpret_cast< iEventPlug * >(argp2);
  result = (arg1)->CreateEventOutlet(arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iEventOutlet >(static_cast< const csPtr<iEventOutlet >& >(result))), SWIGTYPE_p_csPtrTiEventOutlet_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_GetEventOutlet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEventOutlet *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventQueue_GetEventOutlet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_GetEventOutlet" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  result = (iEventOutlet *)(arg1)->GetEventOutlet();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iEventOutlet, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_GetEventCord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  csEventID *arg2 = 0 ;
  iEventCord *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csEventID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventQueue_GetEventCord",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_GetEventCord" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventQueue_GetEventCord" "', argument " "2"" of type '" "csEventID""'");
  } 
  temp2 = static_cast< csEventID >(val2);
  arg2 = &temp2;
  result = (iEventCord *)(arg1)->GetEventCord((csEventID const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iEventCord, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_CreateEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  csEventID *arg2 = 0 ;
  SwigValueWrapper<csPtr<iEvent > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csEventID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventQueue_CreateEvent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_CreateEvent" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventQueue_CreateEvent" "', argument " "2"" of type '" "csEventID""'");
  } 
  temp2 = static_cast< csEventID >(val2);
  arg2 = &temp2;
  result = (arg1)->CreateEvent((csEventID const &)*arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iEvent> ref((csPtr<iEvent>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iEvent *)ref), (void *)(iEvent *)ref, "iEvent" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_CreateBroadcastEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  csEventID *arg2 = 0 ;
  SwigValueWrapper<csPtr<iEvent > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csEventID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventQueue_CreateBroadcastEvent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_CreateBroadcastEvent" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventQueue_CreateBroadcastEvent" "', argument " "2"" of type '" "csEventID""'");
  } 
  temp2 = static_cast< csEventID >(val2);
  arg2 = &temp2;
  result = (arg1)->CreateBroadcastEvent((csEventID const &)*arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iEvent> ref((csPtr<iEvent>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iEvent *)ref), (void *)(iEvent *)ref, "iEvent" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Post(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  iEvent *arg2 = (iEvent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventQueue_Post",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_Post" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventQueue_Post" "', argument " "2"" of type '" "iEvent *""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  (arg1)->Post(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  SwigValueWrapper<csPtr<iEvent > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventQueue_Get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_Get" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  result = (arg1)->Get();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iEvent> ref((csPtr<iEvent>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iEvent *)ref), (void *)(iEvent *)ref, "iEvent" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventQueue_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_Clear" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventQueue_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_IsEmpty" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  result = (bool)(arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_RemoveAllListeners(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventQueue_RemoveAllListeners",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventQueue_RemoveAllListeners" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  (arg1)->RemoveAllListeners();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEventQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventQueue *arg1 = (iEventQueue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEventQueue",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventQueue, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEventQueue" "', argument " "1"" of type '" "iEventQueue *""'"); 
  }
  arg1 = reinterpret_cast< iEventQueue * >(argp1);
  delete_iEventQueue(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventQueue_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iEventQueue_scfGetVersion")) SWIG_fail;
  result = (int)iEventQueue_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEventQueue_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEventQueue, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csHashCompute__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  unsigned int result;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csHashCompute",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHashCompute" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  result = (unsigned int)csHashCompute((char const *)arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHashCompute__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  size_t arg2 ;
  unsigned int result;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csHashCompute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csHashCompute" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csHashCompute" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (unsigned int)csHashCompute((char const *)arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csHashCompute(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csHashCompute__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csHashCompute__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csHashCompute'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStrKey__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStrKey *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csStrKey")) SWIG_fail;
  result = (csStrKey *)new csStrKey();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csStrKey, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStrKey__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  csStrKey *result = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csStrKey",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csStrKey" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = buf1;
  result = (csStrKey *)new csStrKey((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csStrKey, SWIG_POINTER_NEW |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStrKey__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStrKey *arg1 = 0 ;
  csStrKey *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csStrKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csStrKey,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csStrKey" "', argument " "1"" of type '" "csStrKey const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csStrKey" "', argument " "1"" of type '" "csStrKey const &""'"); 
  }
  arg1 = reinterpret_cast< csStrKey * >(argp1);
  result = (csStrKey *)new csStrKey((csStrKey const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csStrKey, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csStrKey(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csStrKey__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csStrKey, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csStrKey__SWIG_2(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csStrKey__SWIG_1(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csStrKey'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csStrKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStrKey *arg1 = (csStrKey *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csStrKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStrKey, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csStrKey" "', argument " "1"" of type '" "csStrKey *""'"); 
  }
  arg1 = reinterpret_cast< csStrKey * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStrKey_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStrKey *arg1 = (csStrKey *) 0 ;
  csStrKey *arg2 = 0 ;
  csStrKey *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csStrKey_assign",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStrKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStrKey_assign" "', argument " "1"" of type '" "csStrKey *""'"); 
  }
  arg1 = reinterpret_cast< csStrKey * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csStrKey,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csStrKey_assign" "', argument " "2"" of type '" "csStrKey const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csStrKey_assign" "', argument " "2"" of type '" "csStrKey const &""'"); 
  }
  arg2 = reinterpret_cast< csStrKey * >(argp2);
  {
    csStrKey &_result_ref = (arg1)->operator =((csStrKey const &)*arg2);
    result = (csStrKey *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csStrKey, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csStrKey_GetHash(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csStrKey *arg1 = (csStrKey *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csStrKey_GetHash",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csStrKey, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csStrKey_GetHash" "', argument " "1"" of type '" "csStrKey const *""'"); 
  }
  arg1 = reinterpret_cast< csStrKey * >(argp1);
  result = (uint)((csStrKey const *)arg1)->GetHash();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csStrKey_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csStrKey, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEventNameRegistry_GetID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventNameRegistry_GetID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventNameRegistry_GetID" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventNameRegistry_GetID" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (csEventID)(arg1)->GetID((char const *)arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventNameRegistry_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  csEventID arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventNameRegistry_GetString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventNameRegistry_GetString" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventNameRegistry_GetString" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  result = (char *)(arg1)->GetString(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventNameRegistry_GetParentID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  csEventID arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventNameRegistry_GetParentID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventNameRegistry_GetParentID" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventNameRegistry_GetParentID" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  result = (csEventID)(arg1)->GetParentID(arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventNameRegistry_IsImmediateChildOf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  csEventID arg2 ;
  csEventID arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventNameRegistry_IsImmediateChildOf",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventNameRegistry_IsImmediateChildOf" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventNameRegistry_IsImmediateChildOf" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventNameRegistry_IsImmediateChildOf" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  result = (bool)(arg1)->IsImmediateChildOf(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventNameRegistry_IsKindOf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  csEventID arg2 ;
  csEventID arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEventNameRegistry_IsKindOf",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventNameRegistry_IsKindOf" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEventNameRegistry_IsKindOf" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEventNameRegistry_IsKindOf" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  result = (bool)(arg1)->IsKindOf(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEventNameRegistry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEventNameRegistry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEventNameRegistry" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  delete_iEventNameRegistry(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventNameRegistry_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iEventNameRegistry_scfGetVersion")) SWIG_fail;
  result = (int)iEventNameRegistry_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEventNameRegistry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEventNameRegistry, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_csEventNameRegistry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEventNameRegistry *arg1 = (csEventNameRegistry *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csEventNameRegistry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEventNameRegistry, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csEventNameRegistry" "', argument " "1"" of type '" "csEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< csEventNameRegistry * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_GetID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEventNameRegistry *arg1 = (csEventNameRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csEventNameRegistry_GetID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_GetID" "', argument " "1"" of type '" "csEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< csEventNameRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csEventNameRegistry_GetID" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (csEventID)(arg1)->GetID((char const *)arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_GetString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEventNameRegistry *arg1 = (csEventNameRegistry *) 0 ;
  csEventID arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csEventNameRegistry_GetString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_GetString" "', argument " "1"" of type '" "csEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< csEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csEventNameRegistry_GetString" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  result = (char *)(arg1)->GetString(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_GetString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csEventNameRegistry_GetString",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_GetString" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csEventNameRegistry_GetString" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  result = (char *)csEventNameRegistry::GetString(arg1,arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_GetString(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csEventNameRegistry_GetString__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csEventNameRegistry_GetString__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csEventNameRegistry_GetString'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_GetParentID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEventNameRegistry *arg1 = (csEventNameRegistry *) 0 ;
  csEventID arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csEventNameRegistry_GetParentID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_GetParentID" "', argument " "1"" of type '" "csEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< csEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csEventNameRegistry_GetParentID" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  result = (csEventID)(arg1)->GetParentID(arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_IsImmediateChildOf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEventNameRegistry *arg1 = (csEventNameRegistry *) 0 ;
  csEventID arg2 ;
  csEventID arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csEventNameRegistry_IsImmediateChildOf",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_IsImmediateChildOf" "', argument " "1"" of type '" "csEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< csEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csEventNameRegistry_IsImmediateChildOf" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csEventNameRegistry_IsImmediateChildOf" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  result = (bool)(arg1)->IsImmediateChildOf(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_IsKindOf__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csEventNameRegistry *arg1 = (csEventNameRegistry *) 0 ;
  csEventID arg2 ;
  csEventID arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csEventNameRegistry_IsKindOf",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_IsKindOf" "', argument " "1"" of type '" "csEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< csEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csEventNameRegistry_IsKindOf" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csEventNameRegistry_IsKindOf" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  result = (bool)(arg1)->IsKindOf(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_GetRegistry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  SwigValueWrapper<csRef<iEventNameRegistry > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csEventNameRegistry_GetRegistry",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_GetRegistry" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = csEventNameRegistry::GetRegistry(arg1);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iEventNameRegistry> ref((csRef<iEventNameRegistry>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iEventNameRegistry *)ref), (void *)(iEventNameRegistry *)ref, "iEventNameRegistry" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_GetID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csEventNameRegistry_GetID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_GetID" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csEventNameRegistry_GetID" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (csEventID)csEventNameRegistry::GetID(arg1,(char const *)arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_GetID__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csEventNameRegistry_GetID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_GetID" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csEventNameRegistry_GetID" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (csEventID)csEventNameRegistry::GetID(arg1,(char const *)arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_GetID(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csEventNameRegistry_GetID__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csEventNameRegistry_GetID__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csEventNameRegistry_GetID__SWIG_2(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csEventNameRegistry_GetID'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_IsKindOf__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  csEventID arg2 ;
  csEventID arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csEventNameRegistry_IsKindOf",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_IsKindOf" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csEventNameRegistry_IsKindOf" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csEventNameRegistry_IsKindOf" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  result = (bool)csEventNameRegistry::IsKindOf(arg1,arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_IsKindOf__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID arg2 ;
  csEventID arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csEventNameRegistry_IsKindOf",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csEventNameRegistry_IsKindOf" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csEventNameRegistry_IsKindOf" "', argument " "2"" of type '" "csEventID""'");
  } 
  arg2 = static_cast< csEventID >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csEventNameRegistry_IsKindOf" "', argument " "3"" of type '" "csEventID""'");
  } 
  arg3 = static_cast< csEventID >(val3);
  result = (bool)csEventNameRegistry::IsKindOf(arg1,arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csEventNameRegistry_IsKindOf(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csEventNameRegistry_IsKindOf__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csEventNameRegistry_IsKindOf__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csEventNameRegistry_IsKindOf__SWIG_2(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csEventNameRegistry_IsKindOf'");
  return NULL;
}


SWIGINTERN PyObject *csEventNameRegistry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csEventNameRegistry, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csevMouse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevMouse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouse" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouse" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevMouse(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevMouse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouse" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouse" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevMouse(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouse(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csevMouse__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csevMouse__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csevMouse'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseOp__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  uint arg2 ;
  csString *arg3 = 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csevMouseOp",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouseOp" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouseOp" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csString,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csevMouseOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csevMouseOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  arg3 = reinterpret_cast< csString * >(argp3);
  result = (csEventID)csevMouseOp(arg1,arg2,(csString const &)*arg3);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseOp__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csString *arg3 = 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csevMouseOp",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouseOp" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouseOp" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csString,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csevMouseOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csevMouseOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  arg3 = reinterpret_cast< csString * >(argp3);
  result = (csEventID)csevMouseOp(arg1,arg2,(csString const &)*arg3);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseOp(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csString, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csevMouseOp__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csString, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csevMouseOp__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csevMouseOp'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevJoystick__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevJoystick",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevJoystick" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevJoystick" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevJoystick(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevJoystick__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevJoystick",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevJoystick" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevJoystick" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevJoystick(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevJoystick(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csevJoystick__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csevJoystick__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csevJoystick'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevJoystickOp__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  uint arg2 ;
  csString *arg3 = 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csevJoystickOp",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevJoystickOp" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevJoystickOp" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csString,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csevJoystickOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csevJoystickOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  arg3 = reinterpret_cast< csString * >(argp3);
  result = (csEventID)csevJoystickOp(arg1,arg2,(csString const &)*arg3);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevJoystickOp__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csString *arg3 = 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csevJoystickOp",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevJoystickOp" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevJoystickOp" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csString,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csevJoystickOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csevJoystickOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  arg3 = reinterpret_cast< csString * >(argp3);
  result = (csEventID)csevJoystickOp(arg1,arg2,(csString const &)*arg3);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevJoystickOp(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csString, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csevJoystickOp__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csString, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csevJoystickOp__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csevJoystickOp'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevCanvasOp__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRef<iEventNameRegistry > *arg1 = 0 ;
  iGraphics2D *arg2 = (iGraphics2D *) 0 ;
  csString *arg3 = 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csevCanvasOp",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevCanvasOp" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csevCanvasOp" "', argument " "1"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg1 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csevCanvasOp" "', argument " "2"" of type '" "iGraphics2D const *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics2D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csString,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csevCanvasOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csevCanvasOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  arg3 = reinterpret_cast< csString * >(argp3);
  result = (csEventID)csevCanvasOp(*arg1,(iGraphics2D const *)arg2,(csString const &)*arg3);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevCanvasOp__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iGraphics2D *arg2 = (iGraphics2D *) 0 ;
  csString *arg3 = 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csevCanvasOp",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevCanvasOp" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csevCanvasOp" "', argument " "2"" of type '" "iGraphics2D const *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics2D * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csString,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csevCanvasOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csevCanvasOp" "', argument " "3"" of type '" "csString const &""'"); 
  }
  arg3 = reinterpret_cast< csString * >(argp3);
  result = (csEventID)csevCanvasOp(arg1,(iGraphics2D const *)arg2,(csString const &)*arg3);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevCanvasOp(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csRefTiEventNameRegistry_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics2D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csString, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csevCanvasOp__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics2D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csString, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csevCanvasOp__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csevCanvasOp'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevPreProcess__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevPreProcess",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevPreProcess" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevPreProcess(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevPreProcess__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevPreProcess",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevPreProcess" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  result = (csEventID)csevPreProcess(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevPreProcess(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csevPreProcess__SWIG_0(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csevPreProcess__SWIG_1(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csevPreProcess'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevProcess__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevProcess",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevProcess" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevProcess(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevProcess__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevProcess",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevProcess" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  result = (csEventID)csevProcess(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevProcess(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csevProcess__SWIG_0(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csevProcess__SWIG_1(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csevProcess'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevPostProcess__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevPostProcess",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevPostProcess" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevPostProcess(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevPostProcess__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevPostProcess",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevPostProcess" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  result = (csEventID)csevPostProcess(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevPostProcess(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csevPostProcess__SWIG_0(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csevPostProcess__SWIG_1(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csevPostProcess'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevFinalProcess__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevFinalProcess",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevFinalProcess" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevFinalProcess(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevFinalProcess__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventNameRegistry *arg1 = (iEventNameRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevFinalProcess",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventNameRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevFinalProcess" "', argument " "1"" of type '" "iEventNameRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iEventNameRegistry * >(argp1);
  result = (csEventID)csevFinalProcess(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevFinalProcess(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObjectRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csevFinalProcess__SWIG_0(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEventNameRegistry, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csevFinalProcess__SWIG_1(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csevFinalProcess'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventHandler_HandleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventHandler *arg1 = (iEventHandler *) 0 ;
  iEvent *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventHandler_HandleEvent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventHandler_HandleEvent" "', argument " "1"" of type '" "iEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< iEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iEvent,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventHandler_HandleEvent" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_HandleEvent" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (bool)(arg1)->HandleEvent(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventHandler_GenericName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventHandler *arg1 = (iEventHandler *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEventHandler_GenericName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventHandler_GenericName" "', argument " "1"" of type '" "iEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< iEventHandler * >(argp1);
  result = (char *)((iEventHandler const *)arg1)->GenericName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventHandler_GenericID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventHandler *arg1 = (iEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csHandlerID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEventHandler_GenericID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventHandler_GenericID" "', argument " "1"" of type '" "iEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< iEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventHandler_GenericID" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_GenericID" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  result = ((iEventHandler const *)arg1)->GenericID(*arg2);
  resultobj = SWIG_NewPointerObj((new csHandlerID(static_cast< const csHandlerID& >(result))), SWIGTYPE_p_csHandlerID, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventHandler_GenericPrec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventHandler *arg1 = (iEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csRef<iEventNameRegistry > *arg3 = 0 ;
  csEventID arg4 ;
  csHandlerID *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEventHandler_GenericPrec",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventHandler_GenericPrec" "', argument " "1"" of type '" "iEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< iEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventHandler_GenericPrec" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_GenericPrec" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEventHandler_GenericPrec" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_GenericPrec" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEventHandler_GenericPrec" "', argument " "4"" of type '" "csEventID""'");
  } 
  arg4 = static_cast< csEventID >(val4);
  result = (csHandlerID *)((iEventHandler const *)arg1)->GenericPrec(*arg2,*arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHandlerID, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventHandler_GenericSucc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventHandler *arg1 = (iEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csRef<iEventNameRegistry > *arg3 = 0 ;
  csEventID arg4 ;
  csHandlerID *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEventHandler_GenericSucc",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventHandler_GenericSucc" "', argument " "1"" of type '" "iEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< iEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventHandler_GenericSucc" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_GenericSucc" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEventHandler_GenericSucc" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_GenericSucc" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEventHandler_GenericSucc" "', argument " "4"" of type '" "csEventID""'");
  } 
  arg4 = static_cast< csEventID >(val4);
  result = (csHandlerID *)((iEventHandler const *)arg1)->GenericSucc(*arg2,*arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHandlerID, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventHandler_InstancePrec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventHandler *arg1 = (iEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csRef<iEventNameRegistry > *arg3 = 0 ;
  csEventID arg4 ;
  csHandlerID *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEventHandler_InstancePrec",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventHandler_InstancePrec" "', argument " "1"" of type '" "iEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< iEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventHandler_InstancePrec" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_InstancePrec" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEventHandler_InstancePrec" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_InstancePrec" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEventHandler_InstancePrec" "', argument " "4"" of type '" "csEventID""'");
  } 
  arg4 = static_cast< csEventID >(val4);
  result = (csHandlerID *)((iEventHandler const *)arg1)->InstancePrec(*arg2,*arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHandlerID, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventHandler_InstanceSucc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventHandler *arg1 = (iEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csRef<iEventNameRegistry > *arg3 = 0 ;
  csEventID arg4 ;
  csHandlerID *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEventHandler_InstanceSucc",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEventHandler_InstanceSucc" "', argument " "1"" of type '" "iEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< iEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEventHandler_InstanceSucc" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_InstanceSucc" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEventHandler_InstanceSucc" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iEventHandler_InstanceSucc" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iEventHandler_InstanceSucc" "', argument " "4"" of type '" "csEventID""'");
  } 
  arg4 = static_cast< csEventID >(val4);
  result = (csHandlerID *)((iEventHandler const *)arg1)->InstanceSucc(*arg2,*arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHandlerID, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEventHandler *arg1 = (iEventHandler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEventHandler",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEventHandler, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEventHandler" "', argument " "1"" of type '" "iEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< iEventHandler * >(argp1);
  delete_iEventHandler(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEventHandler_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iEventHandler_scfGetVersion")) SWIG_fail;
  result = (int)iEventHandler_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEventHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEventHandler, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iPluginIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginIterator *arg1 = (iPluginIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPluginIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginIterator_HasNext" "', argument " "1"" of type '" "iPluginIterator *""'"); 
  }
  arg1 = reinterpret_cast< iPluginIterator * >(argp1);
  result = (bool)(arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginIterator *arg1 = (iPluginIterator *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPluginIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginIterator_Next" "', argument " "1"" of type '" "iPluginIterator *""'"); 
  }
  arg1 = reinterpret_cast< iPluginIterator * >(argp1);
  result = (iBase *)(arg1)->Next();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iPluginIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginIterator *arg1 = (iPluginIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iPluginIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iPluginIterator" "', argument " "1"" of type '" "iPluginIterator *""'"); 
  }
  arg1 = reinterpret_cast< iPluginIterator * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iPluginIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iPluginIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iPluginManager_LoadPlugin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPluginManager_LoadPlugin",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginManager_LoadPlugin" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPluginManager_LoadPlugin" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iPluginManager_LoadPlugin" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (iBase *)(arg1)->LoadPlugin((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_LoadPlugin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPluginManager_LoadPlugin",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginManager_LoadPlugin" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPluginManager_LoadPlugin" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iBase *)(arg1)->LoadPlugin((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_LoadPlugin(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPluginManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iPluginManager_LoadPlugin__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPluginManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iPluginManager_LoadPlugin__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iPluginManager_LoadPlugin'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_QueryPlugin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPluginManager_QueryPlugin",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginManager_QueryPlugin" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPluginManager_QueryPlugin" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iPluginManager_QueryPlugin" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (iBase *)(arg1)->QueryPlugin((char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_QueryPlugin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iPluginManager_QueryPlugin",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginManager_QueryPlugin" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPluginManager_QueryPlugin" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPluginManager_QueryPlugin" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iPluginManager_QueryPlugin" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (iBase *)(arg1)->QueryPlugin((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_QueryPlugin(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPluginManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iPluginManager_QueryPlugin__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iPluginManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iPluginManager_QueryPlugin__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iPluginManager_QueryPlugin'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_UnloadPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  iComponent *arg2 = (iComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPluginManager_UnloadPlugin",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginManager_UnloadPlugin" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPluginManager_UnloadPlugin" "', argument " "2"" of type '" "iComponent *""'"); 
  }
  arg2 = reinterpret_cast< iComponent * >(argp2);
  result = (bool)(arg1)->UnloadPlugin(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_RegisterPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iComponent *arg3 = (iComponent *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iPluginManager_RegisterPlugin",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginManager_RegisterPlugin" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPluginManager_RegisterPlugin" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iComponent, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iPluginManager_RegisterPlugin" "', argument " "3"" of type '" "iComponent *""'"); 
  }
  arg3 = reinterpret_cast< iComponent * >(argp3);
  result = (bool)(arg1)->RegisterPlugin((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_GetPlugins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  SwigValueWrapper<csPtr<iPluginIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPluginManager_GetPlugins",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginManager_GetPlugins" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  result = (arg1)->GetPlugins();
  resultobj = SWIG_NewPointerObj((new csPtr<iPluginIterator >(static_cast< const csPtr<iPluginIterator >& >(result))), SWIGTYPE_p_csPtrTiPluginIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iPluginManager_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginManager_Clear" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_QueryOptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  iComponent *arg2 = (iComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iPluginManager_QueryOptions",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iPluginManager_QueryOptions" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iComponent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iPluginManager_QueryOptions" "', argument " "2"" of type '" "iComponent *""'"); 
  }
  arg2 = reinterpret_cast< iComponent * >(argp2);
  (arg1)->QueryOptions(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iPluginManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iPluginManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iPluginManager" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  delete_iPluginManager(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iPluginManager_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iPluginManager_scfGetVersion")) SWIG_fail;
  result = (int)iPluginManager_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iPluginManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iPluginManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csLoadPluginAlways(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iBase > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csLoadPluginAlways",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csLoadPluginAlways" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csLoadPluginAlways" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = csLoadPluginAlways(arg1,(char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iBase> ref((csPtr<iBase>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iBase *)ref), (void *)(iBase *)ref, "iBase" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyComposer_HandleKey__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyComposer *arg1 = (iKeyComposer *) 0 ;
  csKeyEventData *arg2 = 0 ;
  utf32_char *arg3 = (utf32_char *) 0 ;
  size_t arg4 ;
  int *arg5 = (int *) 0 ;
  csKeyComposeResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  size_t val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iKeyComposer_HandleKey",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyComposer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyComposer_HandleKey" "', argument " "1"" of type '" "iKeyComposer *""'"); 
  }
  arg1 = reinterpret_cast< iKeyComposer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csKeyEventData,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iKeyComposer_HandleKey" "', argument " "2"" of type '" "csKeyEventData const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iKeyComposer_HandleKey" "', argument " "2"" of type '" "csKeyEventData const &""'"); 
  }
  arg2 = reinterpret_cast< csKeyEventData * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_utf32_char, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iKeyComposer_HandleKey" "', argument " "3"" of type '" "utf32_char *""'"); 
  }
  arg3 = reinterpret_cast< utf32_char * >(argp3);
  ecode4 = SWIG_AsVal_size_t(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iKeyComposer_HandleKey" "', argument " "4"" of type '" "size_t""'");
  } 
  arg4 = static_cast< size_t >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iKeyComposer_HandleKey" "', argument " "5"" of type '" "int *""'"); 
  }
  arg5 = reinterpret_cast< int * >(argp5);
  result = (csKeyComposeResult)(arg1)->HandleKey((csKeyEventData const &)*arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyComposer_HandleKey__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyComposer *arg1 = (iKeyComposer *) 0 ;
  csKeyEventData *arg2 = 0 ;
  utf32_char *arg3 = (utf32_char *) 0 ;
  size_t arg4 ;
  csKeyComposeResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  size_t val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iKeyComposer_HandleKey",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyComposer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyComposer_HandleKey" "', argument " "1"" of type '" "iKeyComposer *""'"); 
  }
  arg1 = reinterpret_cast< iKeyComposer * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csKeyEventData,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iKeyComposer_HandleKey" "', argument " "2"" of type '" "csKeyEventData const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iKeyComposer_HandleKey" "', argument " "2"" of type '" "csKeyEventData const &""'"); 
  }
  arg2 = reinterpret_cast< csKeyEventData * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_utf32_char, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iKeyComposer_HandleKey" "', argument " "3"" of type '" "utf32_char *""'"); 
  }
  arg3 = reinterpret_cast< utf32_char * >(argp3);
  ecode4 = SWIG_AsVal_size_t(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iKeyComposer_HandleKey" "', argument " "4"" of type '" "size_t""'");
  } 
  arg4 = static_cast< size_t >(val4);
  result = (csKeyComposeResult)(arg1)->HandleKey((csKeyEventData const &)*arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyComposer_HandleKey(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iKeyComposer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csKeyEventData, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_utf32_char, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_size_t(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iKeyComposer_HandleKey__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iKeyComposer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csKeyEventData, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_utf32_char, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_size_t(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iKeyComposer_HandleKey__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iKeyComposer_HandleKey'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyComposer_ResetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyComposer *arg1 = (iKeyComposer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iKeyComposer_ResetState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyComposer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyComposer_ResetState" "', argument " "1"" of type '" "iKeyComposer *""'"); 
  }
  arg1 = reinterpret_cast< iKeyComposer * >(argp1);
  (arg1)->ResetState();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iKeyComposer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyComposer *arg1 = (iKeyComposer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iKeyComposer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyComposer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iKeyComposer" "', argument " "1"" of type '" "iKeyComposer *""'"); 
  }
  arg1 = reinterpret_cast< iKeyComposer * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iKeyComposer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iKeyComposer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iKeyboardDriver_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iKeyboardDriver_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyboardDriver_Reset" "', argument " "1"" of type '" "iKeyboardDriver *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_DoKey__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  utf32_char arg2 ;
  utf32_char arg3 ;
  bool arg4 ;
  bool arg5 ;
  csKeyCharType arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iKeyboardDriver_DoKey",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyboardDriver_DoKey" "', argument " "1"" of type '" "iKeyboardDriver *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iKeyboardDriver_DoKey" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iKeyboardDriver_DoKey" "', argument " "3"" of type '" "utf32_char""'");
  } 
  arg3 = static_cast< utf32_char >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iKeyboardDriver_DoKey" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iKeyboardDriver_DoKey" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iKeyboardDriver_DoKey" "', argument " "6"" of type '" "csKeyCharType""'");
  } 
  arg6 = static_cast< csKeyCharType >(val6);
  (arg1)->DoKey(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_DoKey__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  utf32_char arg2 ;
  utf32_char arg3 ;
  bool arg4 ;
  bool arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iKeyboardDriver_DoKey",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyboardDriver_DoKey" "', argument " "1"" of type '" "iKeyboardDriver *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iKeyboardDriver_DoKey" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iKeyboardDriver_DoKey" "', argument " "3"" of type '" "utf32_char""'");
  } 
  arg3 = static_cast< utf32_char >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iKeyboardDriver_DoKey" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iKeyboardDriver_DoKey" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  (arg1)->DoKey(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_DoKey__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  utf32_char arg2 ;
  utf32_char arg3 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned long val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iKeyboardDriver_DoKey",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyboardDriver_DoKey" "', argument " "1"" of type '" "iKeyboardDriver *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iKeyboardDriver_DoKey" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iKeyboardDriver_DoKey" "', argument " "3"" of type '" "utf32_char""'");
  } 
  arg3 = static_cast< utf32_char >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iKeyboardDriver_DoKey" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->DoKey(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_DoKey(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iKeyboardDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iKeyboardDriver_DoKey__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iKeyboardDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iKeyboardDriver_DoKey__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iKeyboardDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iKeyboardDriver_DoKey__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iKeyboardDriver_DoKey'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_GetKeyState__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  utf32_char arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iKeyboardDriver_GetKeyState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyboardDriver_GetKeyState" "', argument " "1"" of type '" "iKeyboardDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iKeyboardDriver_GetKeyState" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  result = (bool)((iKeyboardDriver const *)arg1)->GetKeyState(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_GetModifierState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  utf32_char arg2 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iKeyboardDriver_GetModifierState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyboardDriver_GetModifierState" "', argument " "1"" of type '" "iKeyboardDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iKeyboardDriver_GetModifierState" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  result = ((iKeyboardDriver const *)arg1)->GetModifierState(arg2);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_CreateKeyComposer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  SwigValueWrapper<csPtr<iKeyComposer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iKeyboardDriver_CreateKeyComposer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyboardDriver_CreateKeyComposer" "', argument " "1"" of type '" "iKeyboardDriver *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  result = (arg1)->CreateKeyComposer();
  resultobj = SWIG_NewPointerObj((new csPtr<iKeyComposer >(static_cast< const csPtr<iKeyComposer >& >(result))), SWIGTYPE_p_csPtrTiKeyComposer_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_SynthesizeCooked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  iEvent *arg2 = (iEvent *) 0 ;
  csEventError result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iKeyboardDriver_SynthesizeCooked",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyboardDriver_SynthesizeCooked" "', argument " "1"" of type '" "iKeyboardDriver *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEvent, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iKeyboardDriver_SynthesizeCooked" "', argument " "2"" of type '" "iEvent *""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (csEventError)(arg1)->SynthesizeCooked(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iKeyboardDriver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iKeyboardDriver",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iKeyboardDriver" "', argument " "1"" of type '" "iKeyboardDriver *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  delete_iKeyboardDriver(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iKeyboardDriver_scfGetVersion")) SWIG_fail;
  result = (int)iKeyboardDriver_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_GetKeyState__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iKeyboardDriver *arg1 = (iKeyboardDriver *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iKeyboardDriver_GetKeyState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iKeyboardDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iKeyboardDriver_GetKeyState" "', argument " "1"" of type '" "iKeyboardDriver *""'"); 
  }
  arg1 = reinterpret_cast< iKeyboardDriver * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iKeyboardDriver_GetKeyState" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)iKeyboardDriver_GetKeyState__SWIG_1(arg1,(char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iKeyboardDriver_GetKeyState(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iKeyboardDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iKeyboardDriver_GetKeyState__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iKeyboardDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iKeyboardDriver_GetKeyState__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iKeyboardDriver_GetKeyState'");
  return NULL;
}


SWIGINTERN PyObject *iKeyboardDriver_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iKeyboardDriver, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMouseDriver_SetDoubleClickTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  int arg2 ;
  size_t arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMouseDriver_SetDoubleClickTime",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_SetDoubleClickTime" "', argument " "1"" of type '" "iMouseDriver *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_SetDoubleClickTime" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMouseDriver_SetDoubleClickTime" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  (arg1)->SetDoubleClickTime(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMouseDriver_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_Reset" "', argument " "1"" of type '" "iMouseDriver *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLastX__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  uint arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMouseDriver_GetLastX",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_GetLastX" "', argument " "1"" of type '" "iMouseDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_GetLastX" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (int)((iMouseDriver const *)arg1)->GetLastX(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLastX__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMouseDriver_GetLastX",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_GetLastX" "', argument " "1"" of type '" "iMouseDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  result = (int)((iMouseDriver const *)arg1)->GetLastX();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLastX(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iMouseDriver_GetLastX__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMouseDriver_GetLastX__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMouseDriver_GetLastX'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLastY__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  uint arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMouseDriver_GetLastY",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_GetLastY" "', argument " "1"" of type '" "iMouseDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_GetLastY" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (int)((iMouseDriver const *)arg1)->GetLastY(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLastY__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMouseDriver_GetLastY",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_GetLastY" "', argument " "1"" of type '" "iMouseDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  result = (int)((iMouseDriver const *)arg1)->GetLastY();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLastY(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iMouseDriver_GetLastY__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMouseDriver_GetLastY__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMouseDriver_GetLastY'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLast__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  uint arg2 ;
  uint arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMouseDriver_GetLast",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_GetLast" "', argument " "1"" of type '" "iMouseDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_GetLast" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMouseDriver_GetLast" "', argument " "3"" of type '" "uint""'");
  } 
  arg3 = static_cast< uint >(val3);
  result = (int)((iMouseDriver const *)arg1)->GetLast(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLast__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  uint arg2 ;
  int32 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMouseDriver_GetLast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_GetLast" "', argument " "1"" of type '" "iMouseDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_GetLast" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (int32 *)((iMouseDriver const *)arg1)->GetLast(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLast(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMouseDriver_GetLast__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iMouseDriver_GetLast__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMouseDriver_GetLast'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLastButton__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  uint arg2 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMouseDriver_GetLastButton",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_GetLastButton" "', argument " "1"" of type '" "iMouseDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_GetLastButton" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMouseDriver_GetLastButton" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)((iMouseDriver const *)arg1)->GetLastButton(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLastButton__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMouseDriver_GetLastButton",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_GetLastButton" "', argument " "1"" of type '" "iMouseDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_GetLastButton" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)((iMouseDriver const *)arg1)->GetLastButton(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_GetLastButton(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMouseDriver_GetLastButton__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iMouseDriver_GetLastButton__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMouseDriver_GetLastButton'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_DoButton__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  uint arg2 ;
  int arg3 ;
  bool arg4 ;
  int32 *arg5 = (int32 *) 0 ;
  uint arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  unsigned int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iMouseDriver_DoButton",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_DoButton" "', argument " "1"" of type '" "iMouseDriver *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_DoButton" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMouseDriver_DoButton" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iMouseDriver_DoButton" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iMouseDriver_DoButton" "', argument " "5"" of type '" "int32 const *""'"); 
  }
  arg5 = reinterpret_cast< int32 * >(argp5);
  ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iMouseDriver_DoButton" "', argument " "6"" of type '" "uint""'");
  } 
  arg6 = static_cast< uint >(val6);
  (arg1)->DoButton(arg2,arg3,arg4,(int32 const *)arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_DoButton__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  int arg2 ;
  bool arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iMouseDriver_DoButton",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_DoButton" "', argument " "1"" of type '" "iMouseDriver *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_DoButton" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMouseDriver_DoButton" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iMouseDriver_DoButton" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iMouseDriver_DoButton" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->DoButton(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_DoButton(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iMouseDriver_DoButton__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int32_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iMouseDriver_DoButton__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMouseDriver_DoButton'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_DoMotion__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  uint arg2 ;
  int32 *arg3 = (int32 *) 0 ;
  uint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iMouseDriver_DoMotion",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_DoMotion" "', argument " "1"" of type '" "iMouseDriver *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_DoMotion" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMouseDriver_DoMotion" "', argument " "3"" of type '" "int32 const *""'"); 
  }
  arg3 = reinterpret_cast< int32 * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iMouseDriver_DoMotion" "', argument " "4"" of type '" "uint""'");
  } 
  arg4 = static_cast< uint >(val4);
  (arg1)->DoMotion(arg2,(int32 const *)arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_DoMotion__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMouseDriver_DoMotion",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMouseDriver_DoMotion" "', argument " "1"" of type '" "iMouseDriver *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMouseDriver_DoMotion" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMouseDriver_DoMotion" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->DoMotion(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_DoMotion(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iMouseDriver_DoMotion__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMouseDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iMouseDriver_DoMotion__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMouseDriver_DoMotion'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMouseDriver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMouseDriver *arg1 = (iMouseDriver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMouseDriver",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMouseDriver, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMouseDriver" "', argument " "1"" of type '" "iMouseDriver *""'"); 
  }
  arg1 = reinterpret_cast< iMouseDriver * >(argp1);
  delete_iMouseDriver(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMouseDriver_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMouseDriver_scfGetVersion")) SWIG_fail;
  result = (int)iMouseDriver_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMouseDriver_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMouseDriver, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iJoystickDriver_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoystickDriver *arg1 = (iJoystickDriver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoystickDriver_Reset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoystickDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoystickDriver_Reset" "', argument " "1"" of type '" "iJoystickDriver *""'"); 
  }
  arg1 = reinterpret_cast< iJoystickDriver * >(argp1);
  (arg1)->Reset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoystickDriver_GetLastX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoystickDriver *arg1 = (iJoystickDriver *) 0 ;
  uint arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoystickDriver_GetLastX",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoystickDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoystickDriver_GetLastX" "', argument " "1"" of type '" "iJoystickDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iJoystickDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoystickDriver_GetLastX" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (int)((iJoystickDriver const *)arg1)->GetLastX(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoystickDriver_GetLastY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoystickDriver *arg1 = (iJoystickDriver *) 0 ;
  uint arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoystickDriver_GetLastY",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoystickDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoystickDriver_GetLastY" "', argument " "1"" of type '" "iJoystickDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iJoystickDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoystickDriver_GetLastY" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (int)((iJoystickDriver const *)arg1)->GetLastY(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoystickDriver_GetLast__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoystickDriver *arg1 = (iJoystickDriver *) 0 ;
  uint arg2 ;
  int32 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoystickDriver_GetLast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoystickDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoystickDriver_GetLast" "', argument " "1"" of type '" "iJoystickDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iJoystickDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoystickDriver_GetLast" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (int32 *)((iJoystickDriver const *)arg1)->GetLast(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoystickDriver_GetLast__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoystickDriver *arg1 = (iJoystickDriver *) 0 ;
  uint arg2 ;
  uint arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iJoystickDriver_GetLast",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoystickDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoystickDriver_GetLast" "', argument " "1"" of type '" "iJoystickDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iJoystickDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoystickDriver_GetLast" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iJoystickDriver_GetLast" "', argument " "3"" of type '" "uint""'");
  } 
  arg3 = static_cast< uint >(val3);
  result = (int)((iJoystickDriver const *)arg1)->GetLast(arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoystickDriver_GetLast(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iJoystickDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iJoystickDriver_GetLast__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iJoystickDriver, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iJoystickDriver_GetLast__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iJoystickDriver_GetLast'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoystickDriver_GetLastButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoystickDriver *arg1 = (iJoystickDriver *) 0 ;
  uint arg2 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iJoystickDriver_GetLastButton",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoystickDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoystickDriver_GetLastButton" "', argument " "1"" of type '" "iJoystickDriver const *""'"); 
  }
  arg1 = reinterpret_cast< iJoystickDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoystickDriver_GetLastButton" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iJoystickDriver_GetLastButton" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)((iJoystickDriver const *)arg1)->GetLastButton(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoystickDriver_DoButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoystickDriver *arg1 = (iJoystickDriver *) 0 ;
  uint arg2 ;
  int arg3 ;
  bool arg4 ;
  int32 *arg5 = (int32 *) 0 ;
  uint arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  unsigned int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iJoystickDriver_DoButton",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoystickDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoystickDriver_DoButton" "', argument " "1"" of type '" "iJoystickDriver *""'"); 
  }
  arg1 = reinterpret_cast< iJoystickDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoystickDriver_DoButton" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iJoystickDriver_DoButton" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iJoystickDriver_DoButton" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iJoystickDriver_DoButton" "', argument " "5"" of type '" "int32 const *""'"); 
  }
  arg5 = reinterpret_cast< int32 * >(argp5);
  ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iJoystickDriver_DoButton" "', argument " "6"" of type '" "uint""'");
  } 
  arg6 = static_cast< uint >(val6);
  (arg1)->DoButton(arg2,arg3,arg4,(int32 const *)arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoystickDriver_DoMotion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoystickDriver *arg1 = (iJoystickDriver *) 0 ;
  uint arg2 ;
  int32 *arg3 = (int32 *) 0 ;
  uint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iJoystickDriver_DoMotion",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoystickDriver, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoystickDriver_DoMotion" "', argument " "1"" of type '" "iJoystickDriver *""'"); 
  }
  arg1 = reinterpret_cast< iJoystickDriver * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoystickDriver_DoMotion" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int32_t, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iJoystickDriver_DoMotion" "', argument " "3"" of type '" "int32 const *""'"); 
  }
  arg3 = reinterpret_cast< int32 * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iJoystickDriver_DoMotion" "', argument " "4"" of type '" "uint""'");
  } 
  arg4 = static_cast< uint >(val4);
  (arg1)->DoMotion(arg2,(int32 const *)arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iJoystickDriver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoystickDriver *arg1 = (iJoystickDriver *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iJoystickDriver",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoystickDriver, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iJoystickDriver" "', argument " "1"" of type '" "iJoystickDriver *""'"); 
  }
  arg1 = reinterpret_cast< iJoystickDriver * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iJoystickDriver_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iJoystickDriver, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iConfigFile_GetFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigFile_GetFileName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetFileName" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  result = (char *)((iConfigFile const *)arg1)->GetFileName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetVFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  iVFS *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigFile_GetVFS",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetVFS" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  result = (iVFS *)((iConfigFile const *)arg1)->GetVFS();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iVFS, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_SetFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  iVFS *arg3 = (iVFS *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_SetFileName",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_SetFileName" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_SetFileName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigFile_SetFileName" "', argument " "3"" of type '" "iVFS *""'"); 
  }
  arg3 = reinterpret_cast< iVFS * >(argp3);
  (arg1)->SetFileName((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Load__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  iVFS *arg3 = (iVFS *) 0 ;
  bool arg4 ;
  bool arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iConfigFile_Load",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Load" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigFile_Load" "', argument " "3"" of type '" "iVFS *""'"); 
  }
  arg3 = reinterpret_cast< iVFS * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iConfigFile_Load" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iConfigFile_Load" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (bool)(arg1)->Load((char const *)arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Load__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  iVFS *arg3 = (iVFS *) 0 ;
  bool arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iConfigFile_Load",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Load" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigFile_Load" "', argument " "3"" of type '" "iVFS *""'"); 
  }
  arg3 = reinterpret_cast< iVFS * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iConfigFile_Load" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  result = (bool)(arg1)->Load((char const *)arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Load__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  iVFS *arg3 = (iVFS *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_Load",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Load" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigFile_Load" "', argument " "3"" of type '" "iVFS *""'"); 
  }
  arg3 = reinterpret_cast< iVFS * >(argp3);
  result = (bool)(arg1)->Load((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Load__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_Load",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Load" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_Load" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->Load((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Load(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigFile_Load__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iVFS, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iConfigFile_Load__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iVFS, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iConfigFile_Load__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iVFS, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iConfigFile_Load__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigFile_Load'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Save__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigFile_Save",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Save" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  result = (bool)(arg1)->Save();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Save__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  iVFS *arg3 = (iVFS *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_Save",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Save" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_Save" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigFile_Save" "', argument " "3"" of type '" "iVFS *""'"); 
  }
  arg3 = reinterpret_cast< iVFS * >(argp3);
  result = (bool)(arg1)->Save((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Save__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_Save",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Save" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_Save" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->Save((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Save(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iConfigFile_Save__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigFile_Save__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iVFS, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iConfigFile_Save__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigFile_Save'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigFile_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Clear" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Enumerate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iConfigIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_Enumerate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Enumerate" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_Enumerate" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->Enumerate((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iConfigIterator> ref((csPtr<iConfigIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iConfigIterator *)ref), (void *)(iConfigIterator *)ref, "iConfigIterator" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Enumerate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  SwigValueWrapper<csPtr<iConfigIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigFile_Enumerate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_Enumerate" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  result = (arg1)->Enumerate();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iConfigIterator> ref((csPtr<iConfigIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iConfigIterator *)ref), (void *)(iConfigIterator *)ref, "iConfigIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_Enumerate(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iConfigFile_Enumerate__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigFile_Enumerate__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigFile_Enumerate'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_KeyExists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_KeyExists",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_KeyExists" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_KeyExists" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)((iConfigFile const *)arg1)->KeyExists((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_SubsectionExists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_SubsectionExists",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_SubsectionExists" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_SubsectionExists" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)((iConfigFile const *)arg1)->SubsectionExists((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetInt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_GetInt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetInt" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetInt" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConfigFile_GetInt" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (int)((iConfigFile const *)arg1)->GetInt((char const *)arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetInt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_GetInt",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetInt" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetInt" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)((iConfigFile const *)arg1)->GetInt((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetInt(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigFile_GetInt__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iConfigFile_GetInt__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigFile_GetInt'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetFloat__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_GetFloat",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetFloat" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConfigFile_GetFloat" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (float)((iConfigFile const *)arg1)->GetFloat((char const *)arg2,arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetFloat__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_GetFloat",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetFloat" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (float)((iConfigFile const *)arg1)->GetFloat((char const *)arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetFloat(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigFile_GetFloat__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iConfigFile_GetFloat__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigFile_GetFloat'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetStr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_GetStr",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetStr" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetStr" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigFile_GetStr" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (char *)((iConfigFile const *)arg1)->GetStr((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetStr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_GetStr",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetStr" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetStr" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (char *)((iConfigFile const *)arg1)->GetStr((char const *)arg2);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetStr(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigFile_GetStr__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iConfigFile_GetStr__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigFile_GetStr'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetBool__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_GetBool",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetBool" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetBool" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConfigFile_GetBool" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)((iConfigFile const *)arg1)->GetBool((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetBool__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_GetBool",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetBool" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetBool" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)((iConfigFile const *)arg1)->GetBool((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetBool(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigFile_GetBool__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigFile, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iConfigFile_GetBool__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigFile_GetBool'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetTuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iStringArray > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_GetTuple",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetTuple" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetTuple" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = ((iConfigFile const *)arg1)->GetTuple((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iStringArray> ref((csPtr<iStringArray>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iStringArray *)ref), (void *)(iStringArray *)ref, "iStringArray" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetComment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_GetComment",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetComment" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_GetComment" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (char *)((iConfigFile const *)arg1)->GetComment((char const *)arg2);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_SetStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_SetStr",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_SetStr" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_SetStr" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigFile_SetStr" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->SetStr((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_SetInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_SetInt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_SetInt" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_SetInt" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConfigFile_SetInt" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetInt((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_SetFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_SetFloat",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_SetFloat" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_SetFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConfigFile_SetFloat" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetFloat((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_SetBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_SetBool",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_SetBool" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_SetBool" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConfigFile_SetBool" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->SetBool((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_SetTuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  iStringArray *arg3 = (iStringArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_SetTuple",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_SetTuple" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_SetTuple" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigFile_SetTuple" "', argument " "3"" of type '" "iStringArray *""'"); 
  }
  arg3 = reinterpret_cast< iStringArray * >(argp3);
  (arg1)->SetTuple((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_SetComment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigFile_SetComment",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_SetComment" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_SetComment" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigFile_SetComment" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->SetComment((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_DeleteKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_DeleteKey",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_DeleteKey" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_DeleteKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->DeleteKey((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_GetEOFComment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigFile_GetEOFComment",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_GetEOFComment" "', argument " "1"" of type '" "iConfigFile const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  result = (char *)((iConfigFile const *)arg1)->GetEOFComment();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_SetEOFComment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigFile_SetEOFComment",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigFile_SetEOFComment" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigFile_SetEOFComment" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetEOFComment((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iConfigFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigFile *arg1 = (iConfigFile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iConfigFile",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigFile, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iConfigFile" "', argument " "1"" of type '" "iConfigFile *""'"); 
  }
  arg1 = reinterpret_cast< iConfigFile * >(argp1);
  delete_iConfigFile(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigFile_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iConfigFile_scfGetVersion")) SWIG_fail;
  result = (int)iConfigFile_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iConfigFile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iConfigFile, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iConfigIterator_GetConfigFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  iConfigFile *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_GetConfigFile",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetConfigFile" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (iConfigFile *)((iConfigIterator const *)arg1)->GetConfigFile();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iConfigFile, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetSubsection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_GetSubsection",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetSubsection" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (char *)((iConfigIterator const *)arg1)->GetSubsection();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_Rewind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_Rewind",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_Rewind" "', argument " "1"" of type '" "iConfigIterator *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  (arg1)->Rewind();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_Next" "', argument " "1"" of type '" "iConfigIterator *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (bool)(arg1)->Next();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_HasNext" "', argument " "1"" of type '" "iConfigIterator *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (bool)(arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetKey__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  bool arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigIterator_GetKey",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetKey" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConfigIterator_GetKey" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  result = (char *)((iConfigIterator const *)arg1)->GetKey(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetKey__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_GetKey",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetKey" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (char *)((iConfigIterator const *)arg1)->GetKey();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetKey(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigIterator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iConfigIterator_GetKey__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigIterator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iConfigIterator_GetKey__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigIterator_GetKey'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_GetInt",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetInt" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (int)((iConfigIterator const *)arg1)->GetInt();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_GetFloat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetFloat" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (float)((iConfigIterator const *)arg1)->GetFloat();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_GetStr",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetStr" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (char *)((iConfigIterator const *)arg1)->GetStr();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_GetBool",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetBool" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (bool)((iConfigIterator const *)arg1)->GetBool();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetTuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  SwigValueWrapper<csPtr<iStringArray > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_GetTuple",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetTuple" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = ((iConfigIterator const *)arg1)->GetTuple();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iStringArray> ref((csPtr<iStringArray>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iStringArray *)ref), (void *)(iStringArray *)ref, "iStringArray" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_GetComment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigIterator_GetComment",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigIterator_GetComment" "', argument " "1"" of type '" "iConfigIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  result = (char *)((iConfigIterator const *)arg1)->GetComment();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iConfigIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigIterator *arg1 = (iConfigIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iConfigIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iConfigIterator" "', argument " "1"" of type '" "iConfigIterator *""'"); 
  }
  arg1 = reinterpret_cast< iConfigIterator * >(argp1);
  delete_iConfigIterator(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigIterator_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iConfigIterator_scfGetVersion")) SWIG_fail;
  result = (int)iConfigIterator_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iConfigIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iConfigIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iConfigManager_AddDomain__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  iConfigFile *arg2 = (iConfigFile *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigManager_AddDomain",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_AddDomain" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_AddDomain" "', argument " "2"" of type '" "iConfigFile *""'"); 
  }
  arg2 = reinterpret_cast< iConfigFile * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConfigManager_AddDomain" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->AddDomain(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_AddDomain__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iVFS *arg3 = (iVFS *) 0 ;
  int arg4 ;
  iConfigFile *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iConfigManager_AddDomain",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_AddDomain" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_AddDomain" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iConfigManager_AddDomain" "', argument " "3"" of type '" "iVFS *""'"); 
  }
  arg3 = reinterpret_cast< iVFS * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iConfigManager_AddDomain" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (iConfigFile *)(arg1)->AddDomain((char const *)arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_AddDomain(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iConfigFile, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iConfigManager_AddDomain__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iVFS, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iConfigManager_AddDomain__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigManager_AddDomain'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_RemoveDomain__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  iConfigFile *arg2 = (iConfigFile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigManager_RemoveDomain",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_RemoveDomain" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_RemoveDomain" "', argument " "2"" of type '" "iConfigFile *""'"); 
  }
  arg2 = reinterpret_cast< iConfigFile * >(argp2);
  (arg1)->RemoveDomain(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_RemoveDomain__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigManager_RemoveDomain",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_RemoveDomain" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_RemoveDomain" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->RemoveDomain((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_RemoveDomain(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iConfigFile, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigManager_RemoveDomain__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigManager_RemoveDomain__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigManager_RemoveDomain'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_LookupDomain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iConfigFile *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigManager_LookupDomain",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_LookupDomain" "', argument " "1"" of type '" "iConfigManager const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_LookupDomain" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iConfigFile *)((iConfigManager const *)arg1)->LookupDomain((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_SetDomainPriority__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigManager_SetDomainPriority",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_SetDomainPriority" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_SetDomainPriority" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConfigManager_SetDomainPriority" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetDomainPriority((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_SetDomainPriority__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  iConfigFile *arg2 = (iConfigFile *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConfigManager_SetDomainPriority",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_SetDomainPriority" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_SetDomainPriority" "', argument " "2"" of type '" "iConfigFile *""'"); 
  }
  arg2 = reinterpret_cast< iConfigFile * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConfigManager_SetDomainPriority" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetDomainPriority(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_SetDomainPriority(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iConfigFile, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iConfigManager_SetDomainPriority__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iConfigManager_SetDomainPriority__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigManager_SetDomainPriority'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_GetDomainPriority__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigManager_GetDomainPriority",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_GetDomainPriority" "', argument " "1"" of type '" "iConfigManager const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_GetDomainPriority" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)((iConfigManager const *)arg1)->GetDomainPriority((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_GetDomainPriority__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  iConfigFile *arg2 = (iConfigFile *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigManager_GetDomainPriority",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_GetDomainPriority" "', argument " "1"" of type '" "iConfigManager const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_GetDomainPriority" "', argument " "2"" of type '" "iConfigFile *""'"); 
  }
  arg2 = reinterpret_cast< iConfigFile * >(argp2);
  result = (int)((iConfigManager const *)arg1)->GetDomainPriority(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_GetDomainPriority(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iConfigFile, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigManager_GetDomainPriority__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConfigManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConfigManager_GetDomainPriority__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConfigManager_GetDomainPriority'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_SetDynamicDomain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  iConfigFile *arg2 = (iConfigFile *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigManager_SetDynamicDomain",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_SetDynamicDomain" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iConfigFile, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConfigManager_SetDynamicDomain" "', argument " "2"" of type '" "iConfigFile *""'"); 
  }
  arg2 = reinterpret_cast< iConfigFile * >(argp2);
  result = (bool)(arg1)->SetDynamicDomain(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_GetDynamicDomain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  iConfigFile *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigManager_GetDynamicDomain",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_GetDynamicDomain" "', argument " "1"" of type '" "iConfigManager const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  result = (iConfigFile *)((iConfigManager const *)arg1)->GetDynamicDomain();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iConfigFile, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_SetDynamicDomainPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConfigManager_SetDynamicDomainPriority",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_SetDynamicDomainPriority" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConfigManager_SetDynamicDomainPriority" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetDynamicDomainPriority(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_GetDynamicDomainPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigManager_GetDynamicDomainPriority",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_GetDynamicDomainPriority" "', argument " "1"" of type '" "iConfigManager const *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  result = (int)((iConfigManager const *)arg1)->GetDynamicDomainPriority();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_FlushRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConfigManager_FlushRemoved",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConfigManager_FlushRemoved" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  (arg1)->FlushRemoved();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iConfigManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConfigManager *arg1 = (iConfigManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iConfigManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConfigManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iConfigManager" "', argument " "1"" of type '" "iConfigManager *""'"); 
  }
  arg1 = reinterpret_cast< iConfigManager * >(argp1);
  delete_iConfigManager(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConfigManager_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iConfigManager_scfGetVersion")) SWIG_fail;
  result = (int)iConfigManager_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iConfigManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iConfigManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iStringArray_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringArray_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_GetSize" "', argument " "1"" of type '" "iStringArray const *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  result = ((iStringArray const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringArray_Length",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Length" "', argument " "1"" of type '" "iStringArray const *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  result = ((iStringArray const *)arg1)->Length();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringArray_Push",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Push" "', argument " "1"" of type '" "iStringArray *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStringArray_Push" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->Push((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringArray_Pop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Pop" "', argument " "1"" of type '" "iStringArray *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  result = (char *)(arg1)->Pop();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  size_t arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringArray_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Get" "', argument " "1"" of type '" "iStringArray const *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStringArray_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (char *)((iStringArray const *)arg1)->Get(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringArray_Find",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Find" "', argument " "1"" of type '" "iStringArray const *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStringArray_Find" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = ((iStringArray const *)arg1)->Find((char const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_FindCaseInsensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringArray_FindCaseInsensitive",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_FindCaseInsensitive" "', argument " "1"" of type '" "iStringArray const *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStringArray_FindCaseInsensitive" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = ((iStringArray const *)arg1)->FindCaseInsensitive((char const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_FindSortedKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringArray_FindSortedKey",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_FindSortedKey" "', argument " "1"" of type '" "iStringArray const *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStringArray_FindSortedKey" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = ((iStringArray const *)arg1)->FindSortedKey((char const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Contains__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iStringArray_Contains",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Contains" "', argument " "1"" of type '" "iStringArray const *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStringArray_Contains" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iStringArray_Contains" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = ((iStringArray const *)arg1)->Contains((char const *)arg2,arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Contains__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringArray_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Contains" "', argument " "1"" of type '" "iStringArray const *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStringArray_Contains" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = ((iStringArray const *)arg1)->Contains((char const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Contains(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iStringArray_Contains__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iStringArray_Contains__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iStringArray_Contains'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Sort__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringArray_Sort",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Sort" "', argument " "1"" of type '" "iStringArray *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStringArray_Sort" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->Sort(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Sort__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringArray_Sort",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Sort" "', argument " "1"" of type '" "iStringArray *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  (arg1)->Sort();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Sort(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iStringArray_Sort__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStringArray, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iStringArray_Sort__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iStringArray_Sort'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_DeleteIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStringArray_DeleteIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_DeleteIndex" "', argument " "1"" of type '" "iStringArray *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStringArray_DeleteIndex" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndex(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  size_t arg2 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iStringArray_Insert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Insert" "', argument " "1"" of type '" "iStringArray *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStringArray_Insert" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iStringArray_Insert" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->Insert(arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringArray_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_Empty" "', argument " "1"" of type '" "iStringArray *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  (arg1)->Empty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_DeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringArray_DeleteAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_DeleteAll" "', argument " "1"" of type '" "iStringArray *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  (arg1)->DeleteAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStringArray_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStringArray_IsEmpty" "', argument " "1"" of type '" "iStringArray const *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  result = (bool)((iStringArray const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iStringArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStringArray *arg1 = (iStringArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iStringArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStringArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iStringArray" "', argument " "1"" of type '" "iStringArray *""'"); 
  }
  arg1 = reinterpret_cast< iStringArray * >(argp1);
  delete_iStringArray(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStringArray_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iStringArray_scfGetVersion")) SWIG_fail;
  result = (int)iStringArray_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iStringArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iStringArray, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDocumentAttributeIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttributeIterator *arg1 = (iDocumentAttributeIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentAttributeIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttributeIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttributeIterator_HasNext" "', argument " "1"" of type '" "iDocumentAttributeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttributeIterator * >(argp1);
  result = (bool)(arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentAttributeIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttributeIterator *arg1 = (iDocumentAttributeIterator *) 0 ;
  SwigValueWrapper<csRef<iDocumentAttribute > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentAttributeIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttributeIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttributeIterator_Next" "', argument " "1"" of type '" "iDocumentAttributeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttributeIterator * >(argp1);
  result = (arg1)->Next();
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentAttribute >(static_cast< const csRef<iDocumentAttribute >& >(result))), SWIGTYPE_p_csRefTiDocumentAttribute_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDocumentAttributeIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttributeIterator *arg1 = (iDocumentAttributeIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDocumentAttributeIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttributeIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDocumentAttributeIterator" "', argument " "1"" of type '" "iDocumentAttributeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttributeIterator * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDocumentAttributeIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDocumentAttributeIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDocumentAttribute_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentAttribute_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttribute_GetName" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  result = (char *)(arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentAttribute_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentAttribute_GetValue",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttribute_GetValue" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  result = (char *)(arg1)->GetValue();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentAttribute_GetValueAsInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentAttribute_GetValueAsInt",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttribute_GetValueAsInt" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  result = (int)(arg1)->GetValueAsInt();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentAttribute_GetValueAsFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentAttribute_GetValueAsFloat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttribute_GetValueAsFloat" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  result = (float)(arg1)->GetValueAsFloat();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentAttribute_GetValueAsBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentAttribute_GetValueAsBool",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttribute_GetValueAsBool" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  result = (bool)(arg1)->GetValueAsBool();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentAttribute_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentAttribute_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttribute_SetName" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentAttribute_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentAttribute_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentAttribute_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttribute_SetValue" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentAttribute_SetValue" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetValue((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentAttribute_SetValueAsInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentAttribute_SetValueAsInt",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttribute_SetValueAsInt" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDocumentAttribute_SetValueAsInt" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetValueAsInt(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentAttribute_SetValueAsFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentAttribute_SetValueAsFloat",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentAttribute_SetValueAsFloat" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDocumentAttribute_SetValueAsFloat" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetValueAsFloat(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDocumentAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentAttribute *arg1 = (iDocumentAttribute *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDocumentAttribute",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentAttribute, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDocumentAttribute" "', argument " "1"" of type '" "iDocumentAttribute *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentAttribute * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDocumentAttribute_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDocumentAttribute, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDocumentNodeIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNodeIterator *arg1 = (iDocumentNodeIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNodeIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNodeIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNodeIterator_HasNext" "', argument " "1"" of type '" "iDocumentNodeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNodeIterator * >(argp1);
  result = (bool)(arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNodeIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNodeIterator *arg1 = (iDocumentNodeIterator *) 0 ;
  SwigValueWrapper<csRef<iDocumentNode > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNodeIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNodeIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNodeIterator_Next" "', argument " "1"" of type '" "iDocumentNodeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNodeIterator * >(argp1);
  result = (arg1)->Next();
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentNode >(static_cast< const csRef<iDocumentNode >& >(result))), SWIGTYPE_p_csRefTiDocumentNode_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDocumentNodeIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNodeIterator *arg1 = (iDocumentNodeIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDocumentNodeIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNodeIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDocumentNodeIterator" "', argument " "1"" of type '" "iDocumentNodeIterator *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNodeIterator * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDocumentNodeIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDocumentNodeIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDocumentNode_GetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  csDocumentNodeType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_GetType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetType" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  result = (csDocumentNodeType)(arg1)->GetType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_Equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_Equals",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_Equals" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_Equals" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (bool)(arg1)->Equals(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_GetValue",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetValue" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  result = (char *)(arg1)->GetValue();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_SetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_SetValue" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_SetValue" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetValue((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_SetValueAsInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_SetValueAsInt",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_SetValueAsInt" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDocumentNode_SetValueAsInt" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetValueAsInt(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_SetValueAsFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_SetValueAsFloat",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_SetValueAsFloat" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDocumentNode_SetValueAsFloat" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetValueAsFloat(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  SwigValueWrapper<csRef<iDocumentNode > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_GetParent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetParent" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  result = (arg1)->GetParent();
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentNode >(static_cast< const csRef<iDocumentNode >& >(result))), SWIGTYPE_p_csRefTiDocumentNode_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetNodes__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  SwigValueWrapper<csRef<iDocumentNodeIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_GetNodes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetNodes" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  result = (arg1)->GetNodes();
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentNodeIterator >(static_cast< const csRef<iDocumentNodeIterator >& >(result))), SWIGTYPE_p_csRefTiDocumentNodeIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetNodes__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csRef<iDocumentNodeIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_GetNodes",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetNodes" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_GetNodes" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->GetNodes((char const *)arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentNodeIterator >(static_cast< const csRef<iDocumentNodeIterator >& >(result))), SWIGTYPE_p_csRefTiDocumentNodeIterator_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetNodes(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocumentNode, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iDocumentNode_GetNodes__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocumentNode, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDocumentNode_GetNodes__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDocumentNode_GetNodes'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csRef<iDocumentNode > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_GetNode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetNode" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_GetNode" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->GetNode((char const *)arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentNode >(static_cast< const csRef<iDocumentNode >& >(result))), SWIGTYPE_p_csRefTiDocumentNode_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_RemoveNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  csRef<iDocumentNode > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_RemoveNode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_RemoveNode" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiDocumentNode_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_RemoveNode" "', argument " "2"" of type '" "csRef<iDocumentNode > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDocumentNode_RemoveNode" "', argument " "2"" of type '" "csRef<iDocumentNode > const &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iDocumentNode > * >(argp2);
  (arg1)->RemoveNode((csRef<iDocumentNode > const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_RemoveNodes__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  SwigValueWrapper<csRef<iDocumentNodeIterator > > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_RemoveNodes",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_RemoveNodes" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiDocumentNodeIterator_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_RemoveNodes" "', argument " "2"" of type '" "csRef<iDocumentNodeIterator >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDocumentNode_RemoveNodes" "', argument " "2"" of type '" "csRef<iDocumentNodeIterator >""'");
    } else {
      csRef<iDocumentNodeIterator > * temp = reinterpret_cast< csRef<iDocumentNodeIterator > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->RemoveNodes(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_RemoveNodes__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_RemoveNodes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_RemoveNodes" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  (arg1)->RemoveNodes();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_RemoveNodes(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocumentNode, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iDocumentNode_RemoveNodes__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocumentNode, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csRefTiDocumentNodeIterator_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDocumentNode_RemoveNodes__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDocumentNode_RemoveNodes'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_CreateNodeBefore__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  csDocumentNodeType arg2 ;
  iDocumentNode *arg3 = (iDocumentNode *) 0 ;
  SwigValueWrapper<csRef<iDocumentNode > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocumentNode_CreateNodeBefore",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_CreateNodeBefore" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDocumentNode_CreateNodeBefore" "', argument " "2"" of type '" "csDocumentNodeType""'");
  } 
  arg2 = static_cast< csDocumentNodeType >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDocumentNode_CreateNodeBefore" "', argument " "3"" of type '" "iDocumentNode *""'"); 
  }
  arg3 = reinterpret_cast< iDocumentNode * >(argp3);
  result = (arg1)->CreateNodeBefore(arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentNode >(static_cast< const csRef<iDocumentNode >& >(result))), SWIGTYPE_p_csRefTiDocumentNode_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_CreateNodeBefore__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  csDocumentNodeType arg2 ;
  SwigValueWrapper<csRef<iDocumentNode > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_CreateNodeBefore",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_CreateNodeBefore" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDocumentNode_CreateNodeBefore" "', argument " "2"" of type '" "csDocumentNodeType""'");
  } 
  arg2 = static_cast< csDocumentNodeType >(val2);
  result = (arg1)->CreateNodeBefore(arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentNode >(static_cast< const csRef<iDocumentNode >& >(result))), SWIGTYPE_p_csRefTiDocumentNode_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_CreateNodeBefore(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocumentNode, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iDocumentNode_CreateNodeBefore__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocumentNode, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDocumentNode, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iDocumentNode_CreateNodeBefore__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDocumentNode_CreateNodeBefore'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetContentsValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_GetContentsValue",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetContentsValue" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  result = (char *)(arg1)->GetContentsValue();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetContentsValueAsInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_GetContentsValueAsInt",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetContentsValueAsInt" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  result = (int)(arg1)->GetContentsValueAsInt();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetContentsValueAsFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_GetContentsValueAsFloat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetContentsValueAsFloat" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  result = (float)(arg1)->GetContentsValueAsFloat();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  SwigValueWrapper<csRef<iDocumentAttributeIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_GetAttributes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetAttributes" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  result = (arg1)->GetAttributes();
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentAttributeIterator >(static_cast< const csRef<iDocumentAttributeIterator >& >(result))), SWIGTYPE_p_csRefTiDocumentAttributeIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csRef<iDocumentAttribute > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_GetAttribute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetAttribute" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_GetAttribute" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->GetAttribute((char const *)arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentAttribute >(static_cast< const csRef<iDocumentAttribute >& >(result))), SWIGTYPE_p_csRefTiDocumentAttribute_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetAttributeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_GetAttributeValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetAttributeValue" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_GetAttributeValue" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (char *)(arg1)->GetAttributeValue((char const *)arg2);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetAttributeValueAsInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_GetAttributeValueAsInt",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetAttributeValueAsInt" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_GetAttributeValueAsInt" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (int)(arg1)->GetAttributeValueAsInt((char const *)arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetAttributeValueAsFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_GetAttributeValueAsFloat",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetAttributeValueAsFloat" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_GetAttributeValueAsFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (float)(arg1)->GetAttributeValueAsFloat((char const *)arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetAttributeValueAsBool__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocumentNode_GetAttributeValueAsBool",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetAttributeValueAsBool" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_GetAttributeValueAsBool" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDocumentNode_GetAttributeValueAsBool" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->GetAttributeValueAsBool((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetAttributeValueAsBool__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_GetAttributeValueAsBool",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_GetAttributeValueAsBool" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_GetAttributeValueAsBool" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->GetAttributeValueAsBool((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_GetAttributeValueAsBool(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocumentNode, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDocumentNode_GetAttributeValueAsBool__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocumentNode, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iDocumentNode_GetAttributeValueAsBool__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDocumentNode_GetAttributeValueAsBool'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_RemoveAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  csRef<iDocumentAttribute > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocumentNode_RemoveAttribute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_RemoveAttribute" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiDocumentAttribute_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_RemoveAttribute" "', argument " "2"" of type '" "csRef<iDocumentAttribute > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDocumentNode_RemoveAttribute" "', argument " "2"" of type '" "csRef<iDocumentAttribute > const &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iDocumentAttribute > * >(argp2);
  (arg1)->RemoveAttribute((csRef<iDocumentAttribute > const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_RemoveAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentNode_RemoveAttributes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_RemoveAttributes" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  (arg1)->RemoveAttributes();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_SetAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocumentNode_SetAttribute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_SetAttribute" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_SetAttribute" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDocumentNode_SetAttribute" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  (arg1)->SetAttribute((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_SetAttributeAsInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocumentNode_SetAttributeAsInt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_SetAttributeAsInt" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_SetAttributeAsInt" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDocumentNode_SetAttributeAsInt" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetAttributeAsInt((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentNode_SetAttributeAsFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocumentNode_SetAttributeAsFloat",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentNode_SetAttributeAsFloat" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocumentNode_SetAttributeAsFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDocumentNode_SetAttributeAsFloat" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetAttributeAsFloat((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDocumentNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentNode *arg1 = (iDocumentNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDocumentNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentNode, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDocumentNode" "', argument " "1"" of type '" "iDocumentNode *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentNode * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDocumentNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDocumentNode, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDocument_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocument_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Clear" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_CreateRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  SwigValueWrapper<csRef<iDocumentNode > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocument_CreateRoot",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_CreateRoot" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  result = (arg1)->CreateRoot();
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentNode >(static_cast< const csRef<iDocumentNode >& >(result))), SWIGTYPE_p_csRefTiDocumentNode_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_GetRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  SwigValueWrapper<csRef<iDocumentNode > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocument_GetRoot",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_GetRoot" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  result = (arg1)->GetRoot();
  resultobj = SWIG_NewPointerObj((new csRef<iDocumentNode >(static_cast< const csRef<iDocumentNode >& >(result))), SWIGTYPE_p_csRefTiDocumentNode_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Parse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  iFile *arg2 = (iFile *) 0 ;
  bool arg3 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocument_Parse",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Parse" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Parse" "', argument " "2"" of type '" "iFile *""'"); 
  }
  arg2 = reinterpret_cast< iFile * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDocument_Parse" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (char *)(arg1)->Parse(arg2,arg3);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Parse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  iFile *arg2 = (iFile *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocument_Parse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Parse" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Parse" "', argument " "2"" of type '" "iFile *""'"); 
  }
  arg2 = reinterpret_cast< iFile * >(argp2);
  result = (char *)(arg1)->Parse(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Parse__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  bool arg3 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocument_Parse",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Parse" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Parse" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDocument_Parse" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (char *)(arg1)->Parse(arg2,arg3);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Parse__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocument_Parse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Parse" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Parse" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  result = (char *)(arg1)->Parse(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Parse__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  iString *arg2 = (iString *) 0 ;
  bool arg3 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocument_Parse",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Parse" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Parse" "', argument " "2"" of type '" "iString *""'"); 
  }
  arg2 = reinterpret_cast< iString * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDocument_Parse" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (char *)(arg1)->Parse(arg2,arg3);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Parse__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  iString *arg2 = (iString *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocument_Parse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Parse" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Parse" "', argument " "2"" of type '" "iString *""'"); 
  }
  arg2 = reinterpret_cast< iString * >(argp2);
  result = (char *)(arg1)->Parse(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Parse__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocument_Parse",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Parse" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Parse" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDocument_Parse" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (char *)(arg1)->Parse((char const *)arg2,arg3);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Parse__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  char *arg2 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocument_Parse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Parse" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Parse" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (char *)(arg1)->Parse((char const *)arg2);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Parse(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iFile, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDocument_Parse__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDocument_Parse__SWIG_3(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iString, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDocument_Parse__SWIG_5(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDocument_Parse__SWIG_7(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iString, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iDocument_Parse__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDataBuffer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iDocument_Parse__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iFile, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iDocument_Parse__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iDocument_Parse__SWIG_6(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDocument_Parse'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Write__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  iFile *arg2 = (iFile *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocument_Write",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Write" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFile, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Write" "', argument " "2"" of type '" "iFile *""'"); 
  }
  arg2 = reinterpret_cast< iFile * >(argp2);
  result = (char *)(arg1)->Write(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Write__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  iString *arg2 = (iString *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDocument_Write",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Write" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iString, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Write" "', argument " "2"" of type '" "iString *""'"); 
  }
  arg2 = reinterpret_cast< iString * >(argp2);
  result = (char *)(arg1)->Write(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Write__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  iVFS *arg2 = (iVFS *) 0 ;
  char *arg3 = (char *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDocument_Write",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Write" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iVFS, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDocument_Write" "', argument " "2"" of type '" "iVFS *""'"); 
  }
  arg2 = reinterpret_cast< iVFS * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDocument_Write" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (char *)(arg1)->Write(arg2,(char const *)arg3);
  resultobj = SWIG_FromCharPtr(result);
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Write(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iFile, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDocument_Write__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iString, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDocument_Write__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDocument, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iVFS, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iDocument_Write__SWIG_2(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDocument_Write'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_Changeable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocument_Changeable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocument_Changeable" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  result = (int)(arg1)->Changeable();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocument *arg1 = (iDocument *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDocument",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocument, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDocument" "', argument " "1"" of type '" "iDocument *""'"); 
  }
  arg1 = reinterpret_cast< iDocument * >(argp1);
  delete_iDocument(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocument_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iDocument_scfGetVersion")) SWIG_fail;
  result = (int)iDocument_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDocument_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDocument, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDocumentSystem_CreateDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentSystem *arg1 = (iDocumentSystem *) 0 ;
  SwigValueWrapper<csRef<iDocument > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDocumentSystem_CreateDocument",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDocumentSystem_CreateDocument" "', argument " "1"" of type '" "iDocumentSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentSystem * >(argp1);
  result = (arg1)->CreateDocument();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDocument> ref((csRef<iDocument>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDocument *)ref), (void *)(iDocument *)ref, "iDocument" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDocumentSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDocumentSystem *arg1 = (iDocumentSystem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDocumentSystem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDocumentSystem, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDocumentSystem" "', argument " "1"" of type '" "iDocumentSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDocumentSystem * >(argp1);
  delete_iDocumentSystem(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDocumentSystem_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iDocumentSystem_scfGetVersion")) SWIG_fail;
  result = (int)iDocumentSystem_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDocumentSystem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDocumentSystem, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csTinyDocumentSystem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  csTinyDocumentSystem *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csTinyDocumentSystem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csTinyDocumentSystem" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  result = (csTinyDocumentSystem *)new csTinyDocumentSystem(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTinyDocumentSystem, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csTinyDocumentSystem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTinyDocumentSystem *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csTinyDocumentSystem")) SWIG_fail;
  result = (csTinyDocumentSystem *)new csTinyDocumentSystem();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTinyDocumentSystem, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csTinyDocumentSystem(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csTinyDocumentSystem__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iBase, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csTinyDocumentSystem__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csTinyDocumentSystem'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csTinyDocumentSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTinyDocumentSystem *arg1 = (csTinyDocumentSystem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csTinyDocumentSystem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTinyDocumentSystem, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csTinyDocumentSystem" "', argument " "1"" of type '" "csTinyDocumentSystem *""'"); 
  }
  arg1 = reinterpret_cast< csTinyDocumentSystem * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTinyDocumentSystem_CreateDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTinyDocumentSystem *arg1 = (csTinyDocumentSystem *) 0 ;
  SwigValueWrapper<csRef<iDocument > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTinyDocumentSystem_CreateDocument",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTinyDocumentSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTinyDocumentSystem_CreateDocument" "', argument " "1"" of type '" "csTinyDocumentSystem *""'"); 
  }
  arg1 = reinterpret_cast< csTinyDocumentSystem * >(argp1);
  result = (arg1)->CreateDocument();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDocument> ref((csRef<iDocument>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDocument *)ref), (void *)(iDocument *)ref, "iDocument" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csTinyDocumentSystem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csTinyDocumentSystem, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDataBuffer_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDataBuffer *arg1 = (iDataBuffer *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDataBuffer_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDataBuffer_GetSize" "', argument " "1"" of type '" "iDataBuffer const *""'"); 
  }
  arg1 = reinterpret_cast< iDataBuffer * >(argp1);
  result = ((iDataBuffer const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDataBuffer_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDataBuffer *arg1 = (iDataBuffer *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDataBuffer_GetData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDataBuffer_GetData" "', argument " "1"" of type '" "iDataBuffer const *""'"); 
  }
  arg1 = reinterpret_cast< iDataBuffer * >(argp1);
  result = (char *)((iDataBuffer const *)arg1)->GetData();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDataBuffer_asString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDataBuffer *arg1 = (iDataBuffer *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDataBuffer_asString",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDataBuffer_asString" "', argument " "1"" of type '" "iDataBuffer const *""'"); 
  }
  arg1 = reinterpret_cast< iDataBuffer * >(argp1);
  result = (char *)((iDataBuffer const *)arg1)->operator *();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDataBuffer_GetUint8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDataBuffer *arg1 = (iDataBuffer *) 0 ;
  uint8 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDataBuffer_GetUint8",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDataBuffer_GetUint8" "', argument " "1"" of type '" "iDataBuffer *""'"); 
  }
  arg1 = reinterpret_cast< iDataBuffer * >(argp1);
  result = (uint8 *)(arg1)->GetUint8();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint8_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDataBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDataBuffer *arg1 = (iDataBuffer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDataBuffer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDataBuffer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDataBuffer" "', argument " "1"" of type '" "iDataBuffer *""'"); 
  }
  arg1 = reinterpret_cast< iDataBuffer * >(argp1);
  delete_iDataBuffer(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDataBuffer_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iDataBuffer_scfGetVersion")) SWIG_fail;
  result = (int)iDataBuffer_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDataBuffer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDataBuffer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csPixelCoord_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelCoord *arg1 = (csPixelCoord *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelCoord_x_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelCoord, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelCoord_x_set" "', argument " "1"" of type '" "csPixelCoord *""'"); 
  }
  arg1 = reinterpret_cast< csPixelCoord * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelCoord_x_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->x = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelCoord_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelCoord *arg1 = (csPixelCoord *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelCoord_x_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelCoord, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelCoord_x_get" "', argument " "1"" of type '" "csPixelCoord *""'"); 
  }
  arg1 = reinterpret_cast< csPixelCoord * >(argp1);
  result = (int) ((arg1)->x);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelCoord_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelCoord *arg1 = (csPixelCoord *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelCoord_y_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelCoord, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelCoord_y_set" "', argument " "1"" of type '" "csPixelCoord *""'"); 
  }
  arg1 = reinterpret_cast< csPixelCoord * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelCoord_y_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->y = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelCoord_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelCoord *arg1 = (csPixelCoord *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelCoord_y_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelCoord, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelCoord_y_get" "', argument " "1"" of type '" "csPixelCoord *""'"); 
  }
  arg1 = reinterpret_cast< csPixelCoord * >(argp1);
  result = (int) ((arg1)->y);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPixelCoord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelCoord *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csPixelCoord")) SWIG_fail;
  result = (csPixelCoord *)new csPixelCoord();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPixelCoord, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPixelCoord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelCoord *arg1 = (csPixelCoord *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPixelCoord",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelCoord, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPixelCoord" "', argument " "1"" of type '" "csPixelCoord *""'"); 
  }
  arg1 = reinterpret_cast< csPixelCoord * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPixelCoord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPixelCoord, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csPixelFormat_RedMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  uint32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_RedMask_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_RedMask_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPixelFormat_RedMask_set" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPixelFormat_RedMask_set" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->RedMask = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_RedMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_RedMask_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_RedMask_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result =  ((arg1)->RedMask);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_GreenMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  uint32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_GreenMask_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_GreenMask_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPixelFormat_GreenMask_set" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPixelFormat_GreenMask_set" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->GreenMask = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_GreenMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_GreenMask_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_GreenMask_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result =  ((arg1)->GreenMask);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_BlueMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  uint32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_BlueMask_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_BlueMask_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPixelFormat_BlueMask_set" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPixelFormat_BlueMask_set" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->BlueMask = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_BlueMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_BlueMask_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_BlueMask_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result =  ((arg1)->BlueMask);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_AlphaMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  uint32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_AlphaMask_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_AlphaMask_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPixelFormat_AlphaMask_set" "', argument " "2"" of type '" "uint32""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPixelFormat_AlphaMask_set" "', argument " "2"" of type '" "uint32""'");
    } else {
      uint32 * temp = reinterpret_cast< uint32 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  if (arg1) (arg1)->AlphaMask = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_AlphaMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  uint32 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_AlphaMask_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_AlphaMask_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result =  ((arg1)->AlphaMask);
  resultobj = SWIG_NewPointerObj((new uint32(static_cast< const uint32& >(result))), SWIGTYPE_p_uint32_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_RedShift_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_RedShift_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_RedShift_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_RedShift_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->RedShift = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_RedShift_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_RedShift_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_RedShift_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->RedShift);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_GreenShift_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_GreenShift_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_GreenShift_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_GreenShift_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->GreenShift = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_GreenShift_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_GreenShift_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_GreenShift_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->GreenShift);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_BlueShift_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_BlueShift_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_BlueShift_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_BlueShift_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->BlueShift = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_BlueShift_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_BlueShift_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_BlueShift_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->BlueShift);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_AlphaShift_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_AlphaShift_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_AlphaShift_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_AlphaShift_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->AlphaShift = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_AlphaShift_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_AlphaShift_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_AlphaShift_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->AlphaShift);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_RedBits_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_RedBits_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_RedBits_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_RedBits_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->RedBits = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_RedBits_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_RedBits_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_RedBits_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->RedBits);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_GreenBits_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_GreenBits_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_GreenBits_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_GreenBits_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->GreenBits = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_GreenBits_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_GreenBits_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_GreenBits_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->GreenBits);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_BlueBits_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_BlueBits_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_BlueBits_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_BlueBits_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->BlueBits = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_BlueBits_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_BlueBits_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_BlueBits_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->BlueBits);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_AlphaBits_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_AlphaBits_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_AlphaBits_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_AlphaBits_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->AlphaBits = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_AlphaBits_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_AlphaBits_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_AlphaBits_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->AlphaBits);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_PalEntries_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_PalEntries_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_PalEntries_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_PalEntries_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->PalEntries = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_PalEntries_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_PalEntries_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_PalEntries_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->PalEntries);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_PixelBytes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixelFormat_PixelBytes_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_PixelBytes_set" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixelFormat_PixelBytes_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->PixelBytes = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_PixelBytes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_PixelBytes_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_PixelBytes_get" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  result = (int) ((arg1)->PixelBytes);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixelFormat_complete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixelFormat_complete",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixelFormat_complete" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  (arg1)->complete();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPixelFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csPixelFormat")) SWIG_fail;
  result = (csPixelFormat *)new csPixelFormat();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPixelFormat, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPixelFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csPixelFormat *arg1 = (csPixelFormat *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPixelFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csPixelFormat, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPixelFormat" "', argument " "1"" of type '" "csPixelFormat *""'"); 
  }
  arg1 = reinterpret_cast< csPixelFormat * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPixelFormat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csPixelFormat, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csImageArea_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageArea_x_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_x_set" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageArea_x_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->x = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageArea_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageArea_x_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_x_get" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  result = (int) ((arg1)->x);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageArea_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageArea_y_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_y_set" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageArea_y_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->y = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageArea_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageArea_y_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_y_get" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  result = (int) ((arg1)->y);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageArea_w_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageArea_w_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_w_set" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageArea_w_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->w = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageArea_w_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageArea_w_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_w_get" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  result = (int) ((arg1)->w);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageArea_h_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageArea_h_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_h_set" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageArea_h_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->h = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageArea_h_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageArea_h_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_h_get" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  result = (int) ((arg1)->h);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageArea_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageArea_data_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_data_set" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csImageArea_data_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = buf2;
  if (arg1->data) delete[] arg1->data;
  if (arg2) {
    size_t size = strlen(arg2) + 1;
    arg1->data = reinterpret_cast< char* >(memcpy((new char[size]), arg2, sizeof(char)*(size)));
  } else {
    arg1->data = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageArea_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageArea_data_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageArea_data_get" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  result = (char *) ((arg1)->data);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csImageArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  csImageArea *result = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_csImageArea",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csImageArea" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csImageArea" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csImageArea" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csImageArea" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (csImageArea *)new csImageArea(arg1,arg2,arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csImageArea, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csImageArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageArea *arg1 = (csImageArea *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csImageArea",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageArea, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csImageArea" "', argument " "1"" of type '" "csImageArea *""'"); 
  }
  arg1 = reinterpret_cast< csImageArea * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csImageArea_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csImageArea, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iOffscreenCanvasCallback_FinishDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iOffscreenCanvasCallback *arg1 = (iOffscreenCanvasCallback *) 0 ;
  iGraphics2D *arg2 = (iGraphics2D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iOffscreenCanvasCallback_FinishDraw",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iOffscreenCanvasCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iOffscreenCanvasCallback_FinishDraw" "', argument " "1"" of type '" "iOffscreenCanvasCallback *""'"); 
  }
  arg1 = reinterpret_cast< iOffscreenCanvasCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iOffscreenCanvasCallback_FinishDraw" "', argument " "2"" of type '" "iGraphics2D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics2D * >(argp2);
  (arg1)->FinishDraw(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iOffscreenCanvasCallback_SetRGB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iOffscreenCanvasCallback *arg1 = (iOffscreenCanvasCallback *) 0 ;
  iGraphics2D *arg2 = (iGraphics2D *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iOffscreenCanvasCallback_SetRGB",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iOffscreenCanvasCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iOffscreenCanvasCallback_SetRGB" "', argument " "1"" of type '" "iOffscreenCanvasCallback *""'"); 
  }
  arg1 = reinterpret_cast< iOffscreenCanvasCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iOffscreenCanvasCallback_SetRGB" "', argument " "2"" of type '" "iGraphics2D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics2D * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iOffscreenCanvasCallback_SetRGB" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iOffscreenCanvasCallback_SetRGB" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iOffscreenCanvasCallback_SetRGB" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iOffscreenCanvasCallback_SetRGB" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iOffscreenCanvasCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iOffscreenCanvasCallback *arg1 = (iOffscreenCanvasCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iOffscreenCanvasCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iOffscreenCanvasCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iOffscreenCanvasCallback" "', argument " "1"" of type '" "iOffscreenCanvasCallback *""'"); 
  }
  arg1 = reinterpret_cast< iOffscreenCanvasCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iOffscreenCanvasCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iOffscreenCanvasCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGraphics2D_Open(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_Open",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Open" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (bool)(arg1)->Open();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_Close",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Close" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  (arg1)->Close();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetWidth",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetWidth" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (int)(arg1)->GetWidth();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetHeight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetHeight" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (int)(arg1)->GetHeight();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetPage",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetPage" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (int)(arg1)->GetPage();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_DoubleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  bool arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_DoubleBuffer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_DoubleBuffer" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_DoubleBuffer" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  result = (bool)(arg1)->DoubleBuffer(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetDoubleBufferState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetDoubleBufferState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetDoubleBufferState" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (bool)(arg1)->GetDoubleBufferState();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetPixelFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  csPixelFormat *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetPixelFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetPixelFormat" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (csPixelFormat *)(arg1)->GetPixelFormat();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPixelFormat, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetPixelBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetPixelBytes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetPixelBytes" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (int)(arg1)->GetPixelBytes();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetPalEntryCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetPalEntryCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetPalEntryCount" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (int)(arg1)->GetPalEntryCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetPalette(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  csRGBpixel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetPalette",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetPalette" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (csRGBpixel *)(arg1)->GetPalette();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRGBpixel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetRGB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics2D_SetRGB",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetRGB" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_SetRGB" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_SetRGB" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_SetRGB" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_SetRGB" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->SetRGB(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_FindRGB__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics2D_FindRGB",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_FindRGB" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_FindRGB" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_FindRGB" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_FindRGB" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_FindRGB" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (int)(arg1)->FindRGB(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_FindRGB__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics2D_FindRGB",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_FindRGB" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_FindRGB" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_FindRGB" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_FindRGB" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (int)(arg1)->FindRGB(arg2,arg3,arg4);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_FindRGB(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iGraphics2D_FindRGB__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iGraphics2D_FindRGB__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGraphics2D_FindRGB'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetRGB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  int *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  int temp4 ;
  int res4 = SWIG_TMPOBJ ;
  int temp5 ;
  int res5 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  arg3 = &temp3;
  arg4 = &temp4;
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_GetRGB",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetRGB" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_GetRGB" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->GetRGB(arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetRGBA(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  int *arg5 = 0 ;
  int *arg6 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  int temp4 ;
  int res4 = SWIG_TMPOBJ ;
  int temp5 ;
  int res5 = SWIG_TMPOBJ ;
  int temp6 ;
  int res6 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  arg3 = &temp3;
  arg4 = &temp4;
  arg5 = &temp5;
  arg6 = &temp6;
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_GetRGBA",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetRGBA" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_GetRGBA" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->GetRGB(arg2,*arg3,*arg4,*arg5,*arg6);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res6)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6)));
  } else {
    int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetClipRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics2D_SetClipRect",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetClipRect" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_SetClipRect" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_SetClipRect" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_SetClipRect" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_SetClipRect" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->SetClipRect(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetClipRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  int *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics2D_GetClipRect",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetClipRect" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_GetClipRect" "', argument " "2"" of type '" "int &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics2D_GetClipRect" "', argument " "2"" of type '" "int &""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics2D_GetClipRect" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics2D_GetClipRect" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iGraphics2D_GetClipRect" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics2D_GetClipRect" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iGraphics2D_GetClipRect" "', argument " "5"" of type '" "int &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics2D_GetClipRect" "', argument " "5"" of type '" "int &""'"); 
  }
  arg5 = reinterpret_cast< int * >(argp5);
  (arg1)->GetClipRect(*arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_BeginDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_BeginDraw",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_BeginDraw" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (bool)(arg1)->BeginDraw();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_FinishDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_FinishDraw",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_FinishDraw" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  (arg1)->FinishDraw();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  csRect *arg2 = (csRect *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_Print",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Print" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_Print" "', argument " "2"" of type '" "csRect const *""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Print((csRect const *)arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_Clear",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Clear" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_Clear" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->Clear(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_ClearAll",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_ClearAll" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_ClearAll" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->ClearAll(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_DrawLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  int arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iGraphics2D_DrawLine",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_DrawLine" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_DrawLine" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_DrawLine" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_DrawLine" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_DrawLine" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics2D_DrawLine" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  (arg1)->DrawLine(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_DrawBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iGraphics2D_DrawBox",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_DrawBox" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_DrawBox" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_DrawBox" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_DrawBox" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_DrawBox" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics2D_DrawBox" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  (arg1)->DrawBox(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_ClipLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  float *arg2 = 0 ;
  float *arg3 = 0 ;
  float *arg4 = 0 ;
  float *arg5 = 0 ;
  int arg6 ;
  int arg7 ;
  int arg8 ;
  int arg9 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float temp2 ;
  int res2 = SWIG_TMPOBJ ;
  float temp3 ;
  int res3 = SWIG_TMPOBJ ;
  float temp4 ;
  int res4 = SWIG_TMPOBJ ;
  float temp5 ;
  int res5 = SWIG_TMPOBJ ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  arg4 = &temp4;
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics2D_ClipLine",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_ClipLine" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode6 = SWIG_AsVal_int(obj1, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics2D_ClipLine" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  ecode7 = SWIG_AsVal_int(obj2, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iGraphics2D_ClipLine" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  ecode8 = SWIG_AsVal_int(obj3, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iGraphics2D_ClipLine" "', argument " "8"" of type '" "int""'");
  } 
  arg8 = static_cast< int >(val8);
  ecode9 = SWIG_AsVal_int(obj4, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "iGraphics2D_ClipLine" "', argument " "9"" of type '" "int""'");
  } 
  arg9 = static_cast< int >(val9);
  result = (bool)(arg1)->ClipLine(*arg2,*arg3,*arg4,*arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_DrawPixel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics2D_DrawPixel",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_DrawPixel" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_DrawPixel" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_DrawPixel" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_DrawPixel" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->DrawPixel(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_DrawPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  csPixelCoord *arg2 = (csPixelCoord *) 0 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics2D_DrawPixels",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_DrawPixels" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csPixelCoord, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_DrawPixels" "', argument " "2"" of type '" "csPixelCoord const *""'"); 
  }
  arg2 = reinterpret_cast< csPixelCoord * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_DrawPixels" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_DrawPixels" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->DrawPixels((csPixelCoord const *)arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Blit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  unsigned char *arg6 = (unsigned char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iGraphics2D_Blit",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Blit" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_Blit" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_Blit" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_Blit" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_Blit" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iGraphics2D_Blit" "', argument " "6"" of type '" "unsigned char const *""'"); 
  }
  arg6 = reinterpret_cast< unsigned char * >(argp6);
  (arg1)->Blit(arg2,arg3,arg4,arg5,(unsigned char const *)arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetPixelAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  unsigned char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics2D_GetPixelAt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetPixelAt" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_GetPixelAt" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_GetPixelAt" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (unsigned char *)(arg1)->GetPixelAt(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetPixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  uint8 *arg4 = 0 ;
  uint8 *arg5 = 0 ;
  uint8 *arg6 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  uint8 temp4 ;
  int res4 = SWIG_TMPOBJ ;
  uint8 temp5 ;
  int res5 = SWIG_TMPOBJ ;
  uint8 temp6 ;
  int res6 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  arg4 = &temp4;
  arg5 = &temp5;
  arg6 = &temp6;
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics2D_GetPixel",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetPixel" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_GetPixel" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_GetPixel" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->GetPixel(arg2,arg3,*arg4,*arg5,*arg6);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_uint8_t, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_uint8_t, new_flags));
  }
  if (SWIG_IsTmpObj(res6)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg6)));
  } else {
    int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_uint8_t, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetPixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  uint8 *arg4 = 0 ;
  uint8 *arg5 = 0 ;
  uint8 *arg6 = 0 ;
  uint8 *arg7 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  uint8 temp4 ;
  int res4 = SWIG_TMPOBJ ;
  uint8 temp5 ;
  int res5 = SWIG_TMPOBJ ;
  uint8 temp6 ;
  int res6 = SWIG_TMPOBJ ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  arg4 = &temp4;
  arg5 = &temp5;
  arg6 = &temp6;
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics2D_GetPixel",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetPixel" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_GetPixel" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_GetPixel" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res7 = SWIG_ConvertPtr(obj3, &argp7, SWIGTYPE_p_uint8_t,  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iGraphics2D_GetPixel" "', argument " "7"" of type '" "uint8 &""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics2D_GetPixel" "', argument " "7"" of type '" "uint8 &""'"); 
  }
  arg7 = reinterpret_cast< uint8 * >(argp7);
  (arg1)->GetPixel(arg2,arg3,*arg4,*arg5,*arg6,*arg7);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_uint8_t, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_uint8_t, new_flags));
  }
  if (SWIG_IsTmpObj(res6)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg6)));
  } else {
    int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_uint8_t, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetPixel(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iGraphics2D_GetPixel__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_uint8_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iGraphics2D_GetPixel__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGraphics2D_GetPixel'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SaveArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  csImageArea *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics2D_SaveArea",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SaveArea" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_SaveArea" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_SaveArea" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_SaveArea" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_SaveArea" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (csImageArea *)(arg1)->SaveArea(arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csImageArea, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_RestoreArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  csImageArea *arg2 = (csImageArea *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics2D_RestoreArea",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_RestoreArea" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_RestoreArea" "', argument " "2"" of type '" "csImageArea *""'"); 
  }
  arg2 = reinterpret_cast< csImageArea * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_RestoreArea" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->RestoreArea(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_FreeArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  csImageArea *arg2 = (csImageArea *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_FreeArea",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_FreeArea" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csImageArea, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_FreeArea" "', argument " "2"" of type '" "csImageArea *""'"); 
  }
  arg2 = reinterpret_cast< csImageArea * >(argp2);
  (arg1)->FreeArea(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Write__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iFont *arg2 = (iFont *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  uint arg8 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int res7 ;
  char *buf7 = 0 ;
  int alloc7 = 0 ;
  unsigned int val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iGraphics2D_Write",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Write" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_Write" "', argument " "2"" of type '" "iFont *""'"); 
  }
  arg2 = reinterpret_cast< iFont * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_Write" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_Write" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_Write" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics2D_Write" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7);
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iGraphics2D_Write" "', argument " "7"" of type '" "char const *""'");
  }
  arg7 = buf7;
  ecode8 = SWIG_AsVal_unsigned_SS_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iGraphics2D_Write" "', argument " "8"" of type '" "uint""'");
  } 
  arg8 = static_cast< uint >(val8);
  (arg1)->Write(arg2,arg3,arg4,arg5,arg6,(char const *)arg7,arg8);
  resultobj = SWIG_Py_Void();
  if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
  return resultobj;
fail:
  if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Write__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iFont *arg2 = (iFont *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int res7 ;
  char *buf7 = 0 ;
  int alloc7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iGraphics2D_Write",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Write" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_Write" "', argument " "2"" of type '" "iFont *""'"); 
  }
  arg2 = reinterpret_cast< iFont * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_Write" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_Write" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_Write" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics2D_Write" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7);
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iGraphics2D_Write" "', argument " "7"" of type '" "char const *""'");
  }
  arg7 = buf7;
  (arg1)->Write(arg2,arg3,arg4,arg5,arg6,(char const *)arg7);
  resultobj = SWIG_Py_Void();
  if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
  return resultobj;
fail:
  if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_WriteBaseline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iFont *arg2 = (iFont *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int res7 ;
  char *buf7 = 0 ;
  int alloc7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iGraphics2D_WriteBaseline",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_WriteBaseline" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_WriteBaseline" "', argument " "2"" of type '" "iFont *""'"); 
  }
  arg2 = reinterpret_cast< iFont * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_WriteBaseline" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_WriteBaseline" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_WriteBaseline" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics2D_WriteBaseline" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7);
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iGraphics2D_WriteBaseline" "', argument " "7"" of type '" "char const *""'");
  }
  arg7 = buf7;
  (arg1)->WriteBaseline(arg2,arg3,arg4,arg5,arg6,(char const *)arg7);
  resultobj = SWIG_Py_Void();
  if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
  return resultobj;
fail:
  if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_AllowResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_AllowResize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_AllowResize" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_AllowResize" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->AllowResize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics2D_Resize",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Resize" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_Resize" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_Resize" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)(arg1)->Resize(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetFontServer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iFontServer *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetFontServer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetFontServer" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (iFontServer *)(arg1)->GetFontServer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iFontServer, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_PerformExtension__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_PerformExtension",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_PerformExtension" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_PerformExtension" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->PerformExtension((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_PerformExtension(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,2);
  varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1);
  resultobj = _wrap_iGraphics2D_PerformExtension__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_ScreenShot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  SwigValueWrapper<csPtr<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_ScreenShot",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_ScreenShot" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (arg1)->ScreenShot();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csPtr<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetNativeWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iNativeWindow *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetNativeWindow",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetNativeWindow" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (iNativeWindow *)(arg1)->GetNativeWindow();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iNativeWindow, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetFullScreen",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetFullScreen" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (bool)(arg1)->GetFullScreen();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_SetFullScreen",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetFullScreen" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_SetFullScreen" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetFullScreen(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetMousePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  int arg2 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics2D_SetMousePosition",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetMousePosition" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_SetMousePosition" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_SetMousePosition" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)(arg1)->SetMousePosition(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetMouseCursor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  csMouseCursorID arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_SetMouseCursor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "2"" of type '" "csMouseCursorID""'");
  } 
  arg2 = static_cast< csMouseCursorID >(val2);
  result = (bool)(arg1)->SetMouseCursor(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetMouseCursor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  csRGBcolor *arg3 = (csRGBcolor *) 0 ;
  int arg4 ;
  int arg5 ;
  csRGBcolor arg6 ;
  csRGBcolor arg7 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  void *argp6 ;
  int res6 = 0 ;
  void *argp7 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iGraphics2D_SetMouseCursor",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "3"" of type '" "csRGBcolor const *""'"); 
  }
  arg3 = reinterpret_cast< csRGBcolor * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  {
    res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csRGBcolor,  0  | 0);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "6"" of type '" "csRGBcolor""'"); 
    }  
    if (!argp6) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics2D_SetMouseCursor" "', argument " "6"" of type '" "csRGBcolor""'");
    } else {
      csRGBcolor * temp = reinterpret_cast< csRGBcolor * >(argp6);
      arg6 = *temp;
      if (SWIG_IsNewObj(res6)) delete temp;
    }
  }
  {
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_csRGBcolor,  0  | 0);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "7"" of type '" "csRGBcolor""'"); 
    }  
    if (!argp7) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics2D_SetMouseCursor" "', argument " "7"" of type '" "csRGBcolor""'");
    } else {
      csRGBcolor * temp = reinterpret_cast< csRGBcolor * >(argp7);
      arg7 = *temp;
      if (SWIG_IsNewObj(res7)) delete temp;
    }
  }
  result = (bool)(arg1)->SetMouseCursor(arg2,(csRGBcolor const *)arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetMouseCursor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  csRGBcolor *arg3 = (csRGBcolor *) 0 ;
  int arg4 ;
  int arg5 ;
  csRGBcolor arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  void *argp6 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iGraphics2D_SetMouseCursor",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "3"" of type '" "csRGBcolor const *""'"); 
  }
  arg3 = reinterpret_cast< csRGBcolor * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  {
    res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csRGBcolor,  0  | 0);
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "6"" of type '" "csRGBcolor""'"); 
    }  
    if (!argp6) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics2D_SetMouseCursor" "', argument " "6"" of type '" "csRGBcolor""'");
    } else {
      csRGBcolor * temp = reinterpret_cast< csRGBcolor * >(argp6);
      arg6 = *temp;
      if (SWIG_IsNewObj(res6)) delete temp;
    }
  }
  result = (bool)(arg1)->SetMouseCursor(arg2,(csRGBcolor const *)arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetMouseCursor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  csRGBcolor *arg3 = (csRGBcolor *) 0 ;
  int arg4 ;
  int arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics2D_SetMouseCursor",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "3"" of type '" "csRGBcolor const *""'"); 
  }
  arg3 = reinterpret_cast< csRGBcolor * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (bool)(arg1)->SetMouseCursor(arg2,(csRGBcolor const *)arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetMouseCursor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  csRGBcolor *arg3 = (csRGBcolor *) 0 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics2D_SetMouseCursor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "3"" of type '" "csRGBcolor const *""'"); 
  }
  arg3 = reinterpret_cast< csRGBcolor * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->SetMouseCursor(arg2,(csRGBcolor const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetMouseCursor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  csRGBcolor *arg3 = (csRGBcolor *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics2D_SetMouseCursor",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "3"" of type '" "csRGBcolor const *""'"); 
  }
  arg3 = reinterpret_cast< csRGBcolor * >(argp3);
  result = (bool)(arg1)->SetMouseCursor(arg2,(csRGBcolor const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetMouseCursor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_SetMouseCursor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_SetMouseCursor" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  result = (bool)(arg1)->SetMouseCursor(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetMouseCursor(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iGraphics2D_SetMouseCursor__SWIG_6(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iGraphics2D_SetMouseCursor__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRGBcolor, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iGraphics2D_SetMouseCursor__SWIG_5(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRGBcolor, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iGraphics2D_SetMouseCursor__SWIG_4(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRGBcolor, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iGraphics2D_SetMouseCursor__SWIG_3(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRGBcolor, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_csRGBcolor, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iGraphics2D_SetMouseCursor__SWIG_2(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRGBcolor, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_csRGBcolor, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_csRGBcolor, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iGraphics2D_SetMouseCursor__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGraphics2D_SetMouseCursor'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_SetGamma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  float arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics2D_SetGamma",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_SetGamma" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics2D_SetGamma" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  result = (bool)(arg1)->SetGamma(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetGamma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetGamma",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetGamma" "', argument " "1"" of type '" "iGraphics2D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (float)((iGraphics2D const *)arg1)->GetGamma();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics2D_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_GetName" "', argument " "1"" of type '" "iGraphics2D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  result = (char *)((iGraphics2D const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_CreateOffscreenCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  void *arg2 = (void *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  iOffscreenCanvasCallback *arg6 = (iOffscreenCanvasCallback *) 0 ;
  SwigValueWrapper<csPtr<iGraphics2D > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iGraphics2D_CreateOffscreenCanvas",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_CreateOffscreenCanvas" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_CreateOffscreenCanvas" "', argument " "2"" of type '" "void *""'"); 
  }
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_CreateOffscreenCanvas" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_CreateOffscreenCanvas" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_CreateOffscreenCanvas" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_iOffscreenCanvasCallback, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iGraphics2D_CreateOffscreenCanvas" "', argument " "6"" of type '" "iOffscreenCanvasCallback *""'"); 
  }
  arg6 = reinterpret_cast< iOffscreenCanvasCallback * >(argp6);
  result = (arg1)->CreateOffscreenCanvas(arg2,arg3,arg4,arg5,arg6);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iGraphics2D> ref((csPtr<iGraphics2D>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iGraphics2D *)ref), (void *)(iGraphics2D *)ref, "iGraphics2D" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Write__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iFont *arg2 = (iFont *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  wchar_t *arg7 = (wchar_t *) 0 ;
  uint arg8 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  unsigned int val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iGraphics2D_Write",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Write" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_Write" "', argument " "2"" of type '" "iFont *""'"); 
  }
  arg2 = reinterpret_cast< iFont * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_Write" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_Write" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_Write" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics2D_Write" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wchar_t, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iGraphics2D_Write" "', argument " "7"" of type '" "wchar_t const *""'"); 
  }
  arg7 = reinterpret_cast< wchar_t * >(argp7);
  ecode8 = SWIG_AsVal_unsigned_SS_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iGraphics2D_Write" "', argument " "8"" of type '" "uint""'");
  } 
  arg8 = static_cast< uint >(val8);
  (arg1)->Write(arg2,arg3,arg4,arg5,arg6,(wchar_t const *)arg7,arg8);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Write__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  iFont *arg2 = (iFont *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  wchar_t *arg7 = (wchar_t *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iGraphics2D_Write",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D_Write" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D_Write" "', argument " "2"" of type '" "iFont *""'"); 
  }
  arg2 = reinterpret_cast< iFont * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics2D_Write" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics2D_Write" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics2D_Write" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics2D_Write" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wchar_t, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iGraphics2D_Write" "', argument " "7"" of type '" "wchar_t const *""'"); 
  }
  arg7 = reinterpret_cast< wchar_t * >(argp7);
  (arg1)->Write(arg2,arg3,arg4,arg5,arg6,(wchar_t const *)arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_Write(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[9];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 8); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iFont, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_wchar_t, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iGraphics2D_Write__SWIG_3(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iFont, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                int res = SWIG_AsCharPtrAndSize(argv[6], 0, NULL, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_iGraphics2D_Write__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iFont, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_wchar_t, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  {
                    int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    return _wrap_iGraphics2D_Write__SWIG_2(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics2D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iFont, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                int res = SWIG_AsCharPtrAndSize(argv[6], 0, NULL, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  {
                    int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    return _wrap_iGraphics2D_Write__SWIG_0(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGraphics2D_Write'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGraphics2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGraphics2D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGraphics2D" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  delete_iGraphics2D(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iGraphics2D_scfGetVersion")) SWIG_fail;
  result = (int)iGraphics2D_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics2D__PerformExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  PyObject *arg4 = (PyObject *) 0 ;
  PyObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics2D__PerformExtension",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics2D__PerformExtension" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics2D__PerformExtension" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics2D__PerformExtension" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  arg4 = obj3;
  result = (PyObject *)iGraphics2D__PerformExtension(arg1,(char const *)arg2,(char const *)arg3,arg4);
  resultobj = result;
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *iGraphics2D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGraphics2D, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csAlphaMode_autoAlphaMode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csAlphaMode *arg1 = (csAlphaMode *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csAlphaMode_autoAlphaMode_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csAlphaMode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csAlphaMode_autoAlphaMode_set" "', argument " "1"" of type '" "csAlphaMode *""'"); 
  }
  arg1 = reinterpret_cast< csAlphaMode * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csAlphaMode_autoAlphaMode_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->autoAlphaMode = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csAlphaMode_autoAlphaMode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csAlphaMode *arg1 = (csAlphaMode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csAlphaMode_autoAlphaMode_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csAlphaMode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csAlphaMode_autoAlphaMode_get" "', argument " "1"" of type '" "csAlphaMode *""'"); 
  }
  arg1 = reinterpret_cast< csAlphaMode * >(argp1);
  result = (bool) ((arg1)->autoAlphaMode);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csAlphaMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csAlphaMode *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csAlphaMode")) SWIG_fail;
  result = (csAlphaMode *)new csAlphaMode();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csAlphaMode, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csAlphaMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csAlphaMode *arg1 = (csAlphaMode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csAlphaMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csAlphaMode, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csAlphaMode" "', argument " "1"" of type '" "csAlphaMode *""'"); 
  }
  arg1 = reinterpret_cast< csAlphaMode * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csAlphaMode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csAlphaMode, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csGraphics3DCaps_minTexHeight_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGraphics3DCaps_minTexHeight_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_minTexHeight_set" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGraphics3DCaps_minTexHeight_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->minTexHeight = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_minTexHeight_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGraphics3DCaps_minTexHeight_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_minTexHeight_get" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  result = (int) ((arg1)->minTexHeight);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_minTexWidth_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGraphics3DCaps_minTexWidth_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_minTexWidth_set" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGraphics3DCaps_minTexWidth_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->minTexWidth = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_minTexWidth_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGraphics3DCaps_minTexWidth_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_minTexWidth_get" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  result = (int) ((arg1)->minTexWidth);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_maxTexHeight_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGraphics3DCaps_maxTexHeight_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_maxTexHeight_set" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGraphics3DCaps_maxTexHeight_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->maxTexHeight = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_maxTexHeight_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGraphics3DCaps_maxTexHeight_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_maxTexHeight_get" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  result = (int) ((arg1)->maxTexHeight);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_maxTexWidth_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGraphics3DCaps_maxTexWidth_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_maxTexWidth_set" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGraphics3DCaps_maxTexWidth_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->maxTexWidth = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_maxTexWidth_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGraphics3DCaps_maxTexWidth_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_maxTexWidth_get" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  result = (int) ((arg1)->maxTexWidth);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_SupportsPointSprites_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGraphics3DCaps_SupportsPointSprites_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_SupportsPointSprites_set" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGraphics3DCaps_SupportsPointSprites_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->SupportsPointSprites = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_SupportsPointSprites_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGraphics3DCaps_SupportsPointSprites_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_SupportsPointSprites_get" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  result = (bool) ((arg1)->SupportsPointSprites);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_DestinationAlpha_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGraphics3DCaps_DestinationAlpha_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_DestinationAlpha_set" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGraphics3DCaps_DestinationAlpha_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->DestinationAlpha = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_DestinationAlpha_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGraphics3DCaps_DestinationAlpha_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_DestinationAlpha_get" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  result = (bool) ((arg1)->DestinationAlpha);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_StencilShadows_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGraphics3DCaps_StencilShadows_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_StencilShadows_set" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGraphics3DCaps_StencilShadows_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->StencilShadows = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGraphics3DCaps_StencilShadows_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGraphics3DCaps_StencilShadows_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGraphics3DCaps_StencilShadows_get" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  result = (bool) ((arg1)->StencilShadows);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csGraphics3DCaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csGraphics3DCaps")) SWIG_fail;
  result = (csGraphics3DCaps *)new csGraphics3DCaps();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csGraphics3DCaps, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csGraphics3DCaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGraphics3DCaps *arg1 = (csGraphics3DCaps *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csGraphics3DCaps",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGraphics3DCaps, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csGraphics3DCaps" "', argument " "1"" of type '" "csGraphics3DCaps *""'"); 
  }
  arg1 = reinterpret_cast< csGraphics3DCaps * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csGraphics3DCaps_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csGraphics3DCaps, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_meshtype_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csRenderMeshType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_meshtype_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_meshtype_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSimpleRenderMesh_meshtype_set" "', argument " "2"" of type '" "csRenderMeshType""'");
  } 
  arg2 = static_cast< csRenderMeshType >(val2);
  if (arg1) (arg1)->meshtype = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_meshtype_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csRenderMeshType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_meshtype_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_meshtype_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (csRenderMeshType) ((arg1)->meshtype);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_indexCount_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_indexCount_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_indexCount_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSimpleRenderMesh_indexCount_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->indexCount = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_indexCount_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_indexCount_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_indexCount_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (uint) ((arg1)->indexCount);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_indices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  uint *arg2 = (uint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_indices_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_indices_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_int, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSimpleRenderMesh_indices_set" "', argument " "2"" of type '" "uint const *""'"); 
  }
  arg2 = reinterpret_cast< uint * >(argp2);
  if (arg1) (arg1)->indices = (uint const *)arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_indices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  uint *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_indices_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_indices_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (uint *) ((arg1)->indices);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_vertexCount_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_vertexCount_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_vertexCount_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSimpleRenderMesh_vertexCount_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->vertexCount = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_vertexCount_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_vertexCount_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_vertexCount_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (uint) ((arg1)->vertexCount);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_vertices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_vertices_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_vertices_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSimpleRenderMesh_vertices_set" "', argument " "2"" of type '" "csVector3 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->vertices = (csVector3 const *)arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_vertices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_vertices_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_vertices_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (csVector3 *) ((arg1)->vertices);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_texcoords_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csVector2 *arg2 = (csVector2 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_texcoords_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_texcoords_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector2, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSimpleRenderMesh_texcoords_set" "', argument " "2"" of type '" "csVector2 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector2 * >(argp2);
  if (arg1) (arg1)->texcoords = (csVector2 const *)arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_texcoords_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_texcoords_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_texcoords_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (csVector2 *) ((arg1)->texcoords);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_colors_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csVector4 *arg2 = (csVector4 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_colors_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_colors_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector4, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSimpleRenderMesh_colors_set" "', argument " "2"" of type '" "csVector4 const *""'"); 
  }
  arg2 = reinterpret_cast< csVector4 * >(argp2);
  if (arg1) (arg1)->colors = (csVector4 const *)arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_colors_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csVector4 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_colors_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_colors_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (csVector4 *) ((arg1)->colors);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector4, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_texture_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_texture_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_texture_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSimpleRenderMesh_texture_set" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  if (arg1) (arg1)->texture = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_texture_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_texture_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_texture_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (iTextureHandle *) ((arg1)->texture);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_shader_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  iShader *arg2 = (iShader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_shader_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_shader_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iShader, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSimpleRenderMesh_shader_set" "', argument " "2"" of type '" "iShader *""'"); 
  }
  arg2 = reinterpret_cast< iShader * >(argp2);
  if (arg1) (arg1)->shader = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_shader_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  iShader *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_shader_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_shader_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (iShader *) ((arg1)->shader);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShader, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_dynDomain_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  iShaderVariableContext *arg2 = (iShaderVariableContext *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_dynDomain_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_dynDomain_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iShaderVariableContext, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSimpleRenderMesh_dynDomain_set" "', argument " "2"" of type '" "iShaderVariableContext *""'"); 
  }
  arg2 = reinterpret_cast< iShaderVariableContext * >(argp2);
  if (arg1) (arg1)->dynDomain = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_dynDomain_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  iShaderVariableContext *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_dynDomain_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_dynDomain_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (iShaderVariableContext *) ((arg1)->dynDomain);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_alphaType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csAlphaMode *arg2 = (csAlphaMode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_alphaType_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_alphaType_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csAlphaMode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSimpleRenderMesh_alphaType_set" "', argument " "2"" of type '" "csAlphaMode *""'"); 
  }
  arg2 = reinterpret_cast< csAlphaMode * >(argp2);
  if (arg1) (arg1)->alphaType = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_alphaType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csAlphaMode *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_alphaType_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_alphaType_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (csAlphaMode *)& ((arg1)->alphaType);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csAlphaMode, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_z_buf_mode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csZBufMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_z_buf_mode_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_z_buf_mode_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSimpleRenderMesh_z_buf_mode_set" "', argument " "2"" of type '" "csZBufMode""'");
  } 
  arg2 = static_cast< csZBufMode >(val2);
  if (arg1) (arg1)->z_buf_mode = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_z_buf_mode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csZBufMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_z_buf_mode_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_z_buf_mode_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (csZBufMode) ((arg1)->z_buf_mode);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_mixmode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_mixmode_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_mixmode_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csSimpleRenderMesh_mixmode_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->mixmode = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_mixmode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_mixmode_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_mixmode_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (uint) ((arg1)->mixmode);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_object2world_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csReversibleTransform *arg2 = (csReversibleTransform *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csSimpleRenderMesh_object2world_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_object2world_set" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csSimpleRenderMesh_object2world_set" "', argument " "2"" of type '" "csReversibleTransform *""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  if (arg1) (arg1)->object2world = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csSimpleRenderMesh_object2world_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csSimpleRenderMesh_object2world_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csSimpleRenderMesh_object2world_get" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  result = (csReversibleTransform *)& ((arg1)->object2world);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csSimpleRenderMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csSimpleRenderMesh")) SWIG_fail;
  result = (csSimpleRenderMesh *)new csSimpleRenderMesh();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSimpleRenderMesh, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csSimpleRenderMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimpleRenderMesh *arg1 = (csSimpleRenderMesh *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csSimpleRenderMesh",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimpleRenderMesh, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csSimpleRenderMesh" "', argument " "1"" of type '" "csSimpleRenderMesh *""'"); 
  }
  arg1 = reinterpret_cast< csSimpleRenderMesh * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csSimpleRenderMesh_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSimpleRenderMesh, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iGraphics3D_Open(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_Open",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_Open" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (bool)(arg1)->Open();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_Close",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_Close" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  (arg1)->Close();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetDriver2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iGraphics2D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetDriver2D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetDriver2D" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (iGraphics2D *)(arg1)->GetDriver2D();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGraphics2D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetTextureManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iTextureManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetTextureManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetTextureManager" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (iTextureManager *)(arg1)->GetTextureManager();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetDimensions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_SetDimensions",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetDimensions" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_SetDimensions" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_SetDimensions" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetDimensions(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetWidth",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetWidth" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (int)((iGraphics3D const *)arg1)->GetWidth();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetHeight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetHeight" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (int)((iGraphics3D const *)arg1)->GetHeight();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetCaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csGraphics3DCaps *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetCaps",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetCaps" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (csGraphics3DCaps *)((iGraphics3D const *)arg1)->GetCaps();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csGraphics3DCaps, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetPerspectiveCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_SetPerspectiveCenter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetPerspectiveCenter" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_SetPerspectiveCenter" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_SetPerspectiveCenter" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetPerspectiveCenter(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetPerspectiveCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetPerspectiveCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetPerspectiveCenter" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ((iGraphics3D const *)arg1)->GetPerspectiveCenter(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetPerspectiveAspect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_SetPerspectiveAspect",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetPerspectiveAspect" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_SetPerspectiveAspect" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetPerspectiveAspect(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetPerspectiveAspect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetPerspectiveAspect",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetPerspectiveAspect" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (float)((iGraphics3D const *)arg1)->GetPerspectiveAspect();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetRenderTarget__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  bool arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics3D_SetRenderTarget",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetRenderTarget" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_SetRenderTarget" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_SetRenderTarget" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics3D_SetRenderTarget" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->SetRenderTarget(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetRenderTarget__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_SetRenderTarget",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetRenderTarget" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_SetRenderTarget" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_SetRenderTarget" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->SetRenderTarget(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetRenderTarget__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_SetRenderTarget",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetRenderTarget" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_SetRenderTarget" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  (arg1)->SetRenderTarget(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetRenderTarget(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureHandle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iGraphics3D_SetRenderTarget__SWIG_2(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureHandle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iGraphics3D_SetRenderTarget__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureHandle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iGraphics3D_SetRenderTarget__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGraphics3D_SetRenderTarget'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetRenderTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetRenderTarget",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetRenderTarget" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (iTextureHandle *)((iGraphics3D const *)arg1)->GetRenderTarget();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_BeginDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_BeginDraw",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_BeginDraw" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_BeginDraw" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (bool)(arg1)->BeginDraw(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_FinishDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_FinishDraw",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_FinishDraw" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  (arg1)->FinishDraw();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csRect *arg2 = (csRect *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_Print",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_Print" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_Print" "', argument " "2"" of type '" "csRect const *""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Print((csRect const *)arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DrawMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csCoreRenderMesh *arg2 = (csCoreRenderMesh *) 0 ;
  csRenderMeshModes *arg3 = 0 ;
  iShaderVarStack *arg4 = (iShaderVarStack *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics3D_DrawMesh",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_DrawMesh" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csCoreRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_DrawMesh" "', argument " "2"" of type '" "csCoreRenderMesh const *""'"); 
  }
  arg2 = reinterpret_cast< csCoreRenderMesh * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRenderMeshModes,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics3D_DrawMesh" "', argument " "3"" of type '" "csRenderMeshModes const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_DrawMesh" "', argument " "3"" of type '" "csRenderMeshModes const &""'"); 
  }
  arg3 = reinterpret_cast< csRenderMeshModes * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iShaderVarStack, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iGraphics3D_DrawMesh" "', argument " "4"" of type '" "iShaderVarStack const *""'"); 
  }
  arg4 = reinterpret_cast< iShaderVarStack * >(argp4);
  (arg1)->DrawMesh((csCoreRenderMesh const *)arg2,(csRenderMeshModes const &)*arg3,(iShaderVarStack const *)arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DrawSimpleMesh__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csSimpleRenderMesh *arg2 = 0 ;
  uint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_DrawSimpleMesh",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_DrawSimpleMesh" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSimpleRenderMesh,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_DrawSimpleMesh" "', argument " "2"" of type '" "csSimpleRenderMesh const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_DrawSimpleMesh" "', argument " "2"" of type '" "csSimpleRenderMesh const &""'"); 
  }
  arg2 = reinterpret_cast< csSimpleRenderMesh * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_DrawSimpleMesh" "', argument " "3"" of type '" "uint""'");
  } 
  arg3 = static_cast< uint >(val3);
  (arg1)->DrawSimpleMesh((csSimpleRenderMesh const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DrawSimpleMesh__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csSimpleRenderMesh *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_DrawSimpleMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_DrawSimpleMesh" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSimpleRenderMesh,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_DrawSimpleMesh" "', argument " "2"" of type '" "csSimpleRenderMesh const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_DrawSimpleMesh" "', argument " "2"" of type '" "csSimpleRenderMesh const &""'"); 
  }
  arg2 = reinterpret_cast< csSimpleRenderMesh * >(argp2);
  (arg1)->DrawSimpleMesh((csSimpleRenderMesh const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DrawSimpleMesh(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSimpleRenderMesh, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iGraphics3D_DrawSimpleMesh__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csSimpleRenderMesh, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iGraphics3D_DrawSimpleMesh__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGraphics3D_DrawSimpleMesh'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DrawPixmap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  int arg7 ;
  int arg8 ;
  int arg9 ;
  int arg10 ;
  uint8 arg11 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  int val10 ;
  int ecode10 = 0 ;
  void *argp11 ;
  int res11 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  PyObject * obj10 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOO:iGraphics3D_DrawPixmap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_DrawPixmap" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_DrawPixmap" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_DrawPixmap" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics3D_DrawPixmap" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics3D_DrawPixmap" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics3D_DrawPixmap" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iGraphics3D_DrawPixmap" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  ecode8 = SWIG_AsVal_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iGraphics3D_DrawPixmap" "', argument " "8"" of type '" "int""'");
  } 
  arg8 = static_cast< int >(val8);
  ecode9 = SWIG_AsVal_int(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "iGraphics3D_DrawPixmap" "', argument " "9"" of type '" "int""'");
  } 
  arg9 = static_cast< int >(val9);
  ecode10 = SWIG_AsVal_int(obj9, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "iGraphics3D_DrawPixmap" "', argument " "10"" of type '" "int""'");
  } 
  arg10 = static_cast< int >(val10);
  {
    res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res11)) {
      SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "iGraphics3D_DrawPixmap" "', argument " "11"" of type '" "uint8""'"); 
    }  
    if (!argp11) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_DrawPixmap" "', argument " "11"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp11);
      arg11 = *temp;
      if (SWIG_IsNewObj(res11)) delete temp;
    }
  }
  (arg1)->DrawPixmap(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DrawPixmap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  int arg7 ;
  int arg8 ;
  int arg9 ;
  int arg10 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  int val9 ;
  int ecode9 = 0 ;
  int val10 ;
  int ecode10 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:iGraphics3D_DrawPixmap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_DrawPixmap" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_DrawPixmap" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_DrawPixmap" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics3D_DrawPixmap" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics3D_DrawPixmap" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics3D_DrawPixmap" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iGraphics3D_DrawPixmap" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  ecode8 = SWIG_AsVal_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iGraphics3D_DrawPixmap" "', argument " "8"" of type '" "int""'");
  } 
  arg8 = static_cast< int >(val8);
  ecode9 = SWIG_AsVal_int(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "iGraphics3D_DrawPixmap" "', argument " "9"" of type '" "int""'");
  } 
  arg9 = static_cast< int >(val9);
  ecode10 = SWIG_AsVal_int(obj9, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "iGraphics3D_DrawPixmap" "', argument " "10"" of type '" "int""'");
  } 
  arg10 = static_cast< int >(val10);
  (arg1)->DrawPixmap(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DrawPixmap(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[12];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 11); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 10) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureHandle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_int(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_int(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    {
                      int res = SWIG_AsVal_int(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      {
                        int res = SWIG_AsVal_int(argv[9], NULL);
                        _v = SWIG_CheckState(res);
                      }
                      if (_v) {
                        return _wrap_iGraphics3D_DrawPixmap__SWIG_1(self, args);
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 11) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTextureHandle, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_int(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_int(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    {
                      int res = SWIG_AsVal_int(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      {
                        int res = SWIG_AsVal_int(argv[9], NULL);
                        _v = SWIG_CheckState(res);
                      }
                      if (_v) {
                        int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_uint8_t, 0);
                        _v = SWIG_CheckState(res);
                        if (_v) {
                          return _wrap_iGraphics3D_DrawPixmap__SWIG_0(self, args);
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGraphics3D_DrawPixmap'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DrawLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics3D_DrawLine",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_DrawLine" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_DrawLine" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_DrawLine" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics3D_DrawLine" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_DrawLine" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics3D_DrawLine" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics3D_DrawLine" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->DrawLine((csVector3 const &)*arg2,(csVector3 const &)*arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_ActivateBuffers__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csRenderBufferHolder *arg2 = (csRenderBufferHolder *) 0 ;
  csRenderBufferName *arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_ActivateBuffers",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_ActivateBuffers" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csRenderBufferHolder, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_ActivateBuffers" "', argument " "2"" of type '" "csRenderBufferHolder *""'"); 
  }
  arg2 = reinterpret_cast< csRenderBufferHolder * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csRenderBufferName, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics3D_ActivateBuffers" "', argument " "3"" of type '" "csRenderBufferName [15+1]""'"); 
  } 
  arg3 = reinterpret_cast< csRenderBufferName * >(argp3);
  result = (bool)(arg1)->ActivateBuffers(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_ActivateBuffers__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csVertexAttrib *arg2 = (csVertexAttrib *) 0 ;
  iRenderBuffer **arg3 = (iRenderBuffer **) 0 ;
  unsigned int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics3D_ActivateBuffers",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_ActivateBuffers" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVertexAttrib, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_ActivateBuffers" "', argument " "2"" of type '" "csVertexAttrib *""'"); 
  }
  arg2 = reinterpret_cast< csVertexAttrib * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_iRenderBuffer, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics3D_ActivateBuffers" "', argument " "3"" of type '" "iRenderBuffer **""'"); 
  }
  arg3 = reinterpret_cast< iRenderBuffer ** >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics3D_ActivateBuffers" "', argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  result = (bool)(arg1)->ActivateBuffers(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_ActivateBuffers(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csRenderBufferHolder, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRenderBufferName, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iGraphics3D_ActivateBuffers__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csVertexAttrib, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_iRenderBuffer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iGraphics3D_ActivateBuffers__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iGraphics3D_ActivateBuffers'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DeactivateBuffers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csVertexAttrib *arg2 = (csVertexAttrib *) 0 ;
  unsigned int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_DeactivateBuffers",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_DeactivateBuffers" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVertexAttrib, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_DeactivateBuffers" "', argument " "2"" of type '" "csVertexAttrib *""'"); 
  }
  arg2 = reinterpret_cast< csVertexAttrib * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_DeactivateBuffers" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  (arg1)->DeactivateBuffers(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetTextureState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int *arg2 = (int *) 0 ;
  iTextureHandle **arg3 = (iTextureHandle **) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iGraphics3D_SetTextureState",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetTextureState" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_SetTextureState" "', argument " "2"" of type '" "int *""'"); 
  }
  arg2 = reinterpret_cast< int * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics3D_SetTextureState" "', argument " "3"" of type '" "iTextureHandle **""'"); 
  }
  arg3 = reinterpret_cast< iTextureHandle ** >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics3D_SetTextureState" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->SetTextureState(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetClipper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iClipper2D *arg2 = (iClipper2D *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_SetClipper",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetClipper" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iClipper2D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_SetClipper" "', argument " "2"" of type '" "iClipper2D *""'"); 
  }
  arg2 = reinterpret_cast< iClipper2D * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_SetClipper" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetClipper(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetClipper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iClipper2D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetClipper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetClipper" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (iClipper2D *)(arg1)->GetClipper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iClipper2D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetClipType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetClipType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetClipType" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (int)((iGraphics3D const *)arg1)->GetClipType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetNearPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csPlane3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_SetNearPlane",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetNearPlane" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_SetNearPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_SetNearPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  (arg1)->SetNearPlane((csPlane3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_ResetNearPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_ResetNearPlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_ResetNearPlane" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  (arg1)->ResetNearPlane();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetNearPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csPlane3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetNearPlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetNearPlane" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  {
    csPlane3 const &_result_ref = ((iGraphics3D const *)arg1)->GetNearPlane();
    result = (csPlane3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csPlane3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_HasNearPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_HasNearPlane",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_HasNearPlane" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (bool)((iGraphics3D const *)arg1)->HasNearPlane();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetRenderState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  G3D_RENDERSTATEOPTION arg2 ;
  long arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_SetRenderState",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetRenderState" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_SetRenderState" "', argument " "2"" of type '" "G3D_RENDERSTATEOPTION""'");
  } 
  arg2 = static_cast< G3D_RENDERSTATEOPTION >(val2);
  ecode3 = SWIG_AsVal_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_SetRenderState" "', argument " "3"" of type '" "long""'");
  } 
  arg3 = static_cast< long >(val3);
  result = (bool)(arg1)->SetRenderState(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetRenderState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  G3D_RENDERSTATEOPTION arg2 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_GetRenderState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetRenderState" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_GetRenderState" "', argument " "2"" of type '" "G3D_RENDERSTATEOPTION""'");
  } 
  arg2 = static_cast< G3D_RENDERSTATEOPTION >(val2);
  result = (long)((iGraphics3D const *)arg1)->GetRenderState(arg2);
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetOption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_SetOption",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetOption" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_SetOption" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics3D_SetOption" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->SetOption((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetWriteMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  bool arg2 ;
  bool arg3 ;
  bool arg4 ;
  bool arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics3D_SetWriteMask",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetWriteMask" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_SetWriteMask" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_SetWriteMask" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics3D_SetWriteMask" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iGraphics3D_SetWriteMask" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  (arg1)->SetWriteMask(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetWriteMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  bool *arg2 = 0 ;
  bool *arg3 = 0 ;
  bool *arg4 = 0 ;
  bool *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics3D_GetWriteMask",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetWriteMask" "', argument " "1"" of type '" "iGraphics3D const *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_GetWriteMask" "', argument " "2"" of type '" "bool &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_GetWriteMask" "', argument " "2"" of type '" "bool &""'"); 
  }
  arg2 = reinterpret_cast< bool * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics3D_GetWriteMask" "', argument " "3"" of type '" "bool &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_GetWriteMask" "', argument " "3"" of type '" "bool &""'"); 
  }
  arg3 = reinterpret_cast< bool * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iGraphics3D_GetWriteMask" "', argument " "4"" of type '" "bool &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_GetWriteMask" "', argument " "4"" of type '" "bool &""'"); 
  }
  arg4 = reinterpret_cast< bool * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iGraphics3D_GetWriteMask" "', argument " "5"" of type '" "bool &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_GetWriteMask" "', argument " "5"" of type '" "bool &""'"); 
  }
  arg5 = reinterpret_cast< bool * >(argp5);
  ((iGraphics3D const *)arg1)->GetWriteMask(*arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetZMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csZBufMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_SetZMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetZMode" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_SetZMode" "', argument " "2"" of type '" "csZBufMode""'");
  } 
  arg2 = static_cast< csZBufMode >(val2);
  (arg1)->SetZMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetZMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csZBufMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetZMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetZMode" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  result = (csZBufMode)(arg1)->GetZMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_EnableZOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_EnableZOffset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_EnableZOffset" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  (arg1)->EnableZOffset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_DisableZOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_DisableZOffset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_DisableZOffset" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  (arg1)->DisableZOffset();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetShadowState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_SetShadowState",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetShadowState" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_SetShadowState" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetShadowState(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetZBuffValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int arg2 ;
  int arg3 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iGraphics3D_GetZBuffValue",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetZBuffValue" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_GetZBuffValue" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_GetZBuffValue" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (float)(arg1)->GetZBuffValue(arg2,arg3);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_OpenPortal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  size_t arg2 ;
  csVector2 *arg3 = (csVector2 *) 0 ;
  csPlane3 *arg4 = 0 ;
  csFlags arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iGraphics3D_OpenPortal",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_OpenPortal" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_OpenPortal" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iGraphics3D_OpenPortal" "', argument " "3"" of type '" "csVector2 const *""'"); 
  }
  arg3 = reinterpret_cast< csVector2 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iGraphics3D_OpenPortal" "', argument " "4"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_OpenPortal" "', argument " "4"" of type '" "csPlane3 const &""'"); 
  }
  arg4 = reinterpret_cast< csPlane3 * >(argp4);
  {
    res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csFlags,  0  | 0);
    if (!SWIG_IsOK(res5)) {
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iGraphics3D_OpenPortal" "', argument " "5"" of type '" "csFlags""'"); 
    }  
    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_OpenPortal" "', argument " "5"" of type '" "csFlags""'");
    } else {
      csFlags * temp = reinterpret_cast< csFlags * >(argp5);
      arg5 = *temp;
      if (SWIG_IsNewObj(res5)) delete temp;
    }
  }
  (arg1)->OpenPortal(arg2,(csVector2 const *)arg3,(csPlane3 const &)*arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_ClosePortal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_ClosePortal",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_ClosePortal" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  (arg1)->ClosePortal();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_CreateHalo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  unsigned char *arg5 = (unsigned char *) 0 ;
  int arg6 ;
  int arg7 ;
  iHalo *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iGraphics3D_CreateHalo",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_CreateHalo" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iGraphics3D_CreateHalo" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iGraphics3D_CreateHalo" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iGraphics3D_CreateHalo" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iGraphics3D_CreateHalo" "', argument " "5"" of type '" "unsigned char *""'"); 
  }
  arg5 = reinterpret_cast< unsigned char * >(argp5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iGraphics3D_CreateHalo" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iGraphics3D_CreateHalo" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  result = (iHalo *)(arg1)->CreateHalo(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iHalo, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_RemoveFromCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iRendererLightmap *arg2 = (iRendererLightmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_RemoveFromCache",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_RemoveFromCache" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRendererLightmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_RemoveFromCache" "', argument " "2"" of type '" "iRendererLightmap *""'"); 
  }
  arg2 = reinterpret_cast< iRendererLightmap * >(argp2);
  (arg1)->RemoveFromCache(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_SetWorldToCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csReversibleTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_SetWorldToCamera",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_SetWorldToCamera" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csReversibleTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_SetWorldToCamera" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iGraphics3D_SetWorldToCamera" "', argument " "2"" of type '" "csReversibleTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csReversibleTransform * >(argp2);
  (arg1)->SetWorldToCamera((csReversibleTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_PerformExtension__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iGraphics3D_PerformExtension",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_PerformExtension" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iGraphics3D_PerformExtension" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->PerformExtension((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_PerformExtension(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,2);
  varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1);
  resultobj = _wrap_iGraphics3D_PerformExtension__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_GetWorldToCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csReversibleTransform *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iGraphics3D_GetWorldToCamera",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iGraphics3D_GetWorldToCamera" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  {
    csReversibleTransform const &_result_ref = (arg1)->GetWorldToCamera();
    result = (csReversibleTransform *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iGraphics3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iGraphics3D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iGraphics3D" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  delete_iGraphics3D(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iGraphics3D_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iGraphics3D_scfGetVersion")) SWIG_fail;
  result = (int)iGraphics3D_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iGraphics3D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iGraphics3D, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iNativeWindowManager_Alert__SWIG_0__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iNativeWindowManager *arg1 = (iNativeWindowManager *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  void *arg6 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iNativeWindowManager_Alert",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iNativeWindowManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iNativeWindowManager_Alert" "', argument " "1"" of type '" "iNativeWindowManager *""'"); 
  }
  arg1 = reinterpret_cast< iNativeWindowManager * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iNativeWindowManager_Alert" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iNativeWindowManager_Alert" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iNativeWindowManager_Alert" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iNativeWindowManager_Alert" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  (arg1)->Alert(arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6);
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iNativeWindowManager_Alert__SWIG_0(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,5);
  varargs = PyTuple_GetSlice(args,5,PyTuple_Size(args)+1);
  resultobj = _wrap_iNativeWindowManager_Alert__SWIG_0__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iNativeWindowManager_Alert__SWIG_1__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iNativeWindowManager *arg1 = (iNativeWindowManager *) 0 ;
  int arg2 ;
  wchar_t *arg3 = (wchar_t *) 0 ;
  wchar_t *arg4 = (wchar_t *) 0 ;
  wchar_t *arg5 = (wchar_t *) 0 ;
  void *arg6 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iNativeWindowManager_Alert",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iNativeWindowManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iNativeWindowManager_Alert" "', argument " "1"" of type '" "iNativeWindowManager *""'"); 
  }
  arg1 = reinterpret_cast< iNativeWindowManager * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iNativeWindowManager_Alert" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wchar_t, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iNativeWindowManager_Alert" "', argument " "3"" of type '" "wchar_t const *""'"); 
  }
  arg3 = reinterpret_cast< wchar_t * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wchar_t, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iNativeWindowManager_Alert" "', argument " "4"" of type '" "wchar_t const *""'"); 
  }
  arg4 = reinterpret_cast< wchar_t * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wchar_t, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iNativeWindowManager_Alert" "', argument " "5"" of type '" "wchar_t const *""'"); 
  }
  arg5 = reinterpret_cast< wchar_t * >(argp5);
  (arg1)->Alert(arg2,(wchar_t const *)arg3,(wchar_t const *)arg4,(wchar_t const *)arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iNativeWindowManager_Alert__SWIG_1(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,5);
  varargs = PyTuple_GetSlice(args,5,PyTuple_Size(args)+1);
  resultobj = _wrap_iNativeWindowManager_Alert__SWIG_1__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iNativeWindowManager_Alert(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc >= 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iNativeWindowManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wchar_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_wchar_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_wchar_t, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              if (argc <= 5) {
                return _wrap_iNativeWindowManager_Alert__SWIG_1(self, args);
              }
              return _wrap_iNativeWindowManager_Alert__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc >= 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iNativeWindowManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              if (argc <= 5) {
                return _wrap_iNativeWindowManager_Alert__SWIG_0(self, args);
              }
              return _wrap_iNativeWindowManager_Alert__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iNativeWindowManager_Alert'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iNativeWindowManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iNativeWindowManager *arg1 = (iNativeWindowManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iNativeWindowManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iNativeWindowManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iNativeWindowManager" "', argument " "1"" of type '" "iNativeWindowManager *""'"); 
  }
  arg1 = reinterpret_cast< iNativeWindowManager * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iNativeWindowManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iNativeWindowManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iNativeWindow_SetTitle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iNativeWindow *arg1 = (iNativeWindow *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iNativeWindow_SetTitle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iNativeWindow, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iNativeWindow_SetTitle" "', argument " "1"" of type '" "iNativeWindow *""'"); 
  }
  arg1 = reinterpret_cast< iNativeWindow * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iNativeWindow_SetTitle" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetTitle((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iNativeWindow_SetTitle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iNativeWindow *arg1 = (iNativeWindow *) 0 ;
  wchar_t *arg2 = (wchar_t *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iNativeWindow_SetTitle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iNativeWindow, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iNativeWindow_SetTitle" "', argument " "1"" of type '" "iNativeWindow *""'"); 
  }
  arg1 = reinterpret_cast< iNativeWindow * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wchar_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iNativeWindow_SetTitle" "', argument " "2"" of type '" "wchar_t const *""'"); 
  }
  arg2 = reinterpret_cast< wchar_t * >(argp2);
  (arg1)->SetTitle((wchar_t const *)arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iNativeWindow_SetTitle(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iNativeWindow, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wchar_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iNativeWindow_SetTitle__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iNativeWindow, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iNativeWindow_SetTitle__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iNativeWindow_SetTitle'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iNativeWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iNativeWindow *arg1 = (iNativeWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iNativeWindow",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iNativeWindow, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iNativeWindow" "', argument " "1"" of type '" "iNativeWindow *""'"); 
  }
  arg1 = reinterpret_cast< iNativeWindow * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iNativeWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iNativeWindow, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iFontDeleteNotify_BeforeDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFontDeleteNotify *arg1 = (iFontDeleteNotify *) 0 ;
  iFont *arg2 = (iFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFontDeleteNotify_BeforeDelete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFontDeleteNotify, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFontDeleteNotify_BeforeDelete" "', argument " "1"" of type '" "iFontDeleteNotify *""'"); 
  }
  arg1 = reinterpret_cast< iFontDeleteNotify * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFontDeleteNotify_BeforeDelete" "', argument " "2"" of type '" "iFont *""'"); 
  }
  arg2 = reinterpret_cast< iFont * >(argp2);
  (arg1)->BeforeDelete(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iFontDeleteNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFontDeleteNotify *arg1 = (iFontDeleteNotify *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iFontDeleteNotify",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFontDeleteNotify, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iFontDeleteNotify" "', argument " "1"" of type '" "iFontDeleteNotify *""'"); 
  }
  arg1 = reinterpret_cast< iFontDeleteNotify * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iFontDeleteNotify_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iFontDeleteNotify, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csBitmapMetrics_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *arg1 = (csBitmapMetrics *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBitmapMetrics_width_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBitmapMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBitmapMetrics_width_set" "', argument " "1"" of type '" "csBitmapMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csBitmapMetrics * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBitmapMetrics_width_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->width = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBitmapMetrics_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *arg1 = (csBitmapMetrics *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBitmapMetrics_width_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBitmapMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBitmapMetrics_width_get" "', argument " "1"" of type '" "csBitmapMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csBitmapMetrics * >(argp1);
  result = (int) ((arg1)->width);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBitmapMetrics_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *arg1 = (csBitmapMetrics *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBitmapMetrics_height_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBitmapMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBitmapMetrics_height_set" "', argument " "1"" of type '" "csBitmapMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csBitmapMetrics * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBitmapMetrics_height_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->height = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBitmapMetrics_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *arg1 = (csBitmapMetrics *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBitmapMetrics_height_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBitmapMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBitmapMetrics_height_get" "', argument " "1"" of type '" "csBitmapMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csBitmapMetrics * >(argp1);
  result = (int) ((arg1)->height);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBitmapMetrics_left_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *arg1 = (csBitmapMetrics *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBitmapMetrics_left_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBitmapMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBitmapMetrics_left_set" "', argument " "1"" of type '" "csBitmapMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csBitmapMetrics * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBitmapMetrics_left_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->left = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBitmapMetrics_left_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *arg1 = (csBitmapMetrics *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBitmapMetrics_left_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBitmapMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBitmapMetrics_left_get" "', argument " "1"" of type '" "csBitmapMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csBitmapMetrics * >(argp1);
  result = (int) ((arg1)->left);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBitmapMetrics_top_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *arg1 = (csBitmapMetrics *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csBitmapMetrics_top_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBitmapMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBitmapMetrics_top_set" "', argument " "1"" of type '" "csBitmapMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csBitmapMetrics * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csBitmapMetrics_top_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->top = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csBitmapMetrics_top_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *arg1 = (csBitmapMetrics *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csBitmapMetrics_top_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBitmapMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csBitmapMetrics_top_get" "', argument " "1"" of type '" "csBitmapMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csBitmapMetrics * >(argp1);
  result = (int) ((arg1)->top);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csBitmapMetrics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csBitmapMetrics")) SWIG_fail;
  result = (csBitmapMetrics *)new csBitmapMetrics();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBitmapMetrics, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csBitmapMetrics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csBitmapMetrics *arg1 = (csBitmapMetrics *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csBitmapMetrics",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csBitmapMetrics, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csBitmapMetrics" "', argument " "1"" of type '" "csBitmapMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csBitmapMetrics * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csBitmapMetrics_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csBitmapMetrics, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csGlyphMetrics_advance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGlyphMetrics *arg1 = (csGlyphMetrics *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGlyphMetrics_advance_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGlyphMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGlyphMetrics_advance_set" "', argument " "1"" of type '" "csGlyphMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csGlyphMetrics * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGlyphMetrics_advance_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->advance = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGlyphMetrics_advance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGlyphMetrics *arg1 = (csGlyphMetrics *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csGlyphMetrics_advance_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGlyphMetrics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGlyphMetrics_advance_get" "', argument " "1"" of type '" "csGlyphMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csGlyphMetrics * >(argp1);
  result = (int) ((arg1)->advance);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csGlyphMetrics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGlyphMetrics *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csGlyphMetrics")) SWIG_fail;
  result = (csGlyphMetrics *)new csGlyphMetrics();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csGlyphMetrics, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csGlyphMetrics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csGlyphMetrics *arg1 = (csGlyphMetrics *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csGlyphMetrics",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csGlyphMetrics, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csGlyphMetrics" "', argument " "1"" of type '" "csGlyphMetrics *""'"); 
  }
  arg1 = reinterpret_cast< csGlyphMetrics * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csGlyphMetrics_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csGlyphMetrics, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iFont_AddDeleteCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  iFontDeleteNotify *arg2 = (iFontDeleteNotify *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFont_AddDeleteCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_AddDeleteCallback" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFontDeleteNotify, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFont_AddDeleteCallback" "', argument " "2"" of type '" "iFontDeleteNotify *""'"); 
  }
  arg2 = reinterpret_cast< iFontDeleteNotify * >(argp2);
  (arg1)->AddDeleteCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_RemoveDeleteCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  iFontDeleteNotify *arg2 = (iFontDeleteNotify *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFont_RemoveDeleteCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_RemoveDeleteCallback" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFontDeleteNotify, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFont_RemoveDeleteCallback" "', argument " "2"" of type '" "iFontDeleteNotify *""'"); 
  }
  arg2 = reinterpret_cast< iFontDeleteNotify * >(argp2);
  result = (bool)(arg1)->RemoveDeleteCallback(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFont_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetSize" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  result = (float)(arg1)->GetSize();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetMaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"O:iFont_GetMaxSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetMaxSize" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  (arg1)->GetMaxSize(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetGlyphMetrics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  utf32_char arg2 ;
  csGlyphMetrics *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iFont_GetGlyphMetrics",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetGlyphMetrics" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iFont_GetGlyphMetrics" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csGlyphMetrics,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iFont_GetGlyphMetrics" "', argument " "3"" of type '" "csGlyphMetrics &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iFont_GetGlyphMetrics" "', argument " "3"" of type '" "csGlyphMetrics &""'"); 
  }
  arg3 = reinterpret_cast< csGlyphMetrics * >(argp3);
  result = (bool)(arg1)->GetGlyphMetrics(arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetGlyphBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  utf32_char arg2 ;
  csBitmapMetrics *arg3 = 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iFont_GetGlyphBitmap",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetGlyphBitmap" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iFont_GetGlyphBitmap" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csBitmapMetrics,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iFont_GetGlyphBitmap" "', argument " "3"" of type '" "csBitmapMetrics &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iFont_GetGlyphBitmap" "', argument " "3"" of type '" "csBitmapMetrics &""'"); 
  }
  arg3 = reinterpret_cast< csBitmapMetrics * >(argp3);
  result = (arg1)->GetGlyphBitmap(arg2,*arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetGlyphAlphaBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  utf32_char arg2 ;
  csBitmapMetrics *arg3 = 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iFont_GetGlyphAlphaBitmap",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetGlyphAlphaBitmap" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iFont_GetGlyphAlphaBitmap" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csBitmapMetrics,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iFont_GetGlyphAlphaBitmap" "', argument " "3"" of type '" "csBitmapMetrics &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iFont_GetGlyphAlphaBitmap" "', argument " "3"" of type '" "csBitmapMetrics &""'"); 
  }
  arg3 = reinterpret_cast< csBitmapMetrics * >(argp3);
  result = (arg1)->GetGlyphAlphaBitmap(arg2,*arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetDimensions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  int *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  int temp4 ;
  int res4 = SWIG_TMPOBJ ;
  int temp5 ;
  int res5 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  arg3 = &temp3;
  arg4 = &temp4;
  arg5 = &temp5;
  if (!PyArg_ParseTuple(args,(char *)"OO:iFont_GetDimensions",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetDimensions" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFont_GetDimensions" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->GetDimensions((char const *)arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iFont_GetLength",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetLength" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFont_GetLength" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iFont_GetLength" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (int)(arg1)->GetLength((char const *)arg2,arg3);
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFont_GetDescent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetDescent" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  result = (int)(arg1)->GetDescent();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetAscent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFont_GetAscent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetAscent" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  result = (int)(arg1)->GetAscent();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_HasGlyph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  utf32_char arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFont_HasGlyph",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_HasGlyph" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iFont_HasGlyph" "', argument " "2"" of type '" "utf32_char""'");
  } 
  arg2 = static_cast< utf32_char >(val2);
  result = (bool)(arg1)->HasGlyph(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetTextHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFont_GetTextHeight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetTextHeight" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  result = (int)(arg1)->GetTextHeight();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetUnderlinePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFont_GetUnderlinePosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetUnderlinePosition" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  result = (int)(arg1)->GetUnderlinePosition();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_GetUnderlineThickness(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFont_GetUnderlineThickness",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFont_GetUnderlineThickness" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  result = (int)(arg1)->GetUnderlineThickness();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFont *arg1 = (iFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iFont",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFont, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iFont" "', argument " "1"" of type '" "iFont *""'"); 
  }
  arg1 = reinterpret_cast< iFont * >(argp1);
  delete_iFont(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFont_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iFont_scfGetVersion")) SWIG_fail;
  result = (int)iFont_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iFont_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iFont, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iFontServer_LoadFont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFontServer *arg1 = (iFontServer *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  SwigValueWrapper<csPtr<iFont > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iFontServer_LoadFont",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFontServer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFontServer_LoadFont" "', argument " "1"" of type '" "iFontServer *""'"); 
  }
  arg1 = reinterpret_cast< iFontServer * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFontServer_LoadFont" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iFontServer_LoadFont" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (arg1)->LoadFont((char const *)arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iFont> ref((csPtr<iFont>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iFont *)ref), (void *)(iFont *)ref, "iFont" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFontServer_LoadFont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFontServer *arg1 = (iFontServer *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iFont > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFontServer_LoadFont",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFontServer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFontServer_LoadFont" "', argument " "1"" of type '" "iFontServer *""'"); 
  }
  arg1 = reinterpret_cast< iFontServer * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iFontServer_LoadFont" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->LoadFont((char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iFont> ref((csPtr<iFont>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iFont *)ref), (void *)(iFont *)ref, "iFont" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFontServer_LoadFont(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iFontServer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iFontServer_LoadFont__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iFontServer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iFontServer_LoadFont__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iFontServer_LoadFont'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFontServer_SetWarnOnError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFontServer *arg1 = (iFontServer *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iFontServer_SetWarnOnError",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFontServer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFontServer_SetWarnOnError" "', argument " "1"" of type '" "iFontServer *""'"); 
  }
  arg1 = reinterpret_cast< iFontServer * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iFontServer_SetWarnOnError" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetWarnOnError(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFontServer_GetWarnOnError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFontServer *arg1 = (iFontServer *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iFontServer_GetWarnOnError",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFontServer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iFontServer_GetWarnOnError" "', argument " "1"" of type '" "iFontServer *""'"); 
  }
  arg1 = reinterpret_cast< iFontServer * >(argp1);
  result = (bool)(arg1)->GetWarnOnError();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iFontServer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iFontServer *arg1 = (iFontServer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iFontServer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iFontServer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iFontServer" "', argument " "1"" of type '" "iFontServer *""'"); 
  }
  arg1 = reinterpret_cast< iFontServer * >(argp1);
  delete_iFontServer(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iFontServer_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iFontServer_scfGetVersion")) SWIG_fail;
  result = (int)iFontServer_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iFontServer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iFontServer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iHalo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iHalo *arg1 = (iHalo *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iHalo_GetWidth",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iHalo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iHalo_GetWidth" "', argument " "1"" of type '" "iHalo *""'"); 
  }
  arg1 = reinterpret_cast< iHalo * >(argp1);
  result = (int)(arg1)->GetWidth();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iHalo_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iHalo *arg1 = (iHalo *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iHalo_GetHeight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iHalo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iHalo_GetHeight" "', argument " "1"" of type '" "iHalo *""'"); 
  }
  arg1 = reinterpret_cast< iHalo * >(argp1);
  result = (int)(arg1)->GetHeight();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iHalo_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iHalo *arg1 = (iHalo *) 0 ;
  float *arg2 = 0 ;
  float *arg3 = 0 ;
  float *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float temp2 ;
  int res2 = 0 ;
  float temp3 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iHalo_SetColor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iHalo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iHalo_SetColor" "', argument " "1"" of type '" "iHalo *""'"); 
  }
  arg1 = reinterpret_cast< iHalo * >(argp1);
  if (!(SWIG_IsOK((res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj1, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "iHalo_SetColor" "', argument " "2"" of type '" "float""'");
    }
    temp2 = static_cast< float >(val);
    arg2 = &temp2;
    res2 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj2, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "iHalo_SetColor" "', argument " "3"" of type '" "float""'");
    }
    temp3 = static_cast< float >(val);
    arg3 = &temp3;
    res3 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "iHalo_SetColor" "', argument " "4"" of type '" "float""'");
    }
    temp4 = static_cast< float >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  (arg1)->SetColor(*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iHalo_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iHalo *arg1 = (iHalo *) 0 ;
  float *arg2 = 0 ;
  float *arg3 = 0 ;
  float *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float temp2 ;
  int res2 = SWIG_TMPOBJ ;
  float temp3 ;
  int res3 = SWIG_TMPOBJ ;
  float temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"O:iHalo_GetColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iHalo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iHalo_GetColor" "', argument " "1"" of type '" "iHalo *""'"); 
  }
  arg1 = reinterpret_cast< iHalo * >(argp1);
  (arg1)->GetColor(*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iHalo_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iHalo *arg1 = (iHalo *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  csVector2 *arg7 = (csVector2 *) 0 ;
  size_t arg8 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  size_t val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iHalo_Draw",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iHalo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iHalo_Draw" "', argument " "1"" of type '" "iHalo *""'"); 
  }
  arg1 = reinterpret_cast< iHalo * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iHalo_Draw" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iHalo_Draw" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iHalo_Draw" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iHalo_Draw" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iHalo_Draw" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_csVector2, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "iHalo_Draw" "', argument " "7"" of type '" "csVector2 *""'"); 
  }
  arg7 = reinterpret_cast< csVector2 * >(argp7);
  ecode8 = SWIG_AsVal_size_t(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iHalo_Draw" "', argument " "8"" of type '" "size_t""'");
  } 
  arg8 = static_cast< size_t >(val8);
  (arg1)->Draw(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iHalo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iHalo *arg1 = (iHalo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iHalo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iHalo, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iHalo" "', argument " "1"" of type '" "iHalo *""'"); 
  }
  arg1 = reinterpret_cast< iHalo * >(argp1);
  delete_iHalo(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iHalo_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iHalo_scfGetVersion")) SWIG_fail;
  result = (int)iHalo_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iHalo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iHalo, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_delete_iShaderVarStack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVarStack *arg1 = (iShaderVarStack *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iShaderVarStack",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVarStack, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iShaderVarStack" "', argument " "1"" of type '" "iShaderVarStack *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVarStack * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iShaderVarStack_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iShaderVarStack, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csGetShaderVariableFromStack__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderVarStack *arg1 = 0 ;
  csStringID *arg2 = 0 ;
  csShaderVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csStringID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGetShaderVariableFromStack",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayTcsShaderVariable_p_csArrayElementHandlerTcsShaderVariable_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGetShaderVariableFromStack" "', argument " "1"" of type '" "csShaderVarStack const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csGetShaderVariableFromStack" "', argument " "1"" of type '" "csShaderVarStack const &""'"); 
  }
  arg1 = reinterpret_cast< csShaderVarStack * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGetShaderVariableFromStack" "', argument " "2"" of type '" "csStringID""'");
  } 
  temp2 = static_cast< csStringID >(val2);
  arg2 = &temp2;
  result = (csShaderVariable *)csGetShaderVariableFromStack((csArray<csShaderVariable *,csArrayElementHandler<csShaderVariable * >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > const &)*arg1,(unsigned long const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGetShaderVariableFromStack__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVarStack *arg1 = (iShaderVarStack *) 0 ;
  csStringID *arg2 = 0 ;
  csShaderVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csStringID temp2 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csGetShaderVariableFromStack",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVarStack, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csGetShaderVariableFromStack" "', argument " "1"" of type '" "iShaderVarStack const *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVarStack * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csGetShaderVariableFromStack" "', argument " "2"" of type '" "csStringID""'");
  } 
  temp2 = static_cast< csStringID >(val2);
  arg2 = &temp2;
  result = (csShaderVariable *)csGetShaderVariableFromStack((iShaderVarStack const *)arg1,(unsigned long const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csGetShaderVariableFromStack(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csArrayTcsShaderVariable_p_csArrayElementHandlerTcsShaderVariable_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csGetShaderVariableFromStack__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iShaderVarStack, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csGetShaderVariableFromStack__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csGetShaderVariableFromStack'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_AddVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  csShaderVariable *arg2 = (csShaderVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderVariableContext_AddVariable",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableContext_AddVariable" "', argument " "1"" of type '" "iShaderVariableContext *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderVariableContext_AddVariable" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  arg2 = reinterpret_cast< csShaderVariable * >(argp2);
  (arg1)->AddVariable(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_GetVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  csStringID arg2 ;
  csShaderVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderVariableContext_GetVariable",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableContext_GetVariable" "', argument " "1"" of type '" "iShaderVariableContext const *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShaderVariableContext_GetVariable" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (csShaderVariable *)((iShaderVariableContext const *)arg1)->GetVariable(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_GetVariableAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  csStringID arg2 ;
  csShaderVariable *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderVariableContext_GetVariableAdd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableContext_GetVariableAdd" "', argument " "1"" of type '" "iShaderVariableContext *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShaderVariableContext_GetVariableAdd" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (csShaderVariable *)(arg1)->GetVariableAdd(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderVariable, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_GetShaderVariables(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  csRefArray<csShaderVariable > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShaderVariableContext_GetShaderVariables",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableContext_GetShaderVariables" "', argument " "1"" of type '" "iShaderVariableContext const *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  {
    csRefArray<csShaderVariable > const &_result_ref = ((iShaderVariableContext const *)arg1)->GetShaderVariables();
    result = (csRefArray<csShaderVariable > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRefArrayTcsShaderVariable_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_PushVariables(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  iShaderVarStack *arg2 = (iShaderVarStack *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderVariableContext_PushVariables",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableContext_PushVariables" "', argument " "1"" of type '" "iShaderVariableContext const *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iShaderVarStack, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderVariableContext_PushVariables" "', argument " "2"" of type '" "iShaderVarStack *""'"); 
  }
  arg2 = reinterpret_cast< iShaderVarStack * >(argp2);
  ((iShaderVariableContext const *)arg1)->PushVariables(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShaderVariableContext_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableContext_IsEmpty" "', argument " "1"" of type '" "iShaderVariableContext const *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  result = (bool)((iShaderVariableContext const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_ReplaceVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  csShaderVariable *arg2 = (csShaderVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderVariableContext_ReplaceVariable",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableContext_ReplaceVariable" "', argument " "1"" of type '" "iShaderVariableContext *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderVariableContext_ReplaceVariable" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  arg2 = reinterpret_cast< csShaderVariable * >(argp2);
  (arg1)->ReplaceVariable(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShaderVariableContext_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableContext_Clear" "', argument " "1"" of type '" "iShaderVariableContext *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_RemoveVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  csShaderVariable *arg2 = (csShaderVariable *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderVariableContext_RemoveVariable",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderVariableContext_RemoveVariable" "', argument " "1"" of type '" "iShaderVariableContext *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csShaderVariable, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderVariableContext_RemoveVariable" "', argument " "2"" of type '" "csShaderVariable *""'"); 
  }
  arg2 = reinterpret_cast< csShaderVariable * >(argp2);
  result = (bool)(arg1)->RemoveVariable(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iShaderVariableContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderVariableContext *arg1 = (iShaderVariableContext *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iShaderVariableContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderVariableContext, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iShaderVariableContext" "', argument " "1"" of type '" "iShaderVariableContext *""'"); 
  }
  arg1 = reinterpret_cast< iShaderVariableContext * >(argp1);
  delete_iShaderVariableContext(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderVariableContext_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iShaderVariableContext_scfGetVersion")) SWIG_fail;
  result = (int)iShaderVariableContext_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iShaderVariableContext_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iShaderVariableContext, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iShaderManager_RegisterShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  iShader *arg2 = (iShader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderManager_RegisterShader",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_RegisterShader" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderManager_RegisterShader" "', argument " "2"" of type '" "iShader *""'"); 
  }
  arg2 = reinterpret_cast< iShader * >(argp2);
  (arg1)->RegisterShader(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_UnregisterShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  iShader *arg2 = (iShader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderManager_UnregisterShader",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_UnregisterShader" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderManager_UnregisterShader" "', argument " "2"" of type '" "iShader *""'"); 
  }
  arg2 = reinterpret_cast< iShader * >(argp2);
  (arg1)->UnregisterShader(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_GetShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iShader *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderManager_GetShader",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_GetShader" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderManager_GetShader" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iShader *)(arg1)->GetShader((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShader, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_GetShaders(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  csRefArray<iShader > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShaderManager_GetShaders",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_GetShaders" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  {
    csRefArray<iShader > const &_result_ref = (arg1)->GetShaders();
    result = (csRefArray<iShader > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRefArrayTiShader_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_RegisterCompiler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  iShaderCompiler *arg2 = (iShaderCompiler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderManager_RegisterCompiler",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_RegisterCompiler" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iShaderCompiler, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderManager_RegisterCompiler" "', argument " "2"" of type '" "iShaderCompiler *""'"); 
  }
  arg2 = reinterpret_cast< iShaderCompiler * >(argp2);
  (arg1)->RegisterCompiler(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_GetCompiler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iShaderCompiler *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderManager_GetCompiler",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_GetCompiler" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderManager_GetCompiler" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iShaderCompiler *)(arg1)->GetCompiler((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShaderCompiler, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_GetShaderVariableStack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  iShaderVarStack *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShaderManager_GetShaderVariableStack",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_GetShaderVariableStack" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  result = (iShaderVarStack *)(arg1)->GetShaderVariableStack();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShaderVarStack, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_SetTagOptions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  csStringID arg2 ;
  csShaderTagPresence arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iShaderManager_SetTagOptions",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_SetTagOptions" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShaderManager_SetTagOptions" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iShaderManager_SetTagOptions" "', argument " "3"" of type '" "csShaderTagPresence""'");
  } 
  arg3 = static_cast< csShaderTagPresence >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iShaderManager_SetTagOptions" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->SetTagOptions(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_SetTagOptions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  csStringID arg2 ;
  csShaderTagPresence arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iShaderManager_SetTagOptions",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_SetTagOptions" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShaderManager_SetTagOptions" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iShaderManager_SetTagOptions" "', argument " "3"" of type '" "csShaderTagPresence""'");
  } 
  arg3 = static_cast< csShaderTagPresence >(val3);
  (arg1)->SetTagOptions(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_SetTagOptions(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iShaderManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iShaderManager_SetTagOptions__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iShaderManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iShaderManager_SetTagOptions__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iShaderManager_SetTagOptions'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_GetTagOptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  csStringID arg2 ;
  csShaderTagPresence *arg3 = 0 ;
  int *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iShaderManager_GetTagOptions",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_GetTagOptions" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShaderManager_GetTagOptions" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csShaderTagPresence,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iShaderManager_GetTagOptions" "', argument " "3"" of type '" "csShaderTagPresence &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iShaderManager_GetTagOptions" "', argument " "3"" of type '" "csShaderTagPresence &""'"); 
  }
  arg3 = reinterpret_cast< csShaderTagPresence * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iShaderManager_GetTagOptions" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iShaderManager_GetTagOptions" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  (arg1)->GetTagOptions(arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_GetTags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  csShaderTagPresence arg2 ;
  int *arg3 = 0 ;
  csSet<csStringID > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iShaderManager_GetTags",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_GetTags" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShaderManager_GetTags" "', argument " "2"" of type '" "csShaderTagPresence""'");
  } 
  arg2 = static_cast< csShaderTagPresence >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iShaderManager_GetTags" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iShaderManager_GetTags" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  {
    csSet<csStringID > const &_result_ref = (arg1)->GetTags(arg2,*arg3);
    result = (csSet<csStringID > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_SetActiveLights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  csArray<iLight * > *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderManager_SetActiveLights",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_SetActiveLights" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTiLight_p_csArrayElementHandlerTiLight_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderManager_SetActiveLights" "', argument " "2"" of type '" "csArray<iLight * > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iShaderManager_SetActiveLights" "', argument " "2"" of type '" "csArray<iLight * > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<iLight * > * >(argp2);
  (arg1)->SetActiveLights((csArray<iLight * > const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_GetActiveLights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  csArray<iLight * > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShaderManager_GetActiveLights",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderManager_GetActiveLights" "', argument " "1"" of type '" "iShaderManager const *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  {
    csArray<iLight * > const &_result_ref = ((iShaderManager const *)arg1)->GetActiveLights();
    result = (csArray<iLight * > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTiLight_p_csArrayElementHandlerTiLight_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iShaderManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderManager *arg1 = (iShaderManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iShaderManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iShaderManager" "', argument " "1"" of type '" "iShaderManager *""'"); 
  }
  arg1 = reinterpret_cast< iShaderManager * >(argp1);
  delete_iShaderManager(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderManager_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iShaderManager_scfGetVersion")) SWIG_fail;
  result = (int)iShaderManager_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iShaderManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iShaderManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csShaderMetadata_description_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderMetadata *arg1 = (csShaderMetadata *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderMetadata_description_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderMetadata, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderMetadata_description_set" "', argument " "1"" of type '" "csShaderMetadata *""'"); 
  }
  arg1 = reinterpret_cast< csShaderMetadata * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csShaderMetadata_description_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = buf2;
  if (arg1->description) delete[] arg1->description;
  if (arg2) {
    size_t size = strlen(arg2) + 1;
    arg1->description = reinterpret_cast< char* >(memcpy((new char[size]), arg2, sizeof(char)*(size)));
  } else {
    arg1->description = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderMetadata_description_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderMetadata *arg1 = (csShaderMetadata *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderMetadata_description_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderMetadata, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderMetadata_description_get" "', argument " "1"" of type '" "csShaderMetadata *""'"); 
  }
  arg1 = reinterpret_cast< csShaderMetadata * >(argp1);
  result = (char *) ((arg1)->description);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderMetadata_numberOfLights_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderMetadata *arg1 = (csShaderMetadata *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csShaderMetadata_numberOfLights_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderMetadata, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderMetadata_numberOfLights_set" "', argument " "1"" of type '" "csShaderMetadata *""'"); 
  }
  arg1 = reinterpret_cast< csShaderMetadata * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csShaderMetadata_numberOfLights_set" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  if (arg1) (arg1)->numberOfLights = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csShaderMetadata_numberOfLights_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderMetadata *arg1 = (csShaderMetadata *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csShaderMetadata_numberOfLights_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderMetadata, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csShaderMetadata_numberOfLights_get" "', argument " "1"" of type '" "csShaderMetadata *""'"); 
  }
  arg1 = reinterpret_cast< csShaderMetadata * >(argp1);
  result = (uint) ((arg1)->numberOfLights);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csShaderMetadata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderMetadata *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csShaderMetadata")) SWIG_fail;
  result = (csShaderMetadata *)new csShaderMetadata();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderMetadata, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csShaderMetadata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csShaderMetadata *arg1 = (csShaderMetadata *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csShaderMetadata",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csShaderMetadata, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csShaderMetadata" "', argument " "1"" of type '" "csShaderMetadata *""'"); 
  }
  arg1 = reinterpret_cast< csShaderMetadata * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csShaderMetadata_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csShaderMetadata, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iShader_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShader_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_QueryObject" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShader_GetFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShader_GetFileName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_GetFileName" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  result = (char *)(arg1)->GetFileName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShader_SetFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShader_SetFileName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_SetFileName" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShader_SetFileName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetFileName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShader_GetTicket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  csRenderMeshModes *arg2 = 0 ;
  iShaderVarStack *arg3 = (iShaderVarStack *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iShader_GetTicket",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_GetTicket" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRenderMeshModes,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShader_GetTicket" "', argument " "2"" of type '" "csRenderMeshModes const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iShader_GetTicket" "', argument " "2"" of type '" "csRenderMeshModes const &""'"); 
  }
  arg2 = reinterpret_cast< csRenderMeshModes * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iShaderVarStack, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iShader_GetTicket" "', argument " "3"" of type '" "iShaderVarStack const *""'"); 
  }
  arg3 = reinterpret_cast< iShaderVarStack * >(argp3);
  result = (arg1)->GetTicket((csRenderMeshModes const &)*arg2,(iShaderVarStack const *)arg3);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShader_GetNumberOfPasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  size_t arg2 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShader_GetNumberOfPasses",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_GetNumberOfPasses" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShader_GetNumberOfPasses" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (arg1)->GetNumberOfPasses(arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShader_ActivatePass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  size_t arg2 ;
  size_t arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iShader_ActivatePass",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_ActivatePass" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShader_ActivatePass" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iShader_ActivatePass" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (bool)(arg1)->ActivatePass(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShader_SetupPass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  size_t arg2 ;
  csRenderMesh *arg3 = (csRenderMesh *) 0 ;
  csRenderMeshModes *arg4 = 0 ;
  iShaderVarStack *arg5 = (iShaderVarStack *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iShader_SetupPass",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_SetupPass" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShader_SetupPass" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csRenderMesh, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iShader_SetupPass" "', argument " "3"" of type '" "csRenderMesh const *""'"); 
  }
  arg3 = reinterpret_cast< csRenderMesh * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csRenderMeshModes,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iShader_SetupPass" "', argument " "4"" of type '" "csRenderMeshModes &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iShader_SetupPass" "', argument " "4"" of type '" "csRenderMeshModes &""'"); 
  }
  arg4 = reinterpret_cast< csRenderMeshModes * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iShaderVarStack, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iShader_SetupPass" "', argument " "5"" of type '" "iShaderVarStack const *""'"); 
  }
  arg5 = reinterpret_cast< iShaderVarStack * >(argp5);
  result = (bool)(arg1)->SetupPass(arg2,(csRenderMesh const *)arg3,*arg4,(iShaderVarStack const *)arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShader_TeardownPass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShader_TeardownPass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_TeardownPass" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShader_TeardownPass" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->TeardownPass(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShader_DeactivatePass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShader_DeactivatePass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_DeactivatePass" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShader_DeactivatePass" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeactivatePass(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShader_GetMetadata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  size_t arg2 ;
  csShaderMetadata *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShader_GetMetadata",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShader_GetMetadata" "', argument " "1"" of type '" "iShader const *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShader_GetMetadata" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csShaderMetadata const &_result_ref = ((iShader const *)arg1)->GetMetadata(arg2);
    result = (csShaderMetadata *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csShaderMetadata, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShader *arg1 = (iShader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iShader",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShader, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iShader" "', argument " "1"" of type '" "iShader *""'"); 
  }
  arg1 = reinterpret_cast< iShader * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iShader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iShader, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iShaderPriorityList_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderPriorityList *arg1 = (iShaderPriorityList *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShaderPriorityList_GetCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderPriorityList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderPriorityList_GetCount" "', argument " "1"" of type '" "iShaderPriorityList const *""'"); 
  }
  arg1 = reinterpret_cast< iShaderPriorityList * >(argp1);
  result = ((iShaderPriorityList const *)arg1)->GetCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderPriorityList_GetPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderPriorityList *arg1 = (iShaderPriorityList *) 0 ;
  size_t arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderPriorityList_GetPriority",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderPriorityList, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderPriorityList_GetPriority" "', argument " "1"" of type '" "iShaderPriorityList const *""'"); 
  }
  arg1 = reinterpret_cast< iShaderPriorityList * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iShaderPriorityList_GetPriority" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (int)((iShaderPriorityList const *)arg1)->GetPriority(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iShaderPriorityList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderPriorityList *arg1 = (iShaderPriorityList *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iShaderPriorityList",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderPriorityList, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iShaderPriorityList" "', argument " "1"" of type '" "iShaderPriorityList *""'"); 
  }
  arg1 = reinterpret_cast< iShaderPriorityList * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iShaderPriorityList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iShaderPriorityList, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iShaderCompiler_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderCompiler *arg1 = (iShaderCompiler *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iShaderCompiler_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderCompiler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderCompiler_GetName" "', argument " "1"" of type '" "iShaderCompiler *""'"); 
  }
  arg1 = reinterpret_cast< iShaderCompiler * >(argp1);
  result = (char *)(arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderCompiler_CompileShader__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderCompiler *arg1 = (iShaderCompiler *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iShader > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iShaderCompiler_CompileShader",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderCompiler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderCompiler_CompileShader" "', argument " "1"" of type '" "iShaderCompiler *""'"); 
  }
  arg1 = reinterpret_cast< iShaderCompiler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderCompiler_CompileShader" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iShaderCompiler_CompileShader" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->CompileShader(arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iShader >(static_cast< const csPtr<iShader >& >(result))), SWIGTYPE_p_csPtrTiShader_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderCompiler_CompileShader__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderCompiler *arg1 = (iShaderCompiler *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  SwigValueWrapper<csPtr<iShader > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderCompiler_CompileShader",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderCompiler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderCompiler_CompileShader" "', argument " "1"" of type '" "iShaderCompiler *""'"); 
  }
  arg1 = reinterpret_cast< iShaderCompiler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderCompiler_CompileShader" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (arg1)->CompileShader(arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iShader >(static_cast< const csPtr<iShader >& >(result))), SWIGTYPE_p_csPtrTiShader_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderCompiler_CompileShader(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iShaderCompiler, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iShaderCompiler_CompileShader__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iShaderCompiler, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDocumentNode, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iShaderCompiler_CompileShader__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iShaderCompiler_CompileShader'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderCompiler_ValidateTemplate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderCompiler *arg1 = (iShaderCompiler *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderCompiler_ValidateTemplate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderCompiler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderCompiler_ValidateTemplate" "', argument " "1"" of type '" "iShaderCompiler *""'"); 
  }
  arg1 = reinterpret_cast< iShaderCompiler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderCompiler_ValidateTemplate" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (bool)(arg1)->ValidateTemplate(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderCompiler_IsTemplateToCompiler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderCompiler *arg1 = (iShaderCompiler *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderCompiler_IsTemplateToCompiler",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderCompiler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderCompiler_IsTemplateToCompiler" "', argument " "1"" of type '" "iShaderCompiler *""'"); 
  }
  arg1 = reinterpret_cast< iShaderCompiler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderCompiler_IsTemplateToCompiler" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (bool)(arg1)->IsTemplateToCompiler(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iShaderCompiler_GetPriorities(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderCompiler *arg1 = (iShaderCompiler *) 0 ;
  iDocumentNode *arg2 = (iDocumentNode *) 0 ;
  SwigValueWrapper<csPtr<iShaderPriorityList > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iShaderCompiler_GetPriorities",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderCompiler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iShaderCompiler_GetPriorities" "', argument " "1"" of type '" "iShaderCompiler *""'"); 
  }
  arg1 = reinterpret_cast< iShaderCompiler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDocumentNode, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iShaderCompiler_GetPriorities" "', argument " "2"" of type '" "iDocumentNode *""'"); 
  }
  arg2 = reinterpret_cast< iDocumentNode * >(argp2);
  result = (arg1)->GetPriorities(arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iShaderPriorityList >(static_cast< const csPtr<iShaderPriorityList >& >(result))), SWIGTYPE_p_csPtrTiShaderPriorityList_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iShaderCompiler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iShaderCompiler *arg1 = (iShaderCompiler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iShaderCompiler",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iShaderCompiler, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iShaderCompiler" "', argument " "1"" of type '" "iShaderCompiler *""'"); 
  }
  arg1 = reinterpret_cast< iShaderCompiler * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iShaderCompiler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iShaderCompiler, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iTextureHandle_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetFlags",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetFlags" "', argument " "1"" of type '" "iTextureHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (int)((iTextureHandle const *)arg1)->GetFlags();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_SetKeyColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureHandle_SetKeyColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_SetKeyColor" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureHandle_SetKeyColor" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetKeyColor(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_SetKeyColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  uint8 arg2 ;
  uint8 arg3 ;
  uint8 arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  void *argp4 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iTextureHandle_SetKeyColor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_SetKeyColor" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureHandle_SetKeyColor" "', argument " "2"" of type '" "uint8""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTextureHandle_SetKeyColor" "', argument " "2"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iTextureHandle_SetKeyColor" "', argument " "3"" of type '" "uint8""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTextureHandle_SetKeyColor" "', argument " "3"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp3);
      arg3 = *temp;
      if (SWIG_IsNewObj(res3)) delete temp;
    }
  }
  {
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iTextureHandle_SetKeyColor" "', argument " "4"" of type '" "uint8""'"); 
    }  
    if (!argp4) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTextureHandle_SetKeyColor" "', argument " "4"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp4);
      arg4 = *temp;
      if (SWIG_IsNewObj(res4)) delete temp;
    }
  }
  (arg1)->SetKeyColor(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_SetKeyColor(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iTextureHandle_SetKeyColor__SWIG_0(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_uint8_t, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint8_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_uint8_t, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iTextureHandle_SetKeyColor__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTextureHandle_SetKeyColor'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetKeyColorStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetKeyColorStatus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetKeyColorStatus" "', argument " "1"" of type '" "iTextureHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (bool)((iTextureHandle const *)arg1)->GetKeyColor();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetKeyColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  uint8 *arg2 = 0 ;
  uint8 *arg3 = 0 ;
  uint8 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  uint8 temp2 ;
  int res2 = SWIG_TMPOBJ ;
  uint8 temp3 ;
  int res3 = SWIG_TMPOBJ ;
  uint8 temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetKeyColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetKeyColor" "', argument " "1"" of type '" "iTextureHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  ((iTextureHandle const *)arg1)->GetKeyColor(*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_uint8_t, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_uint8_t, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_uint8_t, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetRendererDimensions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetRendererDimensions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetRendererDimensions" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (bool)(arg1)->GetRendererDimensions(*arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetOriginalDimensions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetOriginalDimensions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetOriginalDimensions" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  (arg1)->GetOriginalDimensions(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetRendererDimensions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureHandle_GetRendererDimensions",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetRendererDimensions" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  res4 = SWIG_ConvertPtr(obj1, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iTextureHandle_GetRendererDimensions" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTextureHandle_GetRendererDimensions" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  result = (bool)(arg1)->GetRendererDimensions(*arg2,*arg3,*arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetRendererDimensions(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iTextureHandle_GetRendererDimensions__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTextureHandle_GetRendererDimensions__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTextureHandle_GetRendererDimensions'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetOriginalDimensions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureHandle_GetOriginalDimensions",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetOriginalDimensions" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  res4 = SWIG_ConvertPtr(obj1, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iTextureHandle_GetOriginalDimensions" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTextureHandle_GetOriginalDimensions" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  (arg1)->GetOriginalDimensions(*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetOriginalDimensions(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iTextureHandle_GetOriginalDimensions__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iTextureHandle_GetOriginalDimensions__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTextureHandle_GetOriginalDimensions'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetTextureTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetTextureTarget",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetTextureTarget" "', argument " "1"" of type '" "iTextureHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (int)((iTextureHandle const *)arg1)->GetTextureTarget();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_Blit__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  unsigned char *arg6 = (unsigned char *) 0 ;
  iTextureHandle::TextureBlitDataFormat arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iTextureHandle_Blit",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_Blit" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureHandle_Blit" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTextureHandle_Blit" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTextureHandle_Blit" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iTextureHandle_Blit" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iTextureHandle_Blit" "', argument " "6"" of type '" "unsigned char const *""'"); 
  }
  arg6 = reinterpret_cast< unsigned char * >(argp6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iTextureHandle_Blit" "', argument " "7"" of type '" "iTextureHandle::TextureBlitDataFormat""'");
  } 
  arg7 = static_cast< iTextureHandle::TextureBlitDataFormat >(val7);
  (arg1)->Blit(arg2,arg3,arg4,arg5,(unsigned char const *)arg6,arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_Blit__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  unsigned char *arg6 = (unsigned char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iTextureHandle_Blit",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_Blit" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureHandle_Blit" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTextureHandle_Blit" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTextureHandle_Blit" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iTextureHandle_Blit" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "iTextureHandle_Blit" "', argument " "6"" of type '" "unsigned char const *""'"); 
  }
  arg6 = reinterpret_cast< unsigned char * >(argp6);
  (arg1)->Blit(arg2,arg3,arg4,arg5,(unsigned char const *)arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_Blit(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                return _wrap_iTextureHandle_Blit__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                {
                  int res = SWIG_AsVal_int(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iTextureHandle_Blit__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTextureHandle_Blit'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetImageName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetImageName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetImageName" "', argument " "1"" of type '" "iTextureHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (char *)((iTextureHandle const *)arg1)->GetImageName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetPrivateObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetPrivateObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetPrivateObject" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (void *)(arg1)->GetPrivateObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetAlphaMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetAlphaMap",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetAlphaMap" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (bool)(arg1)->GetAlphaMap();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetAlphaType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  csAlphaMode::AlphaType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetAlphaType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetAlphaType" "', argument " "1"" of type '" "iTextureHandle const *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (csAlphaMode::AlphaType)((iTextureHandle const *)arg1)->GetAlphaType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_Precache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_Precache",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_Precache" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  (arg1)->Precache();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_SetTextureClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureHandle_SetTextureClass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_SetTextureClass" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureHandle_SetTextureClass" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetTextureClass((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_GetTextureClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureHandle_GetTextureClass",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_GetTextureClass" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (char *)(arg1)->GetTextureClass();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_SetAlphaType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  csAlphaMode::AlphaType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureHandle_SetAlphaType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureHandle_SetAlphaType" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureHandle_SetAlphaType" "', argument " "2"" of type '" "csAlphaMode::AlphaType""'");
  } 
  arg2 = static_cast< csAlphaMode::AlphaType >(val2);
  (arg1)->SetAlphaType(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iTextureHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iTextureHandle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iTextureHandle" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  delete_iTextureHandle(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureHandle_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iTextureHandle_scfGetVersion")) SWIG_fail;
  result = (int)iTextureHandle_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iTextureHandle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iTextureHandle, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iRendererLightmap_GetSLMCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRendererLightmap *arg1 = (iRendererLightmap *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  int *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"OOO:iRendererLightmap_GetSLMCoords",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRendererLightmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRendererLightmap_GetSLMCoords" "', argument " "1"" of type '" "iRendererLightmap *""'"); 
  }
  arg1 = reinterpret_cast< iRendererLightmap * >(argp1);
  res4 = SWIG_ConvertPtr(obj1, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iRendererLightmap_GetSLMCoords" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRendererLightmap_GetSLMCoords" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  res5 = SWIG_ConvertPtr(obj2, &argp5, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iRendererLightmap_GetSLMCoords" "', argument " "5"" of type '" "int &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRendererLightmap_GetSLMCoords" "', argument " "5"" of type '" "int &""'"); 
  }
  arg5 = reinterpret_cast< int * >(argp5);
  (arg1)->GetSLMCoords(*arg2,*arg3,*arg4,*arg5);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRendererLightmap_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRendererLightmap *arg1 = (iRendererLightmap *) 0 ;
  csRGBcolor *arg2 = (csRGBcolor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRendererLightmap_SetData",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRendererLightmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRendererLightmap_SetData" "', argument " "1"" of type '" "iRendererLightmap *""'"); 
  }
  arg1 = reinterpret_cast< iRendererLightmap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csRGBcolor, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRendererLightmap_SetData" "', argument " "2"" of type '" "csRGBcolor *""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  (arg1)->SetData(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRendererLightmap_SetLightCellSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRendererLightmap *arg1 = (iRendererLightmap *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRendererLightmap_SetLightCellSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRendererLightmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRendererLightmap_SetLightCellSize" "', argument " "1"" of type '" "iRendererLightmap *""'"); 
  }
  arg1 = reinterpret_cast< iRendererLightmap * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRendererLightmap_SetLightCellSize" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetLightCellSize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iRendererLightmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRendererLightmap *arg1 = (iRendererLightmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iRendererLightmap",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRendererLightmap, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iRendererLightmap" "', argument " "1"" of type '" "iRendererLightmap *""'"); 
  }
  arg1 = reinterpret_cast< iRendererLightmap * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iRendererLightmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iRendererLightmap, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSuperLightmap_RegisterLightmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSuperLightmap *arg1 = (iSuperLightmap *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  SwigValueWrapper<csPtr<iRendererLightmap > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSuperLightmap_RegisterLightmap",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSuperLightmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSuperLightmap_RegisterLightmap" "', argument " "1"" of type '" "iSuperLightmap *""'"); 
  }
  arg1 = reinterpret_cast< iSuperLightmap * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSuperLightmap_RegisterLightmap" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSuperLightmap_RegisterLightmap" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSuperLightmap_RegisterLightmap" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSuperLightmap_RegisterLightmap" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (arg1)->RegisterLightmap(arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj((new csPtr<iRendererLightmap >(static_cast< const csPtr<iRendererLightmap >& >(result))), SWIGTYPE_p_csPtrTiRendererLightmap_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSuperLightmap_Dump(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSuperLightmap *arg1 = (iSuperLightmap *) 0 ;
  SwigValueWrapper<csPtr<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSuperLightmap_Dump",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSuperLightmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSuperLightmap_Dump" "', argument " "1"" of type '" "iSuperLightmap *""'"); 
  }
  arg1 = reinterpret_cast< iSuperLightmap * >(argp1);
  result = (arg1)->Dump();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csPtr<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSuperLightmap_GetTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSuperLightmap *arg1 = (iSuperLightmap *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSuperLightmap_GetTexture",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSuperLightmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSuperLightmap_GetTexture" "', argument " "1"" of type '" "iSuperLightmap *""'"); 
  }
  arg1 = reinterpret_cast< iSuperLightmap * >(argp1);
  result = (iTextureHandle *)(arg1)->GetTexture();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSuperLightmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSuperLightmap *arg1 = (iSuperLightmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSuperLightmap",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSuperLightmap, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSuperLightmap" "', argument " "1"" of type '" "iSuperLightmap *""'"); 
  }
  arg1 = reinterpret_cast< iSuperLightmap * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSuperLightmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSuperLightmap, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iTextureManager_RegisterTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureManager *arg1 = (iTextureManager *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iTextureHandle > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iTextureManager_RegisterTexture",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureManager_RegisterTexture" "', argument " "1"" of type '" "iTextureManager *""'"); 
  }
  arg1 = reinterpret_cast< iTextureManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTextureManager_RegisterTexture" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTextureManager_RegisterTexture" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->RegisterTexture(arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTextureHandle> ref((csPtr<iTextureHandle>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTextureHandle *)ref), (void *)(iTextureHandle *)ref, "iTextureHandle" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureManager_GetTextureFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureManager *arg1 = (iTextureManager *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTextureManager_GetTextureFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureManager_GetTextureFormat" "', argument " "1"" of type '" "iTextureManager *""'"); 
  }
  arg1 = reinterpret_cast< iTextureManager * >(argp1);
  result = (int)(arg1)->GetTextureFormat();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureManager_CreateSuperLightmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureManager *arg1 = (iTextureManager *) 0 ;
  int arg2 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iSuperLightmap > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iTextureManager_CreateSuperLightmap",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureManager_CreateSuperLightmap" "', argument " "1"" of type '" "iTextureManager *""'"); 
  }
  arg1 = reinterpret_cast< iTextureManager * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTextureManager_CreateSuperLightmap" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTextureManager_CreateSuperLightmap" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->CreateSuperLightmap(arg2,arg3);
  resultobj = SWIG_NewPointerObj((new csPtr<iSuperLightmap >(static_cast< const csPtr<iSuperLightmap >& >(result))), SWIGTYPE_p_csPtrTiSuperLightmap_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureManager_GetMaxTextureSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureManager *arg1 = (iTextureManager *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  if (!PyArg_ParseTuple(args,(char *)"OO:iTextureManager_GetMaxTextureSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTextureManager_GetMaxTextureSize" "', argument " "1"" of type '" "iTextureManager *""'"); 
  }
  arg1 = reinterpret_cast< iTextureManager * >(argp1);
  res4 = SWIG_ConvertPtr(obj1, &argp4, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iTextureManager_GetMaxTextureSize" "', argument " "4"" of type '" "int &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTextureManager_GetMaxTextureSize" "', argument " "4"" of type '" "int &""'"); 
  }
  arg4 = reinterpret_cast< int * >(argp4);
  (arg1)->GetMaxTextureSize(*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iTextureManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureManager *arg1 = (iTextureManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iTextureManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iTextureManager" "', argument " "1"" of type '" "iTextureManager *""'"); 
  }
  arg1 = reinterpret_cast< iTextureManager * >(argp1);
  delete_iTextureManager(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTextureManager_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iTextureManager_scfGetVersion")) SWIG_fail;
  result = (int)iTextureManager_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iTextureManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iTextureManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMaterial_SetShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterial *arg1 = (iMaterial *) 0 ;
  csStringID arg2 ;
  iShader *arg3 = (iShader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMaterial_SetShader",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterial_SetShader" "', argument " "1"" of type '" "iMaterial *""'"); 
  }
  arg1 = reinterpret_cast< iMaterial * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMaterial_SetShader" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iShader, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iMaterial_SetShader" "', argument " "3"" of type '" "iShader *""'"); 
  }
  arg3 = reinterpret_cast< iShader * >(argp3);
  (arg1)->SetShader(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_GetShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterial *arg1 = (iMaterial *) 0 ;
  csStringID arg2 ;
  iShader *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterial_GetShader",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterial_GetShader" "', argument " "1"" of type '" "iMaterial *""'"); 
  }
  arg1 = reinterpret_cast< iMaterial * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMaterial_GetShader" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (iShader *)(arg1)->GetShader(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iShader, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_GetShaders(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterial *arg1 = (iMaterial *) 0 ;
  csHash<csRef<iShader >,csStringID > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterial_GetShaders",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterial_GetShaders" "', argument " "1"" of type '" "iMaterial const *""'"); 
  }
  arg1 = reinterpret_cast< iMaterial * >(argp1);
  {
    csHash<csRef<iShader >,csStringID > const &_result_ref = ((iMaterial const *)arg1)->GetShaders();
    result = (csHash<csRef<iShader >,csStringID > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHashTcsRefTiShader_t_unsigned_long_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_GetTexture__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterial *arg1 = (iMaterial *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMaterial_GetTexture",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterial_GetTexture" "', argument " "1"" of type '" "iMaterial *""'"); 
  }
  arg1 = reinterpret_cast< iMaterial * >(argp1);
  result = (iTextureHandle *)(arg1)->GetTexture();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_GetTexture__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterial *arg1 = (iMaterial *) 0 ;
  csStringID arg2 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterial_GetTexture",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterial_GetTexture" "', argument " "1"" of type '" "iMaterial *""'"); 
  }
  arg1 = reinterpret_cast< iMaterial * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iMaterial_GetTexture" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (iTextureHandle *)(arg1)->GetTexture(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_GetTexture(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterial, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iMaterial_GetTexture__SWIG_0(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterial, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iMaterial_GetTexture__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMaterial_GetTexture'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_GetFlatColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterial *arg1 = (iMaterial *) 0 ;
  csRGBpixel *arg2 = 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iMaterial_GetFlatColor",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterial_GetFlatColor" "', argument " "1"" of type '" "iMaterial *""'"); 
  }
  arg1 = reinterpret_cast< iMaterial * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterial_GetFlatColor" "', argument " "2"" of type '" "csRGBpixel &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMaterial_GetFlatColor" "', argument " "2"" of type '" "csRGBpixel &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iMaterial_GetFlatColor" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->GetFlatColor(*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_GetFlatColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterial *arg1 = (iMaterial *) 0 ;
  csRGBpixel *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterial_GetFlatColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterial_GetFlatColor" "', argument " "1"" of type '" "iMaterial *""'"); 
  }
  arg1 = reinterpret_cast< iMaterial * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBpixel,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterial_GetFlatColor" "', argument " "2"" of type '" "csRGBpixel &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMaterial_GetFlatColor" "', argument " "2"" of type '" "csRGBpixel &""'"); 
  }
  arg2 = reinterpret_cast< csRGBpixel * >(argp2);
  (arg1)->GetFlatColor(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_GetFlatColor(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterial, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csRGBpixel, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iMaterial_GetFlatColor__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iMaterial, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csRGBpixel, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iMaterial_GetFlatColor__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iMaterial_GetFlatColor'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_SetFlatColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterial *arg1 = (iMaterial *) 0 ;
  csRGBcolor *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMaterial_SetFlatColor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMaterial_SetFlatColor" "', argument " "1"" of type '" "iMaterial *""'"); 
  }
  arg1 = reinterpret_cast< iMaterial * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRGBcolor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMaterial_SetFlatColor" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMaterial_SetFlatColor" "', argument " "2"" of type '" "csRGBcolor const &""'"); 
  }
  arg2 = reinterpret_cast< csRGBcolor * >(argp2);
  (arg1)->SetFlatColor((csRGBcolor const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMaterial *arg1 = (iMaterial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMaterial",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMaterial, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMaterial" "', argument " "1"" of type '" "iMaterial *""'"); 
  }
  arg1 = reinterpret_cast< iMaterial * >(argp1);
  delete_iMaterial(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMaterial_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMaterial_scfGetVersion")) SWIG_fail;
  result = (int)iMaterial_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMaterial_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMaterial, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iImage_GetImageData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetImageData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetImageData" "', argument " "1"" of type '" "iImage *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (void *)(arg1)->GetImageData();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetWidth",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetWidth" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (int)((iImage const *)arg1)->GetWidth();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetHeight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetHeight" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (int)((iImage const *)arg1)->GetHeight();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetDepth",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetDepth" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (int)((iImage const *)arg1)->GetDepth();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iImage_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_SetName" "', argument " "1"" of type '" "iImage *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iImage_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetName" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (char *)((iImage const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetFormat" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (int)((iImage const *)arg1)->GetFormat();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetPalette(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  csRGBpixel *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetPalette",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetPalette" "', argument " "1"" of type '" "iImage *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (csRGBpixel *)(arg1)->GetPalette();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csRGBpixel, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  uint8 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetAlpha",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetAlpha" "', argument " "1"" of type '" "iImage *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (uint8 *)(arg1)->GetAlpha();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint8_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_HasKeyColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_HasKeyColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_HasKeyColor" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (bool)((iImage const *)arg1)->HasKeyColor();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_HasKeycolor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_HasKeycolor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_HasKeycolor" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (bool)((iImage const *)arg1)->HasKeycolor();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetKeyColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  int temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetKeyColor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetKeyColor" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  ((iImage const *)arg1)->GetKeyColor(*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetKeycolor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int res2 = SWIG_TMPOBJ ;
  int temp3 ;
  int res3 = SWIG_TMPOBJ ;
  int temp4 ;
  int res4 = SWIG_TMPOBJ ;
  PyObject * obj0 = 0 ;
  
  arg2 = &temp2;
  arg3 = &temp3;
  arg4 = &temp4;
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetKeycolor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetKeycolor" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  ((iImage const *)arg1)->GetKeycolor(*arg2,*arg3,*arg4);
  resultobj = SWIG_Py_Void();
  if (SWIG_IsTmpObj(res2)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
  } else {
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res4)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
  } else {
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_HasMipmaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_HasMipmaps",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_HasMipmaps" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (uint)((iImage const *)arg1)->HasMipmaps();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetMipmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  uint arg2 ;
  SwigValueWrapper<csRef<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iImage_GetMipmap",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetMipmap" "', argument " "1"" of type '" "iImage *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iImage_GetMipmap" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (arg1)->GetMipmap(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csRef<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetRawFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetRawFormat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetRawFormat" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (char *)((iImage const *)arg1)->GetRawFormat();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetRawData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  SwigValueWrapper<csRef<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetRawData",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetRawData" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = ((iImage const *)arg1)->GetRawData();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csRef<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetImageType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  csImageType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_GetImageType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetImageType" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (csImageType)((iImage const *)arg1)->GetImageType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_HasSubImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImage_HasSubImages",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_HasSubImages" "', argument " "1"" of type '" "iImage const *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  result = (uint)((iImage const *)arg1)->HasSubImages();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_GetSubImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  uint arg2 ;
  SwigValueWrapper<csRef<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iImage_GetSubImage",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImage_GetSubImage" "', argument " "1"" of type '" "iImage *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iImage_GetSubImage" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (arg1)->GetSubImage(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csRef<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImage *arg1 = (iImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iImage",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImage, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iImage" "', argument " "1"" of type '" "iImage *""'"); 
  }
  arg1 = reinterpret_cast< iImage * >(argp1);
  delete_iImage(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImage_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iImage_scfGetVersion")) SWIG_fail;
  result = (int)iImage_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iImage, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csImageIOFileFormatDescriptions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csArrayCapacityDefault *arg2 = 0 ;
  csArray<csImageIOFileFormatDescription const * > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csImageIOFileFormatDescriptions",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayCapacityDefault,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "2"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "2"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  arg2 = reinterpret_cast< csArrayCapacityDefault * >(argp2);
  result = (csArray<csImageIOFileFormatDescription const * > *)new csArray<csImageIOFileFormatDescription const * >(arg1,(csArrayCapacityDefault const &)*arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csImageIOFileFormatDescriptions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  csArray<csImageIOFileFormatDescription const * > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csImageIOFileFormatDescriptions",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (csArray<csImageIOFileFormatDescription const * > *)new csArray<csImageIOFileFormatDescription const * >(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csImageIOFileFormatDescriptions__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csImageIOFileFormatDescriptions")) SWIG_fail;
  result = (csArray<csImageIOFileFormatDescription const * > *)new csArray<csImageIOFileFormatDescription const * >();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csImageIOFileFormatDescriptions__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  CS::Memory::AllocatorMalloc *arg2 = 0 ;
  csArrayCapacityDefault *arg3 = 0 ;
  csArray<csImageIOFileFormatDescription const * > *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csImageIOFileFormatDescriptions",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CS__Memory__AllocatorMalloc,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "2"" of type '" "CS::Memory::AllocatorMalloc const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "2"" of type '" "CS::Memory::AllocatorMalloc const &""'"); 
  }
  arg2 = reinterpret_cast< CS::Memory::AllocatorMalloc * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csArrayCapacityDefault,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "3"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "3"" of type '" "csArrayCapacityDefault const &""'"); 
  }
  arg3 = reinterpret_cast< csArrayCapacityDefault * >(argp3);
  result = (csArray<csImageIOFileFormatDescription const * > *)new csArray<csImageIOFileFormatDescription const * >(arg1,(CS::Memory::AllocatorMalloc const &)*arg2,(csArrayCapacityDefault const &)*arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csImageIOFileFormatDescriptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csImageIOFileFormatDescriptions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csImageIOFileFormatDescriptions" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csImageIOFileFormatDescriptions__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = 0 ;
  csArray<csImageIOFileFormatDescription const * > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csImageIOFileFormatDescriptions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csImageIOFileFormatDescriptions" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const &""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  result = (csArray<csImageIOFileFormatDescription const * > *)new csArray<csImageIOFileFormatDescription const * >((csArray<csImageIOFileFormatDescription const * > const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csImageIOFileFormatDescriptions(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csImageIOFileFormatDescriptions__SWIG_2(self, args);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csImageIOFileFormatDescriptions__SWIG_4(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_csImageIOFileFormatDescriptions__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csArrayCapacityDefault, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_csImageIOFileFormatDescriptions__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    {
      int res = SWIG_AsVal_size_t(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CS__Memory__AllocatorMalloc, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csArrayCapacityDefault, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csImageIOFileFormatDescriptions__SWIG_3(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csImageIOFileFormatDescriptions'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescriptions_GetSize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_GetSize" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  result = ((csArray<csImageIOFileFormatDescription const * > const *)arg1)->GetSize();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescriptions_Length",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Length" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  result = ((csArray<csImageIOFileFormatDescription const * > const *)arg1)->Length();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t arg2 ;
  csImageIOFileFormatDescription **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Get" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescriptions_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csImageIOFileFormatDescription const *&_result_ref = (arg1)->Get(arg2);
    result = (csImageIOFileFormatDescription **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_csImageIOFileFormatDescription, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t arg2 ;
  csImageIOFileFormatDescription **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions_Get",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Get" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescriptions_Get" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  {
    csImageIOFileFormatDescription const *const &_result_ref = ((csArray<csImageIOFileFormatDescription const * > const *)arg1)->Get(arg2);
    result = (csImageIOFileFormatDescription **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_csImageIOFileFormatDescription, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Get(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csImageIOFileFormatDescriptions_Get__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_csImageIOFileFormatDescriptions_Get__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csImageIOFileFormatDescriptions_Get'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t arg2 ;
  csImageIOFileFormatDescription **arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csImageIOFileFormatDescriptions_Put",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Put" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescriptions_Put" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_csImageIOFileFormatDescription,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csImageIOFileFormatDescriptions_Put" "', argument " "3"" of type '" "csImageIOFileFormatDescription const *const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csImageIOFileFormatDescriptions_Put" "', argument " "3"" of type '" "csImageIOFileFormatDescription const *const &""'"); 
  }
  arg3 = reinterpret_cast< csImageIOFileFormatDescription ** >(argp3);
  (arg1)->Put(arg2,(csImageIOFileFormatDescription const *const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  csImageIOFileFormatDescription **arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions_Push",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Push" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_csImageIOFileFormatDescription,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csImageIOFileFormatDescriptions_Push" "', argument " "2"" of type '" "csImageIOFileFormatDescription const *const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csImageIOFileFormatDescriptions_Push" "', argument " "2"" of type '" "csImageIOFileFormatDescription const *const &""'"); 
  }
  arg2 = reinterpret_cast< csImageIOFileFormatDescription ** >(argp2);
  result = (arg1)->Push((csImageIOFileFormatDescription const *const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  csImageIOFileFormatDescription *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescriptions_Pop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Pop" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  result = (csImageIOFileFormatDescription *)(arg1)->Pop();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csImageIOFileFormatDescription, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Top__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  csImageIOFileFormatDescription **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescriptions_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Top" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  {
    csImageIOFileFormatDescription const *const &_result_ref = ((csArray<csImageIOFileFormatDescription const * > const *)arg1)->Top();
    result = (csImageIOFileFormatDescription **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_csImageIOFileFormatDescription, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Top__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  csImageIOFileFormatDescription **result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescriptions_Top",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Top" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  {
    csImageIOFileFormatDescription const *&_result_ref = (arg1)->Top();
    result = (csImageIOFileFormatDescription **) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_csImageIOFileFormatDescription, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Top(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csImageIOFileFormatDescriptions_Top__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csImageIOFileFormatDescriptions_Top__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csImageIOFileFormatDescriptions_Top'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t arg2 ;
  csImageIOFileFormatDescription **arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csImageIOFileFormatDescriptions_Insert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Insert" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescriptions_Insert" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_csImageIOFileFormatDescription,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csImageIOFileFormatDescriptions_Insert" "', argument " "3"" of type '" "csImageIOFileFormatDescription const *const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csImageIOFileFormatDescriptions_Insert" "', argument " "3"" of type '" "csImageIOFileFormatDescription const *const &""'"); 
  }
  arg3 = reinterpret_cast< csImageIOFileFormatDescription ** >(argp3);
  result = (bool)(arg1)->Insert(arg2,(csImageIOFileFormatDescription const *const &)*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  csImageIOFileFormatDescription **arg2 = 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions_Contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Contains" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_csImageIOFileFormatDescription,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csImageIOFileFormatDescriptions_Contains" "', argument " "2"" of type '" "csImageIOFileFormatDescription const *const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csImageIOFileFormatDescriptions_Contains" "', argument " "2"" of type '" "csImageIOFileFormatDescription const *const &""'"); 
  }
  arg2 = reinterpret_cast< csImageIOFileFormatDescription ** >(argp2);
  result = ((csArray<csImageIOFileFormatDescription const * > const *)arg1)->Contains((csImageIOFileFormatDescription const *const &)*arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions_Truncate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Truncate" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescriptions_Truncate" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->Truncate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescriptions_Empty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_Empty" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  (arg1)->Empty();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescriptions_IsEmpty",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_IsEmpty" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  result = (bool)((csArray<csImageIOFileFormatDescription const * > const *)arg1)->IsEmpty();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_SetMinimalCapacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions_SetMinimalCapacity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_SetMinimalCapacity" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescriptions_SetMinimalCapacity" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  (arg1)->SetMinimalCapacity(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_DeleteIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions_DeleteIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_DeleteIndex" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescriptions_DeleteIndex" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndex(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_DeleteIndexFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions_DeleteIndexFast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_DeleteIndexFast" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescriptions_DeleteIndexFast" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (bool)(arg1)->DeleteIndexFast(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_DeleteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  size_t arg2 ;
  size_t arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  size_t val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csImageIOFileFormatDescriptions_DeleteRange",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_DeleteRange" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescriptions_DeleteRange" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csImageIOFileFormatDescriptions_DeleteRange" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  result = (bool)(arg1)->DeleteRange(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  csArray<csImageIOFileFormatDescription const * > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions___eq__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions___eq__" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csImageIOFileFormatDescriptions___eq__" "', argument " "2"" of type '" "csArray<csImageIOFileFormatDescription const * > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csImageIOFileFormatDescriptions___eq__" "', argument " "2"" of type '" "csArray<csImageIOFileFormatDescription const * > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp2);
  result = (bool)((csArray<csImageIOFileFormatDescription const * > const *)arg1)->operator ==((csArray<csImageIOFileFormatDescription const * > const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  csArray<csImageIOFileFormatDescription const * > *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescriptions___ne__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions___ne__" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csImageIOFileFormatDescriptions___ne__" "', argument " "2"" of type '" "csArray<csImageIOFileFormatDescription const * > const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csImageIOFileFormatDescriptions___ne__" "', argument " "2"" of type '" "csArray<csImageIOFileFormatDescription const * > const &""'"); 
  }
  arg2 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp2);
  result = (bool)((csArray<csImageIOFileFormatDescription const * > const *)arg1)->operator !=((csArray<csImageIOFileFormatDescription const * > const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescriptions_GetAllocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csArray<csImageIOFileFormatDescription const * > *arg1 = (csArray<csImageIOFileFormatDescription const * > *) 0 ;
  CS::Memory::AllocatorMalloc *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescriptions_GetAllocator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescriptions_GetAllocator" "', argument " "1"" of type '" "csArray<csImageIOFileFormatDescription const * > const *""'"); 
  }
  arg1 = reinterpret_cast< csArray<csImageIOFileFormatDescription const * > * >(argp1);
  {
    CS::Memory::AllocatorMalloc const &_result_ref = ((csArray<csImageIOFileFormatDescription const * > const *)arg1)->GetAllocator();
    result = (CS::Memory::AllocatorMalloc *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CS__Memory__AllocatorMalloc, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csImageIOFileFormatDescriptions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescription_mime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageIOFileFormatDescription *arg1 = (csImageIOFileFormatDescription *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescription_mime_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageIOFileFormatDescription, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescription_mime_get" "', argument " "1"" of type '" "csImageIOFileFormatDescription *""'"); 
  }
  arg1 = reinterpret_cast< csImageIOFileFormatDescription * >(argp1);
  result = (char *) ((arg1)->mime);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescription_subtype_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageIOFileFormatDescription *arg1 = (csImageIOFileFormatDescription *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescription_subtype_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageIOFileFormatDescription, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescription_subtype_get" "', argument " "1"" of type '" "csImageIOFileFormatDescription *""'"); 
  }
  arg1 = reinterpret_cast< csImageIOFileFormatDescription * >(argp1);
  result = (char *) ((arg1)->subtype);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescription_cap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageIOFileFormatDescription *arg1 = (csImageIOFileFormatDescription *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csImageIOFileFormatDescription_cap_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageIOFileFormatDescription, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescription_cap_set" "', argument " "1"" of type '" "csImageIOFileFormatDescription *""'"); 
  }
  arg1 = reinterpret_cast< csImageIOFileFormatDescription * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csImageIOFileFormatDescription_cap_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->cap = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csImageIOFileFormatDescription_cap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageIOFileFormatDescription *arg1 = (csImageIOFileFormatDescription *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csImageIOFileFormatDescription_cap_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageIOFileFormatDescription, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csImageIOFileFormatDescription_cap_get" "', argument " "1"" of type '" "csImageIOFileFormatDescription *""'"); 
  }
  arg1 = reinterpret_cast< csImageIOFileFormatDescription * >(argp1);
  result = (int) ((arg1)->cap);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csImageIOFileFormatDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageIOFileFormatDescription *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csImageIOFileFormatDescription")) SWIG_fail;
  result = (csImageIOFileFormatDescription *)new csImageIOFileFormatDescription();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csImageIOFileFormatDescription, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csImageIOFileFormatDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csImageIOFileFormatDescription *arg1 = (csImageIOFileFormatDescription *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csImageIOFileFormatDescription",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csImageIOFileFormatDescription, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csImageIOFileFormatDescription" "', argument " "1"" of type '" "csImageIOFileFormatDescription *""'"); 
  }
  arg1 = reinterpret_cast< csImageIOFileFormatDescription * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csImageIOFileFormatDescription_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csImageIOFileFormatDescription, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iImageIO_GetDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImageIO *arg1 = (iImageIO *) 0 ;
  csImageIOFileFormatDescriptions *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iImageIO_GetDescription",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImageIO, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImageIO_GetDescription" "', argument " "1"" of type '" "iImageIO *""'"); 
  }
  arg1 = reinterpret_cast< iImageIO * >(argp1);
  {
    csImageIOFileFormatDescriptions const &_result_ref = (arg1)->GetDescription();
    result = (csImageIOFileFormatDescriptions *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImageIO_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImageIO *arg1 = (iImageIO *) 0 ;
  iDataBuffer *arg2 = (iDataBuffer *) 0 ;
  int arg3 ;
  SwigValueWrapper<csPtr<iImage > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iImageIO_Load",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImageIO, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImageIO_Load" "', argument " "1"" of type '" "iImageIO *""'"); 
  }
  arg1 = reinterpret_cast< iImageIO * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDataBuffer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iImageIO_Load" "', argument " "2"" of type '" "iDataBuffer *""'"); 
  }
  arg2 = reinterpret_cast< iDataBuffer * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iImageIO_Load" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (arg1)->Load(arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iImage> ref((csPtr<iImage>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iImage *)ref), (void *)(iImage *)ref, "iImage" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImageIO_SetDithering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImageIO *arg1 = (iImageIO *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iImageIO_SetDithering",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImageIO, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImageIO_SetDithering" "', argument " "1"" of type '" "iImageIO *""'"); 
  }
  arg1 = reinterpret_cast< iImageIO * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iImageIO_SetDithering" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetDithering(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImageIO_Save__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImageIO *arg1 = (iImageIO *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  iImageIO::FileFormatDescription *arg3 = (iImageIO::FileFormatDescription *) 0 ;
  char *arg4 = (char *) 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iImageIO_Save",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImageIO, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImageIO_Save" "', argument " "1"" of type '" "iImageIO *""'"); 
  }
  arg1 = reinterpret_cast< iImageIO * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iImageIO_Save" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csImageIOFileFormatDescription, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iImageIO_Save" "', argument " "3"" of type '" "iImageIO::FileFormatDescription *""'"); 
  }
  arg3 = reinterpret_cast< iImageIO::FileFormatDescription * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iImageIO_Save" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (arg1)->Save(arg2,arg3,(char const *)arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImageIO_Save__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImageIO *arg1 = (iImageIO *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  iImageIO::FileFormatDescription *arg3 = (iImageIO::FileFormatDescription *) 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iImageIO_Save",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImageIO, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImageIO_Save" "', argument " "1"" of type '" "iImageIO *""'"); 
  }
  arg1 = reinterpret_cast< iImageIO * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iImageIO_Save" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csImageIOFileFormatDescription, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iImageIO_Save" "', argument " "3"" of type '" "iImageIO::FileFormatDescription *""'"); 
  }
  arg3 = reinterpret_cast< iImageIO::FileFormatDescription * >(argp3);
  result = (arg1)->Save(arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImageIO_Save__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImageIO *arg1 = (iImageIO *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iImageIO_Save",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImageIO, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImageIO_Save" "', argument " "1"" of type '" "iImageIO *""'"); 
  }
  arg1 = reinterpret_cast< iImageIO * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iImageIO_Save" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iImageIO_Save" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iImageIO_Save" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (arg1)->Save(arg2,(char const *)arg3,(char const *)arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImageIO_Save__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImageIO *arg1 = (iImageIO *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  char *arg3 = (char *) 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iImageIO_Save",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImageIO, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImageIO_Save" "', argument " "1"" of type '" "iImageIO *""'"); 
  }
  arg1 = reinterpret_cast< iImageIO * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iImageIO_Save" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iImageIO_Save" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->Save(arg2,(char const *)arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImageIO_Save__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImageIO *arg1 = (iImageIO *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  SwigValueWrapper<csPtr<iDataBuffer > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iImageIO_Save",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImageIO, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iImageIO_Save" "', argument " "1"" of type '" "iImageIO *""'"); 
  }
  arg1 = reinterpret_cast< iImageIO * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iImageIO_Save" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  result = (arg1)->Save(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDataBuffer> ref((csPtr<iDataBuffer>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDataBuffer *)ref), (void *)(iDataBuffer *)ref, "iDataBuffer" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImageIO_Save(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iImageIO, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iImageIO_Save__SWIG_4(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iImageIO, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csImageIOFileFormatDescription, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iImageIO_Save__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iImageIO, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iImageIO_Save__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iImageIO, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csImageIOFileFormatDescription, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iImageIO_Save__SWIG_0(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iImageIO, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iImageIO_Save__SWIG_2(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iImageIO_Save'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iImageIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iImageIO *arg1 = (iImageIO *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iImageIO",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iImageIO, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iImageIO" "', argument " "1"" of type '" "iImageIO *""'"); 
  }
  arg1 = reinterpret_cast< iImageIO * >(argp1);
  delete_iImageIO(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iImageIO_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iImageIO_scfGetVersion")) SWIG_fail;
  result = (int)iImageIO_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iImageIO_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iImageIO, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iReporterListener_Report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporterListener *arg1 = (iReporterListener *) 0 ;
  iReporter *arg2 = (iReporter *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iReporterListener_Report",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporterListener_Report" "', argument " "1"" of type '" "iReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iReporterListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporterListener_Report" "', argument " "2"" of type '" "iReporter *""'"); 
  }
  arg2 = reinterpret_cast< iReporter * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iReporterListener_Report" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iReporterListener_Report" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iReporterListener_Report" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = buf5;
  result = (bool)(arg1)->Report(arg2,arg3,(char const *)arg4,(char const *)arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iReporterListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporterListener *arg1 = (iReporterListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iReporterListener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporterListener, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iReporterListener" "', argument " "1"" of type '" "iReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iReporterListener * >(argp1);
  delete_iReporterListener(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporterListener_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iReporterListener_scfGetVersion")) SWIG_fail;
  result = (int)iReporterListener_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iReporterListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iReporterListener, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iReporterIterator_HasNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporterIterator *arg1 = (iReporterIterator *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iReporterIterator_HasNext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporterIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporterIterator_HasNext" "', argument " "1"" of type '" "iReporterIterator *""'"); 
  }
  arg1 = reinterpret_cast< iReporterIterator * >(argp1);
  result = (bool)(arg1)->HasNext();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporterIterator_Next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporterIterator *arg1 = (iReporterIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iReporterIterator_Next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporterIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporterIterator_Next" "', argument " "1"" of type '" "iReporterIterator *""'"); 
  }
  arg1 = reinterpret_cast< iReporterIterator * >(argp1);
  (arg1)->Next();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporterIterator_GetMessageSeverity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporterIterator *arg1 = (iReporterIterator *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iReporterIterator_GetMessageSeverity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporterIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporterIterator_GetMessageSeverity" "', argument " "1"" of type '" "iReporterIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iReporterIterator * >(argp1);
  result = (int)((iReporterIterator const *)arg1)->GetMessageSeverity();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporterIterator_GetMessageId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporterIterator *arg1 = (iReporterIterator *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iReporterIterator_GetMessageId",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporterIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporterIterator_GetMessageId" "', argument " "1"" of type '" "iReporterIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iReporterIterator * >(argp1);
  result = (char *)((iReporterIterator const *)arg1)->GetMessageId();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporterIterator_GetMessageDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporterIterator *arg1 = (iReporterIterator *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iReporterIterator_GetMessageDescription",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporterIterator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporterIterator_GetMessageDescription" "', argument " "1"" of type '" "iReporterIterator const *""'"); 
  }
  arg1 = reinterpret_cast< iReporterIterator * >(argp1);
  result = (char *)((iReporterIterator const *)arg1)->GetMessageDescription();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iReporterIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporterIterator *arg1 = (iReporterIterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iReporterIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporterIterator, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iReporterIterator" "', argument " "1"" of type '" "iReporterIterator *""'"); 
  }
  arg1 = reinterpret_cast< iReporterIterator * >(argp1);
  delete_iReporterIterator(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporterIterator_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iReporterIterator_scfGetVersion")) SWIG_fail;
  result = (int)iReporterIterator_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iReporterIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iReporterIterator, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iReporter_Report__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iReporter_Report",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_Report" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iReporter_Report" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iReporter_Report" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  {
    arg4 = "%s";
    arg5 = (void *) PyString_AsString(obj3);
  }
  (arg1)->Report(arg2,(char const *)arg3,(char const *)arg4,arg5);
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_Report(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iReporter_Report__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iReporter_Clear__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iReporter_Clear",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_Clear" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iReporter_Clear" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->Clear(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_Clear__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iReporter_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_Clear" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_Clear__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iReporter_Clear",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_Clear" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporter_Clear" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->Clear((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_Clear(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iReporter, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iReporter_Clear__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iReporter, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iReporter_Clear__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iReporter, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iReporter_Clear__SWIG_2(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iReporter_Clear'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_GetMessageIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  SwigValueWrapper<csPtr<iReporterIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iReporter_GetMessageIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_GetMessageIterator" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  result = (arg1)->GetMessageIterator();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iReporterIterator> ref((csPtr<iReporterIterator>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iReporterIterator *)ref), (void *)(iReporterIterator *)ref, "iReporterIterator" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_AddReporterListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  iReporterListener *arg2 = (iReporterListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iReporter_AddReporterListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_AddReporterListener" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporter_AddReporterListener" "', argument " "2"" of type '" "iReporterListener *""'"); 
  }
  arg2 = reinterpret_cast< iReporterListener * >(argp2);
  (arg1)->AddReporterListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_RemoveReporterListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  iReporterListener *arg2 = (iReporterListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iReporter_RemoveReporterListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_RemoveReporterListener" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporter_RemoveReporterListener" "', argument " "2"" of type '" "iReporterListener *""'"); 
  }
  arg2 = reinterpret_cast< iReporterListener * >(argp2);
  (arg1)->RemoveReporterListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_FindReporterListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  iReporterListener *arg2 = (iReporterListener *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iReporter_FindReporterListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_FindReporterListener" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporter_FindReporterListener" "', argument " "2"" of type '" "iReporterListener *""'"); 
  }
  arg2 = reinterpret_cast< iReporterListener * >(argp2);
  result = (bool)(arg1)->FindReporterListener(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportError__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iReporter_ReportError",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_ReportError" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporter_ReportError" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    arg3 = "%s";
    arg4 = (void *) PyString_AsString(obj2);
  }
  (arg1)->ReportError((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportError(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,3);
  varargs = PyTuple_GetSlice(args,3,PyTuple_Size(args)+1);
  resultobj = _wrap_iReporter_ReportError__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportWarning__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iReporter_ReportWarning",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_ReportWarning" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporter_ReportWarning" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    arg3 = "%s";
    arg4 = (void *) PyString_AsString(obj2);
  }
  (arg1)->ReportWarning((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportWarning(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,3);
  varargs = PyTuple_GetSlice(args,3,PyTuple_Size(args)+1);
  resultobj = _wrap_iReporter_ReportWarning__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportNotify__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iReporter_ReportNotify",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_ReportNotify" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporter_ReportNotify" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    arg3 = "%s";
    arg4 = (void *) PyString_AsString(obj2);
  }
  (arg1)->ReportNotify((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportNotify(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,3);
  varargs = PyTuple_GetSlice(args,3,PyTuple_Size(args)+1);
  resultobj = _wrap_iReporter_ReportNotify__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportBug__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iReporter_ReportBug",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_ReportBug" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporter_ReportBug" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    arg3 = "%s";
    arg4 = (void *) PyString_AsString(obj2);
  }
  (arg1)->ReportBug((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportBug(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,3);
  varargs = PyTuple_GetSlice(args,3,PyTuple_Size(args)+1);
  resultobj = _wrap_iReporter_ReportBug__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportDebug__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iReporter_ReportDebug",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iReporter_ReportDebug" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iReporter_ReportDebug" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    arg3 = "%s";
    arg4 = (void *) PyString_AsString(obj2);
  }
  (arg1)->ReportDebug((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_ReportDebug(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,3);
  varargs = PyTuple_GetSlice(args,3,PyTuple_Size(args)+1);
  resultobj = _wrap_iReporter_ReportDebug__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_delete_iReporter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iReporter *arg1 = (iReporter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iReporter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iReporter, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iReporter" "', argument " "1"" of type '" "iReporter *""'"); 
  }
  arg1 = reinterpret_cast< iReporter * >(argp1);
  delete_iReporter(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iReporter_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iReporter_scfGetVersion")) SWIG_fail;
  result = (int)iReporter_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iReporter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iReporter, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csReporterHelper_Report__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csReporterHelper_Report",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csReporterHelper_Report" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csReporterHelper_Report" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csReporterHelper_Report" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  {
    arg4 = "%s";
    arg5 = (void *) PyString_AsString(obj3);
  }
  csReporterHelper::Report(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5);
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csReporterHelper_Report(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_csReporterHelper_Report__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_new_csReporterHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReporterHelper *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csReporterHelper")) SWIG_fail;
  result = (csReporterHelper *)new csReporterHelper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csReporterHelper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csReporterHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csReporterHelper *arg1 = (csReporterHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csReporterHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csReporterHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csReporterHelper" "', argument " "1"" of type '" "csReporterHelper *""'"); 
  }
  arg1 = reinterpret_cast< csReporterHelper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csReporterHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csReporterHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iConsoleWatcher_ConsoleVisibilityChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleWatcher *arg1 = (iConsoleWatcher *) 0 ;
  iConsoleOutput *arg2 = (iConsoleOutput *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConsoleWatcher_ConsoleVisibilityChanged",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleWatcher, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleWatcher_ConsoleVisibilityChanged" "', argument " "1"" of type '" "iConsoleWatcher *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleWatcher * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConsoleWatcher_ConsoleVisibilityChanged" "', argument " "2"" of type '" "iConsoleOutput *""'"); 
  }
  arg2 = reinterpret_cast< iConsoleOutput * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConsoleWatcher_ConsoleVisibilityChanged" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->ConsoleVisibilityChanged(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iConsoleWatcher(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleWatcher *arg1 = (iConsoleWatcher *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iConsoleWatcher",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleWatcher, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iConsoleWatcher" "', argument " "1"" of type '" "iConsoleWatcher *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleWatcher * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iConsoleWatcher_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iConsoleWatcher, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iConsoleOutput_PutText__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_PutText",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_PutText" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConsoleOutput_PutText" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->PutText((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_PutText(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,2);
  varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1);
  resultobj = _wrap_iConsoleOutput_PutText__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_GetLine__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  int arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_GetLine",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_GetLine" "', argument " "1"" of type '" "iConsoleOutput const *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_GetLine" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (char *)((iConsoleOutput const *)arg1)->GetLine(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_GetLine__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_GetLine",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_GetLine" "', argument " "1"" of type '" "iConsoleOutput const *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  result = (char *)((iConsoleOutput const *)arg1)->GetLine();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_GetLine(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iConsoleOutput_GetLine__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iConsoleOutput_GetLine__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConsoleOutput_GetLine'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_Draw2D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  csRect *arg2 = (csRect *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_Draw2D",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_Draw2D" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConsoleOutput_Draw2D" "', argument " "2"" of type '" "csRect *""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Draw2D(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_Draw2D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_Draw2D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_Draw2D" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  (arg1)->Draw2D();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_Draw2D(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iConsoleOutput_Draw2D__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csRect, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConsoleOutput_Draw2D__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConsoleOutput_Draw2D'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_Draw3D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  csRect *arg2 = (csRect *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_Draw3D",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_Draw3D" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csRect, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConsoleOutput_Draw3D" "', argument " "2"" of type '" "csRect *""'"); 
  }
  arg2 = reinterpret_cast< csRect * >(argp2);
  (arg1)->Draw3D(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_Draw3D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_Draw3D",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_Draw3D" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  (arg1)->Draw3D();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_Draw3D(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iConsoleOutput_Draw3D__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csRect, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iConsoleOutput_Draw3D__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConsoleOutput_Draw3D'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_Clear__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_Clear",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_Clear" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_Clear" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->Clear(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_Clear__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_Clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_Clear" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  (arg1)->Clear();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_Clear(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iConsoleOutput_Clear__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iConsoleOutput_Clear__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConsoleOutput_Clear'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_SetBufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_SetBufferSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_SetBufferSize" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_SetBufferSize" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetBufferSize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_GetTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_GetTransparency",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_GetTransparency" "', argument " "1"" of type '" "iConsoleOutput const *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  result = (bool)((iConsoleOutput const *)arg1)->GetTransparency();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_SetTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_SetTransparency",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_SetTransparency" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_SetTransparency" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetTransparency(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  iFont *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_GetFont",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_GetFont" "', argument " "1"" of type '" "iConsoleOutput const *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  result = (iFont *)((iConsoleOutput const *)arg1)->GetFont();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iFont, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  iFont *arg2 = (iFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_SetFont",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_SetFont" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConsoleOutput_SetFont" "', argument " "2"" of type '" "iFont *""'"); 
  }
  arg2 = reinterpret_cast< iFont * >(argp2);
  (arg1)->SetFont(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_GetTopLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_GetTopLine",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_GetTopLine" "', argument " "1"" of type '" "iConsoleOutput const *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  result = (int)((iConsoleOutput const *)arg1)->GetTopLine();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_ScrollTo__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  int arg2 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iConsoleOutput_ScrollTo",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_ScrollTo" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_ScrollTo" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iConsoleOutput_ScrollTo" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->ScrollTo(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_ScrollTo__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_ScrollTo",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_ScrollTo" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_ScrollTo" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->ScrollTo(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_ScrollTo(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iConsoleOutput_ScrollTo__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iConsoleOutput, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iConsoleOutput_ScrollTo__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iConsoleOutput_ScrollTo'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_GetCursorStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_GetCursorStyle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_GetCursorStyle" "', argument " "1"" of type '" "iConsoleOutput const *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  result = (int)((iConsoleOutput const *)arg1)->GetCursorStyle();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_SetCursorStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_SetCursorStyle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_SetCursorStyle" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_SetCursorStyle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetCursorStyle(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_SetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_SetVisible",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_SetVisible" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_SetVisible" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetVisible(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_GetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_GetVisible",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_GetVisible" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  result = (bool)(arg1)->GetVisible();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_AutoUpdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_AutoUpdate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_AutoUpdate" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_AutoUpdate" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->AutoUpdate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_SetCursorPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_SetCursorPos",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_SetCursorPos" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iConsoleOutput_SetCursorPos" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetCursorPos(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_GetMaxLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iConsoleOutput_GetMaxLineWidth",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_GetMaxLineWidth" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  result = (int)(arg1)->GetMaxLineWidth();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_RegisterWatcher(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  iConsoleWatcher *arg2 = (iConsoleWatcher *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_RegisterWatcher",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_RegisterWatcher" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iConsoleWatcher, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConsoleOutput_RegisterWatcher" "', argument " "2"" of type '" "iConsoleWatcher *""'"); 
  }
  arg2 = reinterpret_cast< iConsoleWatcher * >(argp2);
  (arg1)->RegisterWatcher(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_PerformExtension__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iConsoleOutput_PerformExtension",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iConsoleOutput_PerformExtension" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iConsoleOutput_PerformExtension" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->PerformExtension((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iConsoleOutput_PerformExtension(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,2);
  varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1);
  resultobj = _wrap_iConsoleOutput_PerformExtension__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_delete_iConsoleOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iConsoleOutput *arg1 = (iConsoleOutput *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iConsoleOutput",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iConsoleOutput, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iConsoleOutput" "', argument " "1"" of type '" "iConsoleOutput *""'"); 
  }
  arg1 = reinterpret_cast< iConsoleOutput * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iConsoleOutput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iConsoleOutput, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetOutputConsole(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  iConsoleOutput *arg2 = (iConsoleOutput *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStandardReporterListener_SetOutputConsole",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_SetOutputConsole" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iConsoleOutput, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStandardReporterListener_SetOutputConsole" "', argument " "2"" of type '" "iConsoleOutput *""'"); 
  }
  arg2 = reinterpret_cast< iConsoleOutput * >(argp2);
  (arg1)->SetOutputConsole(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetNativeWindowManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  iNativeWindowManager *arg2 = (iNativeWindowManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStandardReporterListener_SetNativeWindowManager",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_SetNativeWindowManager" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iNativeWindowManager, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStandardReporterListener_SetNativeWindowManager" "', argument " "2"" of type '" "iNativeWindowManager *""'"); 
  }
  arg2 = reinterpret_cast< iNativeWindowManager * >(argp2);
  (arg1)->SetNativeWindowManager(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetReporter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  iReporter *arg2 = (iReporter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStandardReporterListener_SetReporter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_SetReporter" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iReporter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStandardReporterListener_SetReporter" "', argument " "2"" of type '" "iReporter *""'"); 
  }
  arg2 = reinterpret_cast< iReporter * >(argp2);
  (arg1)->SetReporter(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetDebugFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iStandardReporterListener_SetDebugFile",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_SetDebugFile" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStandardReporterListener_SetDebugFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iStandardReporterListener_SetDebugFile" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->SetDebugFile((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetDebugFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iStandardReporterListener_SetDebugFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_SetDebugFile" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iStandardReporterListener_SetDebugFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetDebugFile((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetDebugFile(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStandardReporterListener, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iStandardReporterListener_SetDebugFile__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStandardReporterListener, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iStandardReporterListener_SetDebugFile__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iStandardReporterListener_SetDebugFile'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetDefaults(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStandardReporterListener_SetDefaults",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_SetDefaults" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  (arg1)->SetDefaults();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetMessageDestination__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  int arg2 ;
  bool arg3 ;
  bool arg4 ;
  bool arg5 ;
  bool arg6 ;
  bool arg7 ;
  bool arg8 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  bool val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iStandardReporterListener_SetMessageDestination",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  ecode7 = SWIG_AsVal_bool(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "7"" of type '" "bool""'");
  } 
  arg7 = static_cast< bool >(val7);
  ecode8 = SWIG_AsVal_bool(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "8"" of type '" "bool""'");
  } 
  arg8 = static_cast< bool >(val8);
  (arg1)->SetMessageDestination(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetMessageDestination__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  int arg2 ;
  bool arg3 ;
  bool arg4 ;
  bool arg5 ;
  bool arg6 ;
  bool arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  bool val6 ;
  int ecode6 = 0 ;
  bool val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iStandardReporterListener_SetMessageDestination",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  ecode6 = SWIG_AsVal_bool(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "6"" of type '" "bool""'");
  } 
  arg6 = static_cast< bool >(val6);
  ecode7 = SWIG_AsVal_bool(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iStandardReporterListener_SetMessageDestination" "', argument " "7"" of type '" "bool""'");
  } 
  arg7 = static_cast< bool >(val7);
  (arg1)->SetMessageDestination(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_SetMessageDestination(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[9];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 8); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStandardReporterListener, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_bool(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iStandardReporterListener_SetMessageDestination__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iStandardReporterListener, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_bool(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_bool(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_bool(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_bool(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    return _wrap_iStandardReporterListener_SetMessageDestination__SWIG_0(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iStandardReporterListener_SetMessageDestination'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_RemoveMessages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  int arg2 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iStandardReporterListener_RemoveMessages",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_RemoveMessages" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStandardReporterListener_RemoveMessages" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iStandardReporterListener_RemoveMessages" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->RemoveMessages(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_ShowMessageID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  int arg2 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iStandardReporterListener_ShowMessageID",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_ShowMessageID" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iStandardReporterListener_ShowMessageID" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iStandardReporterListener_ShowMessageID" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->ShowMessageID(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_GetDebugFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iStandardReporterListener_GetDebugFile",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iStandardReporterListener_GetDebugFile" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  result = (char *)(arg1)->GetDebugFile();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iStandardReporterListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iStandardReporterListener *arg1 = (iStandardReporterListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iStandardReporterListener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iStandardReporterListener, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iStandardReporterListener" "', argument " "1"" of type '" "iStandardReporterListener *""'"); 
  }
  arg1 = reinterpret_cast< iStandardReporterListener * >(argp1);
  delete_iStandardReporterListener(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iStandardReporterListener_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iStandardReporterListener_scfGetVersion")) SWIG_fail;
  result = (int)iStandardReporterListener_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iStandardReporterListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iStandardReporterListener, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iView_GetEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  iEngine *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iView_GetEngine",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_GetEngine" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  result = (iEngine *)(arg1)->GetEngine();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iEngine, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_SetEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  iEngine *arg2 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iView_SetEngine",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_SetEngine" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iView_SetEngine" "', argument " "2"" of type '" "iEngine *""'"); 
  }
  arg2 = reinterpret_cast< iEngine * >(argp2);
  (arg1)->SetEngine(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_GetCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  iCamera *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iView_GetCamera",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_GetCamera" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  result = (iCamera *)(arg1)->GetCamera();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCamera, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_SetCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iView_SetCamera",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_SetCamera" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iView_SetCamera" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  (arg1)->SetCamera(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_GetContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  iGraphics3D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iView_GetContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_GetContext" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  result = (iGraphics3D *)(arg1)->GetContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGraphics3D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_SetContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iView_SetContext",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_SetContext" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iView_SetContext" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  (arg1)->SetContext(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_SetRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iView_SetRectangle",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_SetRectangle" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iView_SetRectangle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iView_SetRectangle" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iView_SetRectangle" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iView_SetRectangle" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->SetRectangle(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_ClearView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iView_ClearView",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_ClearView" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  (arg1)->ClearView();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_AddViewVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iView_AddViewVertex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_AddViewVertex" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iView_AddViewVertex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iView_AddViewVertex" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->AddViewVertex(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_RestrictClipperToScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iView_RestrictClipperToScreen",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_RestrictClipperToScreen" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  (arg1)->RestrictClipperToScreen();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_UpdateClipper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iView_UpdateClipper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_UpdateClipper" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  (arg1)->UpdateClipper();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_GetClipper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  iClipper2D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iView_GetClipper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_GetClipper" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  result = (iClipper2D *)(arg1)->GetClipper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iClipper2D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_Draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iView_Draw",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_Draw" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iView_Draw" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->Draw(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_Draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iView_Draw",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_Draw" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  (arg1)->Draw();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_Draw(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iView, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iView_Draw__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iView, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iView_Draw__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iView_Draw'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_SetAutoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iView_SetAutoResize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iView_SetAutoResize" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iView_SetAutoResize" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetAutoResize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iView *arg1 = (iView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iView",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iView, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iView" "', argument " "1"" of type '" "iView *""'"); 
  }
  arg1 = reinterpret_cast< iView * >(argp1);
  delete_iView(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iView_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iView_scfGetVersion")) SWIG_fail;
  result = (int)iView_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iView, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csCollisionPair_a1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCollisionPair_a1_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_a1_set" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCollisionPair_a1_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->a1 = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_a1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCollisionPair_a1_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_a1_get" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  result = (csVector3 *)& ((arg1)->a1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_b1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCollisionPair_b1_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_b1_set" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCollisionPair_b1_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->b1 = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_b1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCollisionPair_b1_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_b1_get" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  result = (csVector3 *)& ((arg1)->b1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_c1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCollisionPair_c1_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_c1_set" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCollisionPair_c1_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->c1 = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_c1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCollisionPair_c1_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_c1_get" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  result = (csVector3 *)& ((arg1)->c1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_a2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCollisionPair_a2_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_a2_set" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCollisionPair_a2_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->a2 = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_a2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCollisionPair_a2_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_a2_get" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  result = (csVector3 *)& ((arg1)->a2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_b2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCollisionPair_b2_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_b2_set" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCollisionPair_b2_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->b2 = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_b2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCollisionPair_b2_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_b2_get" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  result = (csVector3 *)& ((arg1)->b2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_c2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csCollisionPair_c2_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_c2_set" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csCollisionPair_c2_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->c2 = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csCollisionPair_c2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csCollisionPair_c2_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csCollisionPair_c2_get" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  result = (csVector3 *)& ((arg1)->c2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csCollisionPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csCollisionPair")) SWIG_fail;
  result = (csCollisionPair *)new csCollisionPair();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCollisionPair, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csCollisionPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csCollisionPair *arg1 = (csCollisionPair *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csCollisionPair",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csCollisionPair, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csCollisionPair" "', argument " "1"" of type '" "csCollisionPair *""'"); 
  }
  arg1 = reinterpret_cast< csCollisionPair * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csCollisionPair_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csCollisionPair, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csIntersectingTriangle_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersectingTriangle *arg1 = (csIntersectingTriangle *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csIntersectingTriangle_a_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csIntersectingTriangle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersectingTriangle_a_set" "', argument " "1"" of type '" "csIntersectingTriangle *""'"); 
  }
  arg1 = reinterpret_cast< csIntersectingTriangle * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersectingTriangle_a_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->a = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersectingTriangle_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersectingTriangle *arg1 = (csIntersectingTriangle *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csIntersectingTriangle_a_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csIntersectingTriangle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersectingTriangle_a_get" "', argument " "1"" of type '" "csIntersectingTriangle *""'"); 
  }
  arg1 = reinterpret_cast< csIntersectingTriangle * >(argp1);
  result = (csVector3 *)& ((arg1)->a);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersectingTriangle_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersectingTriangle *arg1 = (csIntersectingTriangle *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csIntersectingTriangle_b_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csIntersectingTriangle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersectingTriangle_b_set" "', argument " "1"" of type '" "csIntersectingTriangle *""'"); 
  }
  arg1 = reinterpret_cast< csIntersectingTriangle * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersectingTriangle_b_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->b = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersectingTriangle_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersectingTriangle *arg1 = (csIntersectingTriangle *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csIntersectingTriangle_b_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csIntersectingTriangle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersectingTriangle_b_get" "', argument " "1"" of type '" "csIntersectingTriangle *""'"); 
  }
  arg1 = reinterpret_cast< csIntersectingTriangle * >(argp1);
  result = (csVector3 *)& ((arg1)->b);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersectingTriangle_c_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersectingTriangle *arg1 = (csIntersectingTriangle *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csIntersectingTriangle_c_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csIntersectingTriangle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersectingTriangle_c_set" "', argument " "1"" of type '" "csIntersectingTriangle *""'"); 
  }
  arg1 = reinterpret_cast< csIntersectingTriangle * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csIntersectingTriangle_c_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->c = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csIntersectingTriangle_c_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersectingTriangle *arg1 = (csIntersectingTriangle *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csIntersectingTriangle_c_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csIntersectingTriangle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csIntersectingTriangle_c_get" "', argument " "1"" of type '" "csIntersectingTriangle *""'"); 
  }
  arg1 = reinterpret_cast< csIntersectingTriangle * >(argp1);
  result = (csVector3 *)& ((arg1)->c);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csIntersectingTriangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersectingTriangle *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csIntersectingTriangle")) SWIG_fail;
  result = (csIntersectingTriangle *)new csIntersectingTriangle();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csIntersectingTriangle, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csIntersectingTriangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csIntersectingTriangle *arg1 = (csIntersectingTriangle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csIntersectingTriangle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csIntersectingTriangle, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csIntersectingTriangle" "', argument " "1"" of type '" "csIntersectingTriangle *""'"); 
  }
  arg1 = reinterpret_cast< csIntersectingTriangle * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csIntersectingTriangle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csIntersectingTriangle, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iCollider_GetColliderType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollider *arg1 = (iCollider *) 0 ;
  csColliderType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCollider_GetColliderType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollider_GetColliderType" "', argument " "1"" of type '" "iCollider *""'"); 
  }
  arg1 = reinterpret_cast< iCollider * >(argp1);
  result = (csColliderType)(arg1)->GetColliderType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollider *arg1 = (iCollider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iCollider",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollider, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iCollider" "', argument " "1"" of type '" "iCollider *""'"); 
  }
  arg1 = reinterpret_cast< iCollider * >(argp1);
  delete_iCollider(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollider_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iCollider_scfGetVersion")) SWIG_fail;
  result = (int)iCollider_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iCollider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iCollider, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iCollideSystem_CreateCollider__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iPolygonMesh *arg2 = (iPolygonMesh *) 0 ;
  SwigValueWrapper<csPtr<iCollider > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCollideSystem_CreateCollider",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_CreateCollider" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCollideSystem_CreateCollider" "', argument " "2"" of type '" "iPolygonMesh *""'"); 
  }
  arg2 = reinterpret_cast< iPolygonMesh * >(argp2);
  result = (arg1)->CreateCollider(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iCollider> ref((csPtr<iCollider>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iCollider *)ref), (void *)(iCollider *)ref, "iCollider" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_CreateCollider__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iTerraFormer *arg2 = (iTerraFormer *) 0 ;
  SwigValueWrapper<csPtr<iCollider > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCollideSystem_CreateCollider",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_CreateCollider" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCollideSystem_CreateCollider" "', argument " "2"" of type '" "iTerraFormer *""'"); 
  }
  arg2 = reinterpret_cast< iTerraFormer * >(argp2);
  result = (arg1)->CreateCollider(arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iCollider> ref((csPtr<iCollider>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iCollider *)ref), (void *)(iCollider *)ref, "iCollider" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_CreateCollider(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCollideSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iPolygonMesh, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCollideSystem_CreateCollider__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCollideSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iTerraFormer, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iCollideSystem_CreateCollider__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iCollideSystem_CreateCollider'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_Collide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iCollider *arg2 = (iCollider *) 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  iCollider *arg4 = (iCollider *) 0 ;
  csReversibleTransform *arg5 = (csReversibleTransform *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iCollideSystem_Collide",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_Collide" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCollideSystem_Collide" "', argument " "2"" of type '" "iCollider *""'"); 
  }
  arg2 = reinterpret_cast< iCollider * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCollideSystem_Collide" "', argument " "3"" of type '" "csReversibleTransform const *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iCollideSystem_Collide" "', argument " "4"" of type '" "iCollider *""'"); 
  }
  arg4 = reinterpret_cast< iCollider * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iCollideSystem_Collide" "', argument " "5"" of type '" "csReversibleTransform const *""'"); 
  }
  arg5 = reinterpret_cast< csReversibleTransform * >(argp5);
  result = (bool)(arg1)->Collide(arg2,(csReversibleTransform const *)arg3,arg4,(csReversibleTransform const *)arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_GetCollisionPairs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  csCollisionPair *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCollideSystem_GetCollisionPairs",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_GetCollisionPairs" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  result = (csCollisionPair *)(arg1)->GetCollisionPairs();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCollisionPair, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_GetCollisionPairCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCollideSystem_GetCollisionPairCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_GetCollisionPairCount" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  result = (arg1)->GetCollisionPairCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_ResetCollisionPairs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCollideSystem_ResetCollisionPairs",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_ResetCollisionPairs" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  (arg1)->ResetCollisionPairs();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_CollideRay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iCollider *arg2 = (iCollider *) 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iCollideSystem_CollideRay",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_CollideRay" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCollideSystem_CollideRay" "', argument " "2"" of type '" "iCollider *""'"); 
  }
  arg2 = reinterpret_cast< iCollider * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCollideSystem_CollideRay" "', argument " "3"" of type '" "csReversibleTransform const *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iCollideSystem_CollideRay" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCollideSystem_CollideRay" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iCollideSystem_CollideRay" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCollideSystem_CollideRay" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (bool)(arg1)->CollideRay(arg2,(csReversibleTransform const *)arg3,(csVector3 const &)*arg4,(csVector3 const &)*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_CollideSegment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iCollider *arg2 = (iCollider *) 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iCollideSystem_CollideSegment",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_CollideSegment" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iCollideSystem_CollideSegment" "', argument " "2"" of type '" "iCollider *""'"); 
  }
  arg2 = reinterpret_cast< iCollider * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iCollideSystem_CollideSegment" "', argument " "3"" of type '" "csReversibleTransform const *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iCollideSystem_CollideSegment" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCollideSystem_CollideSegment" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iCollideSystem_CollideSegment" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iCollideSystem_CollideSegment" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (bool)(arg1)->CollideSegment(arg2,(csReversibleTransform const *)arg3,(csVector3 const &)*arg4,(csVector3 const &)*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_GetIntersectingTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  csArray<csIntersectingTriangle > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCollideSystem_GetIntersectingTriangles",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_GetIntersectingTriangles" "', argument " "1"" of type '" "iCollideSystem const *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  {
    csArray<csIntersectingTriangle > const &_result_ref = ((iCollideSystem const *)arg1)->GetIntersectingTriangles();
    result = (csArray<csIntersectingTriangle > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsIntersectingTriangle_csArrayElementHandlerTcsIntersectingTriangle_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_SetOneHitOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCollideSystem_SetOneHitOnly",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_SetOneHitOnly" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCollideSystem_SetOneHitOnly" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetOneHitOnly(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_GetOneHitOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iCollideSystem_GetOneHitOnly",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_GetOneHitOnly" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  result = (bool)(arg1)->GetOneHitOnly();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iCollideSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iCollideSystem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iCollideSystem" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  delete_iCollideSystem(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iCollideSystem_scfGetVersion")) SWIG_fail;
  result = (int)iCollideSystem_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iCollideSystem_GetCollisionPairByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  int arg2 ;
  csCollisionPair *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iCollideSystem_GetCollisionPairByIndex",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iCollideSystem_GetCollisionPairByIndex" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iCollideSystem_GetCollisionPairByIndex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (csCollisionPair *)iCollideSystem_GetCollisionPairByIndex(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csCollisionPair, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iCollideSystem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iCollideSystem, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDynamics_CreateSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamics *arg1 = (iDynamics *) 0 ;
  SwigValueWrapper<csPtr<iDynamicSystem > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamics_CreateSystem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamics_CreateSystem" "', argument " "1"" of type '" "iDynamics *""'"); 
  }
  arg1 = reinterpret_cast< iDynamics * >(argp1);
  result = (arg1)->CreateSystem();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iDynamicSystem> ref((csPtr<iDynamicSystem>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iDynamicSystem *)ref), (void *)(iDynamicSystem *)ref, "iDynamicSystem" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamics_RemoveSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamics *arg1 = (iDynamics *) 0 ;
  iDynamicSystem *arg2 = (iDynamicSystem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamics_RemoveSystem",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamics_RemoveSystem" "', argument " "1"" of type '" "iDynamics *""'"); 
  }
  arg1 = reinterpret_cast< iDynamics * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamics_RemoveSystem" "', argument " "2"" of type '" "iDynamicSystem *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicSystem * >(argp2);
  (arg1)->RemoveSystem(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamics_RemoveSystems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamics *arg1 = (iDynamics *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamics_RemoveSystems",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamics_RemoveSystems" "', argument " "1"" of type '" "iDynamics *""'"); 
  }
  arg1 = reinterpret_cast< iDynamics * >(argp1);
  (arg1)->RemoveSystems();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamics_FindSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamics *arg1 = (iDynamics *) 0 ;
  char *arg2 = (char *) 0 ;
  iDynamicSystem *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamics_FindSystem",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamics_FindSystem" "', argument " "1"" of type '" "iDynamics *""'"); 
  }
  arg1 = reinterpret_cast< iDynamics * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamics_FindSystem" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iDynamicSystem *)(arg1)->FindSystem((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamics_Step(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamics *arg1 = (iDynamics *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamics_Step",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamics, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamics_Step" "', argument " "1"" of type '" "iDynamics *""'"); 
  }
  arg1 = reinterpret_cast< iDynamics * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamics_Step" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Step(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDynamics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamics *arg1 = (iDynamics *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDynamics",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamics, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDynamics" "', argument " "1"" of type '" "iDynamics *""'"); 
  }
  arg1 = reinterpret_cast< iDynamics * >(argp1);
  delete_iDynamics(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamics_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iDynamics_scfGetVersion")) SWIG_fail;
  result = (int)iDynamics_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDynamics_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDynamics, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDynamicSystem_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_QueryObject" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_SetGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_SetGravity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_SetGravity" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_SetGravity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_SetGravity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetGravity((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_GetGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_GetGravity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_GetGravity" "', argument " "1"" of type '" "iDynamicSystem const *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = ((iDynamicSystem const *)arg1)->GetGravity();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_SetLinearDampener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_SetLinearDampener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_SetLinearDampener" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_SetLinearDampener" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetLinearDampener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_GetLinearDampener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_GetLinearDampener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_GetLinearDampener" "', argument " "1"" of type '" "iDynamicSystem const *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (float)((iDynamicSystem const *)arg1)->GetLinearDampener();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_SetRollingDampener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_SetRollingDampener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_SetRollingDampener" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_SetRollingDampener" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetRollingDampener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_GetRollingDampener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_GetRollingDampener",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_GetRollingDampener" "', argument " "1"" of type '" "iDynamicSystem const *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (float)((iDynamicSystem const *)arg1)->GetRollingDampener();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_EnableAutoDisable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_EnableAutoDisable",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_EnableAutoDisable" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_EnableAutoDisable" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableAutoDisable(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AutoDisableEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_AutoDisableEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AutoDisableEnabled" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (bool)(arg1)->AutoDisableEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_SetAutoDisableParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float arg2 ;
  float arg3 ;
  int arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iDynamicSystem_SetAutoDisableParams",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_SetAutoDisableParams" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_SetAutoDisableParams" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDynamicSystem_SetAutoDisableParams" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iDynamicSystem_SetAutoDisableParams" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_SetAutoDisableParams" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->SetAutoDisableParams(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_Step(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_Step",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_Step" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_Step" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Step(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_CreateBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  SwigValueWrapper<csPtr<iRigidBody > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_CreateBody",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_CreateBody" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (arg1)->CreateBody();
  resultobj = SWIG_NewPointerObj((new csPtr<iRigidBody >(static_cast< const csPtr<iRigidBody >& >(result))), SWIGTYPE_p_csPtrTiRigidBody_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_RemoveBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  iRigidBody *arg2 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_RemoveBody",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_RemoveBody" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_RemoveBody" "', argument " "2"" of type '" "iRigidBody *""'"); 
  }
  arg2 = reinterpret_cast< iRigidBody * >(argp2);
  (arg1)->RemoveBody(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_FindBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  char *arg2 = (char *) 0 ;
  iRigidBody *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_FindBody",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_FindBody" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_FindBody" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iRigidBody *)(arg1)->FindBody((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_GetBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  unsigned int arg2 ;
  iRigidBody *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_GetBody",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_GetBody" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_GetBody" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (iRigidBody *)(arg1)->GetBody(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iRigidBody, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_GetBodysCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_GetBodysCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_GetBodysCount" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (int)(arg1)->GetBodysCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_CreateGroup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  SwigValueWrapper<csPtr<iBodyGroup > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_CreateGroup",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_CreateGroup" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (arg1)->CreateGroup();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iBodyGroup> ref((csPtr<iBodyGroup>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iBodyGroup *)ref), (void *)(iBodyGroup *)ref, "iBodyGroup" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_RemoveGroup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  iBodyGroup *arg2 = (iBodyGroup *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_RemoveGroup",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_RemoveGroup" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBodyGroup, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_RemoveGroup" "', argument " "2"" of type '" "iBodyGroup *""'"); 
  }
  arg2 = reinterpret_cast< iBodyGroup * >(argp2);
  (arg1)->RemoveGroup(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_CreateJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  SwigValueWrapper<csPtr<iJoint > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_CreateJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_CreateJoint" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (arg1)->CreateJoint();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iJoint> ref((csPtr<iJoint>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iJoint *)ref), (void *)(iJoint *)ref, "iJoint" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_RemoveJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  iJoint *arg2 = (iJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_RemoveJoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_RemoveJoint" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_RemoveJoint" "', argument " "2"" of type '" "iJoint *""'"); 
  }
  arg2 = reinterpret_cast< iJoint * >(argp2);
  (arg1)->RemoveJoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_GetDefaultMoveCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  iDynamicsMoveCallback *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_GetDefaultMoveCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_GetDefaultMoveCallback" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (iDynamicsMoveCallback *)(arg1)->GetDefaultMoveCallback();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iDynamicsMoveCallback, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderMesh__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  csOrthoTransform *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iDynamicSystem_AttachColliderMesh",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  result = (bool)(arg1)->AttachColliderMesh(arg2,(csOrthoTransform const &)*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderMesh__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  csOrthoTransform *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iDynamicSystem_AttachColliderMesh",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_AttachColliderMesh" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = (bool)(arg1)->AttachColliderMesh(arg2,(csOrthoTransform const &)*arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderMesh(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iDynamicSystem_AttachColliderMesh__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iDynamicSystem_AttachColliderMesh__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDynamicSystem_AttachColliderMesh'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderCylinder__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float arg2 ;
  float arg3 ;
  csOrthoTransform *arg4 = 0 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iDynamicSystem_AttachColliderCylinder",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "4"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "4"" of type '" "csOrthoTransform const &""'"); 
  }
  arg4 = reinterpret_cast< csOrthoTransform * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  result = (bool)(arg1)->AttachColliderCylinder(arg2,arg3,(csOrthoTransform const &)*arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderCylinder__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float arg2 ;
  float arg3 ;
  csOrthoTransform *arg4 = 0 ;
  float arg5 ;
  float arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iDynamicSystem_AttachColliderCylinder",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "4"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "4"" of type '" "csOrthoTransform const &""'"); 
  }
  arg4 = reinterpret_cast< csOrthoTransform * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iDynamicSystem_AttachColliderCylinder" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  result = (bool)(arg1)->AttachColliderCylinder(arg2,arg3,(csOrthoTransform const &)*arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderCylinder(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csOrthoTransform, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iDynamicSystem_AttachColliderCylinder__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csOrthoTransform, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iDynamicSystem_AttachColliderCylinder__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDynamicSystem_AttachColliderCylinder'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  csVector3 *arg2 = 0 ;
  csOrthoTransform *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iDynamicSystem_AttachColliderBox",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  result = (bool)(arg1)->AttachColliderBox((csVector3 const &)*arg2,(csOrthoTransform const &)*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  csVector3 *arg2 = 0 ;
  csOrthoTransform *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iDynamicSystem_AttachColliderBox",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_AttachColliderBox" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = (bool)(arg1)->AttachColliderBox((csVector3 const &)*arg2,(csOrthoTransform const &)*arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderBox(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iDynamicSystem_AttachColliderBox__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iDynamicSystem_AttachColliderBox__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDynamicSystem_AttachColliderBox'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderSphere__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iDynamicSystem_AttachColliderSphere",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  result = (bool)(arg1)->AttachColliderSphere(arg2,(csVector3 const &)*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderSphere__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iDynamicSystem_AttachColliderSphere",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_AttachColliderSphere" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = (bool)(arg1)->AttachColliderSphere(arg2,(csVector3 const &)*arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderSphere(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iDynamicSystem_AttachColliderSphere__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iDynamicSystem_AttachColliderSphere__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDynamicSystem_AttachColliderSphere'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  csPlane3 *arg2 = 0 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iDynamicSystem_AttachColliderPlane",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = (bool)(arg1)->AttachColliderPlane((csPlane3 const &)*arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  csPlane3 *arg2 = 0 ;
  float arg3 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iDynamicSystem_AttachColliderPlane",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iDynamicSystem_AttachColliderPlane" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->AttachColliderPlane((csPlane3 const &)*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachColliderPlane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iDynamicSystem_AttachColliderPlane__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iDynamicSystem_AttachColliderPlane__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDynamicSystem_AttachColliderPlane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_DestroyColliders(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_DestroyColliders",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_DestroyColliders" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  (arg1)->DestroyColliders();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_DestroyCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  iDynamicsSystemCollider *arg2 = (iDynamicsSystemCollider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_DestroyCollider",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_DestroyCollider" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_DestroyCollider" "', argument " "2"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicsSystemCollider * >(argp2);
  (arg1)->DestroyCollider(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_AttachCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  iDynamicsSystemCollider *arg2 = (iDynamicsSystemCollider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_AttachCollider",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_AttachCollider" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicSystem_AttachCollider" "', argument " "2"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicsSystemCollider * >(argp2);
  (arg1)->AttachCollider(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_CreateCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  SwigValueWrapper<csRef<iDynamicsSystemCollider > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_CreateCollider",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_CreateCollider" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (arg1)->CreateCollider();
  resultobj = SWIG_NewPointerObj((new csRef<iDynamicsSystemCollider >(static_cast< const csRef<iDynamicsSystemCollider >& >(result))), SWIGTYPE_p_csRefTiDynamicsSystemCollider_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_GetCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  unsigned int arg2 ;
  SwigValueWrapper<csRef<iDynamicsSystemCollider > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicSystem_GetCollider",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_GetCollider" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicSystem_GetCollider" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (arg1)->GetCollider(arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iDynamicsSystemCollider >(static_cast< const csRef<iDynamicsSystemCollider >& >(result))), SWIGTYPE_p_csRefTiDynamicsSystemCollider_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_GetColliderCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicSystem_GetColliderCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicSystem_GetColliderCount" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  result = (int)(arg1)->GetColliderCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDynamicSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicSystem *arg1 = (iDynamicSystem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDynamicSystem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicSystem, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDynamicSystem" "', argument " "1"" of type '" "iDynamicSystem *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicSystem * >(argp1);
  delete_iDynamicSystem(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicSystem_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iDynamicSystem_scfGetVersion")) SWIG_fail;
  result = (int)iDynamicSystem_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDynamicSystem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDynamicSystem, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDynamicsMoveCallback_Execute__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsMoveCallback *arg1 = (iDynamicsMoveCallback *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  csOrthoTransform *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDynamicsMoveCallback_Execute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsMoveCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "1"" of type '" "iDynamicsMoveCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsMoveCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "3"" of type '" "csOrthoTransform &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsMoveCallback_Execute" "', argument " "3"" of type '" "csOrthoTransform &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  (arg1)->Execute(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsMoveCallback_Execute__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsMoveCallback *arg1 = (iDynamicsMoveCallback *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  csOrthoTransform *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDynamicsMoveCallback_Execute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsMoveCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "1"" of type '" "iDynamicsMoveCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsMoveCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "3"" of type '" "csOrthoTransform &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsMoveCallback_Execute" "', argument " "3"" of type '" "csOrthoTransform &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  (arg1)->Execute(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsMoveCallback_Execute__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsMoveCallback *arg1 = (iDynamicsMoveCallback *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  csOrthoTransform *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDynamicsMoveCallback_Execute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsMoveCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "1"" of type '" "iDynamicsMoveCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsMoveCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "3"" of type '" "csOrthoTransform &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsMoveCallback_Execute" "', argument " "3"" of type '" "csOrthoTransform &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  (arg1)->Execute(arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsMoveCallback_Execute__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsMoveCallback *arg1 = (iDynamicsMoveCallback *) 0 ;
  csOrthoTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsMoveCallback_Execute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsMoveCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "1"" of type '" "iDynamicsMoveCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsMoveCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csOrthoTransform,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsMoveCallback_Execute" "', argument " "2"" of type '" "csOrthoTransform &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsMoveCallback_Execute" "', argument " "2"" of type '" "csOrthoTransform &""'"); 
  }
  arg2 = reinterpret_cast< csOrthoTransform * >(argp2);
  (arg1)->Execute(*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsMoveCallback_Execute(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicsMoveCallback, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csOrthoTransform, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iDynamicsMoveCallback_Execute__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicsMoveCallback, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iLight, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iDynamicsMoveCallback_Execute__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicsMoveCallback, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCamera, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iDynamicsMoveCallback_Execute__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicsMoveCallback, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iDynamicsMoveCallback_Execute__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDynamicsMoveCallback_Execute'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDynamicsMoveCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsMoveCallback *arg1 = (iDynamicsMoveCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDynamicsMoveCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsMoveCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDynamicsMoveCallback" "', argument " "1"" of type '" "iDynamicsMoveCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsMoveCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDynamicsMoveCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDynamicsMoveCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDynamicsCollisionCallback_Execute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsCollisionCallback *arg1 = (iDynamicsCollisionCallback *) 0 ;
  iRigidBody *arg2 = (iRigidBody *) 0 ;
  iRigidBody *arg3 = (iRigidBody *) 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  float arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iDynamicsCollisionCallback_Execute",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsCollisionCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsCollisionCallback_Execute" "', argument " "1"" of type '" "iDynamicsCollisionCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsCollisionCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsCollisionCallback_Execute" "', argument " "2"" of type '" "iRigidBody *""'"); 
  }
  arg2 = reinterpret_cast< iRigidBody * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicsCollisionCallback_Execute" "', argument " "3"" of type '" "iRigidBody *""'"); 
  }
  arg3 = reinterpret_cast< iRigidBody * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iDynamicsCollisionCallback_Execute" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsCollisionCallback_Execute" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iDynamicsCollisionCallback_Execute" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsCollisionCallback_Execute" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iDynamicsCollisionCallback_Execute" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  (arg1)->Execute(arg2,arg3,(csVector3 const &)*arg4,(csVector3 const &)*arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDynamicsCollisionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsCollisionCallback *arg1 = (iDynamicsCollisionCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDynamicsCollisionCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsCollisionCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDynamicsCollisionCallback" "', argument " "1"" of type '" "iDynamicsCollisionCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsCollisionCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDynamicsCollisionCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDynamicsCollisionCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iBodyGroup_AddBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBodyGroup *arg1 = (iBodyGroup *) 0 ;
  iRigidBody *arg2 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iBodyGroup_AddBody",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBodyGroup, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBodyGroup_AddBody" "', argument " "1"" of type '" "iBodyGroup *""'"); 
  }
  arg1 = reinterpret_cast< iBodyGroup * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iBodyGroup_AddBody" "', argument " "2"" of type '" "iRigidBody *""'"); 
  }
  arg2 = reinterpret_cast< iRigidBody * >(argp2);
  (arg1)->AddBody(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBodyGroup_RemoveBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBodyGroup *arg1 = (iBodyGroup *) 0 ;
  iRigidBody *arg2 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iBodyGroup_RemoveBody",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBodyGroup, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBodyGroup_RemoveBody" "', argument " "1"" of type '" "iBodyGroup *""'"); 
  }
  arg1 = reinterpret_cast< iBodyGroup * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iBodyGroup_RemoveBody" "', argument " "2"" of type '" "iRigidBody *""'"); 
  }
  arg2 = reinterpret_cast< iRigidBody * >(argp2);
  (arg1)->RemoveBody(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBodyGroup_BodyInGroup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBodyGroup *arg1 = (iBodyGroup *) 0 ;
  iRigidBody *arg2 = (iRigidBody *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iBodyGroup_BodyInGroup",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBodyGroup, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iBodyGroup_BodyInGroup" "', argument " "1"" of type '" "iBodyGroup *""'"); 
  }
  arg1 = reinterpret_cast< iBodyGroup * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iBodyGroup_BodyInGroup" "', argument " "2"" of type '" "iRigidBody *""'"); 
  }
  arg2 = reinterpret_cast< iRigidBody * >(argp2);
  result = (bool)(arg1)->BodyInGroup(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iBodyGroup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBodyGroup *arg1 = (iBodyGroup *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iBodyGroup",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBodyGroup, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iBodyGroup" "', argument " "1"" of type '" "iBodyGroup *""'"); 
  }
  arg1 = reinterpret_cast< iBodyGroup * >(argp1);
  delete_iBodyGroup(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iBodyGroup_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iBodyGroup_scfGetVersion")) SWIG_fail;
  result = (int)iBodyGroup_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iBodyGroup_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iBodyGroup, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iRigidBody_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_QueryObject" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_MakeStatic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_MakeStatic",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_MakeStatic" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (bool)(arg1)->MakeStatic();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_MakeDynamic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_MakeDynamic",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_MakeDynamic" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (bool)(arg1)->MakeDynamic();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_IsStatic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_IsStatic",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_IsStatic" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (bool)(arg1)->IsStatic();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_Disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_Disable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_Disable" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (bool)(arg1)->Disable();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_Enable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_Enable" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (bool)(arg1)->Enable();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_IsEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_IsEnabled" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (bool)(arg1)->IsEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetGroup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  SwigValueWrapper<csRef<iBodyGroup > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetGroup",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetGroup" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (arg1)->GetGroup();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iBodyGroup> ref((csRef<iBodyGroup>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iBodyGroup *)ref), (void *)(iBodyGroup *)ref, "iBodyGroup" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderMesh__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  csOrthoTransform *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iRigidBody_AttachColliderMesh",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderMesh" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  result = (bool)(arg1)->AttachColliderMesh(arg2,(csOrthoTransform const &)*arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderMesh__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  csOrthoTransform *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iRigidBody_AttachColliderMesh",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderMesh" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iRigidBody_AttachColliderMesh" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  result = (bool)(arg1)->AttachColliderMesh(arg2,(csOrthoTransform const &)*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderMesh(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iRigidBody_AttachColliderMesh__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iRigidBody_AttachColliderMesh__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iRigidBody_AttachColliderMesh'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderCylinder__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  float arg2 ;
  float arg3 ;
  csOrthoTransform *arg4 = 0 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  float arg8 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  float val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:iRigidBody_AttachColliderCylinder",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "4"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "4"" of type '" "csOrthoTransform const &""'"); 
  }
  arg4 = reinterpret_cast< csOrthoTransform * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  ecode8 = SWIG_AsVal_float(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "8"" of type '" "float""'");
  } 
  arg8 = static_cast< float >(val8);
  result = (bool)(arg1)->AttachColliderCylinder(arg2,arg3,(csOrthoTransform const &)*arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderCylinder__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  float arg2 ;
  float arg3 ;
  csOrthoTransform *arg4 = 0 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iRigidBody_AttachColliderCylinder",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "4"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "4"" of type '" "csOrthoTransform const &""'"); 
  }
  arg4 = reinterpret_cast< csOrthoTransform * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iRigidBody_AttachColliderCylinder" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  result = (bool)(arg1)->AttachColliderCylinder(arg2,arg3,(csOrthoTransform const &)*arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderCylinder(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[9];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 8); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csOrthoTransform, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iRigidBody_AttachColliderCylinder__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csOrthoTransform, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_float(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    return _wrap_iRigidBody_AttachColliderCylinder__SWIG_0(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iRigidBody_AttachColliderCylinder'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  csOrthoTransform *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iRigidBody_AttachColliderBox",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderBox" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachColliderBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AttachColliderBox" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderBox" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iRigidBody_AttachColliderBox" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderBox" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iRigidBody_AttachColliderBox" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iRigidBody_AttachColliderBox" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  result = (bool)(arg1)->AttachColliderBox((csVector3 const &)*arg2,(csOrthoTransform const &)*arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  csOrthoTransform *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iRigidBody_AttachColliderBox",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderBox" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachColliderBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderBox" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AttachColliderBox" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderBox" "', argument " "3"" of type '" "csOrthoTransform const &""'"); 
  }
  arg3 = reinterpret_cast< csOrthoTransform * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iRigidBody_AttachColliderBox" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderBox" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iRigidBody_AttachColliderBox" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  result = (bool)(arg1)->AttachColliderBox((csVector3 const &)*arg2,(csOrthoTransform const &)*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderBox(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iRigidBody_AttachColliderBox__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csVector3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csOrthoTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iRigidBody_AttachColliderBox__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iRigidBody_AttachColliderBox'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderSphere__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:iRigidBody_AttachColliderSphere",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderSphere" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  result = (bool)(arg1)->AttachColliderSphere(arg2,(csVector3 const &)*arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderSphere__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iRigidBody_AttachColliderSphere",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderSphere" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iRigidBody_AttachColliderSphere" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  result = (bool)(arg1)->AttachColliderSphere(arg2,(csVector3 const &)*arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderSphere(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iRigidBody_AttachColliderSphere__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_float(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  return _wrap_iRigidBody_AttachColliderSphere__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iRigidBody_AttachColliderSphere'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csPlane3 *arg2 = 0 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iRigidBody_AttachColliderPlane",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  result = (bool)(arg1)->AttachColliderPlane((csPlane3 const &)*arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csPlane3 *arg2 = 0 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iRigidBody_AttachColliderPlane",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AttachColliderPlane" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_AttachColliderPlane" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = (bool)(arg1)->AttachColliderPlane((csPlane3 const &)*arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachColliderPlane(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iRigidBody_AttachColliderPlane__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iRigidBody, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csPlane3, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iRigidBody_AttachColliderPlane__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iRigidBody_AttachColliderPlane'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iDynamicsSystemCollider *arg2 = (iDynamicsSystemCollider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_AttachCollider",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachCollider" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachCollider" "', argument " "2"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicsSystemCollider * >(argp2);
  (arg1)->AttachCollider(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_DestroyColliders(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_DestroyColliders",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_DestroyColliders" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  (arg1)->DestroyColliders();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_DestroyCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iDynamicsSystemCollider *arg2 = (iDynamicsSystemCollider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_DestroyCollider",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_DestroyCollider" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_DestroyCollider" "', argument " "2"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicsSystemCollider * >(argp2);
  (arg1)->DestroyCollider(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_SetPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_SetPosition" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetPosition((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetPosition" "', argument " "1"" of type '" "iRigidBody const *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = ((iRigidBody const *)arg1)->GetPosition();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csMatrix3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_SetOrientation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_SetOrientation" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_SetOrientation" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_SetOrientation" "', argument " "2"" of type '" "csMatrix3 const &""'"); 
  }
  arg2 = reinterpret_cast< csMatrix3 * >(argp2);
  (arg1)->SetOrientation((csMatrix3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetOrientation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetOrientation" "', argument " "1"" of type '" "iRigidBody const *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = ((iRigidBody const *)arg1)->GetOrientation();
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csOrthoTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_SetTransform" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_SetTransform" "', argument " "2"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_SetTransform" "', argument " "2"" of type '" "csOrthoTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csOrthoTransform * >(argp2);
  (arg1)->SetTransform((csOrthoTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csOrthoTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetTransform" "', argument " "1"" of type '" "iRigidBody const *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = ((iRigidBody const *)arg1)->GetTransform();
  resultobj = SWIG_NewPointerObj((new csOrthoTransform(static_cast< const csOrthoTransform& >(result))), SWIGTYPE_p_csOrthoTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_SetLinearVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_SetLinearVelocity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_SetLinearVelocity" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_SetLinearVelocity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_SetLinearVelocity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetLinearVelocity((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetLinearVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetLinearVelocity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetLinearVelocity" "', argument " "1"" of type '" "iRigidBody const *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = ((iRigidBody const *)arg1)->GetLinearVelocity();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_SetAngularVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_SetAngularVelocity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_SetAngularVelocity" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_SetAngularVelocity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_SetAngularVelocity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetAngularVelocity((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetAngularVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetAngularVelocity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetAngularVelocity" "', argument " "1"" of type '" "iRigidBody const *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = ((iRigidBody const *)arg1)->GetAngularVelocity();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_SetProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  float arg2 ;
  csVector3 *arg3 = 0 ;
  csMatrix3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iRigidBody_SetProperties",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_SetProperties" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRigidBody_SetProperties" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_SetProperties" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_SetProperties" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csMatrix3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iRigidBody_SetProperties" "', argument " "4"" of type '" "csMatrix3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_SetProperties" "', argument " "4"" of type '" "csMatrix3 const &""'"); 
  }
  arg4 = reinterpret_cast< csMatrix3 * >(argp4);
  (arg1)->SetProperties(arg2,(csVector3 const &)*arg3,(csMatrix3 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  float *arg2 = (float *) 0 ;
  csVector3 *arg3 = (csVector3 *) 0 ;
  csMatrix3 *arg4 = (csMatrix3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iRigidBody_GetProperties",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetProperties" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_GetProperties" "', argument " "2"" of type '" "float *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_GetProperties" "', argument " "3"" of type '" "csVector3 *""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csMatrix3, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iRigidBody_GetProperties" "', argument " "4"" of type '" "csMatrix3 *""'"); 
  }
  arg4 = reinterpret_cast< csMatrix3 * >(argp4);
  (arg1)->GetProperties(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetMass",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetMass" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (float)(arg1)->GetMass();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetCenter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetCenter" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (arg1)->GetCenter();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetInertia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csMatrix3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetInertia",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetInertia" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (arg1)->GetInertia();
  resultobj = SWIG_NewPointerObj((new csMatrix3(static_cast< const csMatrix3& >(result))), SWIGTYPE_p_csMatrix3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AdjustTotalMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_AdjustTotalMass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AdjustTotalMass" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRigidBody_AdjustTotalMass" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->AdjustTotalMass(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AddForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_AddForce",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AddForce" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AddForce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddForce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->AddForce((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AddTorque(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_AddTorque",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AddTorque" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AddTorque" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddTorque" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->AddTorque((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AddRelForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_AddRelForce",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AddRelForce" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AddRelForce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddRelForce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->AddRelForce((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AddRelTorque(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_AddRelTorque",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AddRelTorque" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AddRelTorque" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddRelTorque" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->AddRelTorque((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AddForceAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iRigidBody_AddForceAtPos",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AddForceAtPos" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AddForceAtPos" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddForceAtPos" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AddForceAtPos" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddForceAtPos" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->AddForceAtPos((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AddForceAtRelPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iRigidBody_AddForceAtRelPos",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AddForceAtRelPos" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AddForceAtRelPos" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddForceAtRelPos" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AddForceAtRelPos" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddForceAtRelPos" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->AddForceAtRelPos((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AddRelForceAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iRigidBody_AddRelForceAtPos",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AddRelForceAtPos" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AddRelForceAtPos" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddRelForceAtPos" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AddRelForceAtPos" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddRelForceAtPos" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->AddRelForceAtPos((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AddRelForceAtRelPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iRigidBody_AddRelForceAtRelPos",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AddRelForceAtRelPos" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AddRelForceAtRelPos" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddRelForceAtRelPos" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_AddRelForceAtRelPos" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_AddRelForceAtRelPos" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  (arg1)->AddRelForceAtRelPos((csVector3 const &)*arg2,(csVector3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetForce",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetForce" "', argument " "1"" of type '" "iRigidBody const *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = ((iRigidBody const *)arg1)->GetForce();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetTorque(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetTorque",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetTorque" "', argument " "1"" of type '" "iRigidBody const *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = ((iRigidBody const *)arg1)->GetTorque();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_AttachMesh",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachMesh" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachMesh" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->AttachMesh(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetAttachedMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetAttachedMesh",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetAttachedMesh" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (iMeshWrapper *)(arg1)->GetAttachedMesh();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_AttachLight",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachLight" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachLight" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  (arg1)->AttachLight(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetAttachedLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iLight *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetAttachedLight",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetAttachedLight" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (iLight *)(arg1)->GetAttachedLight();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iLight, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_AttachCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_AttachCamera",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_AttachCamera" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_AttachCamera" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  (arg1)->AttachCamera(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetAttachedCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iCamera *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetAttachedCamera",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetAttachedCamera" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (iCamera *)(arg1)->GetAttachedCamera();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCamera, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_SetMoveCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iDynamicsMoveCallback *arg2 = (iDynamicsMoveCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_SetMoveCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_SetMoveCallback" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicsMoveCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_SetMoveCallback" "', argument " "2"" of type '" "iDynamicsMoveCallback *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicsMoveCallback * >(argp2);
  (arg1)->SetMoveCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_SetCollisionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iDynamicsCollisionCallback *arg2 = (iDynamicsCollisionCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_SetCollisionCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_SetCollisionCallback" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicsCollisionCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_SetCollisionCallback" "', argument " "2"" of type '" "iDynamicsCollisionCallback *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicsCollisionCallback * >(argp2);
  (arg1)->SetCollisionCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_Collision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  iRigidBody *arg2 = (iRigidBody *) 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iRigidBody_Collision",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_Collision" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iRigidBody_Collision" "', argument " "2"" of type '" "iRigidBody *""'"); 
  }
  arg2 = reinterpret_cast< iRigidBody * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iRigidBody_Collision" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_Collision" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iRigidBody_Collision" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iRigidBody_Collision" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iRigidBody_Collision" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->Collision(arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_Update",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_Update" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  (arg1)->Update();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  unsigned int arg2 ;
  SwigValueWrapper<csRef<iDynamicsSystemCollider > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iRigidBody_GetCollider",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetCollider" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iRigidBody_GetCollider" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (arg1)->GetCollider(arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iDynamicsSystemCollider >(static_cast< const csRef<iDynamicsSystemCollider >& >(result))), SWIGTYPE_p_csRefTiDynamicsSystemCollider_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iRigidBody_GetColliderCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iRigidBody_GetColliderCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iRigidBody_GetColliderCount" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  result = (int)(arg1)->GetColliderCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iRigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iRigidBody *arg1 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iRigidBody",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iRigidBody, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iRigidBody" "', argument " "1"" of type '" "iRigidBody *""'"); 
  }
  arg1 = reinterpret_cast< iRigidBody * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iRigidBody_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iRigidBody, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDynamicsColliderCollisionCallback_Execute__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsColliderCollisionCallback *arg1 = (iDynamicsColliderCollisionCallback *) 0 ;
  iDynamicsSystemCollider *arg2 = (iDynamicsSystemCollider *) 0 ;
  iDynamicsSystemCollider *arg3 = (iDynamicsSystemCollider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDynamicsColliderCollisionCallback_Execute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsColliderCollisionCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsColliderCollisionCallback_Execute" "', argument " "1"" of type '" "iDynamicsColliderCollisionCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsColliderCollisionCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsColliderCollisionCallback_Execute" "', argument " "2"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicsSystemCollider * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicsColliderCollisionCallback_Execute" "', argument " "3"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg3 = reinterpret_cast< iDynamicsSystemCollider * >(argp3);
  (arg1)->Execute(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsColliderCollisionCallback_Execute__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsColliderCollisionCallback *arg1 = (iDynamicsColliderCollisionCallback *) 0 ;
  iDynamicsSystemCollider *arg2 = (iDynamicsSystemCollider *) 0 ;
  iRigidBody *arg3 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDynamicsColliderCollisionCallback_Execute",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsColliderCollisionCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsColliderCollisionCallback_Execute" "', argument " "1"" of type '" "iDynamicsColliderCollisionCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsColliderCollisionCallback * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsColliderCollisionCallback_Execute" "', argument " "2"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicsSystemCollider * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicsColliderCollisionCallback_Execute" "', argument " "3"" of type '" "iRigidBody *""'"); 
  }
  arg3 = reinterpret_cast< iRigidBody * >(argp3);
  (arg1)->Execute(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsColliderCollisionCallback_Execute(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicsColliderCollisionCallback, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDynamicsSystemCollider, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iDynamicsSystemCollider, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iDynamicsColliderCollisionCallback_Execute__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iDynamicsColliderCollisionCallback, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iDynamicsSystemCollider, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRigidBody, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iDynamicsColliderCollisionCallback_Execute__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iDynamicsColliderCollisionCallback_Execute'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDynamicsColliderCollisionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsColliderCollisionCallback *arg1 = (iDynamicsColliderCollisionCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDynamicsColliderCollisionCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsColliderCollisionCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDynamicsColliderCollisionCallback" "', argument " "1"" of type '" "iDynamicsColliderCollisionCallback *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsColliderCollisionCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDynamicsColliderCollisionCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDynamicsColliderCollisionCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_CreateSphereGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csSphere *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_CreateSphereGeometry",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_CreateSphereGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_CreateSphereGeometry" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_CreateSphereGeometry" "', argument " "2"" of type '" "csSphere const &""'"); 
  }
  arg2 = reinterpret_cast< csSphere * >(argp2);
  result = (bool)(arg1)->CreateSphereGeometry((csSphere const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_CreatePlaneGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csPlane3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_CreatePlaneGeometry",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_CreatePlaneGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_CreatePlaneGeometry" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_CreatePlaneGeometry" "', argument " "2"" of type '" "csPlane3 const &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = (bool)(arg1)->CreatePlaneGeometry((csPlane3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_CreateMeshGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_CreateMeshGeometry",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_CreateMeshGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_CreateMeshGeometry" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (bool)(arg1)->CreateMeshGeometry(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_CreateBoxGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_CreateBoxGeometry",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_CreateBoxGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_CreateBoxGeometry" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_CreateBoxGeometry" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)(arg1)->CreateBoxGeometry((csVector3 const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_CreateCCylinderGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float arg2 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDynamicsSystemCollider_CreateCCylinderGeometry",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_CreateCCylinderGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicsSystemCollider_CreateCCylinderGeometry" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iDynamicsSystemCollider_CreateCCylinderGeometry" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->CreateCCylinderGeometry(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_SetCollisionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  iDynamicsColliderCollisionCallback *arg2 = (iDynamicsColliderCollisionCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_SetCollisionCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_SetCollisionCallback" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iDynamicsColliderCollisionCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_SetCollisionCallback" "', argument " "2"" of type '" "iDynamicsColliderCollisionCallback *""'"); 
  }
  arg2 = reinterpret_cast< iDynamicsColliderCollisionCallback * >(argp2);
  (arg1)->SetCollisionCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_SetFriction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_SetFriction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_SetFriction" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicsSystemCollider_SetFriction" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetFriction(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_SetSoftness(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_SetSoftness",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_SetSoftness" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicsSystemCollider_SetSoftness" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetSoftness(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_SetDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_SetDensity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_SetDensity" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicsSystemCollider_SetDensity" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetDensity(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_SetElasticity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_SetElasticity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_SetElasticity" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iDynamicsSystemCollider_SetElasticity" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetElasticity(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetFriction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_GetFriction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetFriction" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  result = (float)(arg1)->GetFriction();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetSoftness(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_GetSoftness",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetSoftness" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  result = (float)(arg1)->GetSoftness();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_GetDensity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetDensity" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  result = (float)(arg1)->GetDensity();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetElasticity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_GetElasticity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetElasticity" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  result = (float)(arg1)->GetElasticity();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_FillWithColliderGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  SwigValueWrapper<csRef<iGeneralFactoryState > > arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_FillWithColliderGeometry",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_FillWithColliderGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiGeneralFactoryState_t,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_FillWithColliderGeometry" "', argument " "2"" of type '" "csRef<iGeneralFactoryState >""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_FillWithColliderGeometry" "', argument " "2"" of type '" "csRef<iGeneralFactoryState >""'");
    } else {
      csRef<iGeneralFactoryState > * temp = reinterpret_cast< csRef<iGeneralFactoryState > * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->FillWithColliderGeometry(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetGeometryType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csColliderGeometryType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_GetGeometryType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetGeometryType" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  result = (csColliderGeometryType)(arg1)->GetGeometryType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csOrthoTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetTransform" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  result = (arg1)->GetTransform();
  resultobj = SWIG_NewPointerObj((new csOrthoTransform(static_cast< const csOrthoTransform& >(result))), SWIGTYPE_p_csOrthoTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetLocalTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csOrthoTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_GetLocalTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetLocalTransform" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  result = (arg1)->GetLocalTransform();
  resultobj = SWIG_NewPointerObj((new csOrthoTransform(static_cast< const csOrthoTransform& >(result))), SWIGTYPE_p_csOrthoTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csOrthoTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_SetTransform" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_SetTransform" "', argument " "2"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_SetTransform" "', argument " "2"" of type '" "csOrthoTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csOrthoTransform * >(argp2);
  (arg1)->SetTransform((csOrthoTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetBoxGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csVector3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_GetBoxGeometry",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetBoxGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_GetBoxGeometry" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_GetBoxGeometry" "', argument " "2"" of type '" "csVector3 &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  result = (bool)(arg1)->GetBoxGeometry(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetSphereGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csSphere *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_GetSphereGeometry",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetSphereGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csSphere,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_GetSphereGeometry" "', argument " "2"" of type '" "csSphere &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_GetSphereGeometry" "', argument " "2"" of type '" "csSphere &""'"); 
  }
  arg2 = reinterpret_cast< csSphere * >(argp2);
  result = (bool)(arg1)->GetSphereGeometry(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetPlaneGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  csPlane3 *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iDynamicsSystemCollider_GetPlaneGeometry",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetPlaneGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csPlane3,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_GetPlaneGeometry" "', argument " "2"" of type '" "csPlane3 &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_GetPlaneGeometry" "', argument " "2"" of type '" "csPlane3 &""'"); 
  }
  arg2 = reinterpret_cast< csPlane3 * >(argp2);
  result = (bool)(arg1)->GetPlaneGeometry(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_GetCylinderGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  float *arg2 = 0 ;
  float *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iDynamicsSystemCollider_GetCylinderGeometry",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_GetCylinderGeometry" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iDynamicsSystemCollider_GetCylinderGeometry" "', argument " "2"" of type '" "float &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_GetCylinderGeometry" "', argument " "2"" of type '" "float &""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iDynamicsSystemCollider_GetCylinderGeometry" "', argument " "3"" of type '" "float &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iDynamicsSystemCollider_GetCylinderGeometry" "', argument " "3"" of type '" "float &""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  result = (bool)(arg1)->GetCylinderGeometry(*arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_MakeStatic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_MakeStatic",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_MakeStatic" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  (arg1)->MakeStatic();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_MakeDynamic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_MakeDynamic",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_MakeDynamic" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  (arg1)->MakeDynamic();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iDynamicsSystemCollider_IsStatic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iDynamicsSystemCollider_IsStatic",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iDynamicsSystemCollider_IsStatic" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  result = (bool)(arg1)->IsStatic();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iDynamicsSystemCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iDynamicsSystemCollider *arg1 = (iDynamicsSystemCollider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iDynamicsSystemCollider",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iDynamicsSystemCollider, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iDynamicsSystemCollider" "', argument " "1"" of type '" "iDynamicsSystemCollider *""'"); 
  }
  arg1 = reinterpret_cast< iDynamicsSystemCollider * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iDynamicsSystemCollider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iDynamicsSystemCollider, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iJoint_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  iRigidBody *arg2 = (iRigidBody *) 0 ;
  iRigidBody *arg3 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iJoint_Attach",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_Attach" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_Attach" "', argument " "2"" of type '" "iRigidBody *""'"); 
  }
  arg2 = reinterpret_cast< iRigidBody * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iJoint_Attach" "', argument " "3"" of type '" "iRigidBody *""'"); 
  }
  arg3 = reinterpret_cast< iRigidBody * >(argp3);
  (arg1)->Attach(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetAttachedBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  int arg2 ;
  SwigValueWrapper<csRef<iRigidBody > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_GetAttachedBody",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetAttachedBody" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoint_GetAttachedBody" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->GetAttachedBody(arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iRigidBody >(static_cast< const csRef<iRigidBody >& >(result))), SWIGTYPE_p_csRefTiRigidBody_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csOrthoTransform *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_SetTransform",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetTransform" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csOrthoTransform,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_SetTransform" "', argument " "2"" of type '" "csOrthoTransform const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iJoint_SetTransform" "', argument " "2"" of type '" "csOrthoTransform const &""'"); 
  }
  arg2 = reinterpret_cast< csOrthoTransform * >(argp2);
  (arg1)->SetTransform((csOrthoTransform const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csOrthoTransform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_GetTransform",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetTransform" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (arg1)->GetTransform();
  resultobj = SWIG_NewPointerObj((new csOrthoTransform(static_cast< const csOrthoTransform& >(result))), SWIGTYPE_p_csOrthoTransform, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetTransConstraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  bool arg2 ;
  bool arg3 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iJoint_SetTransConstraints",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetTransConstraints" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoint_SetTransConstraints" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iJoint_SetTransConstraints" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iJoint_SetTransConstraints" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->SetTransConstraints(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_IsXTransConstrained(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_IsXTransConstrained",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_IsXTransConstrained" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (bool)(arg1)->IsXTransConstrained();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_IsYTransConstrained(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_IsYTransConstrained",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_IsYTransConstrained" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (bool)(arg1)->IsYTransConstrained();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_IsZTransConstrained(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_IsZTransConstrained",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_IsZTransConstrained" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (bool)(arg1)->IsZTransConstrained();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetMinimumDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_SetMinimumDistance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetMinimumDistance" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_SetMinimumDistance" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iJoint_SetMinimumDistance" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetMinimumDistance((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetMinimumDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_GetMinimumDistance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetMinimumDistance" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (arg1)->GetMinimumDistance();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetMaximumDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_SetMaximumDistance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetMaximumDistance" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_SetMaximumDistance" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iJoint_SetMaximumDistance" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetMaximumDistance((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetMaximumDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_GetMaximumDistance",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetMaximumDistance" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (arg1)->GetMaximumDistance();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetRotConstraints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  bool arg2 ;
  bool arg3 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iJoint_SetRotConstraints",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetRotConstraints" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoint_SetRotConstraints" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iJoint_SetRotConstraints" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iJoint_SetRotConstraints" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->SetRotConstraints(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_IsXRotConstrained(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_IsXRotConstrained",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_IsXRotConstrained" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (bool)(arg1)->IsXRotConstrained();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_IsYRotConstrained(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_IsYRotConstrained",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_IsYRotConstrained" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (bool)(arg1)->IsYRotConstrained();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_IsZRotConstrained(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_IsZRotConstrained",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_IsZRotConstrained" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (bool)(arg1)->IsZRotConstrained();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetMinimumAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_SetMinimumAngle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetMinimumAngle" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_SetMinimumAngle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iJoint_SetMinimumAngle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetMinimumAngle((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetMinimumAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_GetMinimumAngle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetMinimumAngle" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (arg1)->GetMinimumAngle();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetMaximumAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_SetMaximumAngle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetMaximumAngle" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_SetMaximumAngle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iJoint_SetMaximumAngle" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetMaximumAngle((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetMaximumAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_GetMaximumAngle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetMaximumAngle" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (arg1)->GetMaximumAngle();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetBounce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_SetBounce",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetBounce" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_SetBounce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iJoint_SetBounce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetBounce((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetBounce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_GetBounce",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetBounce" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (arg1)->GetBounce();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetDesiredVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_SetDesiredVelocity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetDesiredVelocity" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_SetDesiredVelocity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iJoint_SetDesiredVelocity" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetDesiredVelocity((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetDesiredVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_GetDesiredVelocity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetDesiredVelocity" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (arg1)->GetDesiredVelocity();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetMaxForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_SetMaxForce",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetMaxForce" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_SetMaxForce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iJoint_SetMaxForce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetMaxForce((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetMaxForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iJoint_GetMaxForce",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetMaxForce" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  result = (arg1)->GetMaxForce();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_SetAngularConstraintAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iJoint_SetAngularConstraintAxis",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_SetAngularConstraintAxis" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iJoint_SetAngularConstraintAxis" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iJoint_SetAngularConstraintAxis" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iJoint_SetAngularConstraintAxis" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetAngularConstraintAxis((csVector3 const &)*arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_GetAngularConstraintAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  int arg2 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iJoint_GetAngularConstraintAxis",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iJoint_GetAngularConstraintAxis" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iJoint_GetAngularConstraintAxis" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->GetAngularConstraintAxis(arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iJoint *arg1 = (iJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iJoint, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iJoint" "', argument " "1"" of type '" "iJoint *""'"); 
  }
  arg1 = reinterpret_cast< iJoint * >(argp1);
  delete_iJoint(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iJoint_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iJoint_scfGetVersion")) SWIG_fail;
  result = (int)iJoint_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iJoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iJoint, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEFrameUpdateCallback_Execute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEFrameUpdateCallback *arg1 = (iODEFrameUpdateCallback *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEFrameUpdateCallback_Execute",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEFrameUpdateCallback, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEFrameUpdateCallback_Execute" "', argument " "1"" of type '" "iODEFrameUpdateCallback *""'"); 
  }
  arg1 = reinterpret_cast< iODEFrameUpdateCallback * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEFrameUpdateCallback_Execute" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->Execute(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEFrameUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEFrameUpdateCallback *arg1 = (iODEFrameUpdateCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEFrameUpdateCallback",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEFrameUpdateCallback, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEFrameUpdateCallback" "', argument " "1"" of type '" "iODEFrameUpdateCallback *""'"); 
  }
  arg1 = reinterpret_cast< iODEFrameUpdateCallback * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEFrameUpdateCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEFrameUpdateCallback, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEDynamicState_SetGlobalERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_SetGlobalERP",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_SetGlobalERP" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_SetGlobalERP" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetGlobalERP(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_GlobalERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_GlobalERP",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_GlobalERP" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (float)(arg1)->GlobalERP();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_SetGlobalCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_SetGlobalCFM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_SetGlobalCFM" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_SetGlobalCFM" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetGlobalCFM(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_GlobalCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_GlobalCFM",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_GlobalCFM" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (float)(arg1)->GlobalCFM();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_EnableStepFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_EnableStepFast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_EnableStepFast" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_EnableStepFast" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableStepFast(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_StepFastEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_StepFastEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_StepFastEnabled" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (bool)(arg1)->StepFastEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_SetStepFastIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_SetStepFastIterations",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_SetStepFastIterations" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_SetStepFastIterations" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetStepFastIterations(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_StepFastIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_StepFastIterations",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_StepFastIterations" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (int)(arg1)->StepFastIterations();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_EnableQuickStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_EnableQuickStep",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_EnableQuickStep" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_EnableQuickStep" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableQuickStep(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_QuickStepEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_QuickStepEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_QuickStepEnabled" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (bool)(arg1)->QuickStepEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_SetQuickStepIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_SetQuickStepIterations",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_SetQuickStepIterations" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_SetQuickStepIterations" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetQuickStepIterations(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_QuickStepIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_QuickStepIterations",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_QuickStepIterations" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (int)(arg1)->QuickStepIterations();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_EnableFrameRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_EnableFrameRate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_EnableFrameRate" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_EnableFrameRate" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableFrameRate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_FrameRateEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_FrameRateEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_FrameRateEnabled" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (bool)(arg1)->FrameRateEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_SetFrameRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_SetFrameRate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_SetFrameRate" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_SetFrameRate" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetFrameRate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_FrameRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_FrameRate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_FrameRate" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (float)(arg1)->FrameRate();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_SetFrameLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_SetFrameLimit",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_SetFrameLimit" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_SetFrameLimit" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetFrameLimit(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_FrameLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_FrameLimit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_FrameLimit" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (float)(arg1)->FrameLimit();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_AddFrameUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  iODEFrameUpdateCallback *arg2 = (iODEFrameUpdateCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_AddFrameUpdateCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_AddFrameUpdateCallback" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODEFrameUpdateCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicState_AddFrameUpdateCallback" "', argument " "2"" of type '" "iODEFrameUpdateCallback *""'"); 
  }
  arg2 = reinterpret_cast< iODEFrameUpdateCallback * >(argp2);
  (arg1)->AddFrameUpdateCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_RemoveFrameUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  iODEFrameUpdateCallback *arg2 = (iODEFrameUpdateCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_RemoveFrameUpdateCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_RemoveFrameUpdateCallback" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODEFrameUpdateCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicState_RemoveFrameUpdateCallback" "', argument " "2"" of type '" "iODEFrameUpdateCallback *""'"); 
  }
  arg2 = reinterpret_cast< iODEFrameUpdateCallback * >(argp2);
  (arg1)->RemoveFrameUpdateCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_EnableEventProcessing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_EnableEventProcessing",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_EnableEventProcessing" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_EnableEventProcessing" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableEventProcessing(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_EventProcessingEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_EventProcessingEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_EventProcessingEnabled" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (bool)(arg1)->EventProcessingEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_EnableFastObjects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicState_EnableFastObjects",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_EnableFastObjects" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicState_EnableFastObjects" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableFastObjects(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_FastObjectsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicState_FastObjectsEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicState_FastObjectsEnabled" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  result = (bool)(arg1)->FastObjectsEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEDynamicState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicState *arg1 = (iODEDynamicState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEDynamicState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEDynamicState" "', argument " "1"" of type '" "iODEDynamicState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicState * >(argp1);
  delete_iODEDynamicState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iODEDynamicState_scfGetVersion")) SWIG_fail;
  result = (int)iODEDynamicState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEDynamicState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEDynamicState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_SetERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_SetERP",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_SetERP" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_SetERP" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetERP(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_ERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_ERP",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_ERP" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (float)(arg1)->ERP();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_SetCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_SetCFM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_SetCFM" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_SetCFM" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetCFM(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_CFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_CFM",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_CFM" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (float)(arg1)->CFM();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_EnableStepFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_EnableStepFast",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_EnableStepFast" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_EnableStepFast" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableStepFast(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_StepFastEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_StepFastEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_StepFastEnabled" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (bool)(arg1)->StepFastEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_SetStepFastIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_SetStepFastIterations",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_SetStepFastIterations" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_SetStepFastIterations" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetStepFastIterations(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_StepFastIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_StepFastIterations",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_StepFastIterations" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (int)(arg1)->StepFastIterations();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_EnableQuickStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_EnableQuickStep",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_EnableQuickStep" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_EnableQuickStep" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableQuickStep(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_QuickStepEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_QuickStepEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_QuickStepEnabled" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (bool)(arg1)->QuickStepEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_SetQuickStepIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_SetQuickStepIterations",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_SetQuickStepIterations" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_SetQuickStepIterations" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetQuickStepIterations(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_QuickStepIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_QuickStepIterations",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_QuickStepIterations" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (int)(arg1)->QuickStepIterations();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_EnableAutoDisable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_EnableAutoDisable",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_EnableAutoDisable" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_EnableAutoDisable" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableAutoDisable(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_AutoDisableEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_AutoDisableEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_AutoDisableEnabled" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (bool)(arg1)->AutoDisableEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_SetAutoDisableParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float arg2 ;
  float arg3 ;
  int arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iODEDynamicSystemState_SetAutoDisableParams",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_SetAutoDisableParams" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_SetAutoDisableParams" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEDynamicSystemState_SetAutoDisableParams" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iODEDynamicSystemState_SetAutoDisableParams" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iODEDynamicSystemState_SetAutoDisableParams" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->SetAutoDisableParams(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_EnableFrameRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_EnableFrameRate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_EnableFrameRate" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_EnableFrameRate" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableFrameRate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_FrameRateEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_FrameRateEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_FrameRateEnabled" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (bool)(arg1)->FrameRateEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_SetFrameRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_SetFrameRate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_SetFrameRate" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_SetFrameRate" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetFrameRate(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_FrameRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_FrameRate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_FrameRate" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (float)(arg1)->FrameRate();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_SetFrameLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_SetFrameLimit",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_SetFrameLimit" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_SetFrameLimit" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetFrameLimit(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_FrameLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_FrameLimit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_FrameLimit" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (float)(arg1)->FrameLimit();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_AddFrameUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  iODEFrameUpdateCallback *arg2 = (iODEFrameUpdateCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_AddFrameUpdateCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_AddFrameUpdateCallback" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODEFrameUpdateCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicSystemState_AddFrameUpdateCallback" "', argument " "2"" of type '" "iODEFrameUpdateCallback *""'"); 
  }
  arg2 = reinterpret_cast< iODEFrameUpdateCallback * >(argp2);
  (arg1)->AddFrameUpdateCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_RemoveFrameUpdateCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  iODEFrameUpdateCallback *arg2 = (iODEFrameUpdateCallback *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_RemoveFrameUpdateCallback",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_RemoveFrameUpdateCallback" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODEFrameUpdateCallback, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicSystemState_RemoveFrameUpdateCallback" "', argument " "2"" of type '" "iODEFrameUpdateCallback *""'"); 
  }
  arg2 = reinterpret_cast< iODEFrameUpdateCallback * >(argp2);
  (arg1)->RemoveFrameUpdateCallback(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_EnableFastObjects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_EnableFastObjects",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_EnableFastObjects" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_EnableFastObjects" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableFastObjects(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_FastObjectsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_FastObjectsEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_FastObjectsEnabled" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (bool)(arg1)->FastObjectsEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_CreateBallJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  SwigValueWrapper<csPtr<iODEBallJoint > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_CreateBallJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_CreateBallJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (arg1)->CreateBallJoint();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iODEBallJoint> ref((csPtr<iODEBallJoint>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iODEBallJoint *)ref), (void *)(iODEBallJoint *)ref, "iODEBallJoint" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_CreateHingeJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  SwigValueWrapper<csPtr<iODEHingeJoint > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_CreateHingeJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_CreateHingeJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (arg1)->CreateHingeJoint();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iODEHingeJoint> ref((csPtr<iODEHingeJoint>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iODEHingeJoint *)ref), (void *)(iODEHingeJoint *)ref, "iODEHingeJoint" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_CreateHinge2Joint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  SwigValueWrapper<csPtr<iODEHinge2Joint > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_CreateHinge2Joint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_CreateHinge2Joint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (arg1)->CreateHinge2Joint();
  resultobj = SWIG_NewPointerObj((new csPtr<iODEHinge2Joint >(static_cast< const csPtr<iODEHinge2Joint >& >(result))), SWIGTYPE_p_csPtrTiODEHinge2Joint_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_CreateAMotorJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  SwigValueWrapper<csPtr<iODEAMotorJoint > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_CreateAMotorJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_CreateAMotorJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (arg1)->CreateAMotorJoint();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iODEAMotorJoint> ref((csPtr<iODEAMotorJoint>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iODEAMotorJoint *)ref), (void *)(iODEAMotorJoint *)ref, "iODEAMotorJoint" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_CreateUniversalJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  SwigValueWrapper<csPtr<iODEUniversalJoint > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_CreateUniversalJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_CreateUniversalJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (arg1)->CreateUniversalJoint();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iODEUniversalJoint> ref((csPtr<iODEUniversalJoint>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iODEUniversalJoint *)ref), (void *)(iODEUniversalJoint *)ref, "iODEUniversalJoint" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_CreateSliderJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  SwigValueWrapper<csPtr<iODESliderJoint > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_CreateSliderJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_CreateSliderJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (arg1)->CreateSliderJoint();
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iODESliderJoint> ref((csPtr<iODESliderJoint>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iODESliderJoint *)ref), (void *)(iODESliderJoint *)ref, "iODESliderJoint" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_RemoveJoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  iODEBallJoint *arg2 = (iODEBallJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_RemoveJoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "2"" of type '" "iODEBallJoint *""'"); 
  }
  arg2 = reinterpret_cast< iODEBallJoint * >(argp2);
  (arg1)->RemoveJoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_RemoveJoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  iODEHingeJoint *arg2 = (iODEHingeJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_RemoveJoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODEHingeJoint, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "2"" of type '" "iODEHingeJoint *""'"); 
  }
  arg2 = reinterpret_cast< iODEHingeJoint * >(argp2);
  (arg1)->RemoveJoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_RemoveJoint__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  iODEAMotorJoint *arg2 = (iODEAMotorJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_RemoveJoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "2"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg2 = reinterpret_cast< iODEAMotorJoint * >(argp2);
  (arg1)->RemoveJoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_RemoveJoint__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  iODEUniversalJoint *arg2 = (iODEUniversalJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_RemoveJoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODEUniversalJoint, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "2"" of type '" "iODEUniversalJoint *""'"); 
  }
  arg2 = reinterpret_cast< iODEUniversalJoint * >(argp2);
  (arg1)->RemoveJoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_RemoveJoint__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  iODESliderJoint *arg2 = (iODESliderJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_RemoveJoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODESliderJoint, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "2"" of type '" "iODESliderJoint *""'"); 
  }
  arg2 = reinterpret_cast< iODESliderJoint * >(argp2);
  (arg1)->RemoveJoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_RemoveJoint__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  iODEHinge2Joint *arg2 = (iODEHinge2Joint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_RemoveJoint",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEDynamicSystemState_RemoveJoint" "', argument " "2"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg2 = reinterpret_cast< iODEHinge2Joint * >(argp2);
  (arg1)->RemoveJoint(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_RemoveJoint(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iODEDynamicSystemState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iODEBallJoint, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iODEDynamicSystemState_RemoveJoint__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iODEDynamicSystemState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iODEHingeJoint, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iODEDynamicSystemState_RemoveJoint__SWIG_1(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iODEDynamicSystemState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iODEAMotorJoint, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iODEDynamicSystemState_RemoveJoint__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iODEDynamicSystemState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iODEUniversalJoint, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iODEDynamicSystemState_RemoveJoint__SWIG_3(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iODEDynamicSystemState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iODESliderJoint, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iODEDynamicSystemState_RemoveJoint__SWIG_4(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iODEDynamicSystemState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iODEHinge2Joint, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iODEDynamicSystemState_RemoveJoint__SWIG_5(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iODEDynamicSystemState_RemoveJoint'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_SetContactMaxCorrectingVel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_SetContactMaxCorrectingVel",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_SetContactMaxCorrectingVel" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_SetContactMaxCorrectingVel" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetContactMaxCorrectingVel(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_GetContactMaxCorrectingVel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_GetContactMaxCorrectingVel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_GetContactMaxCorrectingVel" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (float)(arg1)->GetContactMaxCorrectingVel();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_SetContactSurfaceLayer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEDynamicSystemState_SetContactSurfaceLayer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_SetContactSurfaceLayer" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEDynamicSystemState_SetContactSurfaceLayer" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetContactSurfaceLayer(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_GetContactSurfaceLayer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEDynamicSystemState_GetContactSurfaceLayer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEDynamicSystemState_GetContactSurfaceLayer" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  result = (float)(arg1)->GetContactSurfaceLayer();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEDynamicSystemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEDynamicSystemState *arg1 = (iODEDynamicSystemState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEDynamicSystemState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEDynamicSystemState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEDynamicSystemState" "', argument " "1"" of type '" "iODEDynamicSystemState *""'"); 
  }
  arg1 = reinterpret_cast< iODEDynamicSystemState * >(argp1);
  delete_iODEDynamicSystemState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEDynamicSystemState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iODEDynamicSystemState_scfGetVersion")) SWIG_fail;
  result = (int)iODEDynamicSystemState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEDynamicSystemState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEDynamicSystemState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEJointState_GetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  ODEJointType result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetType",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetType" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (ODEJointType)(arg1)->GetType();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetLoStop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetLoStop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetLoStop" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetLoStop" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetLoStop" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetLoStop((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetHiStop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetHiStop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetHiStop" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetHiStop" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetHiStop" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetHiStop((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetVel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetVel",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetVel" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetVel" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetVel" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetVel((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetFMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetFMax",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetFMax" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetFMax" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetFMax" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetFMax((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetFudgeFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetFudgeFactor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetFudgeFactor" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetFudgeFactor" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetFudgeFactor" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetFudgeFactor((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetBounce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetBounce",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetBounce" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetBounce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetBounce" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetBounce((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetCFM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetCFM" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetCFM" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetCFM" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetCFM((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetStopERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetStopERP",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetStopERP" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetStopERP" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetStopERP" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetStopERP((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetStopCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetStopCFM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetStopCFM" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetStopCFM" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetStopCFM" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetStopCFM((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetSuspensionERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetSuspensionERP",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetSuspensionERP" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetSuspensionERP" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetSuspensionERP" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetSuspensionERP((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_SetSuspensionCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEJointState_SetSuspensionCFM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_SetSuspensionCFM" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEJointState_SetSuspensionCFM" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEJointState_SetSuspensionCFM" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetSuspensionCFM((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetLoStop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetLoStop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetLoStop" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetLoStop();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetHiStop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetHiStop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetHiStop" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetHiStop();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetVel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetVel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetVel" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetVel();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetMaxForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetMaxForce",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetMaxForce" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetMaxForce();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetFudgeFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetFudgeFactor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetFudgeFactor" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetFudgeFactor();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetBounce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetBounce",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetBounce" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetBounce();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetCFM",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetCFM" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetCFM();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetStopERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetStopERP",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetStopERP" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetStopERP();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetStopCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetStopCFM",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetStopCFM" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetStopCFM();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetSuspensionERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetSuspensionERP",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetSuspensionERP" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetSuspensionERP();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_GetSuspensionCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEJointState_GetSuspensionCFM",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEJointState_GetSuspensionCFM" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  result = (arg1)->GetSuspensionCFM();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEJointState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEJointState *arg1 = (iODEJointState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEJointState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEJointState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEJointState" "', argument " "1"" of type '" "iODEJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEJointState * >(argp1);
  delete_iODEJointState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEJointState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iODEJointState_scfGetVersion")) SWIG_fail;
  result = (int)iODEJointState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEJointState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEJointState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetLoStop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetLoStop",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetLoStop" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetLoStop" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetLoStop" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetLoStop(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetHiStop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetHiStop",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetHiStop" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetHiStop" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetHiStop" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetHiStop(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetVel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetVel",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetVel" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetVel" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetVel" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetVel(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetFMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetFMax",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetFMax" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetFMax" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetFMax" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetFMax(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetFudgeFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetFudgeFactor",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetFudgeFactor" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetFudgeFactor" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetFudgeFactor" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetFudgeFactor(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetBounce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetBounce",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetBounce" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetBounce" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetBounce" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetBounce(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetCFM",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetCFM" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetCFM" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetCFM" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetCFM(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetStopERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetStopERP",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetStopERP" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetStopERP" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetStopERP" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetStopERP(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetStopCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetStopCFM",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetStopCFM" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetStopCFM" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetStopCFM" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetStopCFM(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetSuspensionERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetSuspensionERP",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetSuspensionERP" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetSuspensionERP" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetSuspensionERP" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetSuspensionERP(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_SetSuspensionCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  float arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_SetSuspensionCFM",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_SetSuspensionCFM" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_SetSuspensionCFM" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEGeneralJointState_SetSuspensionCFM" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->SetSuspensionCFM(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetLoStop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetLoStop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetLoStop" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetLoStop" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetLoStop(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetHiStop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetHiStop",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetHiStop" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetHiStop" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetHiStop(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetVel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetVel",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetVel" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetVel" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetVel(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetFMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetFMax",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetFMax" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetFMax" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetFMax(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetFudgeFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetFudgeFactor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetFudgeFactor" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetFudgeFactor" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetFudgeFactor(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetBounce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetBounce",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetBounce" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetBounce" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetBounce(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetCFM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetCFM" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetCFM" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetCFM(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetStopERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetStopERP",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetStopERP" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetStopERP" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetStopERP(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetStopCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetStopCFM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetStopCFM" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetStopCFM" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetStopCFM(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetSuspensionERP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetSuspensionERP",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetSuspensionERP" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetSuspensionERP" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetSuspensionERP(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetSuspensionCFM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetSuspensionCFM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetSuspensionCFM" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetSuspensionCFM" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetSuspensionCFM(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  iRigidBody *arg2 = (iRigidBody *) 0 ;
  iRigidBody *arg3 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEGeneralJointState_Attach",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_Attach" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEGeneralJointState_Attach" "', argument " "2"" of type '" "iRigidBody *""'"); 
  }
  arg2 = reinterpret_cast< iRigidBody * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iODEGeneralJointState_Attach" "', argument " "3"" of type '" "iRigidBody *""'"); 
  }
  arg3 = reinterpret_cast< iRigidBody * >(argp3);
  (arg1)->Attach(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetAttachedBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  int arg2 ;
  SwigValueWrapper<csRef<iRigidBody > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEGeneralJointState_GetAttachedBody",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetAttachedBody" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEGeneralJointState_GetAttachedBody" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->GetAttachedBody(arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iRigidBody >(static_cast< const csRef<iRigidBody >& >(result))), SWIGTYPE_p_csRefTiRigidBody_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetFeedbackForce1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEGeneralJointState_GetFeedbackForce1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetFeedbackForce1" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  result = (arg1)->GetFeedbackForce1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetFeedbackTorque1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEGeneralJointState_GetFeedbackTorque1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetFeedbackTorque1" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  result = (arg1)->GetFeedbackTorque1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetFeedbackForce2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEGeneralJointState_GetFeedbackForce2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetFeedbackForce2" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  result = (arg1)->GetFeedbackForce2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEGeneralJointState_GetFeedbackTorque2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEGeneralJointState_GetFeedbackTorque2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEGeneralJointState_GetFeedbackTorque2" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  result = (arg1)->GetFeedbackTorque2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEGeneralJointState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEGeneralJointState *arg1 = (iODEGeneralJointState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEGeneralJointState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEGeneralJointState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEGeneralJointState" "', argument " "1"" of type '" "iODEGeneralJointState *""'"); 
  }
  arg1 = reinterpret_cast< iODEGeneralJointState * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEGeneralJointState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEGeneralJointState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODESliderJoint_SetSliderAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODESliderJoint *arg1 = (iODESliderJoint *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iODESliderJoint_SetSliderAxis",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODESliderJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODESliderJoint_SetSliderAxis" "', argument " "1"" of type '" "iODESliderJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODESliderJoint * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODESliderJoint_SetSliderAxis" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODESliderJoint_SetSliderAxis" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iODESliderJoint_SetSliderAxis" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->SetSliderAxis(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODESliderJoint_GetSliderAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODESliderJoint *arg1 = (iODESliderJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODESliderJoint_GetSliderAxis",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODESliderJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODESliderJoint_GetSliderAxis" "', argument " "1"" of type '" "iODESliderJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODESliderJoint * >(argp1);
  result = (arg1)->GetSliderAxis();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODESliderJoint_GetSliderPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODESliderJoint *arg1 = (iODESliderJoint *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODESliderJoint_GetSliderPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODESliderJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODESliderJoint_GetSliderPosition" "', argument " "1"" of type '" "iODESliderJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODESliderJoint * >(argp1);
  result = (float)(arg1)->GetSliderPosition();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODESliderJoint_GetSliderPositionRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODESliderJoint *arg1 = (iODESliderJoint *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODESliderJoint_GetSliderPositionRate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODESliderJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODESliderJoint_GetSliderPositionRate" "', argument " "1"" of type '" "iODESliderJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODESliderJoint * >(argp1);
  result = (float)(arg1)->GetSliderPositionRate();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODESliderJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODESliderJoint *arg1 = (iODESliderJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODESliderJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODESliderJoint, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODESliderJoint" "', argument " "1"" of type '" "iODESliderJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODESliderJoint * >(argp1);
  delete_iODESliderJoint(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODESliderJoint_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iODESliderJoint_scfGetVersion")) SWIG_fail;
  result = (int)iODESliderJoint_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODESliderJoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODESliderJoint, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEUniversalJoint_SetUniversalAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEUniversalJoint *arg1 = (iODEUniversalJoint *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iODEUniversalJoint_SetUniversalAnchor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEUniversalJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEUniversalJoint_SetUniversalAnchor" "', argument " "1"" of type '" "iODEUniversalJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEUniversalJoint * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEUniversalJoint_SetUniversalAnchor" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEUniversalJoint_SetUniversalAnchor" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iODEUniversalJoint_SetUniversalAnchor" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->SetUniversalAnchor(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEUniversalJoint_SetUniversalAxis1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEUniversalJoint *arg1 = (iODEUniversalJoint *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iODEUniversalJoint_SetUniversalAxis1",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEUniversalJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEUniversalJoint_SetUniversalAxis1" "', argument " "1"" of type '" "iODEUniversalJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEUniversalJoint * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEUniversalJoint_SetUniversalAxis1" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEUniversalJoint_SetUniversalAxis1" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iODEUniversalJoint_SetUniversalAxis1" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->SetUniversalAxis1(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEUniversalJoint_SetUniversalAxis2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEUniversalJoint *arg1 = (iODEUniversalJoint *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iODEUniversalJoint_SetUniversalAxis2",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEUniversalJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEUniversalJoint_SetUniversalAxis2" "', argument " "1"" of type '" "iODEUniversalJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEUniversalJoint * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEUniversalJoint_SetUniversalAxis2" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEUniversalJoint_SetUniversalAxis2" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iODEUniversalJoint_SetUniversalAxis2" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->SetUniversalAxis2(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEUniversalJoint_GetUniversalAnchor1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEUniversalJoint *arg1 = (iODEUniversalJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEUniversalJoint_GetUniversalAnchor1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEUniversalJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEUniversalJoint_GetUniversalAnchor1" "', argument " "1"" of type '" "iODEUniversalJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEUniversalJoint * >(argp1);
  result = (arg1)->GetUniversalAnchor1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEUniversalJoint_GetUniversalAnchor2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEUniversalJoint *arg1 = (iODEUniversalJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEUniversalJoint_GetUniversalAnchor2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEUniversalJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEUniversalJoint_GetUniversalAnchor2" "', argument " "1"" of type '" "iODEUniversalJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEUniversalJoint * >(argp1);
  result = (arg1)->GetUniversalAnchor2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEUniversalJoint_GetUniversalAxis1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEUniversalJoint *arg1 = (iODEUniversalJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEUniversalJoint_GetUniversalAxis1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEUniversalJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEUniversalJoint_GetUniversalAxis1" "', argument " "1"" of type '" "iODEUniversalJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEUniversalJoint * >(argp1);
  result = (arg1)->GetUniversalAxis1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEUniversalJoint_GetUniversalAxis2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEUniversalJoint *arg1 = (iODEUniversalJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEUniversalJoint_GetUniversalAxis2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEUniversalJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEUniversalJoint_GetUniversalAxis2" "', argument " "1"" of type '" "iODEUniversalJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEUniversalJoint * >(argp1);
  result = (arg1)->GetUniversalAxis2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEUniversalJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEUniversalJoint *arg1 = (iODEUniversalJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEUniversalJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEUniversalJoint, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEUniversalJoint" "', argument " "1"" of type '" "iODEUniversalJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEUniversalJoint * >(argp1);
  delete_iODEUniversalJoint(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEUniversalJoint_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iODEUniversalJoint_scfGetVersion")) SWIG_fail;
  result = (int)iODEUniversalJoint_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEUniversalJoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEUniversalJoint, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEAMotorJoint_SetAMotorMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  ODEAMotorMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEAMotorJoint_SetAMotorMode",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_SetAMotorMode" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEAMotorJoint_SetAMotorMode" "', argument " "2"" of type '" "ODEAMotorMode""'");
  } 
  arg2 = static_cast< ODEAMotorMode >(val2);
  (arg1)->SetAMotorMode(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_GetAMotorMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  ODEAMotorMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEAMotorJoint_GetAMotorMode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_GetAMotorMode" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  result = (ODEAMotorMode)(arg1)->GetAMotorMode();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_SetAMotorNumAxes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEAMotorJoint_SetAMotorNumAxes",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_SetAMotorNumAxes" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEAMotorJoint_SetAMotorNumAxes" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetAMotorNumAxes(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_GetAMotorNumAxes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEAMotorJoint_GetAMotorNumAxes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_GetAMotorNumAxes" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  result = (int)(arg1)->GetAMotorNumAxes();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_SetAMotorAxis__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  int arg2 ;
  int arg3 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iODEAMotorJoint_SetAMotorAxis",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  (arg1)->SetAMotorAxis(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_SetAMotorAxis__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  int arg2 ;
  int arg3 ;
  csVector3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iODEAMotorJoint_SetAMotorAxis",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEAMotorJoint_SetAMotorAxis" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  (arg1)->SetAMotorAxis(arg2,arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_SetAMotorAxis(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iODEAMotorJoint, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iODEAMotorJoint_SetAMotorAxis__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iODEAMotorJoint, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iODEAMotorJoint_SetAMotorAxis__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iODEAMotorJoint_SetAMotorAxis'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_GetAMotorAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  int arg2 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEAMotorJoint_GetAMotorAxis",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_GetAMotorAxis" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEAMotorJoint_GetAMotorAxis" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->GetAMotorAxis(arg2);
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_GetAMotorAxisRelOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEAMotorJoint_GetAMotorAxisRelOrientation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_GetAMotorAxisRelOrientation" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEAMotorJoint_GetAMotorAxisRelOrientation" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (int)(arg1)->GetAMotorAxisRelOrientation(arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_SetAMotorAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  int arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEAMotorJoint_SetAMotorAngle",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_SetAMotorAngle" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEAMotorJoint_SetAMotorAngle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iODEAMotorJoint_SetAMotorAngle" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  (arg1)->SetAMotorAngle(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_GetAMotorAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEAMotorJoint_GetAMotorAngle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_GetAMotorAngle" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEAMotorJoint_GetAMotorAngle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetAMotorAngle(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_GetAMotorAngleRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  int arg2 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEAMotorJoint_GetAMotorAngleRate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEAMotorJoint_GetAMotorAngleRate" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEAMotorJoint_GetAMotorAngleRate" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (float)(arg1)->GetAMotorAngleRate(arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEAMotorJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEAMotorJoint *arg1 = (iODEAMotorJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEAMotorJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEAMotorJoint, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEAMotorJoint" "', argument " "1"" of type '" "iODEAMotorJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEAMotorJoint * >(argp1);
  delete_iODEAMotorJoint(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEAMotorJoint_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iODEAMotorJoint_scfGetVersion")) SWIG_fail;
  result = (int)iODEAMotorJoint_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEAMotorJoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEAMotorJoint, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEHinge2Joint_SetHingeAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEHinge2Joint_SetHingeAnchor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_SetHingeAnchor" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEHinge2Joint_SetHingeAnchor" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEHinge2Joint_SetHingeAnchor" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetHingeAnchor((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_SetHingeAxis1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEHinge2Joint_SetHingeAxis1",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_SetHingeAxis1" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEHinge2Joint_SetHingeAxis1" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEHinge2Joint_SetHingeAxis1" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetHingeAxis1((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_SetHingeAxis2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEHinge2Joint_SetHingeAxis2",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_SetHingeAxis2" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEHinge2Joint_SetHingeAxis2" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEHinge2Joint_SetHingeAxis2" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetHingeAxis2((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_GetHingeAnchor1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHinge2Joint_GetHingeAnchor1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_GetHingeAnchor1" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  result = (arg1)->GetHingeAnchor1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_GetHingeAnchor2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHinge2Joint_GetHingeAnchor2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_GetHingeAnchor2" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  result = (arg1)->GetHingeAnchor2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_GetHingeAxis1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHinge2Joint_GetHingeAxis1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_GetHingeAxis1" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  result = (arg1)->GetHingeAxis1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_GetHingeAxis2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHinge2Joint_GetHingeAxis2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_GetHingeAxis2" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  result = (arg1)->GetHingeAxis2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_GetHingeAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHinge2Joint_GetHingeAngle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_GetHingeAngle" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  result = (float)(arg1)->GetHingeAngle();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_GetHingeAngleRate1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHinge2Joint_GetHingeAngleRate1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_GetHingeAngleRate1" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  result = (float)(arg1)->GetHingeAngleRate1();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_GetHingeAngleRate2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHinge2Joint_GetHingeAngleRate2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_GetHingeAngleRate2" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  result = (float)(arg1)->GetHingeAngleRate2();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHinge2Joint_GetAnchorError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHinge2Joint_GetAnchorError",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHinge2Joint_GetAnchorError" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  result = (arg1)->GetAnchorError();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEHinge2Joint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHinge2Joint *arg1 = (iODEHinge2Joint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEHinge2Joint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHinge2Joint, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEHinge2Joint" "', argument " "1"" of type '" "iODEHinge2Joint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHinge2Joint * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEHinge2Joint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEHinge2Joint, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEHingeJoint_SetHingeAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHingeJoint *arg1 = (iODEHingeJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEHingeJoint_SetHingeAnchor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHingeJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHingeJoint_SetHingeAnchor" "', argument " "1"" of type '" "iODEHingeJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHingeJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEHingeJoint_SetHingeAnchor" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEHingeJoint_SetHingeAnchor" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetHingeAnchor((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHingeJoint_SetHingeAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHingeJoint *arg1 = (iODEHingeJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEHingeJoint_SetHingeAxis",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHingeJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHingeJoint_SetHingeAxis" "', argument " "1"" of type '" "iODEHingeJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHingeJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEHingeJoint_SetHingeAxis" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEHingeJoint_SetHingeAxis" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetHingeAxis((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHingeJoint_GetHingeAnchor1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHingeJoint *arg1 = (iODEHingeJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHingeJoint_GetHingeAnchor1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHingeJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHingeJoint_GetHingeAnchor1" "', argument " "1"" of type '" "iODEHingeJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHingeJoint * >(argp1);
  result = (arg1)->GetHingeAnchor1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHingeJoint_GetHingeAnchor2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHingeJoint *arg1 = (iODEHingeJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHingeJoint_GetHingeAnchor2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHingeJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHingeJoint_GetHingeAnchor2" "', argument " "1"" of type '" "iODEHingeJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHingeJoint * >(argp1);
  result = (arg1)->GetHingeAnchor2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHingeJoint_GetHingeAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHingeJoint *arg1 = (iODEHingeJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHingeJoint_GetHingeAxis",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHingeJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHingeJoint_GetHingeAxis" "', argument " "1"" of type '" "iODEHingeJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHingeJoint * >(argp1);
  result = (arg1)->GetHingeAxis();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHingeJoint_GetHingeAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHingeJoint *arg1 = (iODEHingeJoint *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHingeJoint_GetHingeAngle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHingeJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHingeJoint_GetHingeAngle" "', argument " "1"" of type '" "iODEHingeJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHingeJoint * >(argp1);
  result = (float)(arg1)->GetHingeAngle();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHingeJoint_GetHingeAngleRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHingeJoint *arg1 = (iODEHingeJoint *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHingeJoint_GetHingeAngleRate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHingeJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHingeJoint_GetHingeAngleRate" "', argument " "1"" of type '" "iODEHingeJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHingeJoint * >(argp1);
  result = (float)(arg1)->GetHingeAngleRate();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHingeJoint_GetAnchorError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHingeJoint *arg1 = (iODEHingeJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEHingeJoint_GetAnchorError",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHingeJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEHingeJoint_GetAnchorError" "', argument " "1"" of type '" "iODEHingeJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHingeJoint * >(argp1);
  result = (arg1)->GetAnchorError();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEHingeJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEHingeJoint *arg1 = (iODEHingeJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEHingeJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEHingeJoint, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEHingeJoint" "', argument " "1"" of type '" "iODEHingeJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEHingeJoint * >(argp1);
  delete_iODEHingeJoint(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEHingeJoint_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iODEHingeJoint_scfGetVersion")) SWIG_fail;
  result = (int)iODEHingeJoint_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEHingeJoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEHingeJoint, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iODEBallJoint_SetBallAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEBallJoint_SetBallAnchor",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_SetBallAnchor" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEBallJoint_SetBallAnchor" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iODEBallJoint_SetBallAnchor" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetBallAnchor((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_GetBallAnchor1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEBallJoint_GetBallAnchor1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_GetBallAnchor1" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  result = (arg1)->GetBallAnchor1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_GetBallAnchor2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEBallJoint_GetBallAnchor2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_GetBallAnchor2" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  result = (arg1)->GetBallAnchor2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_GetAnchorError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEBallJoint_GetAnchorError",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_GetAnchorError" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  result = (arg1)->GetAnchorError();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  iRigidBody *arg2 = (iRigidBody *) 0 ;
  iRigidBody *arg3 = (iRigidBody *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iODEBallJoint_Attach",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_Attach" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iODEBallJoint_Attach" "', argument " "2"" of type '" "iRigidBody *""'"); 
  }
  arg2 = reinterpret_cast< iRigidBody * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRigidBody, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iODEBallJoint_Attach" "', argument " "3"" of type '" "iRigidBody *""'"); 
  }
  arg3 = reinterpret_cast< iRigidBody * >(argp3);
  (arg1)->Attach(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_GetAttachedBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  int arg2 ;
  SwigValueWrapper<csRef<iRigidBody > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iODEBallJoint_GetAttachedBody",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_GetAttachedBody" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iODEBallJoint_GetAttachedBody" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->GetAttachedBody(arg2);
  resultobj = SWIG_NewPointerObj((new csRef<iRigidBody >(static_cast< const csRef<iRigidBody >& >(result))), SWIGTYPE_p_csRefTiRigidBody_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_GetFeedbackForce1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEBallJoint_GetFeedbackForce1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_GetFeedbackForce1" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  result = (arg1)->GetFeedbackForce1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_GetFeedbackTorque1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEBallJoint_GetFeedbackTorque1",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_GetFeedbackTorque1" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  result = (arg1)->GetFeedbackTorque1();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_GetFeedbackForce2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEBallJoint_GetFeedbackForce2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_GetFeedbackForce2" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  result = (arg1)->GetFeedbackForce2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_GetFeedbackTorque2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  csVector3 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iODEBallJoint_GetFeedbackTorque2",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iODEBallJoint_GetFeedbackTorque2" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  result = (arg1)->GetFeedbackTorque2();
  resultobj = SWIG_NewPointerObj((new csVector3(static_cast< const csVector3& >(result))), SWIGTYPE_p_csVector3, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iODEBallJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iODEBallJoint *arg1 = (iODEBallJoint *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iODEBallJoint",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iODEBallJoint, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iODEBallJoint" "', argument " "1"" of type '" "iODEBallJoint *""'"); 
  }
  arg1 = reinterpret_cast< iODEBallJoint * >(argp1);
  delete_iODEBallJoint(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iODEBallJoint_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iODEBallJoint_scfGetVersion")) SWIG_fail;
  result = (int)iODEBallJoint_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iODEBallJoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iODEBallJoint, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iParameterESM_GetValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParameterESM *arg1 = (iParameterESM *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iParameterESM_GetValue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParameterESM_GetValue" "', argument " "1"" of type '" "iParameterESM const *""'"); 
  }
  arg1 = reinterpret_cast< iParameterESM * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iParameterESM_GetValue" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  result = (iBase *)((iParameterESM const *)arg1)->GetValue(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParameterESM_GetValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParameterESM *arg1 = (iParameterESM *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParameterESM_GetValue",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParameterESM_GetValue" "', argument " "1"" of type '" "iParameterESM const *""'"); 
  }
  arg1 = reinterpret_cast< iParameterESM * >(argp1);
  result = (iBase *)((iParameterESM const *)arg1)->GetValue();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParameterESM_GetValue(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iParameterESM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iParameterESM_GetValue__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iParameterESM, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iBase, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iParameterESM_GetValue__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iParameterESM_GetValue'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iParameterESM_IsConstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParameterESM *arg1 = (iParameterESM *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iParameterESM_IsConstant",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iParameterESM_IsConstant" "', argument " "1"" of type '" "iParameterESM const *""'"); 
  }
  arg1 = reinterpret_cast< iParameterESM * >(argp1);
  result = (bool)((iParameterESM const *)arg1)->IsConstant();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iParameterESM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iParameterESM *arg1 = (iParameterESM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iParameterESM",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iParameterESM, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iParameterESM" "', argument " "1"" of type '" "iParameterESM *""'"); 
  }
  arg1 = reinterpret_cast< iParameterESM * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iParameterESM_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iParameterESM, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_GetParameterCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngineSequenceParameters_GetParameterCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_GetParameterCount" "', argument " "1"" of type '" "iEngineSequenceParameters const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  result = ((iEngineSequenceParameters const *)arg1)->GetParameterCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_GetParameter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  size_t arg2 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceParameters_GetParameter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_GetParameter" "', argument " "1"" of type '" "iEngineSequenceParameters const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngineSequenceParameters_GetParameter" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iBase *)((iEngineSequenceParameters const *)arg1)->GetParameter(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_GetParameter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceParameters_GetParameter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_GetParameter" "', argument " "1"" of type '" "iEngineSequenceParameters const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceParameters_GetParameter" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iBase *)((iEngineSequenceParameters const *)arg1)->GetParameter((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_GetParameter(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceParameters, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iEngineSequenceParameters_GetParameter__SWIG_0(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceParameters, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngineSequenceParameters_GetParameter__SWIG_1(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngineSequenceParameters_GetParameter'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_GetParameterIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceParameters_GetParameterIdx",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_GetParameterIdx" "', argument " "1"" of type '" "iEngineSequenceParameters const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceParameters_GetParameterIdx" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = ((iEngineSequenceParameters const *)arg1)->GetParameterIdx((char const *)arg2);
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_GetParameterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  size_t arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceParameters_GetParameterName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_GetParameterName" "', argument " "1"" of type '" "iEngineSequenceParameters const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngineSequenceParameters_GetParameterName" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (char *)((iEngineSequenceParameters const *)arg1)->GetParameterName(arg2);
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_AddParameter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase *arg3 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngineSequenceParameters_AddParameter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_AddParameter" "', argument " "1"" of type '" "iEngineSequenceParameters *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceParameters_AddParameter" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngineSequenceParameters_AddParameter" "', argument " "3"" of type '" "iBase *""'"); 
  }
  arg3 = reinterpret_cast< iBase * >(argp3);
  (arg1)->AddParameter((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_AddParameter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceParameters_AddParameter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_AddParameter" "', argument " "1"" of type '" "iEngineSequenceParameters *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceParameters_AddParameter" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->AddParameter((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_AddParameter(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceParameters, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngineSequenceParameters_AddParameter__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceParameters, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngineSequenceParameters_AddParameter__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngineSequenceParameters_AddParameter'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_SetParameter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  size_t arg2 ;
  iBase *arg3 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngineSequenceParameters_SetParameter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_SetParameter" "', argument " "1"" of type '" "iEngineSequenceParameters *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngineSequenceParameters_SetParameter" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngineSequenceParameters_SetParameter" "', argument " "3"" of type '" "iBase *""'"); 
  }
  arg3 = reinterpret_cast< iBase * >(argp3);
  (arg1)->SetParameter(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_SetParameter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  char *arg2 = (char *) 0 ;
  iBase *arg3 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngineSequenceParameters_SetParameter",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_SetParameter" "', argument " "1"" of type '" "iEngineSequenceParameters *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceParameters_SetParameter" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iEngineSequenceParameters_SetParameter" "', argument " "3"" of type '" "iBase *""'"); 
  }
  arg3 = reinterpret_cast< iBase * >(argp3);
  (arg1)->SetParameter((char const *)arg2,arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_SetParameter(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceParameters, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_size_t(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngineSequenceParameters_SetParameter__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceParameters, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iBase, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iEngineSequenceParameters_SetParameter__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngineSequenceParameters_SetParameter'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceParameters_CreateParameterESM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iParameterESM > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceParameters_CreateParameterESM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceParameters_CreateParameterESM" "', argument " "1"" of type '" "iEngineSequenceParameters *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceParameters_CreateParameterESM" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->CreateParameterESM((char const *)arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iParameterESM >(static_cast< const csPtr<iParameterESM >& >(result))), SWIGTYPE_p_csPtrTiParameterESM_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEngineSequenceParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceParameters *arg1 = (iEngineSequenceParameters *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEngineSequenceParameters",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceParameters, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEngineSequenceParameters" "', argument " "1"" of type '" "iEngineSequenceParameters *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceParameters * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEngineSequenceParameters_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEngineSequenceParameters, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSequenceWrapper_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceWrapper_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_QueryObject" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_GetSequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  iSequence *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceWrapper_GetSequence",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_GetSequence" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  result = (iSequence *)(arg1)->GetSequence();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSequence, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_CreateBaseParameterBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  iEngineSequenceParameters *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceWrapper_CreateBaseParameterBlock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_CreateBaseParameterBlock" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  result = (iEngineSequenceParameters *)(arg1)->CreateBaseParameterBlock();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_GetBaseParameterBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  iEngineSequenceParameters *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceWrapper_GetBaseParameterBlock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_GetBaseParameterBlock" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  result = (iEngineSequenceParameters *)(arg1)->GetBaseParameterBlock();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_CreateParameterBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  SwigValueWrapper<csPtr<iEngineSequenceParameters > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceWrapper_CreateParameterBlock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_CreateParameterBlock" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  result = (arg1)->CreateParameterBlock();
  resultobj = SWIG_NewPointerObj((new csPtr<iEngineSequenceParameters >(static_cast< const csPtr<iEngineSequenceParameters >& >(result))), SWIGTYPE_p_csPtrTiEngineSequenceParameters_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iSharedVariable *arg3 = (iSharedVariable *) 0 ;
  float arg4 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSequenceWrapper_AddOperationSetVariable",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "3"" of type '" "iSharedVariable *""'"); 
  }
  arg3 = reinterpret_cast< iSharedVariable * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->AddOperationSetVariable(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iSharedVariable *arg3 = (iSharedVariable *) 0 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationSetVariable",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "3"" of type '" "iSharedVariable *""'"); 
  }
  arg3 = reinterpret_cast< iSharedVariable * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  (arg1)->AddOperationSetVariable(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iSharedVariable *arg3 = (iSharedVariable *) 0 ;
  iSharedVariable *arg4 = (iSharedVariable *) 0 ;
  iSharedVariable *arg5 = (iSharedVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSequenceWrapper_AddOperationSetVariable",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "3"" of type '" "iSharedVariable *""'"); 
  }
  arg3 = reinterpret_cast< iSharedVariable * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "4"" of type '" "iSharedVariable *""'"); 
  }
  arg4 = reinterpret_cast< iSharedVariable * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "5"" of type '" "iSharedVariable *""'"); 
  }
  arg5 = reinterpret_cast< iSharedVariable * >(argp5);
  (arg1)->AddOperationSetVariable(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iSharedVariable *arg3 = (iSharedVariable *) 0 ;
  iSharedVariable *arg4 = (iSharedVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationSetVariable",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "3"" of type '" "iSharedVariable *""'"); 
  }
  arg3 = reinterpret_cast< iSharedVariable * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "4"" of type '" "iSharedVariable *""'"); 
  }
  arg4 = reinterpret_cast< iSharedVariable * >(argp4);
  (arg1)->AddOperationSetVariable(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iSharedVariable *arg3 = (iSharedVariable *) 0 ;
  csVector3 *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationSetVariable",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "3"" of type '" "iSharedVariable *""'"); 
  }
  arg3 = reinterpret_cast< iSharedVariable * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  (arg1)->AddOperationSetVariable(arg2,arg3,(csVector3 const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iSharedVariable *arg3 = (iSharedVariable *) 0 ;
  csColor *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationSetVariable",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "3"" of type '" "iSharedVariable *""'"); 
  }
  arg3 = reinterpret_cast< iSharedVariable * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationSetVariable" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  (arg1)->AddOperationSetVariable(arg2,arg3,(csColor const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetVariable(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iSharedVariable, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSharedVariable, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_3(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iSharedVariable, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_4(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iSharedVariable, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csColor, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_5(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iSharedVariable, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iSharedVariable, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSharedVariable, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iSharedVariable, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_2(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iSharedVariable, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iSequenceWrapper_AddOperationSetVariable__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSequenceWrapper_AddOperationSetVariable'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  iParameterESM *arg4 = (iParameterESM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationSetMaterial",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetMaterial" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetMaterial" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetMaterial" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetMaterial" "', argument " "4"" of type '" "iParameterESM *""'"); 
  }
  arg4 = reinterpret_cast< iParameterESM * >(argp4);
  (arg1)->AddOperationSetMaterial(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetPolygonMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  iParameterESM *arg4 = (iParameterESM *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationSetPolygonMaterial",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetPolygonMaterial" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetPolygonMaterial" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetPolygonMaterial" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetPolygonMaterial" "', argument " "4"" of type '" "iParameterESM *""'"); 
  }
  arg4 = reinterpret_cast< iParameterESM * >(argp4);
  (arg1)->AddOperationSetPolygonMaterial(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csColor *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationSetLight",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetLight" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetLight" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetLight" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetLight" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationSetLight" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  (arg1)->AddOperationSetLight(arg2,arg3,(csColor const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationFadeLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csColor *arg4 = 0 ;
  csTicks arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  unsigned int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSequenceWrapper_AddOperationFadeLight",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationFadeLight" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationFadeLight" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationFadeLight" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationFadeLight" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationFadeLight" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSequenceWrapper_AddOperationFadeLight" "', argument " "5"" of type '" "csTicks""'");
  } 
  arg5 = static_cast< csTicks >(val5);
  (arg1)->AddOperationFadeLight(arg2,arg3,(csColor const &)*arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetAmbient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csColor *arg4 = 0 ;
  iSharedVariable *arg5 = (iSharedVariable *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSequenceWrapper_AddOperationSetAmbient",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetAmbient" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetAmbient" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetAmbient" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetAmbient" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationSetAmbient" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iSharedVariable, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSequenceWrapper_AddOperationSetAmbient" "', argument " "5"" of type '" "iSharedVariable *""'"); 
  }
  arg5 = reinterpret_cast< iSharedVariable * >(argp5);
  (arg1)->AddOperationSetAmbient(arg2,arg3,(csColor const &)*arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationFadeAmbient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csColor *arg4 = 0 ;
  csTicks arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  unsigned int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSequenceWrapper_AddOperationFadeAmbient",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationFadeAmbient" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationFadeAmbient" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationFadeAmbient" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationFadeAmbient" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationFadeAmbient" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSequenceWrapper_AddOperationFadeAmbient" "', argument " "5"" of type '" "csTicks""'");
  } 
  arg5 = static_cast< csTicks >(val5);
  (arg1)->AddOperationFadeAmbient(arg2,arg3,(csColor const &)*arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationRandomDelay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  int arg3 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationRandomDelay",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationRandomDelay" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationRandomDelay" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSequenceWrapper_AddOperationRandomDelay" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSequenceWrapper_AddOperationRandomDelay" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  (arg1)->AddOperationRandomDelay(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetMeshColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csColor *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationSetMeshColor",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetMeshColor" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetMeshColor" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetMeshColor" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetMeshColor" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationSetMeshColor" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  (arg1)->AddOperationSetMeshColor(arg2,arg3,(csColor const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationFadeMeshColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csColor *arg4 = 0 ;
  csTicks arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  unsigned int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSequenceWrapper_AddOperationFadeMeshColor",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationFadeMeshColor" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationFadeMeshColor" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationFadeMeshColor" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationFadeMeshColor" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationFadeMeshColor" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSequenceWrapper_AddOperationFadeMeshColor" "', argument " "5"" of type '" "csTicks""'");
  } 
  arg5 = static_cast< csTicks >(val5);
  (arg1)->AddOperationFadeMeshColor(arg2,arg3,(csColor const &)*arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationSetFog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csColor *arg4 = 0 ;
  float arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSequenceWrapper_AddOperationSetFog",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationSetFog" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationSetFog" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationSetFog" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationSetFog" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationSetFog" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSequenceWrapper_AddOperationSetFog" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  (arg1)->AddOperationSetFog(arg2,arg3,(csColor const &)*arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationFadeFog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csColor *arg4 = 0 ;
  float arg5 ;
  csTicks arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  unsigned int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iSequenceWrapper_AddOperationFadeFog",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationFadeFog" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationFadeFog" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationFadeFog" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationFadeFog" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationFadeFog" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSequenceWrapper_AddOperationFadeFog" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iSequenceWrapper_AddOperationFadeFog" "', argument " "6"" of type '" "csTicks""'");
  } 
  arg6 = static_cast< csTicks >(val6);
  (arg1)->AddOperationFadeFog(arg2,arg3,(csColor const &)*arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationRotateDuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  int arg4 ;
  float arg5 ;
  int arg6 ;
  float arg7 ;
  int arg8 ;
  float arg9 ;
  csVector3 *arg10 = 0 ;
  csTicks arg11 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  float val9 ;
  int ecode9 = 0 ;
  void *argp10 = 0 ;
  int res10 = 0 ;
  unsigned int val11 ;
  int ecode11 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  PyObject * obj10 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOO:iSequenceWrapper_AddOperationRotateDuration",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  ecode8 = SWIG_AsVal_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "8"" of type '" "int""'");
  } 
  arg8 = static_cast< int >(val8);
  ecode9 = SWIG_AsVal_float(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "9"" of type '" "float""'");
  } 
  arg9 = static_cast< float >(val9);
  res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res10)) {
    SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "10"" of type '" "csVector3 const &""'"); 
  }
  if (!argp10) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "10"" of type '" "csVector3 const &""'"); 
  }
  arg10 = reinterpret_cast< csVector3 * >(argp10);
  ecode11 = SWIG_AsVal_unsigned_SS_int(obj10, &val11);
  if (!SWIG_IsOK(ecode11)) {
    SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "iSequenceWrapper_AddOperationRotateDuration" "', argument " "11"" of type '" "csTicks""'");
  } 
  arg11 = static_cast< csTicks >(val11);
  (arg1)->AddOperationRotateDuration(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(csVector3 const &)*arg10,arg11);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationMoveDuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csVector3 *arg4 = 0 ;
  csTicks arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  unsigned int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSequenceWrapper_AddOperationMoveDuration",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationMoveDuration" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationMoveDuration" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationMoveDuration" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationMoveDuration" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceWrapper_AddOperationMoveDuration" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSequenceWrapper_AddOperationMoveDuration" "', argument " "5"" of type '" "csTicks""'");
  } 
  arg5 = static_cast< csTicks >(val5);
  (arg1)->AddOperationMoveDuration(arg2,arg3,(csVector3 const &)*arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationTriggerState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  bool arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  bool val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationTriggerState",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationTriggerState" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationTriggerState" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationTriggerState" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  ecode4 = SWIG_AsVal_bool(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSequenceWrapper_AddOperationTriggerState" "', argument " "4"" of type '" "bool""'");
  } 
  arg4 = static_cast< bool >(val4);
  (arg1)->AddOperationTriggerState(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationCheckTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  csTicks arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceWrapper_AddOperationCheckTrigger",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationCheckTrigger" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationCheckTrigger" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationCheckTrigger" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSequenceWrapper_AddOperationCheckTrigger" "', argument " "4"" of type '" "csTicks""'");
  } 
  arg4 = static_cast< csTicks >(val4);
  (arg1)->AddOperationCheckTrigger(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceWrapper_AddOperationTestTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  csTicks arg2 ;
  iParameterESM *arg3 = (iParameterESM *) 0 ;
  iSequence *arg4 = (iSequence *) 0 ;
  iSequence *arg5 = (iSequence *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSequenceWrapper_AddOperationTestTrigger",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceWrapper_AddOperationTestTrigger" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceWrapper_AddOperationTestTrigger" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iParameterESM, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceWrapper_AddOperationTestTrigger" "', argument " "3"" of type '" "iParameterESM *""'"); 
  }
  arg3 = reinterpret_cast< iParameterESM * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSequence, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceWrapper_AddOperationTestTrigger" "', argument " "4"" of type '" "iSequence *""'"); 
  }
  arg4 = reinterpret_cast< iSequence * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iSequence, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iSequenceWrapper_AddOperationTestTrigger" "', argument " "5"" of type '" "iSequence *""'"); 
  }
  arg5 = reinterpret_cast< iSequence * >(argp5);
  (arg1)->AddOperationTestTrigger(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSequenceWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceWrapper *arg1 = (iSequenceWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSequenceWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSequenceWrapper" "', argument " "1"" of type '" "iSequenceWrapper *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceWrapper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSequenceWrapper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSequenceWrapper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSequenceTrigger_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceTrigger_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_QueryObject" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_AddConditionInSector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSequenceTrigger_AddConditionInSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  (arg1)->AddConditionInSector(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_AddConditionInSector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csBox3 *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSequenceTrigger_AddConditionInSector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csBox3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "3"" of type '" "csBox3 const &""'"); 
  }
  arg3 = reinterpret_cast< csBox3 * >(argp3);
  (arg1)->AddConditionInSector(arg2,(csBox3 const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_AddConditionInSector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csSphere *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSequenceTrigger_AddConditionInSector",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csSphere,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "3"" of type '" "csSphere const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceTrigger_AddConditionInSector" "', argument " "3"" of type '" "csSphere const &""'"); 
  }
  arg3 = reinterpret_cast< csSphere * >(argp3);
  (arg1)->AddConditionInSector(arg2,(csSphere const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_AddConditionInSector(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceTrigger, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSequenceTrigger_AddConditionInSector__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceTrigger, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csBox3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSequenceTrigger_AddConditionInSector__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceTrigger, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csSphere, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSequenceTrigger_AddConditionInSector__SWIG_2(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSequenceTrigger_AddConditionInSector'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_AddConditionSectorVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSequenceTrigger_AddConditionSectorVisible",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_AddConditionSectorVisible" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSequenceTrigger_AddConditionSectorVisible" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  (arg1)->AddConditionSectorVisible(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_AddConditionMeshClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSequenceTrigger_AddConditionMeshClick",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_AddConditionMeshClick" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSequenceTrigger_AddConditionMeshClick" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->AddConditionMeshClick(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_AddConditionLightChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iLight *arg2 = (iLight *) 0 ;
  int arg3 ;
  csColor *arg4 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSequenceTrigger_AddConditionLightChange",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_AddConditionLightChange" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iLight, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSequenceTrigger_AddConditionLightChange" "', argument " "2"" of type '" "iLight *""'"); 
  }
  arg2 = reinterpret_cast< iLight * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSequenceTrigger_AddConditionLightChange" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iSequenceTrigger_AddConditionLightChange" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSequenceTrigger_AddConditionLightChange" "', argument " "4"" of type '" "csColor const &""'"); 
  }
  arg4 = reinterpret_cast< csColor * >(argp4);
  (arg1)->AddConditionLightChange(arg2,arg3,(csColor const &)*arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_AddConditionManual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceTrigger_AddConditionManual",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_AddConditionManual" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  (arg1)->AddConditionManual();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_SetEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSequenceTrigger_SetEnabled",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_SetEnabled" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceTrigger_SetEnabled" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetEnabled(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceTrigger_IsEnabled",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_IsEnabled" "', argument " "1"" of type '" "iSequenceTrigger const *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  result = (bool)((iSequenceTrigger const *)arg1)->IsEnabled();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_ClearConditions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceTrigger_ClearConditions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_ClearConditions" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  (arg1)->ClearConditions();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_Trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceTrigger_Trigger",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_Trigger" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  (arg1)->Trigger();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_SetParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iEngineSequenceParameters *arg2 = (iEngineSequenceParameters *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSequenceTrigger_SetParameters",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_SetParameters" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSequenceTrigger_SetParameters" "', argument " "2"" of type '" "iEngineSequenceParameters *""'"); 
  }
  arg2 = reinterpret_cast< iEngineSequenceParameters * >(argp2);
  (arg1)->SetParameters(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_GetParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iEngineSequenceParameters *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceTrigger_GetParameters",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_GetParameters" "', argument " "1"" of type '" "iSequenceTrigger const *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  result = (iEngineSequenceParameters *)((iSequenceTrigger const *)arg1)->GetParameters();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iEngineSequenceParameters, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_FireSequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  csTicks arg2 ;
  iSequenceWrapper *arg3 = (iSequenceWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSequenceTrigger_FireSequence",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_FireSequence" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceTrigger_FireSequence" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceTrigger_FireSequence" "', argument " "3"" of type '" "iSequenceWrapper *""'"); 
  }
  arg3 = reinterpret_cast< iSequenceWrapper * >(argp3);
  (arg1)->FireSequence(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_GetFiredSequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  iSequenceWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceTrigger_GetFiredSequence",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_GetFiredSequence" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  result = (iSequenceWrapper *)(arg1)->GetFiredSequence();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_TestConditions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  csTicks arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSequenceTrigger_TestConditions",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_TestConditions" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceTrigger_TestConditions" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  (arg1)->TestConditions(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_CheckState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceTrigger_CheckState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_CheckState" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  result = (bool)(arg1)->CheckState();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_ForceFire__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSequenceTrigger_ForceFire",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_ForceFire" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceTrigger_ForceFire" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->ForceFire(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_ForceFire__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSequenceTrigger_ForceFire",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTrigger_ForceFire" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  (arg1)->ForceFire();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSequenceTrigger_ForceFire(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceTrigger, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_iSequenceTrigger_ForceFire__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSequenceTrigger, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_bool(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_iSequenceTrigger_ForceFire__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSequenceTrigger_ForceFire'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSequenceTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTrigger *arg1 = (iSequenceTrigger *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSequenceTrigger",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTrigger, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSequenceTrigger" "', argument " "1"" of type '" "iSequenceTrigger *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTrigger * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSequenceTrigger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSequenceTrigger, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSequenceTimedOperation_Do(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTimedOperation *arg1 = (iSequenceTimedOperation *) 0 ;
  float arg2 ;
  iBase *arg3 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSequenceTimedOperation_Do",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTimedOperation, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSequenceTimedOperation_Do" "', argument " "1"" of type '" "iSequenceTimedOperation *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTimedOperation * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSequenceTimedOperation_Do" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSequenceTimedOperation_Do" "', argument " "3"" of type '" "iBase *""'"); 
  }
  arg3 = reinterpret_cast< iBase * >(argp3);
  (arg1)->Do(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSequenceTimedOperation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSequenceTimedOperation *arg1 = (iSequenceTimedOperation *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSequenceTimedOperation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSequenceTimedOperation, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSequenceTimedOperation" "', argument " "1"" of type '" "iSequenceTimedOperation *""'"); 
  }
  arg1 = reinterpret_cast< iSequenceTimedOperation * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSequenceTimedOperation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSequenceTimedOperation, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iEngineSequenceManager_GetSequenceManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  iSequenceManager *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngineSequenceManager_GetSequenceManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_GetSequenceManager" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  result = (iSequenceManager *)(arg1)->GetSequenceManager();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSequenceManager, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_CreateParameterESM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  SwigValueWrapper<csPtr<iParameterESM > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_CreateParameterESM",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_CreateParameterESM" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_CreateParameterESM" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  result = (arg1)->CreateParameterESM(arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iParameterESM >(static_cast< const csPtr<iParameterESM >& >(result))), SWIGTYPE_p_csPtrTiParameterESM_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_CreateTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iSequenceTrigger > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_CreateTrigger",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_CreateTrigger" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_CreateTrigger" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->CreateTrigger((char const *)arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iSequenceTrigger >(static_cast< const csPtr<iSequenceTrigger >& >(result))), SWIGTYPE_p_csPtrTiSequenceTrigger_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_RemoveTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  iSequenceTrigger *arg2 = (iSequenceTrigger *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_RemoveTrigger",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_RemoveTrigger" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_RemoveTrigger" "', argument " "2"" of type '" "iSequenceTrigger *""'"); 
  }
  arg2 = reinterpret_cast< iSequenceTrigger * >(argp2);
  (arg1)->RemoveTrigger(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_RemoveTriggers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngineSequenceManager_RemoveTriggers",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_RemoveTriggers" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  (arg1)->RemoveTriggers();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_GetTriggerCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngineSequenceManager_GetTriggerCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_GetTriggerCount" "', argument " "1"" of type '" "iEngineSequenceManager const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  result = ((iEngineSequenceManager const *)arg1)->GetTriggerCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_GetTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  size_t arg2 ;
  iSequenceTrigger *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_GetTrigger",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_GetTrigger" "', argument " "1"" of type '" "iEngineSequenceManager const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngineSequenceManager_GetTrigger" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSequenceTrigger *)((iEngineSequenceManager const *)arg1)->GetTrigger(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_FindTriggerByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iSequenceTrigger *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_FindTriggerByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_FindTriggerByName" "', argument " "1"" of type '" "iEngineSequenceManager const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_FindTriggerByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSequenceTrigger *)((iEngineSequenceManager const *)arg1)->FindTriggerByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSequenceTrigger, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_FireTriggerByName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngineSequenceManager_FireTriggerByName",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_FireTriggerByName" "', argument " "1"" of type '" "iEngineSequenceManager const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_FireTriggerByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngineSequenceManager_FireTriggerByName" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)((iEngineSequenceManager const *)arg1)->FireTriggerByName((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_FireTriggerByName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_FireTriggerByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_FireTriggerByName" "', argument " "1"" of type '" "iEngineSequenceManager const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_FireTriggerByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)((iEngineSequenceManager const *)arg1)->FireTriggerByName((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_FireTriggerByName(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iEngineSequenceManager_FireTriggerByName__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iEngineSequenceManager_FireTriggerByName__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngineSequenceManager_FireTriggerByName'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_CreateSequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iSequenceWrapper > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_CreateSequence",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_CreateSequence" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_CreateSequence" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (arg1)->CreateSequence((char const *)arg2);
  resultobj = SWIG_NewPointerObj((new csPtr<iSequenceWrapper >(static_cast< const csPtr<iSequenceWrapper >& >(result))), SWIGTYPE_p_csPtrTiSequenceWrapper_t, SWIG_POINTER_OWN |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_RemoveSequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  iSequenceWrapper *arg2 = (iSequenceWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_RemoveSequence",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_RemoveSequence" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_RemoveSequence" "', argument " "2"" of type '" "iSequenceWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iSequenceWrapper * >(argp2);
  (arg1)->RemoveSequence(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_RemoveSequences(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngineSequenceManager_RemoveSequences",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_RemoveSequences" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  (arg1)->RemoveSequences();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_GetSequenceCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  size_t result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iEngineSequenceManager_GetSequenceCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_GetSequenceCount" "', argument " "1"" of type '" "iEngineSequenceManager const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  result = ((iEngineSequenceManager const *)arg1)->GetSequenceCount();
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_GetSequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  size_t arg2 ;
  iSequenceWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_GetSequence",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_GetSequence" "', argument " "1"" of type '" "iEngineSequenceManager const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngineSequenceManager_GetSequence" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (iSequenceWrapper *)((iEngineSequenceManager const *)arg1)->GetSequence(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_FindSequenceByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  char *arg2 = (char *) 0 ;
  iSequenceWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_FindSequenceByName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_FindSequenceByName" "', argument " "1"" of type '" "iEngineSequenceManager const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_FindSequenceByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iSequenceWrapper *)((iEngineSequenceManager const *)arg1)->FindSequenceByName((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSequenceWrapper, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_RunSequenceByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iEngineSequenceManager_RunSequenceByName",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_RunSequenceByName" "', argument " "1"" of type '" "iEngineSequenceManager const *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iEngineSequenceManager_RunSequenceByName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngineSequenceManager_RunSequenceByName" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)((iEngineSequenceManager const *)arg1)->RunSequenceByName((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_FireTimedOperation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  csTicks arg2 ;
  csTicks arg3 ;
  iSequenceTimedOperation *arg4 = (iSequenceTimedOperation *) 0 ;
  iBase *arg5 = (iBase *) 0 ;
  uint arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  unsigned int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:iEngineSequenceManager_FireTimedOperation",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "3"" of type '" "csTicks""'");
  } 
  arg3 = static_cast< csTicks >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSequenceTimedOperation, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "4"" of type '" "iSequenceTimedOperation *""'"); 
  }
  arg4 = reinterpret_cast< iSequenceTimedOperation * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "5"" of type '" "iBase *""'"); 
  }
  arg5 = reinterpret_cast< iBase * >(argp5);
  ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "6"" of type '" "uint""'");
  } 
  arg6 = static_cast< uint >(val6);
  (arg1)->FireTimedOperation(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_FireTimedOperation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  csTicks arg2 ;
  csTicks arg3 ;
  iSequenceTimedOperation *arg4 = (iSequenceTimedOperation *) 0 ;
  iBase *arg5 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iEngineSequenceManager_FireTimedOperation",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "3"" of type '" "csTicks""'");
  } 
  arg3 = static_cast< csTicks >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSequenceTimedOperation, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "4"" of type '" "iSequenceTimedOperation *""'"); 
  }
  arg4 = reinterpret_cast< iSequenceTimedOperation * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "5"" of type '" "iBase *""'"); 
  }
  arg5 = reinterpret_cast< iBase * >(argp5);
  (arg1)->FireTimedOperation(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_FireTimedOperation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  csTicks arg2 ;
  csTicks arg3 ;
  iSequenceTimedOperation *arg4 = (iSequenceTimedOperation *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iEngineSequenceManager_FireTimedOperation",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "3"" of type '" "csTicks""'");
  } 
  arg3 = static_cast< csTicks >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_iSequenceTimedOperation, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iEngineSequenceManager_FireTimedOperation" "', argument " "4"" of type '" "iSequenceTimedOperation *""'"); 
  }
  arg4 = reinterpret_cast< iSequenceTimedOperation * >(argp4);
  (arg1)->FireTimedOperation(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_FireTimedOperation(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[7];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 6); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSequenceTimedOperation, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iEngineSequenceManager_FireTimedOperation__SWIG_2(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSequenceTimedOperation, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iBase, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_iEngineSequenceManager_FireTimedOperation__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iEngineSequenceManager, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_iSequenceTimedOperation, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            void *vptr = 0;
            int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_iBase, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              {
                int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_iEngineSequenceManager_FireTimedOperation__SWIG_0(self, args);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iEngineSequenceManager_FireTimedOperation'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iEngineSequenceManager_DestroyTimedOperations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  uint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iEngineSequenceManager_DestroyTimedOperations",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iEngineSequenceManager_DestroyTimedOperations" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iEngineSequenceManager_DestroyTimedOperations" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  (arg1)->DestroyTimedOperations(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iEngineSequenceManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngineSequenceManager *arg1 = (iEngineSequenceManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iEngineSequenceManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngineSequenceManager, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iEngineSequenceManager" "', argument " "1"" of type '" "iEngineSequenceManager *""'"); 
  }
  arg1 = reinterpret_cast< iEngineSequenceManager * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iEngineSequenceManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iEngineSequenceManager, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMovieRecorder_Start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovieRecorder *arg1 = (iMovieRecorder *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovieRecorder_Start",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovieRecorder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovieRecorder_Start" "', argument " "1"" of type '" "iMovieRecorder *""'"); 
  }
  arg1 = reinterpret_cast< iMovieRecorder * >(argp1);
  (arg1)->Start();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovieRecorder_Stop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovieRecorder *arg1 = (iMovieRecorder *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovieRecorder_Stop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovieRecorder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovieRecorder_Stop" "', argument " "1"" of type '" "iMovieRecorder *""'"); 
  }
  arg1 = reinterpret_cast< iMovieRecorder * >(argp1);
  (arg1)->Stop();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovieRecorder_IsRecording(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovieRecorder *arg1 = (iMovieRecorder *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovieRecorder_IsRecording",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovieRecorder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovieRecorder_IsRecording" "', argument " "1"" of type '" "iMovieRecorder const *""'"); 
  }
  arg1 = reinterpret_cast< iMovieRecorder * >(argp1);
  result = (bool)((iMovieRecorder const *)arg1)->IsRecording();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovieRecorder_Pause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovieRecorder *arg1 = (iMovieRecorder *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovieRecorder_Pause",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovieRecorder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovieRecorder_Pause" "', argument " "1"" of type '" "iMovieRecorder *""'"); 
  }
  arg1 = reinterpret_cast< iMovieRecorder * >(argp1);
  (arg1)->Pause();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovieRecorder_UnPause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovieRecorder *arg1 = (iMovieRecorder *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovieRecorder_UnPause",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovieRecorder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovieRecorder_UnPause" "', argument " "1"" of type '" "iMovieRecorder *""'"); 
  }
  arg1 = reinterpret_cast< iMovieRecorder * >(argp1);
  (arg1)->UnPause();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovieRecorder_IsPaused(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovieRecorder *arg1 = (iMovieRecorder *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMovieRecorder_IsPaused",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovieRecorder, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMovieRecorder_IsPaused" "', argument " "1"" of type '" "iMovieRecorder const *""'"); 
  }
  arg1 = reinterpret_cast< iMovieRecorder * >(argp1);
  result = (bool)((iMovieRecorder const *)arg1)->IsPaused();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMovieRecorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMovieRecorder *arg1 = (iMovieRecorder *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMovieRecorder",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMovieRecorder, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMovieRecorder" "', argument " "1"" of type '" "iMovieRecorder *""'"); 
  }
  arg1 = reinterpret_cast< iMovieRecorder * >(argp1);
  delete_iMovieRecorder(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMovieRecorder_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMovieRecorder_scfGetVersion")) SWIG_fail;
  result = (int)iMovieRecorder_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMovieRecorder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMovieRecorder, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iMapNode_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMapNode_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_QueryObject" "', argument " "1"" of type '" "iMapNode *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMapNode_SetPosition",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_SetPosition" "', argument " "1"" of type '" "iMapNode *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMapNode_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMapNode_SetPosition" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetPosition((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMapNode_GetPosition",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_GetPosition" "', argument " "1"" of type '" "iMapNode const *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  {
    csVector3 const &_result_ref = ((iMapNode const *)arg1)->GetPosition();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_SetXVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMapNode_SetXVector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_SetXVector" "', argument " "1"" of type '" "iMapNode *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMapNode_SetXVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMapNode_SetXVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetXVector((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_GetXVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMapNode_GetXVector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_GetXVector" "', argument " "1"" of type '" "iMapNode const *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  {
    csVector3 const &_result_ref = ((iMapNode const *)arg1)->GetXVector();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_SetYVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMapNode_SetYVector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_SetYVector" "', argument " "1"" of type '" "iMapNode *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMapNode_SetYVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMapNode_SetYVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetYVector((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_GetYVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMapNode_GetYVector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_GetYVector" "', argument " "1"" of type '" "iMapNode const *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  {
    csVector3 const &_result_ref = ((iMapNode const *)arg1)->GetYVector();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_SetZVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMapNode_SetZVector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_SetZVector" "', argument " "1"" of type '" "iMapNode *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMapNode_SetZVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iMapNode_SetZVector" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetZVector((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_GetZVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMapNode_GetZVector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_GetZVector" "', argument " "1"" of type '" "iMapNode const *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  {
    csVector3 const &_result_ref = ((iMapNode const *)arg1)->GetZVector();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_SetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iMapNode_SetSector",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_SetSector" "', argument " "1"" of type '" "iMapNode *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iMapNode_SetSector" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  (arg1)->SetSector(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_GetSector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iMapNode_GetSector",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iMapNode_GetSector" "', argument " "1"" of type '" "iMapNode const *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  result = (iSector *)((iMapNode const *)arg1)->GetSector();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iMapNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iMapNode *arg1 = (iMapNode *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iMapNode",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iMapNode, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iMapNode" "', argument " "1"" of type '" "iMapNode *""'"); 
  }
  arg1 = reinterpret_cast< iMapNode * >(argp1);
  delete_iMapNode(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iMapNode_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iMapNode_scfGetVersion")) SWIG_fail;
  result = (int)iMapNode_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iMapNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iMapNode, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iScriptObject_IsType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iScriptObject_IsType",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_IsType" "', argument " "1"" of type '" "iScriptObject const *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_IsType" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)((iScriptObject const *)arg1)->IsType((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_GetPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iScriptObject_GetPointer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_GetPointer" "', argument " "1"" of type '" "iScriptObject const *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  result = (iBase *)((iScriptObject const *)arg1)->GetPointer();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_SetPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iScriptObject_SetPointer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_SetPointer" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_SetPointer" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  result = (bool)(arg1)->SetPointer(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Call__SWIG_0__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_Call",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_Call" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_Call" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_Call" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->Call((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Call__SWIG_0(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,3);
  varargs = PyTuple_GetSlice(args,3,PyTuple_Size(args)+1);
  resultobj = _wrap_iScriptObject_Call__SWIG_0__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScriptObject_IntCall__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScriptObject_IntCall",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_IntCall" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_IntCall" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_IntCall" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_IntCall" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScriptObject_IntCall" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_IntCall(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScriptObject_IntCall__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScriptObject_FloatCall__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  float *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScriptObject_FloatCall",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_FloatCall" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_FloatCall" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_FloatCall" "', argument " "3"" of type '" "float &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_FloatCall" "', argument " "3"" of type '" "float &""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScriptObject_FloatCall" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_FloatCall(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScriptObject_FloatCall__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScriptObject_DoubleCall__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  double *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScriptObject_DoubleCall",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_DoubleCall" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_DoubleCall" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_DoubleCall" "', argument " "3"" of type '" "double &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_DoubleCall" "', argument " "3"" of type '" "double &""'"); 
  }
  arg3 = reinterpret_cast< double * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScriptObject_DoubleCall" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_DoubleCall(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScriptObject_DoubleCall__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Call__SWIG_1__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iString > *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScriptObject_Call",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_Call" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_Call" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiString_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_Call" "', argument " "3"" of type '" "csRef<iString > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_Call" "', argument " "3"" of type '" "csRef<iString > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iString > * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScriptObject_Call" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Call__SWIG_1(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScriptObject_Call__SWIG_1__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Call(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc >= 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScriptObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          if (argc <= 3) {
            return _wrap_iScriptObject_Call__SWIG_0(self, args);
          }
          return _wrap_iScriptObject_Call__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc >= 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScriptObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRefTiString_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            if (argc <= 4) {
              return _wrap_iScriptObject_Call__SWIG_1(self, args);
            }
            return _wrap_iScriptObject_Call__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iScriptObject_Call'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_ObjectCall__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iScriptObject > *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScriptObject_ObjectCall",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_ObjectCall" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_ObjectCall" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiScriptObject_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_ObjectCall" "', argument " "3"" of type '" "csRef<iScriptObject > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_ObjectCall" "', argument " "3"" of type '" "csRef<iScriptObject > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iScriptObject > * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScriptObject_ObjectCall" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_ObjectCall(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScriptObject_ObjectCall__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScriptObject_SetInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_SetInt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_SetInt" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_SetInt" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iScriptObject_SetInt" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)(arg1)->Set((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_SetFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_SetFloat",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_SetFloat" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_SetFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iScriptObject_SetFloat" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->Set((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_SetDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  double arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_SetDouble",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_SetDouble" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_SetDouble" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iScriptObject_SetDouble" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  result = (bool)(arg1)->Set((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_SetString",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_SetString" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_SetString" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_SetString" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->Set((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  iScriptObject *arg3 = (iScriptObject *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_Set",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_Set" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_Set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_Set" "', argument " "3"" of type '" "iScriptObject *""'"); 
  }
  arg3 = reinterpret_cast< iScriptObject * >(argp3);
  result = (bool)(arg1)->Set((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_SetTruth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_SetTruth",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_SetTruth" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_SetTruth" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iScriptObject_SetTruth" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->SetTruth((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_Get",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_Get" "', argument " "1"" of type '" "iScriptObject const *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_Get" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_Get" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_Get" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  result = (bool)((iScriptObject const *)arg1)->Get((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_GetFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  float *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_GetFloat",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_GetFloat" "', argument " "1"" of type '" "iScriptObject const *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_GetFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_GetFloat" "', argument " "3"" of type '" "float &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_GetFloat" "', argument " "3"" of type '" "float &""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  result = (bool)((iScriptObject const *)arg1)->Get((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  double *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_Get",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_Get" "', argument " "1"" of type '" "iScriptObject const *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_Get" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_Get" "', argument " "3"" of type '" "double &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_Get" "', argument " "3"" of type '" "double &""'"); 
  }
  arg3 = reinterpret_cast< double * >(argp3);
  result = (bool)((iScriptObject const *)arg1)->Get((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iString > *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_Get",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_Get" "', argument " "1"" of type '" "iScriptObject const *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_Get" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiString_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_Get" "', argument " "3"" of type '" "csRef<iString > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_Get" "', argument " "3"" of type '" "csRef<iString > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iString > * >(argp3);
  result = (bool)((iScriptObject const *)arg1)->Get((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iScriptObject > *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_Get",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_Get" "', argument " "1"" of type '" "iScriptObject const *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_Get" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiScriptObject_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_Get" "', argument " "3"" of type '" "csRef<iScriptObject > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_Get" "', argument " "3"" of type '" "csRef<iScriptObject > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iScriptObject > * >(argp3);
  result = (bool)((iScriptObject const *)arg1)->Get((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_Get(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScriptObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScriptObject_Get__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScriptObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScriptObject_Get__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScriptObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRefTiString_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScriptObject_Get__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScriptObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRefTiScriptObject_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScriptObject_Get__SWIG_3(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iScriptObject_Get'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_GetTruth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  char *arg2 = (char *) 0 ;
  bool *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScriptObject_GetTruth",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScriptObject_GetTruth" "', argument " "1"" of type '" "iScriptObject const *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScriptObject_GetTruth" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScriptObject_GetTruth" "', argument " "3"" of type '" "bool &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScriptObject_GetTruth" "', argument " "3"" of type '" "bool &""'"); 
  }
  arg3 = reinterpret_cast< bool * >(argp3);
  result = (bool)((iScriptObject const *)arg1)->GetTruth((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iScriptObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScriptObject *arg1 = (iScriptObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iScriptObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScriptObject, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iScriptObject" "', argument " "1"" of type '" "iScriptObject *""'"); 
  }
  arg1 = reinterpret_cast< iScriptObject * >(argp1);
  delete_iScriptObject(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScriptObject_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iScriptObject_scfGetVersion")) SWIG_fail;
  result = (int)iScriptObject_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iScriptObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iScriptObject, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iScript_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  iObjectRegistry *arg2 = (iObjectRegistry *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iScript_Initialize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Initialize" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Initialize" "', argument " "2"" of type '" "iObjectRegistry *""'"); 
  }
  arg2 = reinterpret_cast< iObjectRegistry * >(argp2);
  result = (bool)(arg1)->Initialize(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Store__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = (void *) 0 ;
  void *arg4 = (void *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  int res4 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScript_Store",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Store" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Store" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_Store" "', argument " "3"" of type '" "void *""'"); 
  }
  res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScript_Store" "', argument " "4"" of type '" "void *""'"); 
  }
  result = (bool)(arg1)->Store((char const *)arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_RunText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iScript_RunText",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_RunText" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_RunText" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->RunText((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_LoadModule__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iScript_LoadModule",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_LoadModule" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_LoadModule" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->LoadModule((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_LoadModule__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_LoadModule",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_LoadModule" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_LoadModule" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_LoadModule" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->LoadModule((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_LoadModule(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iScript_LoadModule__SWIG_0(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScript_LoadModule__SWIG_1(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iScript_LoadModule'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Call__SWIG_0__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_Call",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Call" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Call" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_Call" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->Call((char const *)arg2,(char const *)arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Call__SWIG_0(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,3);
  varargs = PyTuple_GetSlice(args,3,PyTuple_Size(args)+1);
  resultobj = _wrap_iScript_Call__SWIG_0__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScript_IntCall__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScript_IntCall",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_IntCall" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_IntCall" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_IntCall" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_IntCall" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScript_IntCall" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_IntCall(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScript_IntCall__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScript_FloatCall__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  float *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScript_FloatCall",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_FloatCall" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_FloatCall" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_FloatCall" "', argument " "3"" of type '" "float &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_FloatCall" "', argument " "3"" of type '" "float &""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScript_FloatCall" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_FloatCall(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScript_FloatCall__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScript_DoubleCall__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  double *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScript_DoubleCall",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_DoubleCall" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_DoubleCall" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_DoubleCall" "', argument " "3"" of type '" "double &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_DoubleCall" "', argument " "3"" of type '" "double &""'"); 
  }
  arg3 = reinterpret_cast< double * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScript_DoubleCall" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_DoubleCall(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScript_DoubleCall__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScript_Call__SWIG_1__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iString > *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScript_Call",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Call" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Call" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiString_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_Call" "', argument " "3"" of type '" "csRef<iString > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_Call" "', argument " "3"" of type '" "csRef<iString > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iString > * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScript_Call" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Call__SWIG_1(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScript_Call__SWIG_1__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScript_Call(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc >= 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          if (argc <= 3) {
            return _wrap_iScript_Call__SWIG_0(self, args);
          }
          return _wrap_iScript_Call__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc >= 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRefTiString_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            if (argc <= 4) {
              return _wrap_iScript_Call__SWIG_1(self, args);
            }
            return _wrap_iScript_Call__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iScript_Call'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_ObjectCall__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iScriptObject > *arg3 = 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iScript_ObjectCall",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_ObjectCall" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_ObjectCall" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiScriptObject_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_ObjectCall" "', argument " "3"" of type '" "csRef<iScriptObject > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_ObjectCall" "', argument " "3"" of type '" "csRef<iScriptObject > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iScriptObject > * >(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "iScript_ObjectCall" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (bool)(arg1)->Call((char const *)arg2,*arg3,(char const *)arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_ObjectCall(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,4);
  varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1);
  resultobj = _wrap_iScript_ObjectCall__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScript_NewObject__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  SwigValueWrapper<csRef<iScriptObject > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_NewObject",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_NewObject" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_NewObject" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_NewObject" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (arg1)->NewObject((char const *)arg2,(char const *)arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iScriptObject> ref((csRef<iScriptObject>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iScriptObject *)ref), (void *)(iScriptObject *)ref, "iScriptObject" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_NewObject(PyObject *self, PyObject *args) {
  PyObject *resultobj;
  PyObject *varargs;
  PyObject *newargs;
  
  newargs = PyTuple_GetSlice(args,0,3);
  varargs = PyTuple_GetSlice(args,3,PyTuple_Size(args)+1);
  resultobj = _wrap_iScript_NewObject__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_iScript_StoreInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_StoreInt",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_StoreInt" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_StoreInt" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iScript_StoreInt" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)(arg1)->Store((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_StoreFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_StoreFloat",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_StoreFloat" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_StoreFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iScript_StoreFloat" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  result = (bool)(arg1)->Store((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_StoreDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  double arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_StoreDouble",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_StoreDouble" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_StoreDouble" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iScript_StoreDouble" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  result = (bool)(arg1)->Store((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_StoreString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_StoreString",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_StoreString" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_StoreString" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_StoreString" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = buf3;
  result = (bool)(arg1)->Store((char const *)arg2,(char const *)arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Store__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  iScriptObject *arg3 = (iScriptObject *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_Store",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Store" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Store" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iScriptObject, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_Store" "', argument " "3"" of type '" "iScriptObject *""'"); 
  }
  arg3 = reinterpret_cast< iScriptObject * >(argp3);
  result = (bool)(arg1)->Store((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Store(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iScriptObject, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScript_Store__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *ptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *ptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_iScript_Store__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iScript_Store'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_SetTruth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_SetTruth",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_SetTruth" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_SetTruth" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iScript_SetTruth" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->SetTruth((char const *)arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Retrieve__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_Retrieve",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Retrieve" "', argument " "1"" of type '" "iScript const *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Retrieve" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_Retrieve" "', argument " "3"" of type '" "int &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_Retrieve" "', argument " "3"" of type '" "int &""'"); 
  }
  arg3 = reinterpret_cast< int * >(argp3);
  result = (bool)((iScript const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_RetrieveFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  float *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_RetrieveFloat",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_RetrieveFloat" "', argument " "1"" of type '" "iScript const *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_RetrieveFloat" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_RetrieveFloat" "', argument " "3"" of type '" "float &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_RetrieveFloat" "', argument " "3"" of type '" "float &""'"); 
  }
  arg3 = reinterpret_cast< float * >(argp3);
  result = (bool)((iScript const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Retrieve__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  double *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_Retrieve",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Retrieve" "', argument " "1"" of type '" "iScript const *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Retrieve" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_Retrieve" "', argument " "3"" of type '" "double &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_Retrieve" "', argument " "3"" of type '" "double &""'"); 
  }
  arg3 = reinterpret_cast< double * >(argp3);
  result = (bool)((iScript const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Retrieve__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iString > *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_Retrieve",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Retrieve" "', argument " "1"" of type '" "iScript const *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Retrieve" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiString_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_Retrieve" "', argument " "3"" of type '" "csRef<iString > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_Retrieve" "', argument " "3"" of type '" "csRef<iString > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iString > * >(argp3);
  result = (bool)((iScript const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Retrieve__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  csRef<iScriptObject > *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_Retrieve",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Retrieve" "', argument " "1"" of type '" "iScript const *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Retrieve" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiScriptObject_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_Retrieve" "', argument " "3"" of type '" "csRef<iScriptObject > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_Retrieve" "', argument " "3"" of type '" "csRef<iScriptObject > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iScriptObject > * >(argp3);
  result = (bool)((iScript const *)arg1)->Retrieve((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Retrieve(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScript_Retrieve__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScript_Retrieve__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRefTiString_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScript_Retrieve__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iScript, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csRefTiScriptObject_t, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iScript_Retrieve__SWIG_3(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iScript_Retrieve'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_GetTruth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  bool *arg3 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iScript_GetTruth",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_GetTruth" "', argument " "1"" of type '" "iScript const *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_GetTruth" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_bool,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iScript_GetTruth" "', argument " "3"" of type '" "bool &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iScript_GetTruth" "', argument " "3"" of type '" "bool &""'"); 
  }
  arg3 = reinterpret_cast< bool * >(argp3);
  result = (bool)((iScript const *)arg1)->GetTruth((char const *)arg2,*arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iScript_Remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iScript_Remove" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iScript_Remove" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (bool)(arg1)->Remove((char const *)arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iScript(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iScript *arg1 = (iScript *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iScript",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iScript, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iScript" "', argument " "1"" of type '" "iScript *""'"); 
  }
  arg1 = reinterpret_cast< iScript * >(argp1);
  delete_iScript(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iScript_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iScript_scfGetVersion")) SWIG_fail;
  result = (int)iScript_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iScript_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iScript, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetHeightmap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  iImage *arg2 = (iImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSimpleFormerState_SetHeightmap",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetHeightmap" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSimpleFormerState_SetHeightmap" "', argument " "2"" of type '" "iImage *""'"); 
  }
  arg2 = reinterpret_cast< iImage * >(argp2);
  (arg1)->SetHeightmap(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetHeightmap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  float *arg2 = (float *) 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSimpleFormerState_SetHeightmap",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetHeightmap" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSimpleFormerState_SetHeightmap" "', argument " "2"" of type '" "float *""'"); 
  }
  arg2 = reinterpret_cast< float * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iSimpleFormerState_SetHeightmap" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSimpleFormerState_SetHeightmap" "', argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  (arg1)->SetHeightmap(arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetHeightmap(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSimpleFormerState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iImage, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_iSimpleFormerState_SetHeightmap__SWIG_0(self, args);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSimpleFormerState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSimpleFormerState_SetHeightmap__SWIG_1(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSimpleFormerState_SetHeightmap'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  csVector3 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSimpleFormerState_SetScale",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetScale" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSimpleFormerState_SetScale" "', argument " "2"" of type '" "csVector3""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSimpleFormerState_SetScale" "', argument " "2"" of type '" "csVector3""'");
    } else {
      csVector3 * temp = reinterpret_cast< csVector3 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->SetScale(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  csVector3 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSimpleFormerState_SetOffset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetOffset" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSimpleFormerState_SetOffset" "', argument " "2"" of type '" "csVector3""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSimpleFormerState_SetOffset" "', argument " "2"" of type '" "csVector3""'");
    } else {
      csVector3 * temp = reinterpret_cast< csVector3 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->SetOffset(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetIntegerMap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  csStringID arg2 ;
  iImage *arg3 = (iImage *) 0 ;
  int arg4 ;
  int arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSimpleFormerState_SetIntegerMap",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "3"" of type '" "iImage *""'"); 
  }
  arg3 = reinterpret_cast< iImage * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (bool)(arg1)->SetIntegerMap(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetIntegerMap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  csStringID arg2 ;
  iImage *arg3 = (iImage *) 0 ;
  int arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSimpleFormerState_SetIntegerMap",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "3"" of type '" "iImage *""'"); 
  }
  arg3 = reinterpret_cast< iImage * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  result = (bool)(arg1)->SetIntegerMap(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetIntegerMap__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  csStringID arg2 ;
  iImage *arg3 = (iImage *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSimpleFormerState_SetIntegerMap",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSimpleFormerState_SetIntegerMap" "', argument " "3"" of type '" "iImage *""'"); 
  }
  arg3 = reinterpret_cast< iImage * >(argp3);
  result = (bool)(arg1)->SetIntegerMap(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetIntegerMap(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSimpleFormerState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iImage, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSimpleFormerState_SetIntegerMap__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSimpleFormerState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iImage, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSimpleFormerState_SetIntegerMap__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSimpleFormerState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iImage, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iSimpleFormerState_SetIntegerMap__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSimpleFormerState_SetIntegerMap'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetFloatMap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  csStringID arg2 ;
  iImage *arg3 = (iImage *) 0 ;
  float arg4 ;
  float arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iSimpleFormerState_SetFloatMap",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "3"" of type '" "iImage *""'"); 
  }
  arg3 = reinterpret_cast< iImage * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = (bool)(arg1)->SetFloatMap(arg2,arg3,arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetFloatMap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  csStringID arg2 ;
  iImage *arg3 = (iImage *) 0 ;
  float arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iSimpleFormerState_SetFloatMap",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "3"" of type '" "iImage *""'"); 
  }
  arg3 = reinterpret_cast< iImage * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  result = (bool)(arg1)->SetFloatMap(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetFloatMap__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  csStringID arg2 ;
  iImage *arg3 = (iImage *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iSimpleFormerState_SetFloatMap",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iImage, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iSimpleFormerState_SetFloatMap" "', argument " "3"" of type '" "iImage *""'"); 
  }
  arg3 = reinterpret_cast< iImage * >(argp3);
  result = (bool)(arg1)->SetFloatMap(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetFloatMap(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSimpleFormerState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iImage, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_iSimpleFormerState_SetFloatMap__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSimpleFormerState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iImage, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iSimpleFormerState_SetFloatMap__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iSimpleFormerState, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iImage, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_iSimpleFormerState_SetFloatMap__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iSimpleFormerState_SetFloatMap'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_GetFloatMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iSimpleFormerState_GetFloatMap",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_GetFloatMap" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  result = (float *)(arg1)->GetFloatMap();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_SetMaterialScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  csVector2 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iSimpleFormerState_SetMaterialScale",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iSimpleFormerState_SetMaterialScale" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iSimpleFormerState_SetMaterialScale" "', argument " "2"" of type '" "csVector2""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iSimpleFormerState_SetMaterialScale" "', argument " "2"" of type '" "csVector2""'");
    } else {
      csVector2 * temp = reinterpret_cast< csVector2 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  (arg1)->SetMaterialScale(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iSimpleFormerState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iSimpleFormerState *arg1 = (iSimpleFormerState *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iSimpleFormerState",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iSimpleFormerState, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iSimpleFormerState" "', argument " "1"" of type '" "iSimpleFormerState *""'"); 
  }
  arg1 = reinterpret_cast< iSimpleFormerState * >(argp1);
  delete_iSimpleFormerState(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iSimpleFormerState_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iSimpleFormerState_scfGetVersion")) SWIG_fail;
  result = (int)iSimpleFormerState_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iSimpleFormerState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iSimpleFormerState, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iTerraFormer_GetSampler__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraFormer *arg1 = (iTerraFormer *) 0 ;
  csBox2 arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  SwigValueWrapper<csPtr<iTerraSampler > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:iTerraFormer_GetSampler",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraFormer_GetSampler" "', argument " "1"" of type '" "iTerraFormer *""'"); 
  }
  arg1 = reinterpret_cast< iTerraFormer * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerraFormer_GetSampler" "', argument " "2"" of type '" "csBox2""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerraFormer_GetSampler" "', argument " "2"" of type '" "csBox2""'");
    } else {
      csBox2 * temp = reinterpret_cast< csBox2 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerraFormer_GetSampler" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTerraFormer_GetSampler" "', argument " "4"" of type '" "unsigned int""'");
  } 
  arg4 = static_cast< unsigned int >(val4);
  result = (arg1)->GetSampler(arg2,arg3,arg4);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTerraSampler> ref((csPtr<iTerraSampler>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTerraSampler *)ref), (void *)(iTerraSampler *)ref, "iTerraSampler" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraFormer_GetSampler__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraFormer *arg1 = (iTerraFormer *) 0 ;
  csBox2 arg2 ;
  unsigned int arg3 ;
  SwigValueWrapper<csPtr<iTerraSampler > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iTerraFormer_GetSampler",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraFormer_GetSampler" "', argument " "1"" of type '" "iTerraFormer *""'"); 
  }
  arg1 = reinterpret_cast< iTerraFormer * >(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csBox2,  0  | 0);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerraFormer_GetSampler" "', argument " "2"" of type '" "csBox2""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerraFormer_GetSampler" "', argument " "2"" of type '" "csBox2""'");
    } else {
      csBox2 * temp = reinterpret_cast< csBox2 * >(argp2);
      arg2 = *temp;
      if (SWIG_IsNewObj(res2)) delete temp;
    }
  }
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerraFormer_GetSampler" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  result = (arg1)->GetSampler(arg2,arg3);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iTerraSampler> ref((csPtr<iTerraSampler>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iTerraSampler *)ref), (void *)(iTerraSampler *)ref, "iTerraSampler" " *");
    /*@SWIG@*/
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraFormer_GetSampler(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTerraFormer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_iTerraFormer_GetSampler__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTerraFormer, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csBox2, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_iTerraFormer_GetSampler__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'iTerraFormer_GetSampler'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraFormer_GetIntegerMapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraFormer *arg1 = (iTerraFormer *) 0 ;
  csStringID arg2 ;
  csVector2 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerraFormer_GetIntegerMapSize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraFormer_GetIntegerMapSize" "', argument " "1"" of type '" "iTerraFormer *""'"); 
  }
  arg1 = reinterpret_cast< iTerraFormer * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerraFormer_GetIntegerMapSize" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (arg1)->GetIntegerMapSize(arg2);
  resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraFormer_SampleFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraFormer *arg1 = (iTerraFormer *) 0 ;
  csStringID arg2 ;
  float arg3 ;
  float arg4 ;
  float *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iTerraFormer_SampleFloat",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraFormer_SampleFloat" "', argument " "1"" of type '" "iTerraFormer *""'"); 
  }
  arg1 = reinterpret_cast< iTerraFormer * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerraFormer_SampleFloat" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerraFormer_SampleFloat" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTerraFormer_SampleFloat" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_float,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iTerraFormer_SampleFloat" "', argument " "5"" of type '" "float &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerraFormer_SampleFloat" "', argument " "5"" of type '" "float &""'"); 
  }
  arg5 = reinterpret_cast< float * >(argp5);
  result = (bool)(arg1)->SampleFloat(arg2,arg3,arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraFormer_SampleVector2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraFormer *arg1 = (iTerraFormer *) 0 ;
  csStringID arg2 ;
  float arg3 ;
  float arg4 ;
  csVector2 *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iTerraFormer_SampleVector2",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraFormer_SampleVector2" "', argument " "1"" of type '" "iTerraFormer *""'"); 
  }
  arg1 = reinterpret_cast< iTerraFormer * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerraFormer_SampleVector2" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerraFormer_SampleVector2" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTerraFormer_SampleVector2" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector2,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iTerraFormer_SampleVector2" "', argument " "5"" of type '" "csVector2 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerraFormer_SampleVector2" "', argument " "5"" of type '" "csVector2 &""'"); 
  }
  arg5 = reinterpret_cast< csVector2 * >(argp5);
  result = (bool)(arg1)->SampleVector2(arg2,arg3,arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraFormer_SampleVector3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraFormer *arg1 = (iTerraFormer *) 0 ;
  csStringID arg2 ;
  float arg3 ;
  float arg4 ;
  csVector3 *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iTerraFormer_SampleVector3",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraFormer_SampleVector3" "', argument " "1"" of type '" "iTerraFormer *""'"); 
  }
  arg1 = reinterpret_cast< iTerraFormer * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerraFormer_SampleVector3" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerraFormer_SampleVector3" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTerraFormer_SampleVector3" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iTerraFormer_SampleVector3" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerraFormer_SampleVector3" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (bool)(arg1)->SampleVector3(arg2,arg3,arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraFormer_SampleInteger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraFormer *arg1 = (iTerraFormer *) 0 ;
  csStringID arg2 ;
  float arg3 ;
  float arg4 ;
  int *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:iTerraFormer_SampleInteger",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraFormer_SampleInteger" "', argument " "1"" of type '" "iTerraFormer *""'"); 
  }
  arg1 = reinterpret_cast< iTerraFormer * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerraFormer_SampleInteger" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "iTerraFormer_SampleInteger" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "iTerraFormer_SampleInteger" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "iTerraFormer_SampleInteger" "', argument " "5"" of type '" "int &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerraFormer_SampleInteger" "', argument " "5"" of type '" "int &""'"); 
  }
  arg5 = reinterpret_cast< int * >(argp5);
  result = (bool)(arg1)->SampleInteger(arg2,arg3,arg4,*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraFormer_QueryObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraFormer *arg1 = (iTerraFormer *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerraFormer_QueryObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraFormer_QueryObject" "', argument " "1"" of type '" "iTerraFormer *""'"); 
  }
  arg1 = reinterpret_cast< iTerraFormer * >(argp1);
  result = (iObject *)(arg1)->QueryObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iTerraFormer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraFormer *arg1 = (iTerraFormer *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iTerraFormer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraFormer, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iTerraFormer" "', argument " "1"" of type '" "iTerraFormer *""'"); 
  }
  arg1 = reinterpret_cast< iTerraFormer * >(argp1);
  delete_iTerraFormer(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraFormer_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iTerraFormer_scfGetVersion")) SWIG_fail;
  result = (int)iTerraFormer_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iTerraFormer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iTerraFormer, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_iTerraSampler_SampleFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  csStringID arg2 ;
  float *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerraSampler_SampleFloat",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraSampler_SampleFloat" "', argument " "1"" of type '" "iTerraSampler *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerraSampler_SampleFloat" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (float *)(arg1)->SampleFloat(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraSampler_SampleVector2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  csStringID arg2 ;
  csVector2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerraSampler_SampleVector2",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraSampler_SampleVector2" "', argument " "1"" of type '" "iTerraSampler *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerraSampler_SampleVector2" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (csVector2 *)(arg1)->SampleVector2(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraSampler_SampleVector3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  csStringID arg2 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerraSampler_SampleVector3",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraSampler_SampleVector3" "', argument " "1"" of type '" "iTerraSampler *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerraSampler_SampleVector3" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (csVector3 *)(arg1)->SampleVector3(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraSampler_SampleInteger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  csStringID arg2 ;
  int *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:iTerraSampler_SampleInteger",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraSampler_SampleInteger" "', argument " "1"" of type '" "iTerraSampler *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "iTerraSampler_SampleInteger" "', argument " "2"" of type '" "csStringID""'");
  } 
  arg2 = static_cast< csStringID >(val2);
  result = (int *)(arg1)->SampleInteger(arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraSampler_GetMaterialPalette(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  csArray<iMaterialWrapper * > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerraSampler_GetMaterialPalette",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraSampler_GetMaterialPalette" "', argument " "1"" of type '" "iTerraSampler *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  {
    csArray<iMaterialWrapper * > const &_result_ref = (arg1)->GetMaterialPalette();
    result = (csArray<iMaterialWrapper * > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraSampler_GetRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  csBox2 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerraSampler_GetRegion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraSampler_GetRegion" "', argument " "1"" of type '" "iTerraSampler const *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  {
    csBox2 const &_result_ref = ((iTerraSampler const *)arg1)->GetRegion();
    result = (csBox2 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csBox2, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraSampler_GetResolution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  uint *arg2 = 0 ;
  uint *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:iTerraSampler_GetResolution",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraSampler_GetResolution" "', argument " "1"" of type '" "iTerraSampler const *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "iTerraSampler_GetResolution" "', argument " "2"" of type '" "uint &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerraSampler_GetResolution" "', argument " "2"" of type '" "uint &""'"); 
  }
  arg2 = reinterpret_cast< uint * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_unsigned_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "iTerraSampler_GetResolution" "', argument " "3"" of type '" "uint &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "iTerraSampler_GetResolution" "', argument " "3"" of type '" "uint &""'"); 
  }
  arg3 = reinterpret_cast< uint * >(argp3);
  ((iTerraSampler const *)arg1)->GetResolution(*arg2,*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraSampler_GetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerraSampler_GetVersion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraSampler_GetVersion" "', argument " "1"" of type '" "iTerraSampler const *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  result = (unsigned int)((iTerraSampler const *)arg1)->GetVersion();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraSampler_Cleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:iTerraSampler_Cleanup",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "iTerraSampler_Cleanup" "', argument " "1"" of type '" "iTerraSampler *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  (arg1)->Cleanup();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_iTerraSampler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTerraSampler *arg1 = (iTerraSampler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_iTerraSampler",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTerraSampler, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_iTerraSampler" "', argument " "1"" of type '" "iTerraSampler *""'"); 
  }
  arg1 = reinterpret_cast< iTerraSampler * >(argp1);
  delete_iTerraSampler(arg1);
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_iTerraSampler_scfGetVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)":iTerraSampler_scfGetVersion")) SWIG_fail;
  result = (int)iTerraSampler_scfGetVersion();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *iTerraSampler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_iTerraSampler, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  csObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csObject" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  result = (csObject *)new csObject(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csObject, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csObject")) SWIG_fail;
  result = (csObject *)new csObject();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csObject, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csObject__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = 0 ;
  csObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csObject,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csObject" "', argument " "1"" of type '" "csObject &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csObject" "', argument " "1"" of type '" "csObject &""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  result = (csObject *)new csObject(*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csObject, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csObject(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_csObject__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iBase, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csObject__SWIG_0(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csObject__SWIG_2(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csObject'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csObject",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csObject" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csObject_SetName",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_SetName" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csObject_SetName" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  (arg1)->SetName((char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csObject_GetName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_GetName" "', argument " "1"" of type '" "csObject const *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  result = (char *)((csObject const *)arg1)->GetName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_GetID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  uint result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csObject_GetID",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_GetID" "', argument " "1"" of type '" "csObject const *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  result = (uint)((csObject const *)arg1)->GetID();
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_SetObjectParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csObject_SetObjectParent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_SetObjectParent" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csObject_SetObjectParent" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->SetObjectParent(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_GetObjectParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csObject_GetObjectParent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_GetObjectParent" "', argument " "1"" of type '" "csObject const *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  result = (iObject *)((csObject const *)arg1)->GetObjectParent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_ObjAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csObject_ObjAdd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_ObjAdd" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csObject_ObjAdd" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->ObjAdd(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_ObjRemove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csObject_ObjRemove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_ObjRemove" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csObject_ObjRemove" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->ObjRemove(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_ObjRemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csObject_ObjRemoveAll",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_ObjRemoveAll" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  (arg1)->ObjRemoveAll();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_ObjAddChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csObject_ObjAddChildren",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_ObjAddChildren" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csObject_ObjAddChildren" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->ObjAddChildren(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_GetChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  int arg2 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  bool arg5 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csObject_GetChild",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_GetChild" "', argument " "1"" of type '" "csObject const *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csObject_GetChild" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csObject_GetChild" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csObject_GetChild" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csObject_GetChild" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = (iObject *)((csObject const *)arg1)->GetChild(arg2,arg3,(char const *)arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_GetChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  int arg2 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csObject_GetChild",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_GetChild" "', argument " "1"" of type '" "csObject const *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csObject_GetChild" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csObject_GetChild" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csObject_GetChild" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = (iObject *)((csObject const *)arg1)->GetChild(arg2,arg3,(char const *)arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_GetChild__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  int arg2 ;
  int arg3 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csObject_GetChild",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_GetChild" "', argument " "1"" of type '" "csObject const *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csObject_GetChild" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csObject_GetChild" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (iObject *)((csObject const *)arg1)->GetChild(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_GetChild__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  char *arg2 = (char *) 0 ;
  iObject *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csObject_GetChild",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_GetChild" "', argument " "1"" of type '" "csObject const *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csObject_GetChild" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = (iObject *)((csObject const *)arg1)->GetChild((char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iObject, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_GetChild(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csObject_GetChild__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csObject_GetChild__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csObject_GetChild__SWIG_1(self, args);
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csObject_GetChild__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csObject_GetChild'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_GetIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  SwigValueWrapper<csPtr<iObjectIterator > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csObject_GetIterator",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_GetIterator" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  result = (arg1)->GetIterator();
  resultobj = SWIG_NewPointerObj((new csPtr<iObjectIterator >(static_cast< const csPtr<iObjectIterator >& >(result))), SWIGTYPE_p_csPtrTiObjectIterator_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_AddNameChangeListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  iObjectNameChangeListener *arg2 = (iObjectNameChangeListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csObject_AddNameChangeListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_AddNameChangeListener" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectNameChangeListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csObject_AddNameChangeListener" "', argument " "2"" of type '" "iObjectNameChangeListener *""'"); 
  }
  arg2 = reinterpret_cast< iObjectNameChangeListener * >(argp2);
  (arg1)->AddNameChangeListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_RemoveNameChangeListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  iObjectNameChangeListener *arg2 = (iObjectNameChangeListener *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csObject_RemoveNameChangeListener",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_RemoveNameChangeListener" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObjectNameChangeListener, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csObject_RemoveNameChangeListener" "', argument " "2"" of type '" "iObjectNameChangeListener *""'"); 
  }
  arg2 = reinterpret_cast< iObjectNameChangeListener * >(argp2);
  (arg1)->RemoveNameChangeListener(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csObject_ObjReleaseOld(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = (csObject *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csObject_ObjReleaseOld",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csObject_ObjReleaseOld" "', argument " "1"" of type '" "csObject *""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csObject_ObjReleaseOld" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  (arg1)->ObjReleaseOld(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csObject, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csColliderWrapper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = 0 ;
  iCollideSystem *arg2 = (iCollideSystem *) 0 ;
  iPolygonMesh *arg3 = (iPolygonMesh *) 0 ;
  csColliderWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csColliderWrapper",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csObject,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csColliderWrapper" "', argument " "1"" of type '" "csObject &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_csColliderWrapper" "', argument " "1"" of type '" "csObject &""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csColliderWrapper" "', argument " "2"" of type '" "iCollideSystem *""'"); 
  }
  arg2 = reinterpret_cast< iCollideSystem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csColliderWrapper" "', argument " "3"" of type '" "iPolygonMesh *""'"); 
  }
  arg3 = reinterpret_cast< iPolygonMesh * >(argp3);
  result = (csColliderWrapper *)new csColliderWrapper(*arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColliderWrapper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColliderWrapper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iCollideSystem *arg2 = (iCollideSystem *) 0 ;
  iPolygonMesh *arg3 = (iPolygonMesh *) 0 ;
  csColliderWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csColliderWrapper",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csColliderWrapper" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csColliderWrapper" "', argument " "2"" of type '" "iCollideSystem *""'"); 
  }
  arg2 = reinterpret_cast< iCollideSystem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iPolygonMesh, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csColliderWrapper" "', argument " "3"" of type '" "iPolygonMesh *""'"); 
  }
  arg3 = reinterpret_cast< iPolygonMesh * >(argp3);
  result = (csColliderWrapper *)new csColliderWrapper(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColliderWrapper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColliderWrapper__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iCollideSystem *arg2 = (iCollideSystem *) 0 ;
  iTerraFormer *arg3 = (iTerraFormer *) 0 ;
  csColliderWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csColliderWrapper",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csColliderWrapper" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csColliderWrapper" "', argument " "2"" of type '" "iCollideSystem *""'"); 
  }
  arg2 = reinterpret_cast< iCollideSystem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iTerraFormer, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csColliderWrapper" "', argument " "3"" of type '" "iTerraFormer *""'"); 
  }
  arg3 = reinterpret_cast< iTerraFormer * >(argp3);
  result = (csColliderWrapper *)new csColliderWrapper(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColliderWrapper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColliderWrapper__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  iCollideSystem *arg2 = (iCollideSystem *) 0 ;
  iCollider *arg3 = (iCollider *) 0 ;
  csColliderWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_csColliderWrapper",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csColliderWrapper" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csColliderWrapper" "', argument " "2"" of type '" "iCollideSystem *""'"); 
  }
  arg2 = reinterpret_cast< iCollideSystem * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_csColliderWrapper" "', argument " "3"" of type '" "iCollider *""'"); 
  }
  arg3 = reinterpret_cast< iCollider * >(argp3);
  result = (csColliderWrapper *)new csColliderWrapper(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColliderWrapper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColliderWrapper(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCollideSystem, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iPolygonMesh, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csColliderWrapper__SWIG_0(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCollideSystem, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iPolygonMesh, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csColliderWrapper__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCollideSystem, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iTerraFormer, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csColliderWrapper__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCollideSystem, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iCollider, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_csColliderWrapper__SWIG_3(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csColliderWrapper'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csColliderWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csColliderWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csColliderWrapper" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_GetCollider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  iCollider *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderWrapper_GetCollider",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_GetCollider" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  result = (iCollider *)(arg1)->GetCollider();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCollider, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_GetCollideSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  iCollideSystem *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderWrapper_GetCollideSystem",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_GetCollideSystem" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  result = (iCollideSystem *)(arg1)->GetCollideSystem();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCollideSystem, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  csColliderWrapper *arg2 = 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  csReversibleTransform *arg4 = (csReversibleTransform *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csColliderWrapper_Collide",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_Collide" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColliderWrapper,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csColliderWrapper &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csColliderWrapper &""'"); 
  }
  arg2 = reinterpret_cast< csColliderWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderWrapper_Collide" "', argument " "3"" of type '" "csReversibleTransform *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderWrapper_Collide" "', argument " "4"" of type '" "csReversibleTransform *""'"); 
  }
  arg4 = reinterpret_cast< csReversibleTransform * >(argp4);
  result = (bool)(arg1)->Collide(*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  csColliderWrapper *arg2 = 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csColliderWrapper_Collide",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_Collide" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColliderWrapper,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csColliderWrapper &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csColliderWrapper &""'"); 
  }
  arg2 = reinterpret_cast< csColliderWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderWrapper_Collide" "', argument " "3"" of type '" "csReversibleTransform *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  result = (bool)(arg1)->Collide(*arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  csColliderWrapper *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderWrapper_Collide",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_Collide" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColliderWrapper,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csColliderWrapper &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csColliderWrapper &""'"); 
  }
  arg2 = reinterpret_cast< csColliderWrapper * >(argp2);
  result = (bool)(arg1)->Collide(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  csObject *arg2 = 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  csReversibleTransform *arg4 = (csReversibleTransform *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csColliderWrapper_Collide",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_Collide" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csObject,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csObject &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csObject &""'"); 
  }
  arg2 = reinterpret_cast< csObject * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderWrapper_Collide" "', argument " "3"" of type '" "csReversibleTransform *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderWrapper_Collide" "', argument " "4"" of type '" "csReversibleTransform *""'"); 
  }
  arg4 = reinterpret_cast< csReversibleTransform * >(argp4);
  result = (bool)(arg1)->Collide(*arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  csObject *arg2 = 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csColliderWrapper_Collide",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_Collide" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csObject,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csObject &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csObject &""'"); 
  }
  arg2 = reinterpret_cast< csObject * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderWrapper_Collide" "', argument " "3"" of type '" "csReversibleTransform *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  result = (bool)(arg1)->Collide(*arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  csObject *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderWrapper_Collide",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_Collide" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csObject,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csObject &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "csObject &""'"); 
  }
  arg2 = reinterpret_cast< csObject * >(argp2);
  result = (bool)(arg1)->Collide(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  csReversibleTransform *arg4 = (csReversibleTransform *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csColliderWrapper_Collide",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_Collide" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderWrapper_Collide" "', argument " "3"" of type '" "csReversibleTransform *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderWrapper_Collide" "', argument " "4"" of type '" "csReversibleTransform *""'"); 
  }
  arg4 = reinterpret_cast< csReversibleTransform * >(argp4);
  result = (bool)(arg1)->Collide(arg2,arg3,arg4);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csColliderWrapper_Collide",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_Collide" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderWrapper_Collide" "', argument " "3"" of type '" "csReversibleTransform *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  result = (bool)(arg1)->Collide(arg2,arg3);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderWrapper *arg1 = (csColliderWrapper *) 0 ;
  iObject *arg2 = (iObject *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderWrapper_Collide",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_Collide" "', argument " "1"" of type '" "csColliderWrapper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderWrapper * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderWrapper_Collide" "', argument " "2"" of type '" "iObject *""'"); 
  }
  arg2 = reinterpret_cast< iObject * >(argp2);
  result = (bool)(arg1)->Collide(arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_Collide(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColliderWrapper_Collide__SWIG_2(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csObject, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColliderWrapper_Collide__SWIG_5(self, args);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iObject, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColliderWrapper_Collide__SWIG_8(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csColliderWrapper_Collide__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iObject, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csColliderWrapper_Collide__SWIG_7(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csObject, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csColliderWrapper_Collide__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iObject, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csColliderWrapper_Collide__SWIG_6(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csColliderWrapper_Collide__SWIG_0(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderWrapper, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_csObject, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_csReversibleTransform, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_csColliderWrapper_Collide__SWIG_3(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColliderWrapper_Collide'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_GetColliderWrapper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csObject *arg1 = 0 ;
  csColliderWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderWrapper_GetColliderWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csObject,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_GetColliderWrapper" "', argument " "1"" of type '" "csObject &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderWrapper_GetColliderWrapper" "', argument " "1"" of type '" "csObject &""'"); 
  }
  arg1 = reinterpret_cast< csObject * >(argp1);
  result = (csColliderWrapper *)csColliderWrapper::GetColliderWrapper(*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_GetColliderWrapper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  csColliderWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderWrapper_GetColliderWrapper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderWrapper_GetColliderWrapper" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  result = (csColliderWrapper *)csColliderWrapper::GetColliderWrapper(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderWrapper_GetColliderWrapper(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csColliderWrapper_GetColliderWrapper__SWIG_0(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iObject, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csColliderWrapper_GetColliderWrapper__SWIG_1(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColliderWrapper_GetColliderWrapper'");
  return NULL;
}


SWIGINTERN PyObject *csColliderWrapper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csColliderWrapper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csTraceBeamResult_closest_tri_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  csIntersectingTriangle *arg2 = (csIntersectingTriangle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTraceBeamResult_closest_tri_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_closest_tri_set" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csIntersectingTriangle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTraceBeamResult_closest_tri_set" "', argument " "2"" of type '" "csIntersectingTriangle *""'"); 
  }
  arg2 = reinterpret_cast< csIntersectingTriangle * >(argp2);
  if (arg1) (arg1)->closest_tri = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTraceBeamResult_closest_tri_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  csIntersectingTriangle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTraceBeamResult_closest_tri_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_closest_tri_get" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  result = (csIntersectingTriangle *)& ((arg1)->closest_tri);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csIntersectingTriangle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTraceBeamResult_closest_isect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  csVector3 *arg2 = (csVector3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTraceBeamResult_closest_isect_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_closest_isect_set" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csVector3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTraceBeamResult_closest_isect_set" "', argument " "2"" of type '" "csVector3 *""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  if (arg1) (arg1)->closest_isect = *arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTraceBeamResult_closest_isect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTraceBeamResult_closest_isect_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_closest_isect_get" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  result = (csVector3 *)& ((arg1)->closest_isect);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTraceBeamResult_closest_mesh_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTraceBeamResult_closest_mesh_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_closest_mesh_set" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTraceBeamResult_closest_mesh_set" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  if (arg1) (arg1)->closest_mesh = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTraceBeamResult_closest_mesh_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  iMeshWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTraceBeamResult_closest_mesh_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_closest_mesh_get" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  result = (iMeshWrapper *) ((arg1)->closest_mesh);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTraceBeamResult_sqdistance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTraceBeamResult_sqdistance_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_sqdistance_set" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csTraceBeamResult_sqdistance_set" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  if (arg1) (arg1)->sqdistance = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTraceBeamResult_sqdistance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTraceBeamResult_sqdistance_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_sqdistance_get" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  result = (float) ((arg1)->sqdistance);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTraceBeamResult_end_sector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csTraceBeamResult_end_sector_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_end_sector_set" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csTraceBeamResult_end_sector_set" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  if (arg1) (arg1)->end_sector = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csTraceBeamResult_end_sector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  iSector *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csTraceBeamResult_end_sector_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csTraceBeamResult_end_sector_get" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  result = (iSector *) ((arg1)->end_sector);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iSector, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csTraceBeamResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csTraceBeamResult")) SWIG_fail;
  result = (csTraceBeamResult *)new csTraceBeamResult();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csTraceBeamResult, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csTraceBeamResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csTraceBeamResult *arg1 = (csTraceBeamResult *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csTraceBeamResult",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csTraceBeamResult, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csTraceBeamResult" "', argument " "1"" of type '" "csTraceBeamResult *""'"); 
  }
  arg1 = reinterpret_cast< csTraceBeamResult * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csTraceBeamResult_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csTraceBeamResult, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csColliderHelper_InitializeCollisionWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  csColliderWrapper *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderHelper_InitializeCollisionWrapper",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderHelper_InitializeCollisionWrapper" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderHelper_InitializeCollisionWrapper" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  result = (csColliderWrapper *)csColliderHelper::InitializeCollisionWrapper(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColliderWrapper, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderHelper_InitializeCollisionWrappers__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iEngine *arg2 = (iEngine *) 0 ;
  iRegion *arg3 = (iRegion *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csColliderHelper_InitializeCollisionWrappers",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderHelper_InitializeCollisionWrappers" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderHelper_InitializeCollisionWrappers" "', argument " "2"" of type '" "iEngine *""'"); 
  }
  arg2 = reinterpret_cast< iEngine * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_iRegion, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderHelper_InitializeCollisionWrappers" "', argument " "3"" of type '" "iRegion *""'"); 
  }
  arg3 = reinterpret_cast< iRegion * >(argp3);
  csColliderHelper::InitializeCollisionWrappers(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderHelper_InitializeCollisionWrappers__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iEngine *arg2 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderHelper_InitializeCollisionWrappers",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderHelper_InitializeCollisionWrappers" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderHelper_InitializeCollisionWrappers" "', argument " "2"" of type '" "iEngine *""'"); 
  }
  arg2 = reinterpret_cast< iEngine * >(argp2);
  csColliderHelper::InitializeCollisionWrappers(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderHelper_InitializeCollisionWrappers(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCollideSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEngine, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColliderHelper_InitializeCollisionWrappers__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCollideSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iEngine, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_iRegion, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csColliderHelper_InitializeCollisionWrappers__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColliderHelper_InitializeCollisionWrappers'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderHelper_CollideArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iCollider *arg2 = (iCollider *) 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  int arg4 ;
  iCollider **arg5 = (iCollider **) 0 ;
  csReversibleTransform **arg6 = (csReversibleTransform **) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:csColliderHelper_CollideArray",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderHelper_CollideArray" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderHelper_CollideArray" "', argument " "2"" of type '" "iCollider *""'"); 
  }
  arg2 = reinterpret_cast< iCollider * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderHelper_CollideArray" "', argument " "3"" of type '" "csReversibleTransform const *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csColliderHelper_CollideArray" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csColliderHelper_CollideArray" "', argument " "5"" of type '" "iCollider **""'"); 
  }
  arg5 = reinterpret_cast< iCollider ** >(argp5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csColliderHelper_CollideArray" "', argument " "6"" of type '" "csReversibleTransform **""'"); 
  }
  arg6 = reinterpret_cast< csReversibleTransform ** >(argp6);
  result = (bool)csColliderHelper::CollideArray(arg1,arg2,(csReversibleTransform const *)arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderHelper_CollidePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iCollider *arg2 = (iCollider *) 0 ;
  csReversibleTransform *arg3 = (csReversibleTransform *) 0 ;
  float arg4 ;
  csVector3 *arg5 = 0 ;
  int arg6 ;
  iCollider **arg7 = (iCollider **) 0 ;
  csReversibleTransform **arg8 = (csReversibleTransform **) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:csColliderHelper_CollidePath",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderHelper_CollidePath" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderHelper_CollidePath" "', argument " "2"" of type '" "iCollider *""'"); 
  }
  arg2 = reinterpret_cast< iCollider * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderHelper_CollidePath" "', argument " "3"" of type '" "csReversibleTransform const *""'"); 
  }
  arg3 = reinterpret_cast< csReversibleTransform * >(argp3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csColliderHelper_CollidePath" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csColliderHelper_CollidePath" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_CollidePath" "', argument " "5"" of type '" "csVector3 &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csColliderHelper_CollidePath" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_p_iCollider, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csColliderHelper_CollidePath" "', argument " "7"" of type '" "iCollider **""'"); 
  }
  arg7 = reinterpret_cast< iCollider ** >(argp7);
  res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_p_csReversibleTransform, 0 |  0 );
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "csColliderHelper_CollidePath" "', argument " "8"" of type '" "csReversibleTransform **""'"); 
  }
  arg8 = reinterpret_cast< csReversibleTransform ** >(argp8);
  result = (int)csColliderHelper::CollidePath(arg1,arg2,(csReversibleTransform const *)arg3,arg4,*arg5,arg6,arg7,arg8);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderHelper_TraceBeam__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  bool arg5 ;
  csIntersectingTriangle *arg6 = 0 ;
  csVector3 *arg7 = 0 ;
  iMeshWrapper **arg8 = (iMeshWrapper **) 0 ;
  iSector **arg9 = (iSector **) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  void *argp9 = 0 ;
  int res9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO:csColliderHelper_TraceBeam",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderHelper_TraceBeam" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderHelper_TraceBeam" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderHelper_TraceBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderHelper_TraceBeam" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csColliderHelper_TraceBeam" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csIntersectingTriangle,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csColliderHelper_TraceBeam" "', argument " "6"" of type '" "csIntersectingTriangle &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "6"" of type '" "csIntersectingTriangle &""'"); 
  }
  arg6 = reinterpret_cast< csIntersectingTriangle * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csColliderHelper_TraceBeam" "', argument " "7"" of type '" "csVector3 &""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "7"" of type '" "csVector3 &""'"); 
  }
  arg7 = reinterpret_cast< csVector3 * >(argp7);
  res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "csColliderHelper_TraceBeam" "', argument " "8"" of type '" "iMeshWrapper **""'"); 
  }
  arg8 = reinterpret_cast< iMeshWrapper ** >(argp8);
  res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "csColliderHelper_TraceBeam" "', argument " "9"" of type '" "iSector **""'"); 
  }
  arg9 = reinterpret_cast< iSector ** >(argp9);
  result = (float)csColliderHelper::TraceBeam(arg1,arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,arg5,*arg6,*arg7,arg8,arg9);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderHelper_TraceBeam__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  bool arg5 ;
  csIntersectingTriangle *arg6 = 0 ;
  csVector3 *arg7 = 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:csColliderHelper_TraceBeam",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderHelper_TraceBeam" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderHelper_TraceBeam" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderHelper_TraceBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderHelper_TraceBeam" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csColliderHelper_TraceBeam" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_csIntersectingTriangle,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csColliderHelper_TraceBeam" "', argument " "6"" of type '" "csIntersectingTriangle &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "6"" of type '" "csIntersectingTriangle &""'"); 
  }
  arg6 = reinterpret_cast< csIntersectingTriangle * >(argp6);
  res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csColliderHelper_TraceBeam" "', argument " "7"" of type '" "csVector3 &""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "7"" of type '" "csVector3 &""'"); 
  }
  arg7 = reinterpret_cast< csVector3 * >(argp7);
  result = (float)csColliderHelper::TraceBeam(arg1,arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,arg5,*arg6,*arg7);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderHelper_TraceBeam__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iCollideSystem *arg1 = (iCollideSystem *) 0 ;
  iSector *arg2 = (iSector *) 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  bool arg5 ;
  csTraceBeamResult result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  bool val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csColliderHelper_TraceBeam",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderHelper_TraceBeam" "', argument " "1"" of type '" "iCollideSystem *""'"); 
  }
  arg1 = reinterpret_cast< iCollideSystem * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iSector, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderHelper_TraceBeam" "', argument " "2"" of type '" "iSector *""'"); 
  }
  arg2 = reinterpret_cast< iSector * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderHelper_TraceBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderHelper_TraceBeam" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderHelper_TraceBeam" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode5 = SWIG_AsVal_bool(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csColliderHelper_TraceBeam" "', argument " "5"" of type '" "bool""'");
  } 
  arg5 = static_cast< bool >(val5);
  result = csColliderHelper::TraceBeam(arg1,arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,arg5);
  resultobj = SWIG_NewPointerObj((new csTraceBeamResult(static_cast< const csTraceBeamResult& >(result))), SWIGTYPE_p_csTraceBeamResult, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderHelper_TraceBeam(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[10];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 9); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCollideSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_csColliderHelper_TraceBeam__SWIG_2(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCollideSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_csIntersectingTriangle, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_csVector3, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_csColliderHelper_TraceBeam__SWIG_1(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 9) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iCollideSystem, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iSector, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            {
              int res = SWIG_AsVal_bool(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              void *vptr = 0;
              int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_csIntersectingTriangle, 0);
              _v = SWIG_CheckState(res);
              if (_v) {
                void *vptr = 0;
                int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_csVector3, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  void *vptr = 0;
                  int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_p_iMeshWrapper, 0);
                  _v = SWIG_CheckState(res);
                  if (_v) {
                    void *vptr = 0;
                    int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_p_iSector, 0);
                    _v = SWIG_CheckState(res);
                    if (_v) {
                      return _wrap_csColliderHelper_TraceBeam__SWIG_0(self, args);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColliderHelper_TraceBeam'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csColliderHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderHelper *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csColliderHelper")) SWIG_fail;
  result = (csColliderHelper *)new csColliderHelper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColliderHelper, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csColliderHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderHelper *arg1 = (csColliderHelper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csColliderHelper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderHelper, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csColliderHelper" "', argument " "1"" of type '" "csColliderHelper *""'"); 
  }
  arg1 = reinterpret_cast< csColliderHelper * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csColliderHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csColliderHelper, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csColliderActor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_csColliderActor")) SWIG_fail;
  result = (csColliderActor *)new csColliderActor();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csColliderActor, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_SetCollideSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  iCollideSystem *arg2 = (iCollideSystem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderActor_SetCollideSystem",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_SetCollideSystem" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCollideSystem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderActor_SetCollideSystem" "', argument " "2"" of type '" "iCollideSystem *""'"); 
  }
  arg2 = reinterpret_cast< iCollideSystem * >(argp2);
  (arg1)->SetCollideSystem(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_SetEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  iEngine *arg2 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderActor_SetEngine",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_SetEngine" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderActor_SetEngine" "', argument " "2"" of type '" "iEngine *""'"); 
  }
  arg2 = reinterpret_cast< iEngine * >(argp2);
  (arg1)->SetEngine(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_InitializeColliders__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csColliderActor_InitializeColliders",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_InitializeColliders" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderActor_InitializeColliders" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderActor_InitializeColliders" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_InitializeColliders" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderActor_InitializeColliders" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_InitializeColliders" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csColliderActor_InitializeColliders" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_InitializeColliders" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  (arg1)->InitializeColliders(arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,(csVector3 const &)*arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_InitializeColliders__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csColliderActor_InitializeColliders",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_InitializeColliders" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderActor_InitializeColliders" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderActor_InitializeColliders" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_InitializeColliders" "', argument " "3"" of type '" "csVector3 const &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderActor_InitializeColliders" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_InitializeColliders" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csColliderActor_InitializeColliders" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_InitializeColliders" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  (arg1)->InitializeColliders(arg2,(csVector3 const &)*arg3,(csVector3 const &)*arg4,(csVector3 const &)*arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_InitializeColliders(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderActor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_csColliderActor_InitializeColliders__SWIG_0(self, args);
            }
          }
        }
      }
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderActor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCamera, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csVector3, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_csVector3, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_csVector3, 0);
            _v = SWIG_CheckState(res);
            if (_v) {
              return _wrap_csColliderActor_InitializeColliders__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColliderActor_InitializeColliders'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_SetCamera__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  bool arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csColliderActor_SetCamera",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_SetCamera" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderActor_SetCamera" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  ecode3 = SWIG_AsVal_bool(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csColliderActor_SetCamera" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  (arg1)->SetCamera(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_SetCamera__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderActor_SetCamera",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_SetCamera" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderActor_SetCamera" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  (arg1)->SetCamera(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_SetCamera(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderActor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCamera, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csColliderActor_SetCamera__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csColliderActor, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iCamera, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_bool(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_csColliderActor_SetCamera__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csColliderActor_SetCamera'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_SetGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderActor_SetGravity",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_SetGravity" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColliderActor_SetGravity" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  (arg1)->SetGravity(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_GetGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  float result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderActor_GetGravity",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_GetGravity" "', argument " "1"" of type '" "csColliderActor const *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  result = (float)((csColliderActor const *)arg1)->GetGravity();
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_IsOnGround(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderActor_IsOnGround",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_IsOnGround" "', argument " "1"" of type '" "csColliderActor const *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  result = (bool)((csColliderActor const *)arg1)->IsOnGround();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_SetOnGround(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderActor_SetOnGround",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_SetOnGround" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColliderActor_SetOnGround" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetOnGround(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_HasCD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderActor_HasCD",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_HasCD" "', argument " "1"" of type '" "csColliderActor const *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  result = (bool)((csColliderActor const *)arg1)->HasCD();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_SetCD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderActor_SetCD",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_SetCD" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColliderActor_SetCD" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetCD(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_CheckRevertMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderActor_CheckRevertMove",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_CheckRevertMove" "', argument " "1"" of type '" "csColliderActor const *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  result = (bool)((csColliderActor const *)arg1)->CheckRevertMove();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_EnableHitMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderActor_EnableHitMeshes",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_EnableHitMeshes" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColliderActor_EnableHitMeshes" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableHitMeshes(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_CheckHitMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderActor_CheckHitMeshes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_CheckHitMeshes" "', argument " "1"" of type '" "csColliderActor const *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  result = (bool)((csColliderActor const *)arg1)->CheckHitMeshes();
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_GetHitMeshes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  csSet<csPtrKey<iMeshWrapper > > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderActor_GetHitMeshes",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_GetHitMeshes" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  {
    csSet<csPtrKey<iMeshWrapper > > const &_result_ref = (arg1)->GetHitMeshes();
    result = (csSet<csPtrKey<iMeshWrapper > > *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSetTcsPtrKeyTiMeshWrapper_t_CS__Memory__AllocatorMalloc_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  float arg2 ;
  float arg3 ;
  csVector3 *arg4 = 0 ;
  csVector3 *arg5 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csColliderActor_Move",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_Move" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csColliderActor_Move" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csColliderActor_Move" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderActor_Move" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_Move" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "csColliderActor_Move" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_Move" "', argument " "5"" of type '" "csVector3 const &""'"); 
  }
  arg5 = reinterpret_cast< csVector3 * >(argp5);
  result = (bool)(arg1)->Move(arg2,arg3,(csVector3 const &)*arg4,(csVector3 const &)*arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_GetRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  csVector3 *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csColliderActor_GetRotation",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_GetRotation" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  {
    csVector3 const &_result_ref = (arg1)->GetRotation();
    result = (csVector3 *) &_result_ref;
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector3, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_SetRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  csVector3 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csColliderActor_SetRotation",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_SetRotation" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderActor_SetRotation" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_SetRotation" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  (arg1)->SetRotation((csVector3 const &)*arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csColliderActor_AdjustForCollisions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  csVector3 *arg2 = 0 ;
  csVector3 *arg3 = 0 ;
  csVector3 *arg4 = 0 ;
  float arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csColliderActor_AdjustForCollisions",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csColliderActor_AdjustForCollisions" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csColliderActor_AdjustForCollisions" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_AdjustForCollisions" "', argument " "2"" of type '" "csVector3 const &""'"); 
  }
  arg2 = reinterpret_cast< csVector3 * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector3,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csColliderActor_AdjustForCollisions" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_AdjustForCollisions" "', argument " "3"" of type '" "csVector3 &""'"); 
  }
  arg3 = reinterpret_cast< csVector3 * >(argp3);
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_csVector3,  0  | 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "csColliderActor_AdjustForCollisions" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csColliderActor_AdjustForCollisions" "', argument " "4"" of type '" "csVector3 const &""'"); 
  }
  arg4 = reinterpret_cast< csVector3 * >(argp4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csColliderActor_AdjustForCollisions" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  result = (bool)(arg1)->AdjustForCollisions((csVector3 const &)*arg2,*arg3,(csVector3 const &)*arg4,arg5);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csColliderActor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csColliderActor *arg1 = (csColliderActor *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csColliderActor",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csColliderActor, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csColliderActor" "', argument " "1"" of type '" "csColliderActor *""'"); 
  }
  arg1 = reinterpret_cast< csColliderActor * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csColliderActor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csColliderActor, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_new_csView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iEngine *arg1 = (iEngine *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  csView *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_csView",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csView" "', argument " "1"" of type '" "iEngine *""'"); 
  }
  arg1 = reinterpret_cast< iEngine * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_csView" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  result = (csView *)new csView(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csView, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csView",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csView" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_GetEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  iEngine *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csView_GetEngine",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_GetEngine" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  result = (iEngine *)(arg1)->GetEngine();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iEngine, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_SetEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  iEngine *arg2 = (iEngine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csView_SetEngine",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_SetEngine" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iEngine, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csView_SetEngine" "', argument " "2"" of type '" "iEngine *""'"); 
  }
  arg2 = reinterpret_cast< iEngine * >(argp2);
  (arg1)->SetEngine(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_GetCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  iCamera *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csView_GetCamera",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_GetCamera" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  result = (iCamera *)(arg1)->GetCamera();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iCamera, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_SetCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  iCamera *arg2 = (iCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csView_SetCamera",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_SetCamera" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iCamera, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csView_SetCamera" "', argument " "2"" of type '" "iCamera *""'"); 
  }
  arg2 = reinterpret_cast< iCamera * >(argp2);
  (arg1)->SetCamera(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_GetContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  iGraphics3D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csView_GetContext",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_GetContext" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  result = (iGraphics3D *)(arg1)->GetContext();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iGraphics3D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_SetContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csView_SetContext",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_SetContext" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csView_SetContext" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  (arg1)->SetContext(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_SetRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csView_SetRectangle",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_SetRectangle" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csView_SetRectangle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csView_SetRectangle" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csView_SetRectangle" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csView_SetRectangle" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->SetRectangle(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_ClearView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csView_ClearView",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_ClearView" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  (arg1)->ClearView();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_AddViewVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csView_AddViewVertex",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_AddViewVertex" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csView_AddViewVertex" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csView_AddViewVertex" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  (arg1)->AddViewVertex(arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_RestrictClipperToScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csView_RestrictClipperToScreen",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_RestrictClipperToScreen" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  (arg1)->RestrictClipperToScreen();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_SetAutoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csView_SetAutoResize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_SetAutoResize" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csView_SetAutoResize" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->SetAutoResize(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_UpdateClipper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csView_UpdateClipper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_UpdateClipper" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  (arg1)->UpdateClipper();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_GetClipper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  iClipper2D *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csView_GetClipper",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_GetClipper" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  result = (iClipper2D *)(arg1)->GetClipper();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iClipper2D, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_Draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  iMeshWrapper *arg2 = (iMeshWrapper *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csView_Draw",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_Draw" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iMeshWrapper, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csView_Draw" "', argument " "2"" of type '" "iMeshWrapper *""'"); 
  }
  arg2 = reinterpret_cast< iMeshWrapper * >(argp2);
  (arg1)->Draw(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_Draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csView *arg1 = (csView *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csView_Draw",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csView, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csView_Draw" "', argument " "1"" of type '" "csView *""'"); 
  }
  arg1 = reinterpret_cast< csView * >(argp1);
  (arg1)->Draw();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csView_Draw(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csView, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_csView_Draw__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csView, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iMeshWrapper, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_csView_Draw__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csView_Draw'");
  return NULL;
}


SWIGINTERN PyObject *csView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csView, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_csfxInterference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics2D *arg1 = (iGraphics2D *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csfxInterference",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics2D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxInterference" "', argument " "1"" of type '" "iGraphics2D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics2D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csfxInterference" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csfxInterference" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csfxInterference" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  csfxInterference(arg1,arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxFadeOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csfxFadeOut",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxFadeOut" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csfxFadeOut" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  csfxFadeOut(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxFadeTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csfxFadeTo",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxFadeTo" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csfxFadeTo" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csfxFadeTo" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  csfxFadeTo(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxFadeToColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  float arg2 ;
  csColor *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csfxFadeToColor",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxFadeToColor" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csfxFadeToColor" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csfxFadeToColor" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csfxFadeToColor" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  arg3 = reinterpret_cast< csColor * >(argp3);
  csfxFadeToColor(arg1,arg2,(csColor const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxGreenScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csfxGreenScreen",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxGreenScreen" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csfxGreenScreen" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  csfxGreenScreen(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxRedScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csfxRedScreen",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxRedScreen" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csfxRedScreen" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  csfxRedScreen(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxBlueScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csfxBlueScreen",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxBlueScreen" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csfxBlueScreen" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  csfxBlueScreen(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxWhiteOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  float arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csfxWhiteOut",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxWhiteOut" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csfxWhiteOut" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = static_cast< float >(val2);
  csfxWhiteOut(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxShadeVert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csColor *arg2 = 0 ;
  csColor *arg3 = 0 ;
  uint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:csfxShadeVert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxShadeVert" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csfxShadeVert" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csfxShadeVert" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csfxShadeVert" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csfxShadeVert" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  arg3 = reinterpret_cast< csColor * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csfxShadeVert" "', argument " "4"" of type '" "uint""'");
  } 
  arg4 = static_cast< uint >(val4);
  csfxShadeVert(arg1,(csColor const &)*arg2,(csColor const &)*arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxShadeVert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  csColor *arg2 = 0 ;
  csColor *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:csfxShadeVert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxShadeVert" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csfxShadeVert" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csfxShadeVert" "', argument " "2"" of type '" "csColor const &""'"); 
  }
  arg2 = reinterpret_cast< csColor * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csColor,  0  | 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "csfxShadeVert" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csfxShadeVert" "', argument " "3"" of type '" "csColor const &""'"); 
  }
  arg3 = reinterpret_cast< csColor * >(argp3);
  csfxShadeVert(arg1,(csColor const &)*arg2,(csColor const &)*arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxShadeVert(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csColor, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_csfxShadeVert__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iGraphics3D, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csColor, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csColor, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_csfxShadeVert__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csfxShadeVert'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxScreenDPFX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  uint arg3 ;
  float arg4 ;
  float arg5 ;
  float arg6 ;
  float arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  float val5 ;
  int ecode5 = 0 ;
  float val6 ;
  int ecode6 = 0 ;
  float val7 ;
  int ecode7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:csfxScreenDPFX",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxScreenDPFX" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csfxScreenDPFX" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csfxScreenDPFX" "', argument " "3"" of type '" "uint""'");
  } 
  arg3 = static_cast< uint >(val3);
  ecode4 = SWIG_AsVal_float(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csfxScreenDPFX" "', argument " "4"" of type '" "float""'");
  } 
  arg4 = static_cast< float >(val4);
  ecode5 = SWIG_AsVal_float(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csfxScreenDPFX" "', argument " "5"" of type '" "float""'");
  } 
  arg5 = static_cast< float >(val5);
  ecode6 = SWIG_AsVal_float(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csfxScreenDPFX" "', argument " "6"" of type '" "float""'");
  } 
  arg6 = static_cast< float >(val6);
  ecode7 = SWIG_AsVal_float(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "csfxScreenDPFX" "', argument " "7"" of type '" "float""'");
  } 
  arg7 = static_cast< float >(val7);
  csfxScreenDPFX(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csfxScreenDPFXPartial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iGraphics3D *arg1 = (iGraphics3D *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  iTextureHandle *arg6 = (iTextureHandle *) 0 ;
  uint arg7 ;
  float arg8 ;
  float arg9 ;
  float arg10 ;
  float arg11 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  unsigned int val7 ;
  int ecode7 = 0 ;
  float val8 ;
  int ecode8 = 0 ;
  float val9 ;
  int ecode9 = 0 ;
  float val10 ;
  int ecode10 = 0 ;
  float val11 ;
  int ecode11 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 0 ;
  PyObject * obj10 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOO:csfxScreenDPFXPartial",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csfxScreenDPFXPartial" "', argument " "1"" of type '" "iGraphics3D *""'"); 
  }
  arg1 = reinterpret_cast< iGraphics3D * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csfxScreenDPFXPartial" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csfxScreenDPFXPartial" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csfxScreenDPFXPartial" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csfxScreenDPFXPartial" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csfxScreenDPFXPartial" "', argument " "6"" of type '" "iTextureHandle *""'"); 
  }
  arg6 = reinterpret_cast< iTextureHandle * >(argp6);
  ecode7 = SWIG_AsVal_unsigned_SS_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "csfxScreenDPFXPartial" "', argument " "7"" of type '" "uint""'");
  } 
  arg7 = static_cast< uint >(val7);
  ecode8 = SWIG_AsVal_float(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "csfxScreenDPFXPartial" "', argument " "8"" of type '" "float""'");
  } 
  arg8 = static_cast< float >(val8);
  ecode9 = SWIG_AsVal_float(obj8, &val9);
  if (!SWIG_IsOK(ecode9)) {
    SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "csfxScreenDPFXPartial" "', argument " "9"" of type '" "float""'");
  } 
  arg9 = static_cast< float >(val9);
  ecode10 = SWIG_AsVal_float(obj9, &val10);
  if (!SWIG_IsOK(ecode10)) {
    SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "csfxScreenDPFXPartial" "', argument " "10"" of type '" "float""'");
  } 
  arg10 = static_cast< float >(val10);
  ecode11 = SWIG_AsVal_float(obj10, &val11);
  if (!SWIG_IsOK(ecode11)) {
    SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "csfxScreenDPFXPartial" "', argument " "11"" of type '" "float""'");
  } 
  arg11 = static_cast< float >(val11);
  csfxScreenDPFXPartial(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPixmap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  csSimplePixmap *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_csPixmap",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPixmap" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  result = (csSimplePixmap *)new csSimplePixmap(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSimplePixmap, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPixmap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iTextureHandle *arg1 = (iTextureHandle *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  csSimplePixmap *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_csPixmap",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_csPixmap" "', argument " "1"" of type '" "iTextureHandle *""'"); 
  }
  arg1 = reinterpret_cast< iTextureHandle * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_csPixmap" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_csPixmap" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_csPixmap" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_csPixmap" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  result = (csSimplePixmap *)new csSimplePixmap(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csSimplePixmap, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_csPixmap(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[6];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 5); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_csPixmap__SWIG_0(self, args);
    }
  }
  if (argc == 5) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_iTextureHandle, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              return _wrap_new_csPixmap__SWIG_1(self, args);
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_csPixmap'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_csPixmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_csPixmap",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_csPixmap" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_SetTextureHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  iTextureHandle *arg2 = (iTextureHandle *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixmap_SetTextureHandle",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_SetTextureHandle" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iTextureHandle, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPixmap_SetTextureHandle" "', argument " "2"" of type '" "iTextureHandle *""'"); 
  }
  arg2 = reinterpret_cast< iTextureHandle * >(argp2);
  (arg1)->SetTextureHandle(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_SetTextureRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:csPixmap_SetTextureRectangle",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_SetTextureRectangle" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixmap_SetTextureRectangle" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPixmap_SetTextureRectangle" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPixmap_SetTextureRectangle" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csPixmap_SetTextureRectangle" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  (arg1)->SetTextureRectangle(arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_DrawScaled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  uint8 arg7 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  void *argp7 ;
  int res7 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:csPixmap_DrawScaled",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_DrawScaled" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPixmap_DrawScaled" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPixmap_DrawScaled" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPixmap_DrawScaled" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csPixmap_DrawScaled" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csPixmap_DrawScaled" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "csPixmap_DrawScaled" "', argument " "7"" of type '" "uint8""'"); 
    }  
    if (!argp7) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPixmap_DrawScaled" "', argument " "7"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp7);
      arg7 = *temp;
      if (SWIG_IsNewObj(res7)) delete temp;
    }
  }
  (arg1)->DrawScaled(arg2,arg3,arg4,arg5,arg6,arg7);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_DrawScaled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:csPixmap_DrawScaled",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_DrawScaled" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPixmap_DrawScaled" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPixmap_DrawScaled" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPixmap_DrawScaled" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csPixmap_DrawScaled" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csPixmap_DrawScaled" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  (arg1)->DrawScaled(arg2,arg3,arg4,arg5,arg6);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_DrawScaled(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[8];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 7); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 6) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csSimplePixmap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_csPixmap_DrawScaled__SWIG_1(self, args);
              }
            }
          }
        }
      }
    }
  }
  if (argc == 7) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csSimplePixmap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_uint8_t, 0);
                _v = SWIG_CheckState(res);
                if (_v) {
                  return _wrap_csPixmap_DrawScaled__SWIG_0(self, args);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPixmap_DrawScaled'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_DrawTiled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  int arg7 ;
  int arg8 ;
  uint8 arg9 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  void *argp9 ;
  int res9 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO:csPixmap_DrawTiled",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_DrawTiled" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPixmap_DrawTiled" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPixmap_DrawTiled" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPixmap_DrawTiled" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csPixmap_DrawTiled" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csPixmap_DrawTiled" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "csPixmap_DrawTiled" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  ecode8 = SWIG_AsVal_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "csPixmap_DrawTiled" "', argument " "8"" of type '" "int""'");
  } 
  arg8 = static_cast< int >(val8);
  {
    res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_uint8_t,  0  | 0);
    if (!SWIG_IsOK(res9)) {
      SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "csPixmap_DrawTiled" "', argument " "9"" of type '" "uint8""'"); 
    }  
    if (!argp9) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "csPixmap_DrawTiled" "', argument " "9"" of type '" "uint8""'");
    } else {
      uint8 * temp = reinterpret_cast< uint8 * >(argp9);
      arg9 = *temp;
      if (SWIG_IsNewObj(res9)) delete temp;
    }
  }
  (arg1)->DrawTiled(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_DrawTiled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  iGraphics3D *arg2 = (iGraphics3D *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  int arg7 ;
  int arg8 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int val8 ;
  int ecode8 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:csPixmap_DrawTiled",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_DrawTiled" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iGraphics3D, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "csPixmap_DrawTiled" "', argument " "2"" of type '" "iGraphics3D *""'"); 
  }
  arg2 = reinterpret_cast< iGraphics3D * >(argp2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "csPixmap_DrawTiled" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "csPixmap_DrawTiled" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "csPixmap_DrawTiled" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "csPixmap_DrawTiled" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "csPixmap_DrawTiled" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  ecode8 = SWIG_AsVal_int(obj7, &val8);
  if (!SWIG_IsOK(ecode8)) {
    SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "csPixmap_DrawTiled" "', argument " "8"" of type '" "int""'");
  } 
  arg8 = static_cast< int >(val8);
  (arg1)->DrawTiled(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_DrawTiled(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[10];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 9); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 8) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csSimplePixmap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_int(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_int(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    return _wrap_csPixmap_DrawTiled__SWIG_1(self, args);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (argc == 9) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csSimplePixmap, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_iGraphics3D, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_int(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_int(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_int(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_int(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_uint8_t, 0);
                    _v = SWIG_CheckState(res);
                    if (_v) {
                      return _wrap_csPixmap_DrawTiled__SWIG_0(self, args);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csPixmap_DrawTiled'");
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_Width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixmap_Width",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_Width" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  result = (int)(arg1)->Width();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_Height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixmap_Height",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_Height" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  result = (int)(arg1)->Height();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_Advance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  csTicks arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csPixmap_Advance",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_Advance" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csPixmap_Advance" "', argument " "2"" of type '" "csTicks""'");
  } 
  arg2 = static_cast< csTicks >(val2);
  (arg1)->Advance(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csPixmap_GetTextureHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csSimplePixmap *arg1 = (csSimplePixmap *) 0 ;
  iTextureHandle *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csPixmap_GetTextureHandle",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csSimplePixmap, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csPixmap_GetTextureHandle" "', argument " "1"" of type '" "csSimplePixmap *""'"); 
  }
  arg1 = reinterpret_cast< csSimplePixmap * >(argp1);
  result = (iTextureHandle *)(arg1)->GetTextureHandle();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iTextureHandle, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *csPixmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_csSimplePixmap, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

SWIGINTERN PyObject *_wrap_CS_IS_KEYBOARD_EVENT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iEvent *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:CS_IS_KEYBOARD_EVENT",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_IS_KEYBOARD_EVENT" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iEvent,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CS_IS_KEYBOARD_EVENT" "', argument " "2"" of type '" "iEvent const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CS_IS_KEYBOARD_EVENT" "', argument " "2"" of type '" "iEvent const &""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (bool)CS_IS_KEYBOARD_EVENT(arg1,(iEvent const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_IS_MOUSE_EVENT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iEvent *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:CS_IS_MOUSE_EVENT",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_IS_MOUSE_EVENT" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iEvent,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CS_IS_MOUSE_EVENT" "', argument " "2"" of type '" "iEvent const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CS_IS_MOUSE_EVENT" "', argument " "2"" of type '" "iEvent const &""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (bool)CS_IS_MOUSE_EVENT(arg1,(iEvent const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_IS_JOYSTICK_EVENT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iEvent *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:CS_IS_JOYSTICK_EVENT",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_IS_JOYSTICK_EVENT" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iEvent,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CS_IS_JOYSTICK_EVENT" "', argument " "2"" of type '" "iEvent const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CS_IS_JOYSTICK_EVENT" "', argument " "2"" of type '" "iEvent const &""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (bool)CS_IS_JOYSTICK_EVENT(arg1,(iEvent const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_IS_INPUT_EVENT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  iEvent *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:CS_IS_INPUT_EVENT",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_IS_INPUT_EVENT" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iEvent,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CS_IS_INPUT_EVENT" "', argument " "2"" of type '" "iEvent const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CS_IS_INPUT_EVENT" "', argument " "2"" of type '" "iEvent const &""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (bool)CS_IS_INPUT_EVENT(arg1,(iEvent const &)*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevAllEvents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevAllEvents",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevAllEvents" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevAllEvents(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevFrame",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevFrame" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevFrame(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevInput",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevInput" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevInput(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevQuit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevQuit" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevQuit(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevKeyboardEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevKeyboardEvent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevKeyboardEvent" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevKeyboardEvent(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevKeyboardDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevKeyboardDown",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevKeyboardDown" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevKeyboardDown(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevKeyboardUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevKeyboardUp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevKeyboardUp" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevKeyboardUp(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevMouseEvent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouseEvent" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevMouseEvent(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevMouseButton",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouseButton" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouseButton" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevMouseButton(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevMouseUp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouseUp" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouseUp" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevMouseUp(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevMouseDown",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouseDown" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouseDown" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevMouseDown(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevMouseClick",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouseClick" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouseClick" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevMouseClick(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseDoubleClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevMouseDoubleClick",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouseDoubleClick" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouseDoubleClick" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevMouseDoubleClick(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevMouseMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  uint arg2 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:csevMouseMove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevMouseMove" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csevMouseMove" "', argument " "2"" of type '" "uint""'");
  } 
  arg2 = static_cast< uint >(val2);
  result = (csEventID)csevMouseMove(arg1,arg2);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_csevJoystickEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  csEventID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:csevJoystickEvent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "csevJoystickEvent" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  result = (csEventID)csevJoystickEvent(arg1);
  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_QUERY_REGISTRY_TAG(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iBase > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:CS_QUERY_REGISTRY_TAG",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_QUERY_REGISTRY_TAG" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CS_QUERY_REGISTRY_TAG" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = CS_QUERY_REGISTRY_TAG(arg1,(char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iBase> ref((csPtr<iBase>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iBase *)ref), (void *)(iBase *)ref, "iBase" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_LOAD_PLUGIN_ALWAYS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  char *arg2 = (char *) 0 ;
  SwigValueWrapper<csPtr<iBase > > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:CS_LOAD_PLUGIN_ALWAYS",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_LOAD_PLUGIN_ALWAYS" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CS_LOAD_PLUGIN_ALWAYS" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  result = CS_LOAD_PLUGIN_ALWAYS(arg1,(char const *)arg2);
  {
    /*@SWIG:TYPEMAP_OUT_csRef_BODY@*/
    csRef<iBase> ref((csPtr<iBase>&)result); /* explicit cast */
    resultobj = _csRef_to_Python(csRef<iBase>(
        (iBase *)ref), (void *)(iBase *)ref, "iBase" " *");
    /*@SWIG@*/
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_FX_SETALPHA(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  uint arg1 ;
  uint result;
  unsigned int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:CS_FX_SETALPHA",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CS_FX_SETALPHA" "', argument " "1"" of type '" "uint""'");
  } 
  arg1 = static_cast< uint >(val1);
  result = (uint)CS_FX_SETALPHA(arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_FX_SETALPHA_INT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  uint arg1 ;
  uint result;
  unsigned int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:CS_FX_SETALPHA_INT",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CS_FX_SETALPHA_INT" "', argument " "1"" of type '" "uint""'");
  } 
  arg1 = static_cast< uint >(val1);
  result = (uint)CS_FX_SETALPHA_INT(arg1);
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_QUERY_REGISTRY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  SwigValueWrapper<csWrapPtr > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csString className2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:CS_QUERY_REGISTRY",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_QUERY_REGISTRY" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  {
    PyObject *pyname = PyObject_GetAttrString(obj1, "__name__");
    className2 = csString(PyString_AsString(pyname));
    Py_XDECREF(pyname);
    arg2 = (char*)className2.GetData(); // SWIG declares arg2 non-const for some reason
    PyObject *pyver = PyObject_CallMethod(obj1, "scfGetVersion", NULL);
    arg3 = PyInt_AsLong(pyver);
    Py_XDECREF(pyver);
  }
  result = CS_QUERY_REGISTRY(arg1,(char const *)arg2,arg3);
  {
    resultobj = _csWrapPtr_to_Python(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_QUERY_REGISTRY_TAG_INTERFACE(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObjectRegistry *arg1 = (iObjectRegistry *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  SwigValueWrapper<csWrapPtr > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  csString className3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:CS_QUERY_REGISTRY_TAG_INTERFACE",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObjectRegistry, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_QUERY_REGISTRY_TAG_INTERFACE" "', argument " "1"" of type '" "iObjectRegistry *""'"); 
  }
  arg1 = reinterpret_cast< iObjectRegistry * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CS_QUERY_REGISTRY_TAG_INTERFACE" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    PyObject *pyname = PyObject_GetAttrString(obj2, "__name__");
    className3 = csString(PyString_AsString(pyname));
    Py_XDECREF(pyname);
    arg3 = (char*)className3.GetData(); // SWIG declares arg3 non-const for some reason
    PyObject *pyver = PyObject_CallMethod(obj2, "scfGetVersion", NULL);
    arg4 = PyInt_AsLong(pyver);
    Py_XDECREF(pyver);
  }
  result = CS_QUERY_REGISTRY_TAG_INTERFACE(arg1,(char const *)arg2,(char const *)arg3,arg4);
  {
    resultobj = _csWrapPtr_to_Python(result);
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_SCF_QUERY_INTERFACE(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  SwigValueWrapper<csWrapPtr > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csString className2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:SCF_QUERY_INTERFACE",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SCF_QUERY_INTERFACE" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  {
    PyObject *pyname = PyObject_GetAttrString(obj1, "__name__");
    className2 = csString(PyString_AsString(pyname));
    Py_XDECREF(pyname);
    arg2 = (char*)className2.GetData(); // SWIG declares arg2 non-const for some reason
    PyObject *pyver = PyObject_CallMethod(obj1, "scfGetVersion", NULL);
    arg3 = PyInt_AsLong(pyver);
    Py_XDECREF(pyver);
  }
  result = SCF_QUERY_INTERFACE(arg1,(char const *)arg2,arg3);
  {
    resultobj = _csWrapPtr_to_Python(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_SCF_QUERY_INTERFACE_SAFE(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iBase *arg1 = (iBase *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  SwigValueWrapper<csWrapPtr > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csString className2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:SCF_QUERY_INTERFACE_SAFE",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iBase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SCF_QUERY_INTERFACE_SAFE" "', argument " "1"" of type '" "iBase *""'"); 
  }
  arg1 = reinterpret_cast< iBase * >(argp1);
  {
    PyObject *pyname = PyObject_GetAttrString(obj1, "__name__");
    className2 = csString(PyString_AsString(pyname));
    Py_XDECREF(pyname);
    arg2 = (char*)className2.GetData(); // SWIG declares arg2 non-const for some reason
    PyObject *pyver = PyObject_CallMethod(obj1, "scfGetVersion", NULL);
    arg3 = PyInt_AsLong(pyver);
    Py_XDECREF(pyver);
  }
  result = SCF_QUERY_INTERFACE_SAFE(arg1,(char const *)arg2,arg3);
  {
    resultobj = _csWrapPtr_to_Python(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_QUERY_PLUGIN_CLASS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  SwigValueWrapper<csWrapPtr > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  csString className3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:CS_QUERY_PLUGIN_CLASS",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_QUERY_PLUGIN_CLASS" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CS_QUERY_PLUGIN_CLASS" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    PyObject *pyname = PyObject_GetAttrString(obj2, "__name__");
    className3 = csString(PyString_AsString(pyname));
    Py_XDECREF(pyname);
    arg3 = (char*)className3.GetData(); // SWIG declares arg3 non-const for some reason
    PyObject *pyver = PyObject_CallMethod(obj2, "scfGetVersion", NULL);
    arg4 = PyInt_AsLong(pyver);
    Py_XDECREF(pyver);
  }
  result = CS_QUERY_PLUGIN_CLASS(arg1,(char const *)arg2,(char const *)arg3,arg4);
  {
    resultobj = _csWrapPtr_to_Python(result);
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_LOAD_PLUGIN(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iPluginManager *arg1 = (iPluginManager *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  SwigValueWrapper<csWrapPtr > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  csString className3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:CS_LOAD_PLUGIN",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iPluginManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_LOAD_PLUGIN" "', argument " "1"" of type '" "iPluginManager *""'"); 
  }
  arg1 = reinterpret_cast< iPluginManager * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CS_LOAD_PLUGIN" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = buf2;
  {
    PyObject *pyname = PyObject_GetAttrString(obj2, "__name__");
    className3 = csString(PyString_AsString(pyname));
    Py_XDECREF(pyname);
    arg3 = (char*)className3.GetData(); // SWIG declares arg3 non-const for some reason
    PyObject *pyver = PyObject_CallMethod(obj2, "scfGetVersion", NULL);
    arg4 = PyInt_AsLong(pyver);
    Py_XDECREF(pyver);
  }
  result = CS_LOAD_PLUGIN(arg1,(char const *)arg2,(char const *)arg3,arg4);
  {
    resultobj = _csWrapPtr_to_Python(result);
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_GET_CHILD_OBJECT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  SwigValueWrapper<csWrapPtr > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csString className2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:CS_GET_CHILD_OBJECT",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_GET_CHILD_OBJECT" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  {
    PyObject *pyname = PyObject_GetAttrString(obj1, "__name__");
    className2 = csString(PyString_AsString(pyname));
    Py_XDECREF(pyname);
    arg2 = (char*)className2.GetData(); // SWIG declares arg2 non-const for some reason
    PyObject *pyver = PyObject_CallMethod(obj1, "scfGetVersion", NULL);
    arg3 = PyInt_AsLong(pyver);
    Py_XDECREF(pyver);
  }
  result = CS_GET_CHILD_OBJECT(arg1,(char const *)arg2,arg3);
  {
    resultobj = _csWrapPtr_to_Python(result);
  }
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_GET_NAMED_CHILD_OBJECT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  SwigValueWrapper<csWrapPtr > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csString className2 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:CS_GET_NAMED_CHILD_OBJECT",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_GET_NAMED_CHILD_OBJECT" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  {
    PyObject *pyname = PyObject_GetAttrString(obj1, "__name__");
    className2 = csString(PyString_AsString(pyname));
    Py_XDECREF(pyname);
    arg2 = (char*)className2.GetData(); // SWIG declares arg2 non-const for some reason
    PyObject *pyver = PyObject_CallMethod(obj1, "scfGetVersion", NULL);
    arg3 = PyInt_AsLong(pyver);
    Py_XDECREF(pyver);
  }
  res4 = SWIG_AsCharPtrAndSize(obj2, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CS_GET_NAMED_CHILD_OBJECT" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = CS_GET_NAMED_CHILD_OBJECT(arg1,(char const *)arg2,arg3,(char const *)arg4);
  {
    resultobj = _csWrapPtr_to_Python(result);
  }
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap_CS_GET_FIRST_NAMED_CHILD_OBJECT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  iObject *arg1 = (iObject *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  SwigValueWrapper<csWrapPtr > result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  csString className2 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:CS_GET_FIRST_NAMED_CHILD_OBJECT",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_iObject, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CS_GET_FIRST_NAMED_CHILD_OBJECT" "', argument " "1"" of type '" "iObject *""'"); 
  }
  arg1 = reinterpret_cast< iObject * >(argp1);
  {
    PyObject *pyname = PyObject_GetAttrString(obj1, "__name__");
    className2 = csString(PyString_AsString(pyname));
    Py_XDECREF(pyname);
    arg2 = (char*)className2.GetData(); // SWIG declares arg2 non-const for some reason
    PyObject *pyver = PyObject_CallMethod(obj1, "scfGetVersion", NULL);
    arg3 = PyInt_AsLong(pyver);
    Py_XDECREF(pyver);
  }
  res4 = SWIG_AsCharPtrAndSize(obj2, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CS_GET_FIRST_NAMED_CHILD_OBJECT" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = buf4;
  result = CS_GET_FIRST_NAMED_CHILD_OBJECT(arg1,(char const *)arg2,arg3,(char const *)arg4);
  {
    resultobj = _csWrapPtr_to_Python(result);
  }
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_scfRefCount_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:_csPyEventHandler_scfRefCount_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_scfRefCount_set" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_csPyEventHandler_scfRefCount_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->scfRefCount = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_scfRefCount_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_csPyEventHandler_scfRefCount_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_scfRefCount_get" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  result = (int) ((arg1)->scfRefCount);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_scfWeakRefOwners_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  csArray<void ** > *arg2 = (csArray<void ** > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:_csPyEventHandler_scfWeakRefOwners_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_scfWeakRefOwners_set" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_csArrayTvoid_pp_csArrayElementHandlerTvoid_pp_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_scfWeakRefOwners_set" "', argument " "2"" of type '" "csArray<void ** > *""'"); 
  }
  arg2 = reinterpret_cast< csArray<void ** > * >(argp2);
  if (arg1) (arg1)->scfWeakRefOwners = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_scfWeakRefOwners_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  csArray<void ** > *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_csPyEventHandler_scfWeakRefOwners_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_scfWeakRefOwners_get" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  result = (csArray<void ** > *) ((arg1)->scfWeakRefOwners);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTvoid_pp_csArrayElementHandlerTvoid_pp_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_scfRemoveRefOwners(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_csPyEventHandler_scfRemoveRefOwners",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_scfRemoveRefOwners" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  (arg1)->scfRemoveRefOwners();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_scfParent_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  iBase *arg2 = (iBase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:_csPyEventHandler_scfParent_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_scfParent_set" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_iBase, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_scfParent_set" "', argument " "2"" of type '" "iBase *""'"); 
  }
  arg2 = reinterpret_cast< iBase * >(argp2);
  if (arg1) (arg1)->scfParent = arg2;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_scfParent_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  iBase *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_csPyEventHandler_scfParent_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_scfParent_get" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  result = (iBase *) ((arg1)->scfParent);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_iBase, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_IncRef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_csPyEventHandler_IncRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_IncRef" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  (arg1)->IncRef();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_DecRef(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_csPyEventHandler_DecRef",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_DecRef" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  (arg1)->DecRef();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_GetRefCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_csPyEventHandler_GetRefCount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_GetRefCount" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  result = (int)(arg1)->GetRefCount();
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_AddRefOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  void **arg2 = (void **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:_csPyEventHandler_AddRefOwner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_AddRefOwner" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_AddRefOwner" "', argument " "2"" of type '" "void **""'"); 
  }
  arg2 = reinterpret_cast< void ** >(argp2);
  (arg1)->AddRefOwner(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_RemoveRefOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  void **arg2 = (void **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:_csPyEventHandler_RemoveRefOwner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_RemoveRefOwner" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_RemoveRefOwner" "', argument " "2"" of type '" "void **""'"); 
  }
  arg2 = reinterpret_cast< void ** >(argp2);
  (arg1)->RemoveRefOwner(arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_QueryInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  scfInterfaceID arg2 ;
  int arg3 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:_csPyEventHandler_QueryInterface",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_QueryInterface" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_csPyEventHandler_QueryInterface" "', argument " "2"" of type '" "scfInterfaceID""'");
  } 
  arg2 = static_cast< scfInterfaceID >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "_csPyEventHandler_QueryInterface" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  result = (void *)(arg1)->QueryInterface(arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new__csPyEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  PyObject *arg1 = (PyObject *) 0 ;
  _csPyEventHandler *result = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new__csPyEventHandler",&obj0)) SWIG_fail;
  arg1 = obj0;
  result = (_csPyEventHandler *)new _csPyEventHandler(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__csPyEventHandler, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete__csPyEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete__csPyEventHandler",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__csPyEventHandler" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  delete arg1;
  
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_HandleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  iEvent *arg2 = 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:_csPyEventHandler_HandleEvent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_HandleEvent" "', argument " "1"" of type '" "_csPyEventHandler *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_iEvent,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_HandleEvent" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_HandleEvent" "', argument " "2"" of type '" "iEvent &""'"); 
  }
  arg2 = reinterpret_cast< iEvent * >(argp2);
  result = (bool)(arg1)->HandleEvent(*arg2);
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_StaticHandlerName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":_csPyEventHandler_StaticHandlerName")) SWIG_fail;
  result = (char *)_csPyEventHandler::StaticHandlerName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_StaticID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  csRef<iEventHandlerRegistry > *arg1 = 0 ;
  csHandlerID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_csPyEventHandler_StaticID",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_StaticID" "', argument " "1"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_StaticID" "', argument " "1"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg1 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp1);
  result = _csPyEventHandler::StaticID(*arg1);
  resultobj = SWIG_NewPointerObj((new csHandlerID(static_cast< const csHandlerID& >(result))), SWIGTYPE_p_csHandlerID, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_GenericName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_csPyEventHandler_GenericName",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_GenericName" "', argument " "1"" of type '" "_csPyEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  result = (char *)((_csPyEventHandler const *)arg1)->GenericName();
  resultobj = SWIG_FromCharPtr(result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_GenericID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csHandlerID result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:_csPyEventHandler_GenericID",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_GenericID" "', argument " "1"" of type '" "_csPyEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_GenericID" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_GenericID" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  result = ((_csPyEventHandler const *)arg1)->GenericID(*arg2);
  resultobj = SWIG_NewPointerObj((new csHandlerID(static_cast< const csHandlerID& >(result))), SWIGTYPE_p_csHandlerID, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_GenericPrec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csRef<iEventNameRegistry > *arg3 = 0 ;
  csEventID arg4 ;
  csHandlerID *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:_csPyEventHandler_GenericPrec",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_GenericPrec" "', argument " "1"" of type '" "_csPyEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_GenericPrec" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_GenericPrec" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_csPyEventHandler_GenericPrec" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_GenericPrec" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "_csPyEventHandler_GenericPrec" "', argument " "4"" of type '" "csEventID""'");
  } 
  arg4 = static_cast< csEventID >(val4);
  result = (csHandlerID *)((_csPyEventHandler const *)arg1)->GenericPrec(*arg2,*arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHandlerID, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_GenericSucc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csRef<iEventNameRegistry > *arg3 = 0 ;
  csEventID arg4 ;
  csHandlerID *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:_csPyEventHandler_GenericSucc",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_GenericSucc" "', argument " "1"" of type '" "_csPyEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_GenericSucc" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_GenericSucc" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_csPyEventHandler_GenericSucc" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_GenericSucc" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "_csPyEventHandler_GenericSucc" "', argument " "4"" of type '" "csEventID""'");
  } 
  arg4 = static_cast< csEventID >(val4);
  result = (csHandlerID *)((_csPyEventHandler const *)arg1)->GenericSucc(*arg2,*arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHandlerID, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_InstancePrec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csRef<iEventNameRegistry > *arg3 = 0 ;
  csEventID arg4 ;
  csHandlerID *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:_csPyEventHandler_InstancePrec",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_InstancePrec" "', argument " "1"" of type '" "_csPyEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_InstancePrec" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_InstancePrec" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_csPyEventHandler_InstancePrec" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_InstancePrec" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "_csPyEventHandler_InstancePrec" "', argument " "4"" of type '" "csEventID""'");
  } 
  arg4 = static_cast< csEventID >(val4);
  result = (csHandlerID *)((_csPyEventHandler const *)arg1)->InstancePrec(*arg2,*arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHandlerID, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__csPyEventHandler_InstanceSucc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  _csPyEventHandler *arg1 = (_csPyEventHandler *) 0 ;
  csRef<iEventHandlerRegistry > *arg2 = 0 ;
  csRef<iEventNameRegistry > *arg3 = 0 ;
  csEventID arg4 ;
  csHandlerID *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:_csPyEventHandler_InstanceSucc",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__csPyEventHandler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_csPyEventHandler_InstanceSucc" "', argument " "1"" of type '" "_csPyEventHandler const *""'"); 
  }
  arg1 = reinterpret_cast< _csPyEventHandler * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csRefTiEventHandlerRegistry_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_csPyEventHandler_InstanceSucc" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_InstanceSucc" "', argument " "2"" of type '" "csRef<iEventHandlerRegistry > &""'"); 
  }
  arg2 = reinterpret_cast< csRef<iEventHandlerRegistry > * >(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csRefTiEventNameRegistry_t,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_csPyEventHandler_InstanceSucc" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "_csPyEventHandler_InstanceSucc" "', argument " "3"" of type '" "csRef<iEventNameRegistry > &""'"); 
  }
  arg3 = reinterpret_cast< csRef<iEventNameRegistry > * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_long(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "_csPyEventHandler_InstanceSucc" "', argument " "4"" of type '" "csEventID""'");
  } 
  arg4 = static_cast< csEventID >(val4);
  result = (csHandlerID *)((_csPyEventHandler const *)arg1)->InstanceSucc(*arg2,*arg3,arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csHandlerID, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_csPyEventHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p__csPyEventHandler, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

static PyMethodDef SwigMethods[] = {
	 { (char *)"csWrapPtr_Ref_set", _wrap_csWrapPtr_Ref_set, METH_VARARGS, NULL},
	 { (char *)"csWrapPtr_Ref_get", _wrap_csWrapPtr_Ref_get, METH_VARARGS, NULL},
	 { (char *)"csWrapPtr_Type_get", _wrap_csWrapPtr_Type_get, METH_VARARGS, NULL},
	 { (char *)"csWrapPtr_Version_set", _wrap_csWrapPtr_Version_set, METH_VARARGS, NULL},
	 { (char *)"csWrapPtr_Version_get", _wrap_csWrapPtr_Version_get, METH_VARARGS, NULL},
	 { (char *)"new_csWrapPtr", _wrap_new_csWrapPtr, METH_VARARGS, NULL},
	 { (char *)"delete_csWrapPtr", _wrap_delete_csWrapPtr, METH_VARARGS, NULL},
	 { (char *)"csWrapPtr_swigregister", csWrapPtr_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csArrayThresholdVariable", _wrap_new_csArrayThresholdVariable, METH_VARARGS, NULL},
	 { (char *)"csArrayThresholdVariable_GetThreshold", _wrap_csArrayThresholdVariable_GetThreshold, METH_VARARGS, NULL},
	 { (char *)"delete_csArrayThresholdVariable", _wrap_delete_csArrayThresholdVariable, METH_VARARGS, NULL},
	 { (char *)"csArrayThresholdVariable_swigregister", csArrayThresholdVariable_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csArrayThresholdVariableCapacityLinear", _wrap_new_csArrayThresholdVariableCapacityLinear, METH_VARARGS, NULL},
	 { (char *)"csArrayThresholdVariableCapacityLinear_IsCapacityExcessive", _wrap_csArrayThresholdVariableCapacityLinear_IsCapacityExcessive, METH_VARARGS, NULL},
	 { (char *)"csArrayThresholdVariableCapacityLinear_GetCapacity", _wrap_csArrayThresholdVariableCapacityLinear_GetCapacity, METH_VARARGS, NULL},
	 { (char *)"delete_csArrayThresholdVariableCapacityLinear", _wrap_delete_csArrayThresholdVariableCapacityLinear, METH_VARARGS, NULL},
	 { (char *)"csArrayThresholdVariableCapacityLinear_swigregister", csArrayThresholdVariableCapacityLinear_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csArrayCapacityDefault", _wrap_new_csArrayCapacityDefault, METH_VARARGS, NULL},
	 { (char *)"delete_csArrayCapacityDefault", _wrap_delete_csArrayCapacityDefault, METH_VARARGS, NULL},
	 { (char *)"csArrayCapacityDefault_swigregister", csArrayCapacityDefault_swigregister, METH_VARARGS, NULL},
	 { (char *)"scfCompatibleVersion", _wrap_scfCompatibleVersion, METH_VARARGS, NULL},
	 { (char *)"iBase_IncRef", _wrap_iBase_IncRef, METH_VARARGS, NULL},
	 { (char *)"iBase_DecRef", _wrap_iBase_DecRef, METH_VARARGS, NULL},
	 { (char *)"iBase_GetRefCount", _wrap_iBase_GetRefCount, METH_VARARGS, NULL},
	 { (char *)"iBase_QueryInterface", _wrap_iBase_QueryInterface, METH_VARARGS, NULL},
	 { (char *)"iBase_AddRefOwner", _wrap_iBase_AddRefOwner, METH_VARARGS, NULL},
	 { (char *)"iBase_RemoveRefOwner", _wrap_iBase_RemoveRefOwner, METH_VARARGS, NULL},
	 { (char *)"iBase_scfGetVersion", _wrap_iBase_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iBase_swigregister", iBase_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSCF_SCF_get", _wrap_iSCF_SCF_get, METH_VARARGS, NULL},
	 { (char *)"iSCF_RegisterClasses", _wrap_iSCF_RegisterClasses, METH_VARARGS, NULL},
	 { (char *)"iSCF_ClassRegistered", _wrap_iSCF_ClassRegistered, METH_VARARGS, NULL},
	 { (char *)"iSCF_CreateInstance", _wrap_iSCF_CreateInstance, METH_VARARGS, NULL},
	 { (char *)"iSCF_GetClassDescription", _wrap_iSCF_GetClassDescription, METH_VARARGS, NULL},
	 { (char *)"iSCF_GetClassDependencies", _wrap_iSCF_GetClassDependencies, METH_VARARGS, NULL},
	 { (char *)"iSCF_GetPluginMetadata", _wrap_iSCF_GetPluginMetadata, METH_VARARGS, NULL},
	 { (char *)"iSCF_UnloadUnusedModules", _wrap_iSCF_UnloadUnusedModules, METH_VARARGS, NULL},
	 { (char *)"iSCF_RegisterClass", _wrap_iSCF_RegisterClass, METH_VARARGS, NULL},
	 { (char *)"iSCF_RegisterFactoryFunc", _wrap_iSCF_RegisterFactoryFunc, METH_VARARGS, NULL},
	 { (char *)"iSCF_UnregisterClass", _wrap_iSCF_UnregisterClass, METH_VARARGS, NULL},
	 { (char *)"iSCF_GetInterfaceName", _wrap_iSCF_GetInterfaceName, METH_VARARGS, NULL},
	 { (char *)"iSCF_GetInterfaceID", _wrap_iSCF_GetInterfaceID, METH_VARARGS, NULL},
	 { (char *)"iSCF_Finish", _wrap_iSCF_Finish, METH_VARARGS, NULL},
	 { (char *)"iSCF_QueryClassList", _wrap_iSCF_QueryClassList, METH_VARARGS, NULL},
	 { (char *)"iSCF_ScanPluginsPath", _wrap_iSCF_ScanPluginsPath, METH_VARARGS, NULL},
	 { (char *)"iSCF_RegisterPlugin", _wrap_iSCF_RegisterPlugin, METH_VARARGS, NULL},
	 { (char *)"delete_iSCF", _wrap_delete_iSCF, METH_VARARGS, NULL},
	 { (char *)"iSCF_scfGetVersion", _wrap_iSCF_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSCF_swigregister", iSCF_swigregister, METH_VARARGS, NULL},
	 { (char *)"iFactory_CreateInstance", _wrap_iFactory_CreateInstance, METH_VARARGS, NULL},
	 { (char *)"iFactory_TryUnload", _wrap_iFactory_TryUnload, METH_VARARGS, NULL},
	 { (char *)"iFactory_QueryDescription", _wrap_iFactory_QueryDescription, METH_VARARGS, NULL},
	 { (char *)"iFactory_QueryDependencies", _wrap_iFactory_QueryDependencies, METH_VARARGS, NULL},
	 { (char *)"iFactory_QueryClassID", _wrap_iFactory_QueryClassID, METH_VARARGS, NULL},
	 { (char *)"iFactory_QueryModuleName", _wrap_iFactory_QueryModuleName, METH_VARARGS, NULL},
	 { (char *)"delete_iFactory", _wrap_delete_iFactory, METH_VARARGS, NULL},
	 { (char *)"iFactory_scfGetVersion", _wrap_iFactory_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iFactory_swigregister", iFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"scfRegisterStaticClass", _wrap_scfRegisterStaticClass, METH_VARARGS, NULL},
	 { (char *)"scfRegisterStaticClasses", _wrap_scfRegisterStaticClasses, METH_VARARGS, NULL},
	 { (char *)"scfRegisterStaticFactoryFunc", _wrap_scfRegisterStaticFactoryFunc, METH_VARARGS, NULL},
	 { (char *)"iDebugHelper_GetSupportedTests", _wrap_iDebugHelper_GetSupportedTests, METH_VARARGS, NULL},
	 { (char *)"iDebugHelper_UnitTest", _wrap_iDebugHelper_UnitTest, METH_VARARGS, NULL},
	 { (char *)"iDebugHelper_StateTest", _wrap_iDebugHelper_StateTest, METH_VARARGS, NULL},
	 { (char *)"iDebugHelper_Benchmark", _wrap_iDebugHelper_Benchmark, METH_VARARGS, NULL},
	 { (char *)"iDebugHelper_Dump", _wrap_iDebugHelper_Dump, METH_VARARGS, NULL},
	 { (char *)"iDebugHelper_DebugCommand", _wrap_iDebugHelper_DebugCommand, METH_VARARGS, NULL},
	 { (char *)"delete_iDebugHelper", _wrap_delete_iDebugHelper, METH_VARARGS, NULL},
	 { (char *)"iDebugHelper_scfGetVersion", _wrap_iDebugHelper_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iDebugHelper_swigregister", iDebugHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_Initialize", _wrap_iCommandLineParser_Initialize, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_Reset", _wrap_iCommandLineParser_Reset, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_GetOption", _wrap_iCommandLineParser_GetOption, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_GetName", _wrap_iCommandLineParser_GetName, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_AddOption", _wrap_iCommandLineParser_AddOption, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_AddName", _wrap_iCommandLineParser_AddName, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_ReplaceOption", _wrap_iCommandLineParser_ReplaceOption, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_ReplaceName", _wrap_iCommandLineParser_ReplaceName, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_GetBoolOption", _wrap_iCommandLineParser_GetBoolOption, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_GetResourceDir", _wrap_iCommandLineParser_GetResourceDir, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_GetAppDir", _wrap_iCommandLineParser_GetAppDir, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_GetAppPath", _wrap_iCommandLineParser_GetAppPath, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_GetOptionName", _wrap_iCommandLineParser_GetOptionName, METH_VARARGS, NULL},
	 { (char *)"delete_iCommandLineParser", _wrap_delete_iCommandLineParser, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_scfGetVersion", _wrap_iCommandLineParser_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iCommandLineParser_swigregister", iCommandLineParser_swigregister, METH_VARARGS, NULL},
	 { (char *)"csColor_red_set", _wrap_csColor_red_set, METH_VARARGS, NULL},
	 { (char *)"csColor_red_get", _wrap_csColor_red_get, METH_VARARGS, NULL},
	 { (char *)"csColor_green_set", _wrap_csColor_green_set, METH_VARARGS, NULL},
	 { (char *)"csColor_green_get", _wrap_csColor_green_get, METH_VARARGS, NULL},
	 { (char *)"csColor_blue_set", _wrap_csColor_blue_set, METH_VARARGS, NULL},
	 { (char *)"csColor_blue_get", _wrap_csColor_blue_get, METH_VARARGS, NULL},
	 { (char *)"new_csColor", _wrap_new_csColor, METH_VARARGS, NULL},
	 { (char *)"csColor_Set", _wrap_csColor_Set, METH_VARARGS, NULL},
	 { (char *)"csColor_Clamp", _wrap_csColor_Clamp, METH_VARARGS, NULL},
	 { (char *)"csColor_ClampDown", _wrap_csColor_ClampDown, METH_VARARGS, NULL},
	 { (char *)"csColor_assign", _wrap_csColor_assign, METH_VARARGS, NULL},
	 { (char *)"csColor___iadd__", _wrap_csColor___iadd__, METH_VARARGS, NULL},
	 { (char *)"csColor___isub__", _wrap_csColor___isub__, METH_VARARGS, NULL},
	 { (char *)"csColor___imul__", _wrap_csColor___imul__, METH_VARARGS, NULL},
	 { (char *)"csColor___mul__", _wrap_csColor___mul__, METH_VARARGS, NULL},
	 { (char *)"csColor___eq__", _wrap_csColor___eq__, METH_VARARGS, NULL},
	 { (char *)"csColor___ne__", _wrap_csColor___ne__, METH_VARARGS, NULL},
	 { (char *)"csColor_Add", _wrap_csColor_Add, METH_VARARGS, NULL},
	 { (char *)"csColor_Subtract", _wrap_csColor_Subtract, METH_VARARGS, NULL},
	 { (char *)"csColor___add__", _wrap_csColor___add__, METH_VARARGS, NULL},
	 { (char *)"csColor___sub__", _wrap_csColor___sub__, METH_VARARGS, NULL},
	 { (char *)"csColor___rmul__", _wrap_csColor___rmul__, METH_VARARGS, NULL},
	 { (char *)"delete_csColor", _wrap_delete_csColor, METH_VARARGS, NULL},
	 { (char *)"csColor_swigregister", csColor_swigregister, METH_VARARGS, NULL},
	 { (char *)"csColor4_alpha_set", _wrap_csColor4_alpha_set, METH_VARARGS, NULL},
	 { (char *)"csColor4_alpha_get", _wrap_csColor4_alpha_get, METH_VARARGS, NULL},
	 { (char *)"new_csColor4", _wrap_new_csColor4, METH_VARARGS, NULL},
	 { (char *)"csColor4_Set", _wrap_csColor4_Set, METH_VARARGS, NULL},
	 { (char *)"csColor4_assign", _wrap_csColor4_assign, METH_VARARGS, NULL},
	 { (char *)"csColor4___imul__", _wrap_csColor4___imul__, METH_VARARGS, NULL},
	 { (char *)"csColor4___iadd__", _wrap_csColor4___iadd__, METH_VARARGS, NULL},
	 { (char *)"csColor4___isub__", _wrap_csColor4___isub__, METH_VARARGS, NULL},
	 { (char *)"csColor4___eq__", _wrap_csColor4___eq__, METH_VARARGS, NULL},
	 { (char *)"csColor4___ne__", _wrap_csColor4___ne__, METH_VARARGS, NULL},
	 { (char *)"delete_csColor4", _wrap_delete_csColor4, METH_VARARGS, NULL},
	 { (char *)"csColor4_swigregister", csColor4_swigregister, METH_VARARGS, NULL},
	 { (char *)"csCommandLineHelper_Help", _wrap_csCommandLineHelper_Help, METH_VARARGS, NULL},
	 { (char *)"csCommandLineHelper_CheckHelp", _wrap_csCommandLineHelper_CheckHelp, METH_VARARGS, NULL},
	 { (char *)"new_csCommandLineHelper", _wrap_new_csCommandLineHelper, METH_VARARGS, NULL},
	 { (char *)"delete_csCommandLineHelper", _wrap_delete_csCommandLineHelper, METH_VARARGS, NULL},
	 { (char *)"csCommandLineHelper_swigregister", csCommandLineHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csStringSet", _wrap_new_csStringSet, METH_VARARGS, NULL},
	 { (char *)"delete_csStringSet", _wrap_delete_csStringSet, METH_VARARGS, NULL},
	 { (char *)"csStringSet_assign", _wrap_csStringSet_assign, METH_VARARGS, NULL},
	 { (char *)"csStringSet_Request", _wrap_csStringSet_Request, METH_VARARGS, NULL},
	 { (char *)"csStringSet_Contains", _wrap_csStringSet_Contains, METH_VARARGS, NULL},
	 { (char *)"csStringSet_Delete", _wrap_csStringSet_Delete, METH_VARARGS, NULL},
	 { (char *)"csStringSet_Empty", _wrap_csStringSet_Empty, METH_VARARGS, NULL},
	 { (char *)"csStringSet_Clear", _wrap_csStringSet_Clear, METH_VARARGS, NULL},
	 { (char *)"csStringSet_GetSize", _wrap_csStringSet_GetSize, METH_VARARGS, NULL},
	 { (char *)"csStringSet_IsEmpty", _wrap_csStringSet_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"csStringSet_swigregister", csStringSet_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csStringIDSet", _wrap_new_csStringIDSet, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_Add", _wrap_csStringIDSet_Add, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_AddNoTest", _wrap_csStringIDSet_AddNoTest, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_Contains", _wrap_csStringIDSet_Contains, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_In", _wrap_csStringIDSet_In, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_DeleteAll", _wrap_csStringIDSet_DeleteAll, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_Empty", _wrap_csStringIDSet_Empty, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_Delete", _wrap_csStringIDSet_Delete, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_GetSize", _wrap_csStringIDSet_GetSize, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_IsEmpty", _wrap_csStringIDSet_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet___len__", _wrap_csStringIDSet___len__, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet___contains__", _wrap_csStringIDSet___contains__, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_append", _wrap_csStringIDSet_append, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet___delitem__", _wrap_csStringIDSet___delitem__, METH_VARARGS, NULL},
	 { (char *)"delete_csStringIDSet", _wrap_delete_csStringIDSet, METH_VARARGS, NULL},
	 { (char *)"csStringIDSet_swigregister", csStringIDSet_swigregister, METH_VARARGS, NULL},
	 { (char *)"iString_GetData", _wrap_iString_GetData, METH_VARARGS, NULL},
	 { (char *)"iString___ne__", _wrap_iString___ne__, METH_VARARGS, NULL},
	 { (char *)"delete_iString", _wrap_delete_iString, METH_VARARGS, NULL},
	 { (char *)"iString_scfGetVersion", _wrap_iString_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iString___getitem__", _wrap_iString___getitem__, METH_VARARGS, NULL},
	 { (char *)"iString___setitem__", _wrap_iString___setitem__, METH_VARARGS, NULL},
	 { (char *)"iString_swigregister", iString_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csString", _wrap_new_csString, METH_VARARGS, NULL},
	 { (char *)"csString___getitem__", _wrap_csString___getitem__, METH_VARARGS, NULL},
	 { (char *)"csString___setitem__", _wrap_csString___setitem__, METH_VARARGS, NULL},
	 { (char *)"csString___delitem__", _wrap_csString___delitem__, METH_VARARGS, NULL},
	 { (char *)"delete_csString", _wrap_delete_csString, METH_VARARGS, NULL},
	 { (char *)"csString_swigregister", csString_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csRefCount", _wrap_new_csRefCount, METH_VARARGS, NULL},
	 { (char *)"csRefCount_IncRef", _wrap_csRefCount_IncRef, METH_VARARGS, NULL},
	 { (char *)"csRefCount_DecRef", _wrap_csRefCount_DecRef, METH_VARARGS, NULL},
	 { (char *)"csRefCount_GetRefCount", _wrap_csRefCount_GetRefCount, METH_VARARGS, NULL},
	 { (char *)"csRefCount_swigregister", csRefCount_swigregister, METH_VARARGS, NULL},
	 { (char *)"csVector2_x_set", _wrap_csVector2_x_set, METH_VARARGS, NULL},
	 { (char *)"csVector2_x_get", _wrap_csVector2_x_get, METH_VARARGS, NULL},
	 { (char *)"csVector2_y_set", _wrap_csVector2_y_set, METH_VARARGS, NULL},
	 { (char *)"csVector2_y_get", _wrap_csVector2_y_get, METH_VARARGS, NULL},
	 { (char *)"new_csVector2", _wrap_new_csVector2, METH_VARARGS, NULL},
	 { (char *)"csVector2_Description", _wrap_csVector2_Description, METH_VARARGS, NULL},
	 { (char *)"csVector2_Set", _wrap_csVector2_Set, METH_VARARGS, NULL},
	 { (char *)"csVector2_Get", _wrap_csVector2_Get, METH_VARARGS, NULL},
	 { (char *)"csVector2_Norm", _wrap_csVector2_Norm, METH_VARARGS, NULL},
	 { (char *)"csVector2_SquaredNorm", _wrap_csVector2_SquaredNorm, METH_VARARGS, NULL},
	 { (char *)"csVector2_Rotate", _wrap_csVector2_Rotate, METH_VARARGS, NULL},
	 { (char *)"csVector2_IsLeft", _wrap_csVector2_IsLeft, METH_VARARGS, NULL},
	 { (char *)"csVector2___iadd__", _wrap_csVector2___iadd__, METH_VARARGS, NULL},
	 { (char *)"csVector2___isub__", _wrap_csVector2___isub__, METH_VARARGS, NULL},
	 { (char *)"csVector2___imul__", _wrap_csVector2___imul__, METH_VARARGS, NULL},
	 { (char *)"csVector2___idiv__", _wrap_csVector2___idiv__, METH_VARARGS, NULL},
	 { (char *)"csVector2___pos__", _wrap_csVector2___pos__, METH_VARARGS, NULL},
	 { (char *)"csVector2___neg__", _wrap_csVector2___neg__, METH_VARARGS, NULL},
	 { (char *)"csVector2___add__", _wrap_csVector2___add__, METH_VARARGS, NULL},
	 { (char *)"csVector2___sub__", _wrap_csVector2___sub__, METH_VARARGS, NULL},
	 { (char *)"csVector2___mul__", _wrap_csVector2___mul__, METH_VARARGS, NULL},
	 { (char *)"csVector2___div__", _wrap_csVector2___div__, METH_VARARGS, NULL},
	 { (char *)"csVector2___eq__", _wrap_csVector2___eq__, METH_VARARGS, NULL},
	 { (char *)"csVector2___ne__", _wrap_csVector2___ne__, METH_VARARGS, NULL},
	 { (char *)"csVector2___lt__", _wrap_csVector2___lt__, METH_VARARGS, NULL},
	 { (char *)"csVector2___gt__", _wrap_csVector2___gt__, METH_VARARGS, NULL},
	 { (char *)"csVector2___rmul__", _wrap_csVector2___rmul__, METH_VARARGS, NULL},
	 { (char *)"csVector2___abs__", _wrap_csVector2___abs__, METH_VARARGS, NULL},
	 { (char *)"csVector2___getitem__", _wrap_csVector2___getitem__, METH_VARARGS, NULL},
	 { (char *)"csVector2___setitem__", _wrap_csVector2___setitem__, METH_VARARGS, NULL},
	 { (char *)"delete_csVector2", _wrap_delete_csVector2, METH_VARARGS, NULL},
	 { (char *)"csVector2_swigregister", csVector2_swigregister, METH_VARARGS, NULL},
	 { (char *)"csVector3_x_set", _wrap_csVector3_x_set, METH_VARARGS, NULL},
	 { (char *)"csVector3_x_get", _wrap_csVector3_x_get, METH_VARARGS, NULL},
	 { (char *)"csVector3_y_set", _wrap_csVector3_y_set, METH_VARARGS, NULL},
	 { (char *)"csVector3_y_get", _wrap_csVector3_y_get, METH_VARARGS, NULL},
	 { (char *)"csVector3_z_set", _wrap_csVector3_z_set, METH_VARARGS, NULL},
	 { (char *)"csVector3_z_get", _wrap_csVector3_z_get, METH_VARARGS, NULL},
	 { (char *)"new_csVector3", _wrap_new_csVector3, METH_VARARGS, NULL},
	 { (char *)"csVector3_Description", _wrap_csVector3_Description, METH_VARARGS, NULL},
	 { (char *)"csVector3_Cross", _wrap_csVector3_Cross, METH_VARARGS, NULL},
	 { (char *)"csVector3___iadd__", _wrap_csVector3___iadd__, METH_VARARGS, NULL},
	 { (char *)"csVector3___isub__", _wrap_csVector3___isub__, METH_VARARGS, NULL},
	 { (char *)"csVector3___pos__", _wrap_csVector3___pos__, METH_VARARGS, NULL},
	 { (char *)"csVector3___neg__", _wrap_csVector3___neg__, METH_VARARGS, NULL},
	 { (char *)"csVector3_Set", _wrap_csVector3_Set, METH_VARARGS, NULL},
	 { (char *)"csVector3_Get", _wrap_csVector3_Get, METH_VARARGS, NULL},
	 { (char *)"csVector3_Norm", _wrap_csVector3_Norm, METH_VARARGS, NULL},
	 { (char *)"csVector3_SquaredNorm", _wrap_csVector3_SquaredNorm, METH_VARARGS, NULL},
	 { (char *)"csVector3_Unit", _wrap_csVector3_Unit, METH_VARARGS, NULL},
	 { (char *)"csVector3_Normalize", _wrap_csVector3_Normalize, METH_VARARGS, NULL},
	 { (char *)"csVector3_IsZero", _wrap_csVector3_IsZero, METH_VARARGS, NULL},
	 { (char *)"csVector3_UnitAxisClamped", _wrap_csVector3_UnitAxisClamped, METH_VARARGS, NULL},
	 { (char *)"csVector3_DominantAxis", _wrap_csVector3_DominantAxis, METH_VARARGS, NULL},
	 { (char *)"csVector3___add__", _wrap_csVector3___add__, METH_VARARGS, NULL},
	 { (char *)"csVector3___sub__", _wrap_csVector3___sub__, METH_VARARGS, NULL},
	 { (char *)"csVector3___mul__", _wrap_csVector3___mul__, METH_VARARGS, NULL},
	 { (char *)"csVector3___eq__", _wrap_csVector3___eq__, METH_VARARGS, NULL},
	 { (char *)"csVector3___ne__", _wrap_csVector3___ne__, METH_VARARGS, NULL},
	 { (char *)"csVector3___lt__", _wrap_csVector3___lt__, METH_VARARGS, NULL},
	 { (char *)"csVector3___gt__", _wrap_csVector3___gt__, METH_VARARGS, NULL},
	 { (char *)"csVector3___imul__", _wrap_csVector3___imul__, METH_VARARGS, NULL},
	 { (char *)"csVector3___idiv__", _wrap_csVector3___idiv__, METH_VARARGS, NULL},
	 { (char *)"csVector3___div__", _wrap_csVector3___div__, METH_VARARGS, NULL},
	 { (char *)"csVector3_project", _wrap_csVector3_project, METH_VARARGS, NULL},
	 { (char *)"csVector3___rmul__", _wrap_csVector3___rmul__, METH_VARARGS, NULL},
	 { (char *)"csVector3___abs__", _wrap_csVector3___abs__, METH_VARARGS, NULL},
	 { (char *)"csVector3___getitem__", _wrap_csVector3___getitem__, METH_VARARGS, NULL},
	 { (char *)"csVector3___setitem__", _wrap_csVector3___setitem__, METH_VARARGS, NULL},
	 { (char *)"csVector3___nonzero__", _wrap_csVector3___nonzero__, METH_VARARGS, NULL},
	 { (char *)"delete_csVector3", _wrap_delete_csVector3, METH_VARARGS, NULL},
	 { (char *)"csVector3_swigregister", csVector3_swigregister, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_m11_set", _wrap_csMatrix2_m11_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_m11_get", _wrap_csMatrix2_m11_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_m12_set", _wrap_csMatrix2_m12_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_m12_get", _wrap_csMatrix2_m12_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_m21_set", _wrap_csMatrix2_m21_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_m21_get", _wrap_csMatrix2_m21_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_m22_set", _wrap_csMatrix2_m22_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_m22_get", _wrap_csMatrix2_m22_get, METH_VARARGS, NULL},
	 { (char *)"new_csMatrix2", _wrap_new_csMatrix2, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_Row1", _wrap_csMatrix2_Row1, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_Row2", _wrap_csMatrix2_Row2, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_Col1", _wrap_csMatrix2_Col1, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_Col2", _wrap_csMatrix2_Col2, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_Set", _wrap_csMatrix2_Set, METH_VARARGS, NULL},
	 { (char *)"csMatrix2___iadd__", _wrap_csMatrix2___iadd__, METH_VARARGS, NULL},
	 { (char *)"csMatrix2___isub__", _wrap_csMatrix2___isub__, METH_VARARGS, NULL},
	 { (char *)"csMatrix2___imul__", _wrap_csMatrix2___imul__, METH_VARARGS, NULL},
	 { (char *)"csMatrix2___idiv__", _wrap_csMatrix2___idiv__, METH_VARARGS, NULL},
	 { (char *)"csMatrix2___pos__", _wrap_csMatrix2___pos__, METH_VARARGS, NULL},
	 { (char *)"csMatrix2___neg__", _wrap_csMatrix2___neg__, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_Transpose", _wrap_csMatrix2_Transpose, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_GetTranspose", _wrap_csMatrix2_GetTranspose, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_GetInverse", _wrap_csMatrix2_GetInverse, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_Invert", _wrap_csMatrix2_Invert, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_Determinant", _wrap_csMatrix2_Determinant, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_Identity", _wrap_csMatrix2_Identity, METH_VARARGS, NULL},
	 { (char *)"delete_csMatrix2", _wrap_delete_csMatrix2, METH_VARARGS, NULL},
	 { (char *)"csMatrix2_swigregister", csMatrix2_swigregister, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m11_set", _wrap_csMatrix3_m11_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m11_get", _wrap_csMatrix3_m11_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m12_set", _wrap_csMatrix3_m12_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m12_get", _wrap_csMatrix3_m12_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m13_set", _wrap_csMatrix3_m13_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m13_get", _wrap_csMatrix3_m13_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m21_set", _wrap_csMatrix3_m21_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m21_get", _wrap_csMatrix3_m21_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m22_set", _wrap_csMatrix3_m22_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m22_get", _wrap_csMatrix3_m22_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m23_set", _wrap_csMatrix3_m23_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m23_get", _wrap_csMatrix3_m23_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m31_set", _wrap_csMatrix3_m31_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m31_get", _wrap_csMatrix3_m31_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m32_set", _wrap_csMatrix3_m32_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m32_get", _wrap_csMatrix3_m32_get, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m33_set", _wrap_csMatrix3_m33_set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_m33_get", _wrap_csMatrix3_m33_get, METH_VARARGS, NULL},
	 { (char *)"new_csMatrix3", _wrap_new_csMatrix3, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Row1", _wrap_csMatrix3_Row1, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Row2", _wrap_csMatrix3_Row2, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Row3", _wrap_csMatrix3_Row3, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Col1", _wrap_csMatrix3_Col1, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Col2", _wrap_csMatrix3_Col2, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Col3", _wrap_csMatrix3_Col3, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Set", _wrap_csMatrix3_Set, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_assign", _wrap_csMatrix3_assign, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___iadd__", _wrap_csMatrix3___iadd__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___isub__", _wrap_csMatrix3___isub__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___idiv__", _wrap_csMatrix3___idiv__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___pos__", _wrap_csMatrix3___pos__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___neg__", _wrap_csMatrix3___neg__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Transpose", _wrap_csMatrix3_Transpose, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_GetTranspose", _wrap_csMatrix3_GetTranspose, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_GetInverse", _wrap_csMatrix3_GetInverse, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Invert", _wrap_csMatrix3_Invert, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Determinant", _wrap_csMatrix3_Determinant, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_Identity", _wrap_csMatrix3_Identity, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_IsIdentity", _wrap_csMatrix3_IsIdentity, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___add__", _wrap_csMatrix3___add__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___sub__", _wrap_csMatrix3___sub__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___div__", _wrap_csMatrix3___div__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___eq__", _wrap_csMatrix3___eq__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___ne__", _wrap_csMatrix3___ne__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___lt__", _wrap_csMatrix3___lt__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___mul__", _wrap_csMatrix3___mul__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___imul__", _wrap_csMatrix3___imul__, METH_VARARGS, NULL},
	 { (char *)"csMatrix3___rmul__", _wrap_csMatrix3___rmul__, METH_VARARGS, NULL},
	 { (char *)"delete_csMatrix3", _wrap_delete_csMatrix3, METH_VARARGS, NULL},
	 { (char *)"csMatrix3_swigregister", csMatrix3_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csXRotMatrix3", _wrap_new_csXRotMatrix3, METH_VARARGS, NULL},
	 { (char *)"delete_csXRotMatrix3", _wrap_delete_csXRotMatrix3, METH_VARARGS, NULL},
	 { (char *)"csXRotMatrix3_swigregister", csXRotMatrix3_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csYRotMatrix3", _wrap_new_csYRotMatrix3, METH_VARARGS, NULL},
	 { (char *)"delete_csYRotMatrix3", _wrap_delete_csYRotMatrix3, METH_VARARGS, NULL},
	 { (char *)"csYRotMatrix3_swigregister", csYRotMatrix3_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csZRotMatrix3", _wrap_new_csZRotMatrix3, METH_VARARGS, NULL},
	 { (char *)"delete_csZRotMatrix3", _wrap_delete_csZRotMatrix3, METH_VARARGS, NULL},
	 { (char *)"csZRotMatrix3_swigregister", csZRotMatrix3_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csXScaleMatrix3", _wrap_new_csXScaleMatrix3, METH_VARARGS, NULL},
	 { (char *)"delete_csXScaleMatrix3", _wrap_delete_csXScaleMatrix3, METH_VARARGS, NULL},
	 { (char *)"csXScaleMatrix3_swigregister", csXScaleMatrix3_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csYScaleMatrix3", _wrap_new_csYScaleMatrix3, METH_VARARGS, NULL},
	 { (char *)"delete_csYScaleMatrix3", _wrap_delete_csYScaleMatrix3, METH_VARARGS, NULL},
	 { (char *)"csYScaleMatrix3_swigregister", csYScaleMatrix3_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csZScaleMatrix3", _wrap_new_csZScaleMatrix3, METH_VARARGS, NULL},
	 { (char *)"delete_csZScaleMatrix3", _wrap_delete_csZScaleMatrix3, METH_VARARGS, NULL},
	 { (char *)"csZScaleMatrix3_swigregister", csZScaleMatrix3_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_csTransform", _wrap_delete_csTransform, METH_VARARGS, NULL},
	 { (char *)"new_csTransform", _wrap_new_csTransform, METH_VARARGS, NULL},
	 { (char *)"csTransform_Identity", _wrap_csTransform_Identity, METH_VARARGS, NULL},
	 { (char *)"csTransform_IsIdentity", _wrap_csTransform_IsIdentity, METH_VARARGS, NULL},
	 { (char *)"csTransform_GetO2T", _wrap_csTransform_GetO2T, METH_VARARGS, NULL},
	 { (char *)"csTransform_GetO2TTranslation", _wrap_csTransform_GetO2TTranslation, METH_VARARGS, NULL},
	 { (char *)"csTransform_GetOrigin", _wrap_csTransform_GetOrigin, METH_VARARGS, NULL},
	 { (char *)"csTransform_SetO2T", _wrap_csTransform_SetO2T, METH_VARARGS, NULL},
	 { (char *)"csTransform_SetO2TTranslation", _wrap_csTransform_SetO2TTranslation, METH_VARARGS, NULL},
	 { (char *)"csTransform_SetOrigin", _wrap_csTransform_SetOrigin, METH_VARARGS, NULL},
	 { (char *)"csTransform_Translate", _wrap_csTransform_Translate, METH_VARARGS, NULL},
	 { (char *)"csTransform_Other2ThisRelative", _wrap_csTransform_Other2ThisRelative, METH_VARARGS, NULL},
	 { (char *)"csTransform_Other2This", _wrap_csTransform_Other2This, METH_VARARGS, NULL},
	 { (char *)"csTransform_GetReflect", _wrap_csTransform_GetReflect, METH_VARARGS, NULL},
	 { (char *)"csTransform_GetFront", _wrap_csTransform_GetFront, METH_VARARGS, NULL},
	 { (char *)"csTransform_GetUp", _wrap_csTransform_GetUp, METH_VARARGS, NULL},
	 { (char *)"csTransform_GetRight", _wrap_csTransform_GetRight, METH_VARARGS, NULL},
	 { (char *)"csTransform___mul__", _wrap_csTransform___mul__, METH_VARARGS, NULL},
	 { (char *)"csTransform___rmul__", _wrap_csTransform___rmul__, METH_VARARGS, NULL},
	 { (char *)"csTransform_swigregister", csTransform_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csReversibleTransform", _wrap_new_csReversibleTransform, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_GetT2O", _wrap_csReversibleTransform_GetT2O, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_GetT2OTranslation", _wrap_csReversibleTransform_GetT2OTranslation, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_GetInverse", _wrap_csReversibleTransform_GetInverse, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_SetO2T", _wrap_csReversibleTransform_SetO2T, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_SetT2O", _wrap_csReversibleTransform_SetT2O, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_This2OtherRelative", _wrap_csReversibleTransform_This2OtherRelative, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_This2Other", _wrap_csReversibleTransform_This2Other, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_RotateOther", _wrap_csReversibleTransform_RotateOther, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_RotateThis", _wrap_csReversibleTransform_RotateThis, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_LookAt", _wrap_csReversibleTransform_LookAt, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform___imul__", _wrap_csReversibleTransform___imul__, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform___mul__", _wrap_csReversibleTransform___mul__, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform___idiv__", _wrap_csReversibleTransform___idiv__, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform___div__", _wrap_csReversibleTransform___div__, METH_VARARGS, NULL},
	 { (char *)"delete_csReversibleTransform", _wrap_delete_csReversibleTransform, METH_VARARGS, NULL},
	 { (char *)"csReversibleTransform_swigregister", csReversibleTransform_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csOrthoTransform", _wrap_new_csOrthoTransform, METH_VARARGS, NULL},
	 { (char *)"csOrthoTransform_SetO2T", _wrap_csOrthoTransform_SetO2T, METH_VARARGS, NULL},
	 { (char *)"csOrthoTransform_SetT2O", _wrap_csOrthoTransform_SetT2O, METH_VARARGS, NULL},
	 { (char *)"delete_csOrthoTransform", _wrap_delete_csOrthoTransform, METH_VARARGS, NULL},
	 { (char *)"csOrthoTransform_swigregister", csOrthoTransform_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csSphere", _wrap_new_csSphere, METH_VARARGS, NULL},
	 { (char *)"csSphere_GetCenter", _wrap_csSphere_GetCenter, METH_VARARGS, NULL},
	 { (char *)"csSphere_SetCenter", _wrap_csSphere_SetCenter, METH_VARARGS, NULL},
	 { (char *)"csSphere_GetRadius", _wrap_csSphere_GetRadius, METH_VARARGS, NULL},
	 { (char *)"csSphere_SetRadius", _wrap_csSphere_SetRadius, METH_VARARGS, NULL},
	 { (char *)"csSphere_Union", _wrap_csSphere_Union, METH_VARARGS, NULL},
	 { (char *)"csSphere___iadd__", _wrap_csSphere___iadd__, METH_VARARGS, NULL},
	 { (char *)"csSphere___imul__", _wrap_csSphere___imul__, METH_VARARGS, NULL},
	 { (char *)"csSphere___div__", _wrap_csSphere___div__, METH_VARARGS, NULL},
	 { (char *)"delete_csSphere", _wrap_delete_csSphere, METH_VARARGS, NULL},
	 { (char *)"csSphere_swigregister", csSphere_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csEllipsoid", _wrap_new_csEllipsoid, METH_VARARGS, NULL},
	 { (char *)"csEllipsoid_GetCenter", _wrap_csEllipsoid_GetCenter, METH_VARARGS, NULL},
	 { (char *)"csEllipsoid_SetCenter", _wrap_csEllipsoid_SetCenter, METH_VARARGS, NULL},
	 { (char *)"csEllipsoid_GetRadius", _wrap_csEllipsoid_GetRadius, METH_VARARGS, NULL},
	 { (char *)"csEllipsoid_SetRadius", _wrap_csEllipsoid_SetRadius, METH_VARARGS, NULL},
	 { (char *)"delete_csEllipsoid", _wrap_delete_csEllipsoid, METH_VARARGS, NULL},
	 { (char *)"csEllipsoid_swigregister", csEllipsoid_swigregister, METH_VARARGS, NULL},
	 { (char *)"csPlane2_norm_set", _wrap_csPlane2_norm_set, METH_VARARGS, NULL},
	 { (char *)"csPlane2_norm_get", _wrap_csPlane2_norm_get, METH_VARARGS, NULL},
	 { (char *)"csPlane2_CC_set", _wrap_csPlane2_CC_set, METH_VARARGS, NULL},
	 { (char *)"csPlane2_CC_get", _wrap_csPlane2_CC_get, METH_VARARGS, NULL},
	 { (char *)"new_csPlane2", _wrap_new_csPlane2, METH_VARARGS, NULL},
	 { (char *)"csPlane2_Normal", _wrap_csPlane2_Normal, METH_VARARGS, NULL},
	 { (char *)"csPlane2_GetNormal", _wrap_csPlane2_GetNormal, METH_VARARGS, NULL},
	 { (char *)"csPlane2_A", _wrap_csPlane2_A, METH_VARARGS, NULL},
	 { (char *)"csPlane2_B", _wrap_csPlane2_B, METH_VARARGS, NULL},
	 { (char *)"csPlane2_C", _wrap_csPlane2_C, METH_VARARGS, NULL},
	 { (char *)"csPlane2_Set", _wrap_csPlane2_Set, METH_VARARGS, NULL},
	 { (char *)"csPlane2_Classify", _wrap_csPlane2_Classify, METH_VARARGS, NULL},
	 { (char *)"csPlane2_Distance", _wrap_csPlane2_Distance, METH_VARARGS, NULL},
	 { (char *)"csPlane2_SquaredDistance", _wrap_csPlane2_SquaredDistance, METH_VARARGS, NULL},
	 { (char *)"csPlane2_Invert", _wrap_csPlane2_Invert, METH_VARARGS, NULL},
	 { (char *)"csPlane2_Normalize", _wrap_csPlane2_Normalize, METH_VARARGS, NULL},
	 { (char *)"delete_csPlane2", _wrap_delete_csPlane2, METH_VARARGS, NULL},
	 { (char *)"csPlane2_swigregister", csPlane2_swigregister, METH_VARARGS, NULL},
	 { (char *)"csPlane3_norm_set", _wrap_csPlane3_norm_set, METH_VARARGS, NULL},
	 { (char *)"csPlane3_norm_get", _wrap_csPlane3_norm_get, METH_VARARGS, NULL},
	 { (char *)"csPlane3_DD_set", _wrap_csPlane3_DD_set, METH_VARARGS, NULL},
	 { (char *)"csPlane3_DD_get", _wrap_csPlane3_DD_get, METH_VARARGS, NULL},
	 { (char *)"new_csPlane3", _wrap_new_csPlane3, METH_VARARGS, NULL},
	 { (char *)"csPlane3_Normal", _wrap_csPlane3_Normal, METH_VARARGS, NULL},
	 { (char *)"csPlane3_A", _wrap_csPlane3_A, METH_VARARGS, NULL},
	 { (char *)"csPlane3_B", _wrap_csPlane3_B, METH_VARARGS, NULL},
	 { (char *)"csPlane3_C", _wrap_csPlane3_C, METH_VARARGS, NULL},
	 { (char *)"csPlane3_D", _wrap_csPlane3_D, METH_VARARGS, NULL},
	 { (char *)"csPlane3_GetNormal", _wrap_csPlane3_GetNormal, METH_VARARGS, NULL},
	 { (char *)"csPlane3_Set", _wrap_csPlane3_Set, METH_VARARGS, NULL},
	 { (char *)"csPlane3_SetOrigin", _wrap_csPlane3_SetOrigin, METH_VARARGS, NULL},
	 { (char *)"csPlane3_Classify", _wrap_csPlane3_Classify, METH_VARARGS, NULL},
	 { (char *)"csPlane3_Distance", _wrap_csPlane3_Distance, METH_VARARGS, NULL},
	 { (char *)"csPlane3_Invert", _wrap_csPlane3_Invert, METH_VARARGS, NULL},
	 { (char *)"csPlane3_Normalize", _wrap_csPlane3_Normalize, METH_VARARGS, NULL},
	 { (char *)"csPlane3_FindPoint", _wrap_csPlane3_FindPoint, METH_VARARGS, NULL},
	 { (char *)"csPlane3_ClipPolygon", _wrap_csPlane3_ClipPolygon, METH_VARARGS, NULL},
	 { (char *)"csPlane3_Description", _wrap_csPlane3_Description, METH_VARARGS, NULL},
	 { (char *)"csPlane3___imul__", _wrap_csPlane3___imul__, METH_VARARGS, NULL},
	 { (char *)"csPlane3___idiv__", _wrap_csPlane3___idiv__, METH_VARARGS, NULL},
	 { (char *)"csPlane3___div__", _wrap_csPlane3___div__, METH_VARARGS, NULL},
	 { (char *)"delete_csPlane3", _wrap_delete_csPlane3, METH_VARARGS, NULL},
	 { (char *)"csPlane3_swigregister", csPlane3_swigregister, METH_VARARGS, NULL},
	 { (char *)"csMath2_WhichSide2D", _wrap_csMath2_WhichSide2D, METH_VARARGS, NULL},
	 { (char *)"csMath2_InPoly2D", _wrap_csMath2_InPoly2D, METH_VARARGS, NULL},
	 { (char *)"csMath2_Area2", _wrap_csMath2_Area2, METH_VARARGS, NULL},
	 { (char *)"csMath2_Right", _wrap_csMath2_Right, METH_VARARGS, NULL},
	 { (char *)"csMath2_Left", _wrap_csMath2_Left, METH_VARARGS, NULL},
	 { (char *)"csMath2_Visible", _wrap_csMath2_Visible, METH_VARARGS, NULL},
	 { (char *)"csMath2_PlanesEqual", _wrap_csMath2_PlanesEqual, METH_VARARGS, NULL},
	 { (char *)"csMath2_PlanesClose", _wrap_csMath2_PlanesClose, METH_VARARGS, NULL},
	 { (char *)"new_csMath2", _wrap_new_csMath2, METH_VARARGS, NULL},
	 { (char *)"delete_csMath2", _wrap_delete_csMath2, METH_VARARGS, NULL},
	 { (char *)"csMath2_swigregister", csMath2_swigregister, METH_VARARGS, NULL},
	 { (char *)"csIntersect2_PlanePolygon", _wrap_csIntersect2_PlanePolygon, METH_VARARGS, NULL},
	 { (char *)"csIntersect2_SegmentSegment", _wrap_csIntersect2_SegmentSegment, METH_VARARGS, NULL},
	 { (char *)"csIntersect2_SegmentLine", _wrap_csIntersect2_SegmentLine, METH_VARARGS, NULL},
	 { (char *)"csIntersect2_LineLine", _wrap_csIntersect2_LineLine, METH_VARARGS, NULL},
	 { (char *)"csIntersect2_SegmentPlane", _wrap_csIntersect2_SegmentPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect2_SegmentPlaneNoTest", _wrap_csIntersect2_SegmentPlaneNoTest, METH_VARARGS, NULL},
	 { (char *)"csIntersect2_PlanePlane", _wrap_csIntersect2_PlanePlane, METH_VARARGS, NULL},
	 { (char *)"new_csIntersect2", _wrap_new_csIntersect2, METH_VARARGS, NULL},
	 { (char *)"delete_csIntersect2", _wrap_delete_csIntersect2, METH_VARARGS, NULL},
	 { (char *)"csIntersect2_swigregister", csIntersect2_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csPoly2D", _wrap_new_csPoly2D, METH_VARARGS, NULL},
	 { (char *)"delete_csPoly2D", _wrap_delete_csPoly2D, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_assign", _wrap_csPoly2D_assign, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_MakeEmpty", _wrap_csPoly2D_MakeEmpty, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_GetVertexCount", _wrap_csPoly2D_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_GetVertices", _wrap_csPoly2D_GetVertices, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_GetVertex", _wrap_csPoly2D_GetVertex, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_GetFirst", _wrap_csPoly2D_GetFirst, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_GetLast", _wrap_csPoly2D_GetLast, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_In", _wrap_csPoly2D_In, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_MakeRoom", _wrap_csPoly2D_MakeRoom, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_SetVertexCount", _wrap_csPoly2D_SetVertexCount, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_AddVertex", _wrap_csPoly2D_AddVertex, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_SetVertices", _wrap_csPoly2D_SetVertices, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_ClipAgainst", _wrap_csPoly2D_ClipAgainst, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_Intersect", _wrap_csPoly2D_Intersect, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_ClipPlane", _wrap_csPoly2D_ClipPlane, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_ExtendConvex", _wrap_csPoly2D_ExtendConvex, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_GetSignedArea", _wrap_csPoly2D_GetSignedArea, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_Random", _wrap_csPoly2D_Random, METH_VARARGS, NULL},
	 { (char *)"csPoly2D___getitem__", _wrap_csPoly2D___getitem__, METH_VARARGS, NULL},
	 { (char *)"csPoly2D_swigregister", csPoly2D_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_csPoly2DFactory", _wrap_delete_csPoly2DFactory, METH_VARARGS, NULL},
	 { (char *)"csPoly2DFactory_Create", _wrap_csPoly2DFactory_Create, METH_VARARGS, NULL},
	 { (char *)"new_csPoly2DFactory", _wrap_new_csPoly2DFactory, METH_VARARGS, NULL},
	 { (char *)"csPoly2DFactory_swigregister", csPoly2DFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"csMath3_WhichSide3D", _wrap_csMath3_WhichSide3D, METH_VARARGS, NULL},
	 { (char *)"csMath3_Visible", _wrap_csMath3_Visible, METH_VARARGS, NULL},
	 { (char *)"csMath3_Between", _wrap_csMath3_Between, METH_VARARGS, NULL},
	 { (char *)"csMath3_SetMinMax", _wrap_csMath3_SetMinMax, METH_VARARGS, NULL},
	 { (char *)"csMath3_DoubleArea3", _wrap_csMath3_DoubleArea3, METH_VARARGS, NULL},
	 { (char *)"csMath3_Direction3", _wrap_csMath3_Direction3, METH_VARARGS, NULL},
	 { (char *)"csMath3_CalcNormal", _wrap_csMath3_CalcNormal, METH_VARARGS, NULL},
	 { (char *)"csMath3_CalcPlane", _wrap_csMath3_CalcPlane, METH_VARARGS, NULL},
	 { (char *)"csMath3_PlanesEqual", _wrap_csMath3_PlanesEqual, METH_VARARGS, NULL},
	 { (char *)"csMath3_PlanesClose", _wrap_csMath3_PlanesClose, METH_VARARGS, NULL},
	 { (char *)"csMath3_OuterPlanes", _wrap_csMath3_OuterPlanes, METH_VARARGS, NULL},
	 { (char *)"csMath3_FindObserverSides", _wrap_csMath3_FindObserverSides, METH_VARARGS, NULL},
	 { (char *)"csMath3_SpherePosition", _wrap_csMath3_SpherePosition, METH_VARARGS, NULL},
	 { (char *)"new_csMath3", _wrap_new_csMath3, METH_VARARGS, NULL},
	 { (char *)"delete_csMath3", _wrap_delete_csMath3, METH_VARARGS, NULL},
	 { (char *)"csMath3_swigregister", csMath3_swigregister, METH_VARARGS, NULL},
	 { (char *)"csSquaredDist_PointPoint", _wrap_csSquaredDist_PointPoint, METH_VARARGS, NULL},
	 { (char *)"csSquaredDist_PointLine", _wrap_csSquaredDist_PointLine, METH_VARARGS, NULL},
	 { (char *)"csSquaredDist_PointPlane", _wrap_csSquaredDist_PointPlane, METH_VARARGS, NULL},
	 { (char *)"csSquaredDist_PointPoly", _wrap_csSquaredDist_PointPoly, METH_VARARGS, NULL},
	 { (char *)"new_csSquaredDist", _wrap_new_csSquaredDist, METH_VARARGS, NULL},
	 { (char *)"delete_csSquaredDist", _wrap_delete_csSquaredDist, METH_VARARGS, NULL},
	 { (char *)"csSquaredDist_swigregister", csSquaredDist_swigregister, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_PlanePolygon", _wrap_csIntersect3_PlanePolygon, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentFrustum", _wrap_csIntersect3_SegmentFrustum, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentTriangle", _wrap_csIntersect3_SegmentTriangle, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentPolygon", _wrap_csIntersect3_SegmentPolygon, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentPlanes", _wrap_csIntersect3_SegmentPlanes, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentPlane", _wrap_csIntersect3_SegmentPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_ThreePlanes", _wrap_csIntersect3_ThreePlanes, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_PlaneXPlane", _wrap_csIntersect3_PlaneXPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_PlaneYPlane", _wrap_csIntersect3_PlaneYPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_PlaneZPlane", _wrap_csIntersect3_PlaneZPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_PlaneAxisPlane", _wrap_csIntersect3_PlaneAxisPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentZ0Plane", _wrap_csIntersect3_SegmentZ0Plane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentXPlane", _wrap_csIntersect3_SegmentXPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentYPlane", _wrap_csIntersect3_SegmentYPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentZPlane", _wrap_csIntersect3_SegmentZPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentAxisPlane", _wrap_csIntersect3_SegmentAxisPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentXFrustum", _wrap_csIntersect3_SegmentXFrustum, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_SegmentYFrustum", _wrap_csIntersect3_SegmentYFrustum, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_BoxSegment", _wrap_csIntersect3_BoxSegment, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_BoxFrustum", _wrap_csIntersect3_BoxFrustum, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_BoxSphere", _wrap_csIntersect3_BoxSphere, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_BoxPlane", _wrap_csIntersect3_BoxPlane, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_BoxTriangle", _wrap_csIntersect3_BoxTriangle, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_BoxBox", _wrap_csIntersect3_BoxBox, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_FrustumFrustum", _wrap_csIntersect3_FrustumFrustum, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_TriangleTriangle", _wrap_csIntersect3_TriangleTriangle, METH_VARARGS, NULL},
	 { (char *)"new_csIntersect3", _wrap_new_csIntersect3, METH_VARARGS, NULL},
	 { (char *)"delete_csIntersect3", _wrap_delete_csIntersect3, METH_VARARGS, NULL},
	 { (char *)"csIntersect3_swigregister", csIntersect3_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csGeomDebugHelper", _wrap_new_csGeomDebugHelper, METH_VARARGS, NULL},
	 { (char *)"delete_csGeomDebugHelper", _wrap_delete_csGeomDebugHelper, METH_VARARGS, NULL},
	 { (char *)"csGeomDebugHelper_GetSupportedTests", _wrap_csGeomDebugHelper_GetSupportedTests, METH_VARARGS, NULL},
	 { (char *)"csGeomDebugHelper_UnitTest", _wrap_csGeomDebugHelper_UnitTest, METH_VARARGS, NULL},
	 { (char *)"csGeomDebugHelper_StateTest", _wrap_csGeomDebugHelper_StateTest, METH_VARARGS, NULL},
	 { (char *)"csGeomDebugHelper_Benchmark", _wrap_csGeomDebugHelper_Benchmark, METH_VARARGS, NULL},
	 { (char *)"csGeomDebugHelper_Dump", _wrap_csGeomDebugHelper_Dump, METH_VARARGS, NULL},
	 { (char *)"csGeomDebugHelper_DebugCommand", _wrap_csGeomDebugHelper_DebugCommand, METH_VARARGS, NULL},
	 { (char *)"csGeomDebugHelper_swigregister", csGeomDebugHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csPoly3D", _wrap_new_csPoly3D, METH_VARARGS, NULL},
	 { (char *)"delete_csPoly3D", _wrap_delete_csPoly3D, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_MakeEmpty", _wrap_csPoly3D_MakeEmpty, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_GetVertexCount", _wrap_csPoly3D_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_GetVertices", _wrap_csPoly3D_GetVertices, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_GetVertex", _wrap_csPoly3D_GetVertex, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_GetFirst", _wrap_csPoly3D_GetFirst, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_GetLast", _wrap_csPoly3D_GetLast, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_In", _wrap_csPoly3D_In, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_MakeRoom", _wrap_csPoly3D_MakeRoom, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_SetVertexCount", _wrap_csPoly3D_SetVertexCount, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_AddVertex", _wrap_csPoly3D_AddVertex, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_SetVertices", _wrap_csPoly3D_SetVertices, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ProjectXPlane", _wrap_csPoly3D_ProjectXPlane, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ProjectYPlane", _wrap_csPoly3D_ProjectYPlane, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ProjectZPlane", _wrap_csPoly3D_ProjectZPlane, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ProjectAxisPlane", _wrap_csPoly3D_ProjectAxisPlane, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_Classify", _wrap_csPoly3D_Classify, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ClassifyX", _wrap_csPoly3D_ClassifyX, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ClassifyY", _wrap_csPoly3D_ClassifyY, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ClassifyZ", _wrap_csPoly3D_ClassifyZ, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ClassifyAxis", _wrap_csPoly3D_ClassifyAxis, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_IsAxisAligned", _wrap_csPoly3D_IsAxisAligned, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ComputeMainNormalAxis", _wrap_csPoly3D_ComputeMainNormalAxis, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_CutToPlane", _wrap_csPoly3D_CutToPlane, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_SplitWithPlane", _wrap_csPoly3D_SplitWithPlane, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_SplitWithPlaneX", _wrap_csPoly3D_SplitWithPlaneX, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_SplitWithPlaneY", _wrap_csPoly3D_SplitWithPlaneY, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_SplitWithPlaneZ", _wrap_csPoly3D_SplitWithPlaneZ, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ComputeNormal", _wrap_csPoly3D_ComputeNormal, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_ComputePlane", _wrap_csPoly3D_ComputePlane, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_GetArea", _wrap_csPoly3D_GetArea, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_GetCenter", _wrap_csPoly3D_GetCenter, METH_VARARGS, NULL},
	 { (char *)"csPoly3D___getitem__", _wrap_csPoly3D___getitem__, METH_VARARGS, NULL},
	 { (char *)"csPoly3D_swigregister", csPoly3D_swigregister, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_orig_idx_set", _wrap_csCompressVertex_orig_idx_set, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_orig_idx_get", _wrap_csCompressVertex_orig_idx_get, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_x_set", _wrap_csCompressVertex_x_set, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_x_get", _wrap_csCompressVertex_x_get, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_y_set", _wrap_csCompressVertex_y_set, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_y_get", _wrap_csCompressVertex_y_get, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_z_set", _wrap_csCompressVertex_z_set, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_z_get", _wrap_csCompressVertex_z_get, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_new_idx_set", _wrap_csCompressVertex_new_idx_set, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_new_idx_get", _wrap_csCompressVertex_new_idx_get, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_used_set", _wrap_csCompressVertex_used_set, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_used_get", _wrap_csCompressVertex_used_get, METH_VARARGS, NULL},
	 { (char *)"new_csCompressVertex", _wrap_new_csCompressVertex, METH_VARARGS, NULL},
	 { (char *)"delete_csCompressVertex", _wrap_delete_csCompressVertex, METH_VARARGS, NULL},
	 { (char *)"csCompressVertex_swigregister", csCompressVertex_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csVector3Array", _wrap_new_csVector3Array, METH_VARARGS, NULL},
	 { (char *)"csVector3Array_AddVertexSmart", _wrap_csVector3Array_AddVertexSmart, METH_VARARGS, NULL},
	 { (char *)"csVector3Array_CompressVertices", _wrap_csVector3Array_CompressVertices, METH_VARARGS, NULL},
	 { (char *)"delete_csVector3Array", _wrap_delete_csVector3Array, METH_VARARGS, NULL},
	 { (char *)"csVector3Array_swigregister", csVector3Array_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csTriangle", _wrap_new_csTriangle, METH_VARARGS, NULL},
	 { (char *)"delete_csTriangle", _wrap_delete_csTriangle, METH_VARARGS, NULL},
	 { (char *)"csTriangle_swigregister", csTriangle_swigregister, METH_VARARGS, NULL},
	 { (char *)"csRect_xmin_set", _wrap_csRect_xmin_set, METH_VARARGS, NULL},
	 { (char *)"csRect_xmin_get", _wrap_csRect_xmin_get, METH_VARARGS, NULL},
	 { (char *)"csRect_ymin_set", _wrap_csRect_ymin_set, METH_VARARGS, NULL},
	 { (char *)"csRect_ymin_get", _wrap_csRect_ymin_get, METH_VARARGS, NULL},
	 { (char *)"csRect_xmax_set", _wrap_csRect_xmax_set, METH_VARARGS, NULL},
	 { (char *)"csRect_xmax_get", _wrap_csRect_xmax_get, METH_VARARGS, NULL},
	 { (char *)"csRect_ymax_set", _wrap_csRect_ymax_set, METH_VARARGS, NULL},
	 { (char *)"csRect_ymax_get", _wrap_csRect_ymax_get, METH_VARARGS, NULL},
	 { (char *)"new_csRect", _wrap_new_csRect, METH_VARARGS, NULL},
	 { (char *)"delete_csRect", _wrap_delete_csRect, METH_VARARGS, NULL},
	 { (char *)"csRect_Intersect", _wrap_csRect_Intersect, METH_VARARGS, NULL},
	 { (char *)"csRect_Intersects", _wrap_csRect_Intersects, METH_VARARGS, NULL},
	 { (char *)"csRect_Union", _wrap_csRect_Union, METH_VARARGS, NULL},
	 { (char *)"csRect_Exclude", _wrap_csRect_Exclude, METH_VARARGS, NULL},
	 { (char *)"csRect_Subtract", _wrap_csRect_Subtract, METH_VARARGS, NULL},
	 { (char *)"csRect_IsEmpty", _wrap_csRect_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"csRect_MakeEmpty", _wrap_csRect_MakeEmpty, METH_VARARGS, NULL},
	 { (char *)"csRect_Set", _wrap_csRect_Set, METH_VARARGS, NULL},
	 { (char *)"csRect_SetPos", _wrap_csRect_SetPos, METH_VARARGS, NULL},
	 { (char *)"csRect_SetSize", _wrap_csRect_SetSize, METH_VARARGS, NULL},
	 { (char *)"csRect_Move", _wrap_csRect_Move, METH_VARARGS, NULL},
	 { (char *)"csRect_Width", _wrap_csRect_Width, METH_VARARGS, NULL},
	 { (char *)"csRect_Height", _wrap_csRect_Height, METH_VARARGS, NULL},
	 { (char *)"csRect_Contains", _wrap_csRect_Contains, METH_VARARGS, NULL},
	 { (char *)"csRect_ContainsRel", _wrap_csRect_ContainsRel, METH_VARARGS, NULL},
	 { (char *)"csRect_Equal", _wrap_csRect_Equal, METH_VARARGS, NULL},
	 { (char *)"csRect_Normalize", _wrap_csRect_Normalize, METH_VARARGS, NULL},
	 { (char *)"csRect_Area", _wrap_csRect_Area, METH_VARARGS, NULL},
	 { (char *)"csRect_AddAdjacent", _wrap_csRect_AddAdjacent, METH_VARARGS, NULL},
	 { (char *)"csRect___eq__", _wrap_csRect___eq__, METH_VARARGS, NULL},
	 { (char *)"csRect___ne__", _wrap_csRect___ne__, METH_VARARGS, NULL},
	 { (char *)"csRect_Extend", _wrap_csRect_Extend, METH_VARARGS, NULL},
	 { (char *)"csRect_Join", _wrap_csRect_Join, METH_VARARGS, NULL},
	 { (char *)"csRect_Outset", _wrap_csRect_Outset, METH_VARARGS, NULL},
	 { (char *)"csRect_Inset", _wrap_csRect_Inset, METH_VARARGS, NULL},
	 { (char *)"csRect_ClipLineGeneral", _wrap_csRect_ClipLineGeneral, METH_VARARGS, NULL},
	 { (char *)"csRect_ClipLine", _wrap_csRect_ClipLine, METH_VARARGS, NULL},
	 { (char *)"csRect_ClipLineSafe", _wrap_csRect_ClipLineSafe, METH_VARARGS, NULL},
	 { (char *)"csRect_swigregister", csRect_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csRectRegion", _wrap_new_csRectRegion, METH_VARARGS, NULL},
	 { (char *)"delete_csRectRegion", _wrap_delete_csRectRegion, METH_VARARGS, NULL},
	 { (char *)"csRectRegion_Include", _wrap_csRectRegion_Include, METH_VARARGS, NULL},
	 { (char *)"csRectRegion_Exclude", _wrap_csRectRegion_Exclude, METH_VARARGS, NULL},
	 { (char *)"csRectRegion_ClipTo", _wrap_csRectRegion_ClipTo, METH_VARARGS, NULL},
	 { (char *)"csRectRegion_Count", _wrap_csRectRegion_Count, METH_VARARGS, NULL},
	 { (char *)"csRectRegion_RectAt", _wrap_csRectRegion_RectAt, METH_VARARGS, NULL},
	 { (char *)"csRectRegion_MakeEmpty", _wrap_csRectRegion_MakeEmpty, METH_VARARGS, NULL},
	 { (char *)"csRectRegion_swigregister", csRectRegion_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csQuaternion", _wrap_new_csQuaternion, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_SetIdentity", _wrap_csQuaternion_SetIdentity, METH_VARARGS, NULL},
	 { (char *)"csQuaternion___iadd__", _wrap_csQuaternion___iadd__, METH_VARARGS, NULL},
	 { (char *)"csQuaternion___isub__", _wrap_csQuaternion___isub__, METH_VARARGS, NULL},
	 { (char *)"csQuaternion___imul__", _wrap_csQuaternion___imul__, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_GetConjugate", _wrap_csQuaternion_GetConjugate, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_Conjugate", _wrap_csQuaternion_Conjugate, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_Dot", _wrap_csQuaternion_Dot, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_SquaredNorm", _wrap_csQuaternion_SquaredNorm, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_Norm", _wrap_csQuaternion_Norm, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_Unit", _wrap_csQuaternion_Unit, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_Rotate", _wrap_csQuaternion_Rotate, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_SetAxisAngle", _wrap_csQuaternion_SetAxisAngle, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_GetAxisAngle", _wrap_csQuaternion_GetAxisAngle, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_SetEulerAngles", _wrap_csQuaternion_SetEulerAngles, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_GetEulerAngles", _wrap_csQuaternion_GetEulerAngles, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_SetMatrix", _wrap_csQuaternion_SetMatrix, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_GetMatrix", _wrap_csQuaternion_GetMatrix, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_NLerp", _wrap_csQuaternion_NLerp, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_SLerp", _wrap_csQuaternion_SLerp, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_Log", _wrap_csQuaternion_Log, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_Exp", _wrap_csQuaternion_Exp, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_Squad", _wrap_csQuaternion_Squad, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_v_set", _wrap_csQuaternion_v_set, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_v_get", _wrap_csQuaternion_v_get, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_w_set", _wrap_csQuaternion_w_set, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_w_get", _wrap_csQuaternion_w_get, METH_VARARGS, NULL},
	 { (char *)"csQuaternion___add__", _wrap_csQuaternion___add__, METH_VARARGS, NULL},
	 { (char *)"csQuaternion___sub__", _wrap_csQuaternion___sub__, METH_VARARGS, NULL},
	 { (char *)"csQuaternion___mul__", _wrap_csQuaternion___mul__, METH_VARARGS, NULL},
	 { (char *)"delete_csQuaternion", _wrap_delete_csQuaternion, METH_VARARGS, NULL},
	 { (char *)"csQuaternion_swigregister", csQuaternion_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_csSpline", _wrap_delete_csSpline, METH_VARARGS, NULL},
	 { (char *)"csSpline_GetDimensionCount", _wrap_csSpline_GetDimensionCount, METH_VARARGS, NULL},
	 { (char *)"csSpline_GetPointCount", _wrap_csSpline_GetPointCount, METH_VARARGS, NULL},
	 { (char *)"csSpline_InsertPoint", _wrap_csSpline_InsertPoint, METH_VARARGS, NULL},
	 { (char *)"csSpline_RemovePoint", _wrap_csSpline_RemovePoint, METH_VARARGS, NULL},
	 { (char *)"csSpline_SetTimeValues", _wrap_csSpline_SetTimeValues, METH_VARARGS, NULL},
	 { (char *)"csSpline_SetTimeValue", _wrap_csSpline_SetTimeValue, METH_VARARGS, NULL},
	 { (char *)"csSpline_GetTimeValues", _wrap_csSpline_GetTimeValues, METH_VARARGS, NULL},
	 { (char *)"csSpline_GetTimeValue", _wrap_csSpline_GetTimeValue, METH_VARARGS, NULL},
	 { (char *)"csSpline_SetDimensionValues", _wrap_csSpline_SetDimensionValues, METH_VARARGS, NULL},
	 { (char *)"csSpline_SetDimensionValue", _wrap_csSpline_SetDimensionValue, METH_VARARGS, NULL},
	 { (char *)"csSpline_GetDimensionValues", _wrap_csSpline_GetDimensionValues, METH_VARARGS, NULL},
	 { (char *)"csSpline_GetDimensionValue", _wrap_csSpline_GetDimensionValue, METH_VARARGS, NULL},
	 { (char *)"csSpline_SetIndexValues", _wrap_csSpline_SetIndexValues, METH_VARARGS, NULL},
	 { (char *)"csSpline_GetIndexValues", _wrap_csSpline_GetIndexValues, METH_VARARGS, NULL},
	 { (char *)"csSpline_Calculate", _wrap_csSpline_Calculate, METH_VARARGS, NULL},
	 { (char *)"csSpline_GetCurrentIndex", _wrap_csSpline_GetCurrentIndex, METH_VARARGS, NULL},
	 { (char *)"csSpline_GetInterpolatedDimension", _wrap_csSpline_GetInterpolatedDimension, METH_VARARGS, NULL},
	 { (char *)"csSpline_swigregister", csSpline_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csCubicSpline", _wrap_new_csCubicSpline, METH_VARARGS, NULL},
	 { (char *)"delete_csCubicSpline", _wrap_delete_csCubicSpline, METH_VARARGS, NULL},
	 { (char *)"csCubicSpline_Calculate", _wrap_csCubicSpline_Calculate, METH_VARARGS, NULL},
	 { (char *)"csCubicSpline_GetInterpolatedDimension", _wrap_csCubicSpline_GetInterpolatedDimension, METH_VARARGS, NULL},
	 { (char *)"csCubicSpline_swigregister", csCubicSpline_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csBSpline", _wrap_new_csBSpline, METH_VARARGS, NULL},
	 { (char *)"delete_csBSpline", _wrap_delete_csBSpline, METH_VARARGS, NULL},
	 { (char *)"csBSpline_Calculate", _wrap_csBSpline_Calculate, METH_VARARGS, NULL},
	 { (char *)"csBSpline_GetInterpolatedDimension", _wrap_csBSpline_GetInterpolatedDimension, METH_VARARGS, NULL},
	 { (char *)"csBSpline_swigregister", csBSpline_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csCatmullRomSpline", _wrap_new_csCatmullRomSpline, METH_VARARGS, NULL},
	 { (char *)"delete_csCatmullRomSpline", _wrap_delete_csCatmullRomSpline, METH_VARARGS, NULL},
	 { (char *)"csCatmullRomSpline_Clone", _wrap_csCatmullRomSpline_Clone, METH_VARARGS, NULL},
	 { (char *)"csCatmullRomSpline_swigregister", csCatmullRomSpline_swigregister, METH_VARARGS, NULL},
	 { (char *)"csBox2_MinX", _wrap_csBox2_MinX, METH_VARARGS, NULL},
	 { (char *)"csBox2_MinY", _wrap_csBox2_MinY, METH_VARARGS, NULL},
	 { (char *)"csBox2_MaxX", _wrap_csBox2_MaxX, METH_VARARGS, NULL},
	 { (char *)"csBox2_MaxY", _wrap_csBox2_MaxY, METH_VARARGS, NULL},
	 { (char *)"csBox2_Min", _wrap_csBox2_Min, METH_VARARGS, NULL},
	 { (char *)"csBox2_Max", _wrap_csBox2_Max, METH_VARARGS, NULL},
	 { (char *)"csBox2_Area", _wrap_csBox2_Area, METH_VARARGS, NULL},
	 { (char *)"csBox2_GetCorner", _wrap_csBox2_GetCorner, METH_VARARGS, NULL},
	 { (char *)"csBox2_GetCenter", _wrap_csBox2_GetCenter, METH_VARARGS, NULL},
	 { (char *)"csBox2_SetCenter", _wrap_csBox2_SetCenter, METH_VARARGS, NULL},
	 { (char *)"csBox2_SetSize", _wrap_csBox2_SetSize, METH_VARARGS, NULL},
	 { (char *)"csBox2_GetEdgeInfo", _wrap_csBox2_GetEdgeInfo, METH_VARARGS, NULL},
	 { (char *)"csBox2_GetEdge", _wrap_csBox2_GetEdge, METH_VARARGS, NULL},
	 { (char *)"csBox2_Intersect", _wrap_csBox2_Intersect, METH_VARARGS, NULL},
	 { (char *)"csBox2_In", _wrap_csBox2_In, METH_VARARGS, NULL},
	 { (char *)"csBox2_Overlap", _wrap_csBox2_Overlap, METH_VARARGS, NULL},
	 { (char *)"csBox2_Contains", _wrap_csBox2_Contains, METH_VARARGS, NULL},
	 { (char *)"csBox2_Empty", _wrap_csBox2_Empty, METH_VARARGS, NULL},
	 { (char *)"csBox2_SquaredOriginDist", _wrap_csBox2_SquaredOriginDist, METH_VARARGS, NULL},
	 { (char *)"csBox2_SquaredOriginMaxDist", _wrap_csBox2_SquaredOriginMaxDist, METH_VARARGS, NULL},
	 { (char *)"csBox2_SquaredPosDist", _wrap_csBox2_SquaredPosDist, METH_VARARGS, NULL},
	 { (char *)"csBox2_SquaredPosMaxDist", _wrap_csBox2_SquaredPosMaxDist, METH_VARARGS, NULL},
	 { (char *)"csBox2_StartBoundingBox", _wrap_csBox2_StartBoundingBox, METH_VARARGS, NULL},
	 { (char *)"csBox2_AddBoundingVertex", _wrap_csBox2_AddBoundingVertex, METH_VARARGS, NULL},
	 { (char *)"csBox2_AddBoundingVertexSmart", _wrap_csBox2_AddBoundingVertexSmart, METH_VARARGS, NULL},
	 { (char *)"csBox2_AddBoundingVertexTest", _wrap_csBox2_AddBoundingVertexTest, METH_VARARGS, NULL},
	 { (char *)"csBox2_AddBoundingVertexSmartTest", _wrap_csBox2_AddBoundingVertexSmartTest, METH_VARARGS, NULL},
	 { (char *)"new_csBox2", _wrap_new_csBox2, METH_VARARGS, NULL},
	 { (char *)"csBox2_Set", _wrap_csBox2_Set, METH_VARARGS, NULL},
	 { (char *)"csBox2_SetMin", _wrap_csBox2_SetMin, METH_VARARGS, NULL},
	 { (char *)"csBox2_SetMax", _wrap_csBox2_SetMax, METH_VARARGS, NULL},
	 { (char *)"csBox2_Description", _wrap_csBox2_Description, METH_VARARGS, NULL},
	 { (char *)"csBox2___iadd__", _wrap_csBox2___iadd__, METH_VARARGS, NULL},
	 { (char *)"csBox2___imul__", _wrap_csBox2___imul__, METH_VARARGS, NULL},
	 { (char *)"csBox2_TestIntersect", _wrap_csBox2_TestIntersect, METH_VARARGS, NULL},
	 { (char *)"csBox2___mul__", _wrap_csBox2___mul__, METH_VARARGS, NULL},
	 { (char *)"csBox2___ne__", _wrap_csBox2___ne__, METH_VARARGS, NULL},
	 { (char *)"csBox2___gt__", _wrap_csBox2___gt__, METH_VARARGS, NULL},
	 { (char *)"csBox2___add__", _wrap_csBox2___add__, METH_VARARGS, NULL},
	 { (char *)"csBox2___lt__", _wrap_csBox2___lt__, METH_VARARGS, NULL},
	 { (char *)"delete_csBox2", _wrap_delete_csBox2, METH_VARARGS, NULL},
	 { (char *)"csBox2_swigregister", csBox2_swigregister, METH_VARARGS, NULL},
	 { (char *)"csBox3_MinX", _wrap_csBox3_MinX, METH_VARARGS, NULL},
	 { (char *)"csBox3_MinY", _wrap_csBox3_MinY, METH_VARARGS, NULL},
	 { (char *)"csBox3_MinZ", _wrap_csBox3_MinZ, METH_VARARGS, NULL},
	 { (char *)"csBox3_MaxX", _wrap_csBox3_MaxX, METH_VARARGS, NULL},
	 { (char *)"csBox3_MaxY", _wrap_csBox3_MaxY, METH_VARARGS, NULL},
	 { (char *)"csBox3_MaxZ", _wrap_csBox3_MaxZ, METH_VARARGS, NULL},
	 { (char *)"csBox3_Min", _wrap_csBox3_Min, METH_VARARGS, NULL},
	 { (char *)"csBox3_Max", _wrap_csBox3_Max, METH_VARARGS, NULL},
	 { (char *)"csBox3_Volume", _wrap_csBox3_Volume, METH_VARARGS, NULL},
	 { (char *)"csBox3_Area", _wrap_csBox3_Area, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetCorner", _wrap_csBox3_GetCorner, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetEdgeInfo", _wrap_csBox3_GetEdgeInfo, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetFaceEdges", _wrap_csBox3_GetFaceEdges, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetCenter", _wrap_csBox3_GetCenter, METH_VARARGS, NULL},
	 { (char *)"csBox3_SetCenter", _wrap_csBox3_SetCenter, METH_VARARGS, NULL},
	 { (char *)"csBox3_SetSize", _wrap_csBox3_SetSize, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetSize", _wrap_csBox3_GetSize, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetSide", _wrap_csBox3_GetSide, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetAxisPlane", _wrap_csBox3_GetAxisPlane, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetVisibleSides", _wrap_csBox3_GetVisibleSides, METH_VARARGS, NULL},
	 { (char *)"csBox3_OtherSide", _wrap_csBox3_OtherSide, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetEdge", _wrap_csBox3_GetEdge, METH_VARARGS, NULL},
	 { (char *)"csBox3_In", _wrap_csBox3_In, METH_VARARGS, NULL},
	 { (char *)"csBox3_Overlap", _wrap_csBox3_Overlap, METH_VARARGS, NULL},
	 { (char *)"csBox3_Contains", _wrap_csBox3_Contains, METH_VARARGS, NULL},
	 { (char *)"csBox3_Empty", _wrap_csBox3_Empty, METH_VARARGS, NULL},
	 { (char *)"csBox3_StartBoundingBox", _wrap_csBox3_StartBoundingBox, METH_VARARGS, NULL},
	 { (char *)"csBox3_AddBoundingVertex", _wrap_csBox3_AddBoundingVertex, METH_VARARGS, NULL},
	 { (char *)"csBox3_AddBoundingVertexSmart", _wrap_csBox3_AddBoundingVertexSmart, METH_VARARGS, NULL},
	 { (char *)"csBox3_AddBoundingVertexTest", _wrap_csBox3_AddBoundingVertexTest, METH_VARARGS, NULL},
	 { (char *)"csBox3_AddBoundingVertexSmartTest", _wrap_csBox3_AddBoundingVertexSmartTest, METH_VARARGS, NULL},
	 { (char *)"csBox3_AddBoundingBox", _wrap_csBox3_AddBoundingBox, METH_VARARGS, NULL},
	 { (char *)"new_csBox3", _wrap_new_csBox3, METH_VARARGS, NULL},
	 { (char *)"csBox3_Set", _wrap_csBox3_Set, METH_VARARGS, NULL},
	 { (char *)"csBox3_SetMin", _wrap_csBox3_SetMin, METH_VARARGS, NULL},
	 { (char *)"csBox3_SetMax", _wrap_csBox3_SetMax, METH_VARARGS, NULL},
	 { (char *)"csBox3_Description", _wrap_csBox3_Description, METH_VARARGS, NULL},
	 { (char *)"csBox3_Split", _wrap_csBox3_Split, METH_VARARGS, NULL},
	 { (char *)"csBox3_TestSplit", _wrap_csBox3_TestSplit, METH_VARARGS, NULL},
	 { (char *)"csBox3_AdjacentX", _wrap_csBox3_AdjacentX, METH_VARARGS, NULL},
	 { (char *)"csBox3_AdjacentY", _wrap_csBox3_AdjacentY, METH_VARARGS, NULL},
	 { (char *)"csBox3_AdjacentZ", _wrap_csBox3_AdjacentZ, METH_VARARGS, NULL},
	 { (char *)"csBox3_Adjacent", _wrap_csBox3_Adjacent, METH_VARARGS, NULL},
	 { (char *)"csBox3_CalculatePointSegment", _wrap_csBox3_CalculatePointSegment, METH_VARARGS, NULL},
	 { (char *)"csBox3_GetConvexOutline", _wrap_csBox3_GetConvexOutline, METH_VARARGS, NULL},
	 { (char *)"csBox3_Between", _wrap_csBox3_Between, METH_VARARGS, NULL},
	 { (char *)"csBox3_ManhattanDistance", _wrap_csBox3_ManhattanDistance, METH_VARARGS, NULL},
	 { (char *)"csBox3_SquaredOriginDist", _wrap_csBox3_SquaredOriginDist, METH_VARARGS, NULL},
	 { (char *)"csBox3_SquaredOriginMaxDist", _wrap_csBox3_SquaredOriginMaxDist, METH_VARARGS, NULL},
	 { (char *)"csBox3_SquaredPosDist", _wrap_csBox3_SquaredPosDist, METH_VARARGS, NULL},
	 { (char *)"csBox3_SquaredPosMaxDist", _wrap_csBox3_SquaredPosMaxDist, METH_VARARGS, NULL},
	 { (char *)"csBox3_ProjectBox", _wrap_csBox3_ProjectBox, METH_VARARGS, NULL},
	 { (char *)"csBox3_ProjectOutline", _wrap_csBox3_ProjectOutline, METH_VARARGS, NULL},
	 { (char *)"csBox3_ProjectBoxAndOutline", _wrap_csBox3_ProjectBoxAndOutline, METH_VARARGS, NULL},
	 { (char *)"csBox3___iadd__", _wrap_csBox3___iadd__, METH_VARARGS, NULL},
	 { (char *)"csBox3___imul__", _wrap_csBox3___imul__, METH_VARARGS, NULL},
	 { (char *)"csBox3_TestIntersect", _wrap_csBox3_TestIntersect, METH_VARARGS, NULL},
	 { (char *)"csBox3___mul__", _wrap_csBox3___mul__, METH_VARARGS, NULL},
	 { (char *)"csBox3___ne__", _wrap_csBox3___ne__, METH_VARARGS, NULL},
	 { (char *)"csBox3___gt__", _wrap_csBox3___gt__, METH_VARARGS, NULL},
	 { (char *)"csBox3___add__", _wrap_csBox3___add__, METH_VARARGS, NULL},
	 { (char *)"csBox3___lt__", _wrap_csBox3___lt__, METH_VARARGS, NULL},
	 { (char *)"delete_csBox3", _wrap_delete_csBox3, METH_VARARGS, NULL},
	 { (char *)"csBox3_swigregister", csBox3_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csSegment2", _wrap_new_csSegment2, METH_VARARGS, NULL},
	 { (char *)"delete_csSegment2", _wrap_delete_csSegment2, METH_VARARGS, NULL},
	 { (char *)"csSegment2_Set", _wrap_csSegment2_Set, METH_VARARGS, NULL},
	 { (char *)"csSegment2_SetStart", _wrap_csSegment2_SetStart, METH_VARARGS, NULL},
	 { (char *)"csSegment2_SetEnd", _wrap_csSegment2_SetEnd, METH_VARARGS, NULL},
	 { (char *)"csSegment2_Start", _wrap_csSegment2_Start, METH_VARARGS, NULL},
	 { (char *)"csSegment2_End", _wrap_csSegment2_End, METH_VARARGS, NULL},
	 { (char *)"csSegment2_swigregister", csSegment2_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csSegment3", _wrap_new_csSegment3, METH_VARARGS, NULL},
	 { (char *)"csSegment3_Set", _wrap_csSegment3_Set, METH_VARARGS, NULL},
	 { (char *)"csSegment3_SetStart", _wrap_csSegment3_SetStart, METH_VARARGS, NULL},
	 { (char *)"csSegment3_SetEnd", _wrap_csSegment3_SetEnd, METH_VARARGS, NULL},
	 { (char *)"csSegment3_Start", _wrap_csSegment3_Start, METH_VARARGS, NULL},
	 { (char *)"csSegment3_End", _wrap_csSegment3_End, METH_VARARGS, NULL},
	 { (char *)"delete_csSegment3", _wrap_delete_csSegment3, METH_VARARGS, NULL},
	 { (char *)"csSegment3_swigregister", csSegment3_swigregister, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_red_set", _wrap_csRGBcolor_red_set, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_red_get", _wrap_csRGBcolor_red_get, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_green_set", _wrap_csRGBcolor_green_set, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_green_get", _wrap_csRGBcolor_green_get, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_blue_set", _wrap_csRGBcolor_blue_set, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_blue_get", _wrap_csRGBcolor_blue_get, METH_VARARGS, NULL},
	 { (char *)"new_csRGBcolor", _wrap_new_csRGBcolor, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_Set", _wrap_csRGBcolor_Set, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor___eq__", _wrap_csRGBcolor___eq__, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor___ne__", _wrap_csRGBcolor___ne__, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor___add__", _wrap_csRGBcolor___add__, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_UnsafeAdd", _wrap_csRGBcolor_UnsafeAdd, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_SafeAdd", _wrap_csRGBcolor_SafeAdd, METH_VARARGS, NULL},
	 { (char *)"delete_csRGBcolor", _wrap_delete_csRGBcolor, METH_VARARGS, NULL},
	 { (char *)"csRGBcolor_swigregister", csRGBcolor_swigregister, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_red_set", _wrap_csRGBpixel_red_set, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_red_get", _wrap_csRGBpixel_red_get, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_green_set", _wrap_csRGBpixel_green_set, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_green_get", _wrap_csRGBpixel_green_get, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_blue_set", _wrap_csRGBpixel_blue_set, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_blue_get", _wrap_csRGBpixel_blue_get, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_alpha_set", _wrap_csRGBpixel_alpha_set, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_alpha_get", _wrap_csRGBpixel_alpha_get, METH_VARARGS, NULL},
	 { (char *)"new_csRGBpixel", _wrap_new_csRGBpixel, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel___eq__", _wrap_csRGBpixel___eq__, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel___ne__", _wrap_csRGBpixel___ne__, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_asRGBcolor", _wrap_csRGBpixel_asRGBcolor, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_eq", _wrap_csRGBpixel_eq, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_Intensity", _wrap_csRGBpixel_Intensity, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_Luminance", _wrap_csRGBpixel_Luminance, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_Set", _wrap_csRGBpixel_Set, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel___iadd__", _wrap_csRGBpixel___iadd__, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_UnsafeAdd", _wrap_csRGBpixel_UnsafeAdd, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_SafeAdd", _wrap_csRGBpixel_SafeAdd, METH_VARARGS, NULL},
	 { (char *)"delete_csRGBpixel", _wrap_delete_csRGBpixel, METH_VARARGS, NULL},
	 { (char *)"csRGBpixel_swigregister", csRGBpixel_swigregister, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableAccessor_PreGetValue", _wrap_iShaderVariableAccessor_PreGetValue, METH_VARARGS, NULL},
	 { (char *)"delete_iShaderVariableAccessor", _wrap_delete_iShaderVariableAccessor, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableAccessor_swigregister", iShaderVariableAccessor_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csShaderVariable", _wrap_new_csShaderVariable, METH_VARARGS, NULL},
	 { (char *)"delete_csShaderVariable", _wrap_delete_csShaderVariable, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_assign", _wrap_csShaderVariable_assign, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_GetType", _wrap_csShaderVariable_GetType, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_SetType", _wrap_csShaderVariable_SetType, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_SetAccessor", _wrap_csShaderVariable_SetAccessor, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_SetName", _wrap_csShaderVariable_SetName, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_GetName", _wrap_csShaderVariable_GetName, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_GetValue", _wrap_csShaderVariable_GetValue, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_SetValue", _wrap_csShaderVariable_SetValue, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_AddVariableToArray", _wrap_csShaderVariable_AddVariableToArray, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_RemoveFromArray", _wrap_csShaderVariable_RemoveFromArray, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_SetArraySize", _wrap_csShaderVariable_SetArraySize, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_GetArraySize", _wrap_csShaderVariable_GetArraySize, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_GetArrayElement", _wrap_csShaderVariable_GetArrayElement, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_SetArrayElement", _wrap_csShaderVariable_SetArrayElement, METH_VARARGS, NULL},
	 { (char *)"csShaderVariable_swigregister", csShaderVariable_swigregister, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayReadOnly_GetSize", _wrap_csShaderVariableArrayReadOnly_GetSize, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayReadOnly_Get", _wrap_csShaderVariableArrayReadOnly_Get, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayReadOnly_Top", _wrap_csShaderVariableArrayReadOnly_Top, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayReadOnly_Find", _wrap_csShaderVariableArrayReadOnly_Find, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayReadOnly_GetIndex", _wrap_csShaderVariableArrayReadOnly_GetIndex, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayReadOnly_IsEmpty", _wrap_csShaderVariableArrayReadOnly_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayReadOnly_GetAll", _wrap_csShaderVariableArrayReadOnly_GetAll, METH_VARARGS, NULL},
	 { (char *)"delete_csShaderVariableArrayReadOnly", _wrap_delete_csShaderVariableArrayReadOnly, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayReadOnly_swigregister", csShaderVariableArrayReadOnly_swigregister, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayChangeElements_Get", _wrap_csShaderVariableArrayChangeElements_Get, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayChangeElements_Top", _wrap_csShaderVariableArrayChangeElements_Top, METH_VARARGS, NULL},
	 { (char *)"delete_csShaderVariableArrayChangeElements", _wrap_delete_csShaderVariableArrayChangeElements, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArrayChangeElements_swigregister", csShaderVariableArrayChangeElements_swigregister, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_SetSize", _wrap_csShaderVariableArray_SetSize, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_GetExtend", _wrap_csShaderVariableArray_GetExtend, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_Put", _wrap_csShaderVariableArray_Put, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_Push", _wrap_csShaderVariableArray_Push, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_PushSmart", _wrap_csShaderVariableArray_PushSmart, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_Pop", _wrap_csShaderVariableArray_Pop, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_Insert", _wrap_csShaderVariableArray_Insert, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_DeleteAll", _wrap_csShaderVariableArray_DeleteAll, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_Truncate", _wrap_csShaderVariableArray_Truncate, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_Empty", _wrap_csShaderVariableArray_Empty, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_DeleteIndex", _wrap_csShaderVariableArray_DeleteIndex, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_DeleteIndexFast", _wrap_csShaderVariableArray_DeleteIndexFast, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_Delete", _wrap_csShaderVariableArray_Delete, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_DeleteFast", _wrap_csShaderVariableArray_DeleteFast, METH_VARARGS, NULL},
	 { (char *)"delete_csShaderVariableArray", _wrap_delete_csShaderVariableArray, METH_VARARGS, NULL},
	 { (char *)"csShaderVariableArray_swigregister", csShaderVariableArray_swigregister, METH_VARARGS, NULL},
	 { (char *)"csDefaultRunLoop", _wrap_csDefaultRunLoop, METH_VARARGS, NULL},
	 { (char *)"csPlatformStartup", _wrap_csPlatformStartup, METH_VARARGS, NULL},
	 { (char *)"csPlatformShutdown", _wrap_csPlatformShutdown, METH_VARARGS, NULL},
	 { (char *)"csPrintf", _wrap_csPrintf, METH_VARARGS, NULL},
	 { (char *)"csFPrintf", _wrap_csFPrintf, METH_VARARGS, NULL},
	 { (char *)"csPrintfErr", _wrap_csPrintfErr, METH_VARARGS, NULL},
	 { (char *)"csGetTicks", _wrap_csGetTicks, METH_VARARGS, NULL},
	 { (char *)"csGetMicroTicks", _wrap_csGetMicroTicks, METH_VARARGS, NULL},
	 { (char *)"csSleep", _wrap_csSleep, METH_VARARGS, NULL},
	 { (char *)"csGetUsername", _wrap_csGetUsername, METH_VARARGS, NULL},
	 { (char *)"csGetPlatformConfigPath", _wrap_csGetPlatformConfigPath, METH_VARARGS, NULL},
	 { (char *)"new_csPluginRequest", _wrap_new_csPluginRequest, METH_VARARGS, NULL},
	 { (char *)"csPluginRequest_assign", _wrap_csPluginRequest_assign, METH_VARARGS, NULL},
	 { (char *)"csPluginRequest___eq__", _wrap_csPluginRequest___eq__, METH_VARARGS, NULL},
	 { (char *)"csPluginRequest___ne__", _wrap_csPluginRequest___ne__, METH_VARARGS, NULL},
	 { (char *)"csPluginRequest_GetClassName", _wrap_csPluginRequest_GetClassName, METH_VARARGS, NULL},
	 { (char *)"csPluginRequest_GetInterfaceName", _wrap_csPluginRequest_GetInterfaceName, METH_VARARGS, NULL},
	 { (char *)"csPluginRequest_GetInterfaceID", _wrap_csPluginRequest_GetInterfaceID, METH_VARARGS, NULL},
	 { (char *)"csPluginRequest_GetInterfaceVersion", _wrap_csPluginRequest_GetInterfaceVersion, METH_VARARGS, NULL},
	 { (char *)"delete_csPluginRequest", _wrap_delete_csPluginRequest, METH_VARARGS, NULL},
	 { (char *)"csPluginRequest_swigregister", csPluginRequest_swigregister, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreateEnvironment", _wrap_csInitializer_CreateEnvironment, METH_VARARGS, NULL},
	 { (char *)"csInitializer_InitializeSCF", _wrap_csInitializer_InitializeSCF, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreateObjectRegistry", _wrap_csInitializer_CreateObjectRegistry, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreatePluginManager", _wrap_csInitializer_CreatePluginManager, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreateEventQueue", _wrap_csInitializer_CreateEventQueue, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreateVirtualClock", _wrap_csInitializer_CreateVirtualClock, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreateCommandLineParser", _wrap_csInitializer_CreateCommandLineParser, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreateVerbosityManager", _wrap_csInitializer_CreateVerbosityManager, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreateConfigManager", _wrap_csInitializer_CreateConfigManager, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreateInputDrivers", _wrap_csInitializer_CreateInputDrivers, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CreateStringSet", _wrap_csInitializer_CreateStringSet, METH_VARARGS, NULL},
	 { (char *)"csInitializer_SetupConfigManager", _wrap_csInitializer_SetupConfigManager, METH_VARARGS, NULL},
	 { (char *)"csInitializer_SetupVFS", _wrap_csInitializer_SetupVFS, METH_VARARGS, NULL},
	 { (char *)"csInitializer__RequestPlugins", _wrap_csInitializer__RequestPlugins, METH_VARARGS, NULL},
	 { (char *)"csInitializer_OpenApplication", _wrap_csInitializer_OpenApplication, METH_VARARGS, NULL},
	 { (char *)"csInitializer_CloseApplication", _wrap_csInitializer_CloseApplication, METH_VARARGS, NULL},
	 { (char *)"csInitializer__SetupEventHandler", _wrap_csInitializer__SetupEventHandler, METH_VARARGS, NULL},
	 { (char *)"csInitializer_DestroyApplication", _wrap_csInitializer_DestroyApplication, METH_VARARGS, NULL},
	 { (char *)"csInitializer_GetDefaultAppID", _wrap_csInitializer_GetDefaultAppID, METH_VARARGS, NULL},
	 { (char *)"new_csInitializer", _wrap_new_csInitializer, METH_VARARGS, NULL},
	 { (char *)"delete_csInitializer", _wrap_delete_csInitializer, METH_VARARGS, NULL},
	 { (char *)"csInitializer_swigregister", csInitializer_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_csPluginRequestArray", _wrap_delete_csPluginRequestArray, METH_VARARGS, NULL},
	 { (char *)"new_csPluginRequestArray", _wrap_new_csPluginRequestArray, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_GetSize", _wrap_csPluginRequestArray_GetSize, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_Length", _wrap_csPluginRequestArray_Length, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_Get", _wrap_csPluginRequestArray_Get, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_Push", _wrap_csPluginRequestArray_Push, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_Pop", _wrap_csPluginRequestArray_Pop, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_Top", _wrap_csPluginRequestArray_Top, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_Insert", _wrap_csPluginRequestArray_Insert, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_Contains", _wrap_csPluginRequestArray_Contains, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_Truncate", _wrap_csPluginRequestArray_Truncate, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_Empty", _wrap_csPluginRequestArray_Empty, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_IsEmpty", _wrap_csPluginRequestArray_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_SetMinimalCapacity", _wrap_csPluginRequestArray_SetMinimalCapacity, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_DeleteIndex", _wrap_csPluginRequestArray_DeleteIndex, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_DeleteIndexFast", _wrap_csPluginRequestArray_DeleteIndexFast, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_DeleteRange", _wrap_csPluginRequestArray_DeleteRange, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray___eq__", _wrap_csPluginRequestArray___eq__, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray___ne__", _wrap_csPluginRequestArray___ne__, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_GetAllocator", _wrap_csPluginRequestArray_GetAllocator, METH_VARARGS, NULL},
	 { (char *)"csPluginRequestArray_swigregister", csPluginRequestArray_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsKey_Type", _wrap_iAwsKey_Type, METH_VARARGS, NULL},
	 { (char *)"iAwsKey_Name", _wrap_iAwsKey_Name, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsKey", _wrap_delete_iAwsKey, METH_VARARGS, NULL},
	 { (char *)"iAwsKey_scfGetVersion", _wrap_iAwsKey_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iAwsKey_swigregister", iAwsKey_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsIntKey_Value", _wrap_iAwsIntKey_Value, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsIntKey", _wrap_delete_iAwsIntKey, METH_VARARGS, NULL},
	 { (char *)"iAwsIntKey_swigregister", iAwsIntKey_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsFloatKey_Value", _wrap_iAwsFloatKey_Value, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsFloatKey", _wrap_delete_iAwsFloatKey, METH_VARARGS, NULL},
	 { (char *)"iAwsFloatKey_swigregister", iAwsFloatKey_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsStringKey_Value", _wrap_iAwsStringKey_Value, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsStringKey", _wrap_delete_iAwsStringKey, METH_VARARGS, NULL},
	 { (char *)"iAwsStringKey_swigregister", iAwsStringKey_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsRectKey_Value", _wrap_iAwsRectKey_Value, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsRectKey", _wrap_delete_iAwsRectKey, METH_VARARGS, NULL},
	 { (char *)"iAwsRectKey_swigregister", iAwsRectKey_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsRGBKey_Value", _wrap_iAwsRGBKey_Value, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsRGBKey", _wrap_delete_iAwsRGBKey, METH_VARARGS, NULL},
	 { (char *)"iAwsRGBKey_swigregister", iAwsRGBKey_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsPointKey_Value", _wrap_iAwsPointKey_Value, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsPointKey", _wrap_delete_iAwsPointKey, METH_VARARGS, NULL},
	 { (char *)"iAwsPointKey_swigregister", iAwsPointKey_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsConnectionKey_Sink", _wrap_iAwsConnectionKey_Sink, METH_VARARGS, NULL},
	 { (char *)"iAwsConnectionKey_Trigger", _wrap_iAwsConnectionKey_Trigger, METH_VARARGS, NULL},
	 { (char *)"iAwsConnectionKey_Signal", _wrap_iAwsConnectionKey_Signal, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsConnectionKey", _wrap_delete_iAwsConnectionKey, METH_VARARGS, NULL},
	 { (char *)"iAwsConnectionKey_swigregister", iAwsConnectionKey_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyContainer_Find", _wrap_iAwsKeyContainer_Find, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyContainer_Children", _wrap_iAwsKeyContainer_Children, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyContainer_Add", _wrap_iAwsKeyContainer_Add, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyContainer_GetAt", _wrap_iAwsKeyContainer_GetAt, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyContainer_Length", _wrap_iAwsKeyContainer_Length, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyContainer_Remove", _wrap_iAwsKeyContainer_Remove, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyContainer_RemoveAll", _wrap_iAwsKeyContainer_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyContainer_Consume", _wrap_iAwsKeyContainer_Consume, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsKeyContainer", _wrap_delete_iAwsKeyContainer, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyContainer_swigregister", iAwsKeyContainer_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsComponentNode_ComponentTypeName", _wrap_iAwsComponentNode_ComponentTypeName, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsComponentNode", _wrap_delete_iAwsComponentNode, METH_VARARGS, NULL},
	 { (char *)"iAwsComponentNode_swigregister", iAwsComponentNode_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAws_GetPrefMgr", _wrap_iAws_GetPrefMgr, METH_VARARGS, NULL},
	 { (char *)"iAws_GetSinkMgr", _wrap_iAws_GetSinkMgr, METH_VARARGS, NULL},
	 { (char *)"iAws_SetPrefMgr", _wrap_iAws_SetPrefMgr, METH_VARARGS, NULL},
	 { (char *)"iAws_GetStringTable", _wrap_iAws_GetStringTable, METH_VARARGS, NULL},
	 { (char *)"iAws_RegisterComponentFactory", _wrap_iAws_RegisterComponentFactory, METH_VARARGS, NULL},
	 { (char *)"iAws_FindComponentFactory", _wrap_iAws_FindComponentFactory, METH_VARARGS, NULL},
	 { (char *)"iAws_GetTopComponent", _wrap_iAws_GetTopComponent, METH_VARARGS, NULL},
	 { (char *)"iAws_SetTopComponent", _wrap_iAws_SetTopComponent, METH_VARARGS, NULL},
	 { (char *)"iAws_GetFocusedComponent", _wrap_iAws_GetFocusedComponent, METH_VARARGS, NULL},
	 { (char *)"iAws_SetFocusedComponent", _wrap_iAws_SetFocusedComponent, METH_VARARGS, NULL},
	 { (char *)"iAws_GetKeyboardFocusedComponent", _wrap_iAws_GetKeyboardFocusedComponent, METH_VARARGS, NULL},
	 { (char *)"iAws_ComponentAt", _wrap_iAws_ComponentAt, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseInComponent", _wrap_iAws_MouseInComponent, METH_VARARGS, NULL},
	 { (char *)"iAws_Print", _wrap_iAws_Print, METH_VARARGS, NULL},
	 { (char *)"iAws_Redraw", _wrap_iAws_Redraw, METH_VARARGS, NULL},
	 { (char *)"iAws_Mark", _wrap_iAws_Mark, METH_VARARGS, NULL},
	 { (char *)"iAws_Unmark", _wrap_iAws_Unmark, METH_VARARGS, NULL},
	 { (char *)"iAws_Erase", _wrap_iAws_Erase, METH_VARARGS, NULL},
	 { (char *)"iAws_MaskEraser", _wrap_iAws_MaskEraser, METH_VARARGS, NULL},
	 { (char *)"iAws_InvalidateUpdateStore", _wrap_iAws_InvalidateUpdateStore, METH_VARARGS, NULL},
	 { (char *)"iAws_CaptureMouse", _wrap_iAws_CaptureMouse, METH_VARARGS, NULL},
	 { (char *)"iAws_ReleaseMouse", _wrap_iAws_ReleaseMouse, METH_VARARGS, NULL},
	 { (char *)"iAws_SetModal", _wrap_iAws_SetModal, METH_VARARGS, NULL},
	 { (char *)"iAws_UnSetModal", _wrap_iAws_UnSetModal, METH_VARARGS, NULL},
	 { (char *)"iAws_HandleEvent", _wrap_iAws_HandleEvent, METH_VARARGS, NULL},
	 { (char *)"iAws_GetCanvas", _wrap_iAws_GetCanvas, METH_VARARGS, NULL},
	 { (char *)"iAws_G2D", _wrap_iAws_G2D, METH_VARARGS, NULL},
	 { (char *)"iAws_G3D", _wrap_iAws_G3D, METH_VARARGS, NULL},
	 { (char *)"iAws_CreateWindowFrom", _wrap_iAws_CreateWindowFrom, METH_VARARGS, NULL},
	 { (char *)"iAws_CreateEmbeddableComponent", _wrap_iAws_CreateEmbeddableComponent, METH_VARARGS, NULL},
	 { (char *)"iAws_CreateParmList", _wrap_iAws_CreateParmList, METH_VARARGS, NULL},
	 { (char *)"iAws_CreateTransition", _wrap_iAws_CreateTransition, METH_VARARGS, NULL},
	 { (char *)"iAws_CreateTransitionEx", _wrap_iAws_CreateTransitionEx, METH_VARARGS, NULL},
	 { (char *)"iAws_SetFlag", _wrap_iAws_SetFlag, METH_VARARGS, NULL},
	 { (char *)"iAws_ClearFlag", _wrap_iAws_ClearFlag, METH_VARARGS, NULL},
	 { (char *)"iAws_GetFlags", _wrap_iAws_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iAws_GetObjectRegistry", _wrap_iAws_GetObjectRegistry, METH_VARARGS, NULL},
	 { (char *)"iAws_AllWindowsHidden", _wrap_iAws_AllWindowsHidden, METH_VARARGS, NULL},
	 { (char *)"iAws_ComponentIsInTransition", _wrap_iAws_ComponentIsInTransition, METH_VARARGS, NULL},
	 { (char *)"iAws_ComponentDestroyed", _wrap_iAws_ComponentDestroyed, METH_VARARGS, NULL},
	 { (char *)"iAws_DeleteMarkedComponents", _wrap_iAws_DeleteMarkedComponents, METH_VARARGS, NULL},
	 { (char *)"iAws_MarkToDeleteRecursively", _wrap_iAws_MarkToDeleteRecursively, METH_VARARGS, NULL},
	 { (char *)"iAws_PreProcess_set", _wrap_iAws_PreProcess_set, METH_VARARGS, NULL},
	 { (char *)"iAws_PreProcess_get", _wrap_iAws_PreProcess_get, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseDown_set", _wrap_iAws_MouseDown_set, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseDown_get", _wrap_iAws_MouseDown_get, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseUp_set", _wrap_iAws_MouseUp_set, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseUp_get", _wrap_iAws_MouseUp_get, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseClick_set", _wrap_iAws_MouseClick_set, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseClick_get", _wrap_iAws_MouseClick_get, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseMove_set", _wrap_iAws_MouseMove_set, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseMove_get", _wrap_iAws_MouseMove_get, METH_VARARGS, NULL},
	 { (char *)"iAws_KeyboardDown_set", _wrap_iAws_KeyboardDown_set, METH_VARARGS, NULL},
	 { (char *)"iAws_KeyboardDown_get", _wrap_iAws_KeyboardDown_get, METH_VARARGS, NULL},
	 { (char *)"iAws_KeyboardUp_set", _wrap_iAws_KeyboardUp_set, METH_VARARGS, NULL},
	 { (char *)"iAws_KeyboardUp_get", _wrap_iAws_KeyboardUp_get, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseEnter_set", _wrap_iAws_MouseEnter_set, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseEnter_get", _wrap_iAws_MouseEnter_get, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseExit_set", _wrap_iAws_MouseExit_set, METH_VARARGS, NULL},
	 { (char *)"iAws_MouseExit_get", _wrap_iAws_MouseExit_get, METH_VARARGS, NULL},
	 { (char *)"iAws_LoseFocus_set", _wrap_iAws_LoseFocus_set, METH_VARARGS, NULL},
	 { (char *)"iAws_LoseFocus_get", _wrap_iAws_LoseFocus_get, METH_VARARGS, NULL},
	 { (char *)"iAws_GainFocus_set", _wrap_iAws_GainFocus_set, METH_VARARGS, NULL},
	 { (char *)"iAws_GainFocus_get", _wrap_iAws_GainFocus_get, METH_VARARGS, NULL},
	 { (char *)"iAws_GroupOff_set", _wrap_iAws_GroupOff_set, METH_VARARGS, NULL},
	 { (char *)"iAws_GroupOff_get", _wrap_iAws_GroupOff_get, METH_VARARGS, NULL},
	 { (char *)"iAws_FrameStart_set", _wrap_iAws_FrameStart_set, METH_VARARGS, NULL},
	 { (char *)"iAws_FrameStart_get", _wrap_iAws_FrameStart_get, METH_VARARGS, NULL},
	 { (char *)"delete_iAws", _wrap_delete_iAws, METH_VARARGS, NULL},
	 { (char *)"iAws_scfGetVersion", _wrap_iAws_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iAws_SetupCanvas", _wrap_iAws_SetupCanvas, METH_VARARGS, NULL},
	 { (char *)"iAws_swigregister", iAws_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_Setup", _wrap_iAwsPrefManager_Setup, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_Load", _wrap_iAwsPrefManager_Load, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_NameToId", _wrap_iAwsPrefManager_NameToId, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_SelectDefaultSkin", _wrap_iAwsPrefManager_SelectDefaultSkin, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_LookupIntKey", _wrap_iAwsPrefManager_LookupIntKey, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_LookupStringKey", _wrap_iAwsPrefManager_LookupStringKey, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_LookupRectKey", _wrap_iAwsPrefManager_LookupRectKey, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_LookupRGBKey", _wrap_iAwsPrefManager_LookupRGBKey, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_LookupPointKey", _wrap_iAwsPrefManager_LookupPointKey, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetInt", _wrap_iAwsPrefManager_GetInt, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetFloat", _wrap_iAwsPrefManager_GetFloat, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetRect", _wrap_iAwsPrefManager_GetRect, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetString", _wrap_iAwsPrefManager_GetString, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetRGB", _wrap_iAwsPrefManager_GetRGB, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_FindWindowDef", _wrap_iAwsPrefManager_FindWindowDef, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_FindSkinDef", _wrap_iAwsPrefManager_FindSkinDef, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_RemoveWindowDef", _wrap_iAwsPrefManager_RemoveWindowDef, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_RemoveAllWindowDefs", _wrap_iAwsPrefManager_RemoveAllWindowDefs, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_RemoveSkinDef", _wrap_iAwsPrefManager_RemoveSkinDef, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_RemoveAllSkinDefs", _wrap_iAwsPrefManager_RemoveAllSkinDefs, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_SetColor", _wrap_iAwsPrefManager_SetColor, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetColor", _wrap_iAwsPrefManager_GetColor, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_FindColor", _wrap_iAwsPrefManager_FindColor, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetDefaultFont", _wrap_iAwsPrefManager_GetDefaultFont, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetFont", _wrap_iAwsPrefManager_GetFont, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetTexture", _wrap_iAwsPrefManager_GetTexture, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_SetTextureManager", _wrap_iAwsPrefManager_SetTextureManager, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_SetFontServer", _wrap_iAwsPrefManager_SetFontServer, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_SetDefaultFont", _wrap_iAwsPrefManager_SetDefaultFont, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_SetWindowMgr", _wrap_iAwsPrefManager_SetWindowMgr, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_SetupPalette", _wrap_iAwsPrefManager_SetupPalette, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_RegisterConstant", _wrap_iAwsPrefManager_RegisterConstant, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_ConstantExists", _wrap_iAwsPrefManager_ConstantExists, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetConstantValue", _wrap_iAwsPrefManager_GetConstantValue, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_CreateKeyFactory", _wrap_iAwsPrefManager_CreateKeyFactory, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_CreateConnectionNodeFactory", _wrap_iAwsPrefManager_CreateConnectionNodeFactory, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_AddCustomStringProperty", _wrap_iAwsPrefManager_AddCustomStringProperty, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_GetCustomStringProperties", _wrap_iAwsPrefManager_GetCustomStringProperties, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsPrefManager", _wrap_delete_iAwsPrefManager, METH_VARARGS, NULL},
	 { (char *)"iAwsPrefManager_swigregister", iAwsPrefManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsSinkManager_Setup", _wrap_iAwsSinkManager_Setup, METH_VARARGS, NULL},
	 { (char *)"iAwsSinkManager_RegisterSink", _wrap_iAwsSinkManager_RegisterSink, METH_VARARGS, NULL},
	 { (char *)"iAwsSinkManager_RemoveSink", _wrap_iAwsSinkManager_RemoveSink, METH_VARARGS, NULL},
	 { (char *)"iAwsSinkManager_FindSink", _wrap_iAwsSinkManager_FindSink, METH_VARARGS, NULL},
	 { (char *)"iAwsSinkManager_CreateSink", _wrap_iAwsSinkManager_CreateSink, METH_VARARGS, NULL},
	 { (char *)"iAwsSinkManager_CreateSlot", _wrap_iAwsSinkManager_CreateSlot, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsSinkManager", _wrap_delete_iAwsSinkManager, METH_VARARGS, NULL},
	 { (char *)"iAwsSinkManager_swigregister", iAwsSinkManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsSink_GetTriggerID", _wrap_iAwsSink_GetTriggerID, METH_VARARGS, NULL},
	 { (char *)"iAwsSink_HandleTrigger", _wrap_iAwsSink_HandleTrigger, METH_VARARGS, NULL},
	 { (char *)"iAwsSink_RegisterTrigger", _wrap_iAwsSink_RegisterTrigger, METH_VARARGS, NULL},
	 { (char *)"iAwsSink_GetError", _wrap_iAwsSink_GetError, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsSink", _wrap_delete_iAwsSink, METH_VARARGS, NULL},
	 { (char *)"iAwsSink_swigregister", iAwsSink_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsSource_WindowManager", _wrap_iAwsSource_WindowManager, METH_VARARGS, NULL},
	 { (char *)"iAwsSource_GetComponent", _wrap_iAwsSource_GetComponent, METH_VARARGS, NULL},
	 { (char *)"iAwsSource_RegisterSlot", _wrap_iAwsSource_RegisterSlot, METH_VARARGS, NULL},
	 { (char *)"iAwsSource_UnregisterSlot", _wrap_iAwsSource_UnregisterSlot, METH_VARARGS, NULL},
	 { (char *)"iAwsSource_Broadcast", _wrap_iAwsSource_Broadcast, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsSource", _wrap_delete_iAwsSource, METH_VARARGS, NULL},
	 { (char *)"iAwsSource_swigregister", iAwsSource_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsSlot_Connect", _wrap_iAwsSlot_Connect, METH_VARARGS, NULL},
	 { (char *)"iAwsSlot_Disconnect", _wrap_iAwsSlot_Disconnect, METH_VARARGS, NULL},
	 { (char *)"iAwsSlot_Emit", _wrap_iAwsSlot_Emit, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsSlot", _wrap_delete_iAwsSlot, METH_VARARGS, NULL},
	 { (char *)"iAwsSlot_swigregister", iAwsSlot_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsLayoutManager_SetOwner", _wrap_iAwsLayoutManager_SetOwner, METH_VARARGS, NULL},
	 { (char *)"iAwsLayoutManager_AddComponent", _wrap_iAwsLayoutManager_AddComponent, METH_VARARGS, NULL},
	 { (char *)"iAwsLayoutManager_RemoveComponent", _wrap_iAwsLayoutManager_RemoveComponent, METH_VARARGS, NULL},
	 { (char *)"iAwsLayoutManager_LayoutComponents", _wrap_iAwsLayoutManager_LayoutComponents, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsLayoutManager", _wrap_delete_iAwsLayoutManager, METH_VARARGS, NULL},
	 { (char *)"iAwsLayoutManager_swigregister", iAwsLayoutManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Create", _wrap_iAwsComponent_Create, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Setup", _wrap_iAwsComponent_Setup, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_HandleEvent", _wrap_iAwsComponent_HandleEvent, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_GetProperty", _wrap_iAwsComponent_GetProperty, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetProperty", _wrap_iAwsComponent_SetProperty, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Execute", _wrap_iAwsComponent_Execute, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Invalidate", _wrap_iAwsComponent_Invalidate, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Frame", _wrap_iAwsComponent_Frame, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_ClientFrame", _wrap_iAwsComponent_ClientFrame, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Type", _wrap_iAwsComponent_Type, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetFlag", _wrap_iAwsComponent_SetFlag, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_ClearFlag", _wrap_iAwsComponent_ClearFlag, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Flags", _wrap_iAwsComponent_Flags, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_WindowManager", _wrap_iAwsComponent_WindowManager, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Parent", _wrap_iAwsComponent_Parent, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Window", _wrap_iAwsComponent_Window, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Layout", _wrap_iAwsComponent_Layout, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetParent", _wrap_iAwsComponent_SetParent, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetLayout", _wrap_iAwsComponent_SetLayout, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_AddToLayout", _wrap_iAwsComponent_AddToLayout, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_getPreferredSize", _wrap_iAwsComponent_getPreferredSize, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_setPreferredSize", _wrap_iAwsComponent_setPreferredSize, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_clearPreferredSize", _wrap_iAwsComponent_clearPreferredSize, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_getMinimumSize", _wrap_iAwsComponent_getMinimumSize, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_getInsets", _wrap_iAwsComponent_getInsets, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Overlaps", _wrap_iAwsComponent_Overlaps, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_isHidden", _wrap_iAwsComponent_isHidden, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetFocusable", _wrap_iAwsComponent_SetFocusable, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Focusable", _wrap_iAwsComponent_Focusable, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_isFocused", _wrap_iAwsComponent_isFocused, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_IsMaximized", _wrap_iAwsComponent_IsMaximized, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Hide", _wrap_iAwsComponent_Hide, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Show", _wrap_iAwsComponent_Show, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetFocus", _wrap_iAwsComponent_SetFocus, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_UnsetFocus", _wrap_iAwsComponent_UnsetFocus, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Move", _wrap_iAwsComponent_Move, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_MoveTo", _wrap_iAwsComponent_MoveTo, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Resize", _wrap_iAwsComponent_Resize, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_ResizeTo", _wrap_iAwsComponent_ResizeTo, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Maximize", _wrap_iAwsComponent_Maximize, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_UnMaximize", _wrap_iAwsComponent_UnMaximize, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_LayoutChildren", _wrap_iAwsComponent_LayoutChildren, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_isDeaf", _wrap_iAwsComponent_isDeaf, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetDeaf", _wrap_iAwsComponent_SetDeaf, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_GetID", _wrap_iAwsComponent_GetID, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetID", _wrap_iAwsComponent_SetID, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_FindChild", _wrap_iAwsComponent_FindChild, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_DoFindChild", _wrap_iAwsComponent_DoFindChild, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_ChildAt", _wrap_iAwsComponent_ChildAt, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_AddChild", _wrap_iAwsComponent_AddChild, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_RemoveChild", _wrap_iAwsComponent_RemoveChild, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_GetChildCount", _wrap_iAwsComponent_GetChildCount, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_GetTopChild", _wrap_iAwsComponent_GetTopChild, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_ComponentAbove", _wrap_iAwsComponent_ComponentAbove, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_ComponentBelow", _wrap_iAwsComponent_ComponentBelow, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetComponentAbove", _wrap_iAwsComponent_SetComponentAbove, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetComponentBelow", _wrap_iAwsComponent_SetComponentBelow, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_AddToTabOrder", _wrap_iAwsComponent_AddToTabOrder, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_TabNext", _wrap_iAwsComponent_TabNext, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_TabPrev", _wrap_iAwsComponent_TabPrev, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_GetTabLength", _wrap_iAwsComponent_GetTabLength, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_GetTabComponent", _wrap_iAwsComponent_GetTabComponent, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_GetFirstFocusableChild", _wrap_iAwsComponent_GetFirstFocusableChild, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Raise", _wrap_iAwsComponent_Raise, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Lower", _wrap_iAwsComponent_Lower, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_HasChildren", _wrap_iAwsComponent_HasChildren, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetRedrawTag", _wrap_iAwsComponent_SetRedrawTag, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_RedrawTag", _wrap_iAwsComponent_RedrawTag, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnDraw", _wrap_iAwsComponent_OnDraw, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnMouseDown", _wrap_iAwsComponent_OnMouseDown, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnMouseUp", _wrap_iAwsComponent_OnMouseUp, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnMouseMove", _wrap_iAwsComponent_OnMouseMove, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnMouseClick", _wrap_iAwsComponent_OnMouseClick, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnMouseDoubleClick", _wrap_iAwsComponent_OnMouseDoubleClick, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnMouseExit", _wrap_iAwsComponent_OnMouseExit, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnMouseEnter", _wrap_iAwsComponent_OnMouseEnter, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnKeyboard", _wrap_iAwsComponent_OnKeyboard, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnLostFocus", _wrap_iAwsComponent_OnLostFocus, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnGainFocus", _wrap_iAwsComponent_OnGainFocus, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnFrame", _wrap_iAwsComponent_OnFrame, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnAdded", _wrap_iAwsComponent_OnAdded, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnResized", _wrap_iAwsComponent_OnResized, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnChildMoved", _wrap_iAwsComponent_OnChildMoved, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnRaise", _wrap_iAwsComponent_OnRaise, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnLower", _wrap_iAwsComponent_OnLower, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnChildHide", _wrap_iAwsComponent_OnChildHide, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnChildShow", _wrap_iAwsComponent_OnChildShow, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnSetFocus", _wrap_iAwsComponent_OnSetFocus, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_OnUnsetFocus", _wrap_iAwsComponent_OnUnsetFocus, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_Unlink", _wrap_iAwsComponent_Unlink, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_LinkAbove", _wrap_iAwsComponent_LinkAbove, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_LinkBelow", _wrap_iAwsComponent_LinkBelow, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_SetTopChild", _wrap_iAwsComponent_SetTopChild, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_MarkToDelete", _wrap_iAwsComponent_MarkToDelete, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_GetMarkToDelete", _wrap_iAwsComponent_GetMarkToDelete, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsComponent", _wrap_delete_iAwsComponent, METH_VARARGS, NULL},
	 { (char *)"iAwsComponent_swigregister", iAwsComponent_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsComponentFactory_Create", _wrap_iAwsComponentFactory_Create, METH_VARARGS, NULL},
	 { (char *)"iAwsComponentFactory_Register", _wrap_iAwsComponentFactory_Register, METH_VARARGS, NULL},
	 { (char *)"iAwsComponentFactory_RegisterConstant", _wrap_iAwsComponentFactory_RegisterConstant, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsComponentFactory", _wrap_delete_iAwsComponentFactory, METH_VARARGS, NULL},
	 { (char *)"iAwsComponentFactory_swigregister", iAwsComponentFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_Initialize", _wrap_iAwsKeyFactory_Initialize, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_AddToWindowList", _wrap_iAwsKeyFactory_AddToWindowList, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_AddFactory", _wrap_iAwsKeyFactory_AddFactory, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_AddIntKey", _wrap_iAwsKeyFactory_AddIntKey, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_AddStringKey", _wrap_iAwsKeyFactory_AddStringKey, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_AddRectKey", _wrap_iAwsKeyFactory_AddRectKey, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_AddRGBKey", _wrap_iAwsKeyFactory_AddRGBKey, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_AddPointKey", _wrap_iAwsKeyFactory_AddPointKey, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_AddConnectionKey", _wrap_iAwsKeyFactory_AddConnectionKey, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_AddConnectionNode", _wrap_iAwsKeyFactory_AddConnectionNode, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_GetThisNode", _wrap_iAwsKeyFactory_GetThisNode, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsKeyFactory", _wrap_delete_iAwsKeyFactory, METH_VARARGS, NULL},
	 { (char *)"iAwsKeyFactory_swigregister", iAwsKeyFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAwsConnectionNodeFactory_Initialize", _wrap_iAwsConnectionNodeFactory_Initialize, METH_VARARGS, NULL},
	 { (char *)"iAwsConnectionNodeFactory_AddConnectionKey", _wrap_iAwsConnectionNodeFactory_AddConnectionKey, METH_VARARGS, NULL},
	 { (char *)"iAwsConnectionNodeFactory_GetThisNode", _wrap_iAwsConnectionNodeFactory_GetThisNode, METH_VARARGS, NULL},
	 { (char *)"delete_iAwsConnectionNodeFactory", _wrap_delete_iAwsConnectionNodeFactory, METH_VARARGS, NULL},
	 { (char *)"iAwsConnectionNodeFactory_swigregister", iAwsConnectionNodeFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"csVertexStatus_Type_set", _wrap_csVertexStatus_Type_set, METH_VARARGS, NULL},
	 { (char *)"csVertexStatus_Type_get", _wrap_csVertexStatus_Type_get, METH_VARARGS, NULL},
	 { (char *)"csVertexStatus_Vertex_set", _wrap_csVertexStatus_Vertex_set, METH_VARARGS, NULL},
	 { (char *)"csVertexStatus_Vertex_get", _wrap_csVertexStatus_Vertex_get, METH_VARARGS, NULL},
	 { (char *)"csVertexStatus_Pos_set", _wrap_csVertexStatus_Pos_set, METH_VARARGS, NULL},
	 { (char *)"csVertexStatus_Pos_get", _wrap_csVertexStatus_Pos_get, METH_VARARGS, NULL},
	 { (char *)"new_csVertexStatus", _wrap_new_csVertexStatus, METH_VARARGS, NULL},
	 { (char *)"delete_csVertexStatus", _wrap_delete_csVertexStatus, METH_VARARGS, NULL},
	 { (char *)"csVertexStatus_swigregister", csVertexStatus_swigregister, METH_VARARGS, NULL},
	 { (char *)"iClipper2D_Clip", _wrap_iClipper2D_Clip, METH_VARARGS, NULL},
	 { (char *)"iClipper2D_ClipInPlace", _wrap_iClipper2D_ClipInPlace, METH_VARARGS, NULL},
	 { (char *)"iClipper2D_ClassifyBox", _wrap_iClipper2D_ClassifyBox, METH_VARARGS, NULL},
	 { (char *)"iClipper2D_IsInside", _wrap_iClipper2D_IsInside, METH_VARARGS, NULL},
	 { (char *)"iClipper2D_GetVertexCount", _wrap_iClipper2D_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"iClipper2D_GetClipPoly", _wrap_iClipper2D_GetClipPoly, METH_VARARGS, NULL},
	 { (char *)"iClipper2D_GetClipperType", _wrap_iClipper2D_GetClipperType, METH_VARARGS, NULL},
	 { (char *)"delete_iClipper2D", _wrap_delete_iClipper2D, METH_VARARGS, NULL},
	 { (char *)"iClipper2D_swigregister", iClipper2D_swigregister, METH_VARARGS, NULL},
	 { (char *)"iObjectModelListener_ObjectModelChanged", _wrap_iObjectModelListener_ObjectModelChanged, METH_VARARGS, NULL},
	 { (char *)"delete_iObjectModelListener", _wrap_delete_iObjectModelListener, METH_VARARGS, NULL},
	 { (char *)"iObjectModelListener_scfGetVersion", _wrap_iObjectModelListener_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iObjectModelListener_swigregister", iObjectModelListener_swigregister, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_GetShapeNumber", _wrap_iObjectModel_GetShapeNumber, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_GetPolygonMeshBase", _wrap_iObjectModel_GetPolygonMeshBase, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_GetPolygonMeshColldet", _wrap_iObjectModel_GetPolygonMeshColldet, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_GetTerraFormerColldet", _wrap_iObjectModel_GetTerraFormerColldet, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_SetPolygonMeshColldet", _wrap_iObjectModel_SetPolygonMeshColldet, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_GetPolygonMeshViscull", _wrap_iObjectModel_GetPolygonMeshViscull, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_SetPolygonMeshViscull", _wrap_iObjectModel_SetPolygonMeshViscull, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_GetPolygonMeshShadows", _wrap_iObjectModel_GetPolygonMeshShadows, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_SetPolygonMeshShadows", _wrap_iObjectModel_SetPolygonMeshShadows, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_CreateLowerDetailPolygonMesh", _wrap_iObjectModel_CreateLowerDetailPolygonMesh, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_GetObjectBoundingBox", _wrap_iObjectModel_GetObjectBoundingBox, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_SetObjectBoundingBox", _wrap_iObjectModel_SetObjectBoundingBox, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_GetRadius", _wrap_iObjectModel_GetRadius, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_AddListener", _wrap_iObjectModel_AddListener, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_RemoveListener", _wrap_iObjectModel_RemoveListener, METH_VARARGS, NULL},
	 { (char *)"delete_iObjectModel", _wrap_delete_iObjectModel, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_scfGetVersion", _wrap_iObjectModel_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iObjectModel_swigregister", iObjectModel_swigregister, METH_VARARGS, NULL},
	 { (char *)"iPath_Length", _wrap_iPath_Length, METH_VARARGS, NULL},
	 { (char *)"iPath_CalculateAtTime", _wrap_iPath_CalculateAtTime, METH_VARARGS, NULL},
	 { (char *)"iPath_GetCurrentIndex", _wrap_iPath_GetCurrentIndex, METH_VARARGS, NULL},
	 { (char *)"iPath_SetPositionVectors", _wrap_iPath_SetPositionVectors, METH_VARARGS, NULL},
	 { (char *)"iPath_SetUpVectors", _wrap_iPath_SetUpVectors, METH_VARARGS, NULL},
	 { (char *)"iPath_SetForwardVectors", _wrap_iPath_SetForwardVectors, METH_VARARGS, NULL},
	 { (char *)"iPath_SetPositionVector", _wrap_iPath_SetPositionVector, METH_VARARGS, NULL},
	 { (char *)"iPath_SetUpVector", _wrap_iPath_SetUpVector, METH_VARARGS, NULL},
	 { (char *)"iPath_SetForwardVector", _wrap_iPath_SetForwardVector, METH_VARARGS, NULL},
	 { (char *)"iPath_GetPositionVector", _wrap_iPath_GetPositionVector, METH_VARARGS, NULL},
	 { (char *)"iPath_GetUpVector", _wrap_iPath_GetUpVector, METH_VARARGS, NULL},
	 { (char *)"iPath_GetForwardVector", _wrap_iPath_GetForwardVector, METH_VARARGS, NULL},
	 { (char *)"iPath_GetTime", _wrap_iPath_GetTime, METH_VARARGS, NULL},
	 { (char *)"iPath_SetTime", _wrap_iPath_SetTime, METH_VARARGS, NULL},
	 { (char *)"iPath_GetInterpolatedPosition", _wrap_iPath_GetInterpolatedPosition, METH_VARARGS, NULL},
	 { (char *)"iPath_GetInterpolatedUp", _wrap_iPath_GetInterpolatedUp, METH_VARARGS, NULL},
	 { (char *)"iPath_GetInterpolatedForward", _wrap_iPath_GetInterpolatedForward, METH_VARARGS, NULL},
	 { (char *)"delete_iPath", _wrap_delete_iPath, METH_VARARGS, NULL},
	 { (char *)"iPath_scfGetVersion", _wrap_iPath_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iPath_swigregister", iPath_swigregister, METH_VARARGS, NULL},
	 { (char *)"scfPath_IncRef", _wrap_scfPath_IncRef, METH_VARARGS, NULL},
	 { (char *)"scfPath_DecRef", _wrap_scfPath_DecRef, METH_VARARGS, NULL},
	 { (char *)"scfPath_GetRefCount", _wrap_scfPath_GetRefCount, METH_VARARGS, NULL},
	 { (char *)"scfPath_QueryInterface", _wrap_scfPath_QueryInterface, METH_VARARGS, NULL},
	 { (char *)"scfPath_AddRefOwner", _wrap_scfPath_AddRefOwner, METH_VARARGS, NULL},
	 { (char *)"scfPath_RemoveRefOwner", _wrap_scfPath_RemoveRefOwner, METH_VARARGS, NULL},
	 { (char *)"scfPath_swigregister", scfPath_swigregister, METH_VARARGS, NULL},
	 { (char *)"csMeshedPolygon_num_vertices_set", _wrap_csMeshedPolygon_num_vertices_set, METH_VARARGS, NULL},
	 { (char *)"csMeshedPolygon_num_vertices_get", _wrap_csMeshedPolygon_num_vertices_get, METH_VARARGS, NULL},
	 { (char *)"csMeshedPolygon_vertices_set", _wrap_csMeshedPolygon_vertices_set, METH_VARARGS, NULL},
	 { (char *)"csMeshedPolygon_vertices_get", _wrap_csMeshedPolygon_vertices_get, METH_VARARGS, NULL},
	 { (char *)"new_csMeshedPolygon", _wrap_new_csMeshedPolygon, METH_VARARGS, NULL},
	 { (char *)"delete_csMeshedPolygon", _wrap_delete_csMeshedPolygon, METH_VARARGS, NULL},
	 { (char *)"csMeshedPolygon_swigregister", csMeshedPolygon_swigregister, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_GetVertexCount", _wrap_iPolygonMesh_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_GetVertices", _wrap_iPolygonMesh_GetVertices, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_GetPolygonCount", _wrap_iPolygonMesh_GetPolygonCount, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_GetPolygons", _wrap_iPolygonMesh_GetPolygons, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_GetTriangleCount", _wrap_iPolygonMesh_GetTriangleCount, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_GetTriangles", _wrap_iPolygonMesh_GetTriangles, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_Lock", _wrap_iPolygonMesh_Lock, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_Unlock", _wrap_iPolygonMesh_Unlock, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_GetFlags", _wrap_iPolygonMesh_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_GetChangeNumber", _wrap_iPolygonMesh_GetChangeNumber, METH_VARARGS, NULL},
	 { (char *)"delete_iPolygonMesh", _wrap_delete_iPolygonMesh, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_scfGetVersion", _wrap_iPolygonMesh_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iPolygonMesh_swigregister", iPolygonMesh_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csPath", _wrap_new_csPath, METH_VARARGS, NULL},
	 { (char *)"delete_csPath", _wrap_delete_csPath, METH_VARARGS, NULL},
	 { (char *)"csPath_Length", _wrap_csPath_Length, METH_VARARGS, NULL},
	 { (char *)"csPath_CalculateAtTime", _wrap_csPath_CalculateAtTime, METH_VARARGS, NULL},
	 { (char *)"csPath_Calculate", _wrap_csPath_Calculate, METH_VARARGS, NULL},
	 { (char *)"csPath_GetCurrentIndex", _wrap_csPath_GetCurrentIndex, METH_VARARGS, NULL},
	 { (char *)"csPath_GetTime", _wrap_csPath_GetTime, METH_VARARGS, NULL},
	 { (char *)"csPath_SetTime", _wrap_csPath_SetTime, METH_VARARGS, NULL},
	 { (char *)"csPath_SetTimeValue", _wrap_csPath_SetTimeValue, METH_VARARGS, NULL},
	 { (char *)"csPath_SetTimes", _wrap_csPath_SetTimes, METH_VARARGS, NULL},
	 { (char *)"csPath_GetTimes", _wrap_csPath_GetTimes, METH_VARARGS, NULL},
	 { (char *)"csPath_SetPositionVectors", _wrap_csPath_SetPositionVectors, METH_VARARGS, NULL},
	 { (char *)"csPath_SetUpVectors", _wrap_csPath_SetUpVectors, METH_VARARGS, NULL},
	 { (char *)"csPath_SetForwardVectors", _wrap_csPath_SetForwardVectors, METH_VARARGS, NULL},
	 { (char *)"csPath_SetPositionVector", _wrap_csPath_SetPositionVector, METH_VARARGS, NULL},
	 { (char *)"csPath_SetUpVector", _wrap_csPath_SetUpVector, METH_VARARGS, NULL},
	 { (char *)"csPath_SetForwardVector", _wrap_csPath_SetForwardVector, METH_VARARGS, NULL},
	 { (char *)"csPath_GetPositionVector", _wrap_csPath_GetPositionVector, METH_VARARGS, NULL},
	 { (char *)"csPath_GetUpVector", _wrap_csPath_GetUpVector, METH_VARARGS, NULL},
	 { (char *)"csPath_GetForwardVector", _wrap_csPath_GetForwardVector, METH_VARARGS, NULL},
	 { (char *)"csPath_GetInterpolatedPosition", _wrap_csPath_GetInterpolatedPosition, METH_VARARGS, NULL},
	 { (char *)"csPath_GetInterpolatedUp", _wrap_csPath_GetInterpolatedUp, METH_VARARGS, NULL},
	 { (char *)"csPath_GetInterpolatedForward", _wrap_csPath_GetInterpolatedForward, METH_VARARGS, NULL},
	 { (char *)"csPath_GetDimensionValues", _wrap_csPath_GetDimensionValues, METH_VARARGS, NULL},
	 { (char *)"csPath_GetDimensionValue", _wrap_csPath_GetDimensionValue, METH_VARARGS, NULL},
	 { (char *)"csPath_InsertPoint", _wrap_csPath_InsertPoint, METH_VARARGS, NULL},
	 { (char *)"csPath_RemovePoint", _wrap_csPath_RemovePoint, METH_VARARGS, NULL},
	 { (char *)"csPath_swigregister", csPath_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csPolygonMesh", _wrap_new_csPolygonMesh, METH_VARARGS, NULL},
	 { (char *)"delete_csPolygonMesh", _wrap_delete_csPolygonMesh, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_SetVertices", _wrap_csPolygonMesh_SetVertices, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_SetPolygons", _wrap_csPolygonMesh_SetPolygons, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_SetPolygonIndices", _wrap_csPolygonMesh_SetPolygonIndices, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_SetPolygonIndexCount", _wrap_csPolygonMesh_SetPolygonIndexCount, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_GetPolygonIndices", _wrap_csPolygonMesh_GetPolygonIndices, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_SetVertexCount", _wrap_csPolygonMesh_SetVertexCount, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_SetPolygonCount", _wrap_csPolygonMesh_SetPolygonCount, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_ShapeChanged", _wrap_csPolygonMesh_ShapeChanged, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_GetVertexCount", _wrap_csPolygonMesh_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_GetVertices", _wrap_csPolygonMesh_GetVertices, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_GetPolygonCount", _wrap_csPolygonMesh_GetPolygonCount, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_GetPolygons", _wrap_csPolygonMesh_GetPolygons, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_GetTriangleCount", _wrap_csPolygonMesh_GetTriangleCount, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_GetTriangles", _wrap_csPolygonMesh_GetTriangles, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_Lock", _wrap_csPolygonMesh_Lock, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_Unlock", _wrap_csPolygonMesh_Unlock, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_GetFlags", _wrap_csPolygonMesh_GetFlags, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_GetChangeNumber", _wrap_csPolygonMesh_GetChangeNumber, METH_VARARGS, NULL},
	 { (char *)"csPolygonMesh_swigregister", csPolygonMesh_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csPolygonMeshBox", _wrap_new_csPolygonMeshBox, METH_VARARGS, NULL},
	 { (char *)"delete_csPolygonMeshBox", _wrap_delete_csPolygonMeshBox, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_SetBox", _wrap_csPolygonMeshBox_SetBox, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_GetVertexCount", _wrap_csPolygonMeshBox_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_GetVertices", _wrap_csPolygonMeshBox_GetVertices, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_GetPolygonCount", _wrap_csPolygonMeshBox_GetPolygonCount, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_GetPolygons", _wrap_csPolygonMeshBox_GetPolygons, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_GetTriangleCount", _wrap_csPolygonMeshBox_GetTriangleCount, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_GetTriangles", _wrap_csPolygonMeshBox_GetTriangles, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_Lock", _wrap_csPolygonMeshBox_Lock, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_Unlock", _wrap_csPolygonMeshBox_Unlock, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_GetFlags", _wrap_csPolygonMeshBox_GetFlags, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_GetChangeNumber", _wrap_csPolygonMeshBox_GetChangeNumber, METH_VARARGS, NULL},
	 { (char *)"csPolygonMeshBox_swigregister", csPolygonMeshBox_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_iFrustumViewUserdata", _wrap_delete_iFrustumViewUserdata, METH_VARARGS, NULL},
	 { (char *)"iFrustumViewUserdata_scfGetVersion", _wrap_iFrustumViewUserdata_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iFrustumViewUserdata_swigregister", iFrustumViewUserdata_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csFrustumContext", _wrap_new_csFrustumContext, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_assign", _wrap_csFrustumContext_assign, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_GetShadows", _wrap_csFrustumContext_GetShadows, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_SetShadows", _wrap_csFrustumContext_SetShadows, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_SetNewShadows", _wrap_csFrustumContext_SetNewShadows, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_IsShared", _wrap_csFrustumContext_IsShared, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_SetLightFrustum", _wrap_csFrustumContext_SetLightFrustum, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_SetNewLightFrustum", _wrap_csFrustumContext_SetNewLightFrustum, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_GetLightFrustum", _wrap_csFrustumContext_GetLightFrustum, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_SetMirrored", _wrap_csFrustumContext_SetMirrored, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_IsMirrored", _wrap_csFrustumContext_IsMirrored, METH_VARARGS, NULL},
	 { (char *)"delete_csFrustumContext", _wrap_delete_csFrustumContext, METH_VARARGS, NULL},
	 { (char *)"csFrustumContext_swigregister", csFrustumContext_swigregister, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_GetFrustumContext", _wrap_iFrustumView_GetFrustumContext, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_CreateFrustumContext", _wrap_iFrustumView_CreateFrustumContext, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_CopyFrustumContext", _wrap_iFrustumView_CopyFrustumContext, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_SetFrustumContext", _wrap_iFrustumView_SetFrustumContext, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_RestoreFrustumContext", _wrap_iFrustumView_RestoreFrustumContext, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_SetObjectFunction", _wrap_iFrustumView_SetObjectFunction, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_CallObjectFunction", _wrap_iFrustumView_CallObjectFunction, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_GetRadius", _wrap_iFrustumView_GetRadius, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_GetSquaredRadius", _wrap_iFrustumView_GetSquaredRadius, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_CheckShadowMask", _wrap_iFrustumView_CheckShadowMask, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_CheckProcessMask", _wrap_iFrustumView_CheckProcessMask, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_StartNewShadowBlock", _wrap_iFrustumView_StartNewShadowBlock, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_SetUserdata", _wrap_iFrustumView_SetUserdata, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_GetUserdata", _wrap_iFrustumView_GetUserdata, METH_VARARGS, NULL},
	 { (char *)"delete_iFrustumView", _wrap_delete_iFrustumView, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_scfGetVersion", _wrap_iFrustumView_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iFrustumView_swigregister", iFrustumView_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLightCallback_OnColorChange", _wrap_iLightCallback_OnColorChange, METH_VARARGS, NULL},
	 { (char *)"iLightCallback_OnPositionChange", _wrap_iLightCallback_OnPositionChange, METH_VARARGS, NULL},
	 { (char *)"iLightCallback_OnSectorChange", _wrap_iLightCallback_OnSectorChange, METH_VARARGS, NULL},
	 { (char *)"iLightCallback_OnRadiusChange", _wrap_iLightCallback_OnRadiusChange, METH_VARARGS, NULL},
	 { (char *)"iLightCallback_OnDestroy", _wrap_iLightCallback_OnDestroy, METH_VARARGS, NULL},
	 { (char *)"iLightCallback_OnAttenuationChange", _wrap_iLightCallback_OnAttenuationChange, METH_VARARGS, NULL},
	 { (char *)"delete_iLightCallback", _wrap_delete_iLightCallback, METH_VARARGS, NULL},
	 { (char *)"iLightCallback_swigregister", iLightCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLight_GetLightID", _wrap_iLight_GetLightID, METH_VARARGS, NULL},
	 { (char *)"iLight_QueryObject", _wrap_iLight_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iLight_GetDynamicType", _wrap_iLight_GetDynamicType, METH_VARARGS, NULL},
	 { (char *)"iLight_GetCenter", _wrap_iLight_GetCenter, METH_VARARGS, NULL},
	 { (char *)"iLight_GetFullCenter", _wrap_iLight_GetFullCenter, METH_VARARGS, NULL},
	 { (char *)"iLight_SetCenter", _wrap_iLight_SetCenter, METH_VARARGS, NULL},
	 { (char *)"iLight_GetSector", _wrap_iLight_GetSector, METH_VARARGS, NULL},
	 { (char *)"iLight_GetMovable", _wrap_iLight_GetMovable, METH_VARARGS, NULL},
	 { (char *)"iLight_QuerySceneNode", _wrap_iLight_QuerySceneNode, METH_VARARGS, NULL},
	 { (char *)"iLight_GetColor", _wrap_iLight_GetColor, METH_VARARGS, NULL},
	 { (char *)"iLight_SetColor", _wrap_iLight_SetColor, METH_VARARGS, NULL},
	 { (char *)"iLight_GetSpecularColor", _wrap_iLight_GetSpecularColor, METH_VARARGS, NULL},
	 { (char *)"iLight_SetSpecularColor", _wrap_iLight_SetSpecularColor, METH_VARARGS, NULL},
	 { (char *)"iLight_GetType", _wrap_iLight_GetType, METH_VARARGS, NULL},
	 { (char *)"iLight_SetType", _wrap_iLight_SetType, METH_VARARGS, NULL},
	 { (char *)"iLight_GetAttenuationMode", _wrap_iLight_GetAttenuationMode, METH_VARARGS, NULL},
	 { (char *)"iLight_SetAttenuationMode", _wrap_iLight_SetAttenuationMode, METH_VARARGS, NULL},
	 { (char *)"iLight_SetAttenuationConstants", _wrap_iLight_SetAttenuationConstants, METH_VARARGS, NULL},
	 { (char *)"iLight_GetAttenuationConstants", _wrap_iLight_GetAttenuationConstants, METH_VARARGS, NULL},
	 { (char *)"iLight_GetCutoffDistance", _wrap_iLight_GetCutoffDistance, METH_VARARGS, NULL},
	 { (char *)"iLight_SetCutoffDistance", _wrap_iLight_SetCutoffDistance, METH_VARARGS, NULL},
	 { (char *)"iLight_GetDirectionalCutoffRadius", _wrap_iLight_GetDirectionalCutoffRadius, METH_VARARGS, NULL},
	 { (char *)"iLight_SetDirectionalCutoffRadius", _wrap_iLight_SetDirectionalCutoffRadius, METH_VARARGS, NULL},
	 { (char *)"iLight_SetSpotLightFalloff", _wrap_iLight_SetSpotLightFalloff, METH_VARARGS, NULL},
	 { (char *)"iLight_GetSpotLightFalloff", _wrap_iLight_GetSpotLightFalloff, METH_VARARGS, NULL},
	 { (char *)"iLight_CreateCrossHalo", _wrap_iLight_CreateCrossHalo, METH_VARARGS, NULL},
	 { (char *)"iLight_CreateNovaHalo", _wrap_iLight_CreateNovaHalo, METH_VARARGS, NULL},
	 { (char *)"iLight_CreateFlareHalo", _wrap_iLight_CreateFlareHalo, METH_VARARGS, NULL},
	 { (char *)"iLight_GetHalo", _wrap_iLight_GetHalo, METH_VARARGS, NULL},
	 { (char *)"iLight_GetBrightnessAtDistance", _wrap_iLight_GetBrightnessAtDistance, METH_VARARGS, NULL},
	 { (char *)"iLight_GetFlags", _wrap_iLight_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iLight_SetLightCallback", _wrap_iLight_SetLightCallback, METH_VARARGS, NULL},
	 { (char *)"iLight_RemoveLightCallback", _wrap_iLight_RemoveLightCallback, METH_VARARGS, NULL},
	 { (char *)"iLight_GetLightCallbackCount", _wrap_iLight_GetLightCallbackCount, METH_VARARGS, NULL},
	 { (char *)"iLight_GetLightCallback", _wrap_iLight_GetLightCallback, METH_VARARGS, NULL},
	 { (char *)"iLight_GetLightNumber", _wrap_iLight_GetLightNumber, METH_VARARGS, NULL},
	 { (char *)"iLight_AddAffectedLightingInfo", _wrap_iLight_AddAffectedLightingInfo, METH_VARARGS, NULL},
	 { (char *)"iLight_RemoveAffectedLightingInfo", _wrap_iLight_RemoveAffectedLightingInfo, METH_VARARGS, NULL},
	 { (char *)"iLight_Setup", _wrap_iLight_Setup, METH_VARARGS, NULL},
	 { (char *)"iLight_GetSVContext", _wrap_iLight_GetSVContext, METH_VARARGS, NULL},
	 { (char *)"delete_iLight", _wrap_delete_iLight, METH_VARARGS, NULL},
	 { (char *)"iLight_scfGetVersion", _wrap_iLight_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iLight_swigregister", iLight_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLightList_GetCount", _wrap_iLightList_GetCount, METH_VARARGS, NULL},
	 { (char *)"iLightList_Get", _wrap_iLightList_Get, METH_VARARGS, NULL},
	 { (char *)"iLightList_Add", _wrap_iLightList_Add, METH_VARARGS, NULL},
	 { (char *)"iLightList_Remove", _wrap_iLightList_Remove, METH_VARARGS, NULL},
	 { (char *)"iLightList_RemoveAll", _wrap_iLightList_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iLightList_Find", _wrap_iLightList_Find, METH_VARARGS, NULL},
	 { (char *)"iLightList_FindByName", _wrap_iLightList_FindByName, METH_VARARGS, NULL},
	 { (char *)"iLightList_FindByID", _wrap_iLightList_FindByID, METH_VARARGS, NULL},
	 { (char *)"delete_iLightList", _wrap_delete_iLightList, METH_VARARGS, NULL},
	 { (char *)"iLightList_scfGetVersion", _wrap_iLightList_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iLightList___delitem__", _wrap_iLightList___delitem__, METH_VARARGS, NULL},
	 { (char *)"iLightList___len__", _wrap_iLightList___len__, METH_VARARGS, NULL},
	 { (char *)"iLightList_append", _wrap_iLightList_append, METH_VARARGS, NULL},
	 { (char *)"iLightList___getitem__", _wrap_iLightList___getitem__, METH_VARARGS, NULL},
	 { (char *)"iLightList___contains__", _wrap_iLightList___contains__, METH_VARARGS, NULL},
	 { (char *)"iLightList_swigregister", iLightList_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessData_FinalizeLighting", _wrap_iLightingProcessData_FinalizeLighting, METH_VARARGS, NULL},
	 { (char *)"delete_iLightingProcessData", _wrap_delete_iLightingProcessData, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessData_swigregister", iLightingProcessData_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessInfo_GetLight", _wrap_iLightingProcessInfo_GetLight, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessInfo_IsDynamic", _wrap_iLightingProcessInfo_IsDynamic, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessInfo_SetColor", _wrap_iLightingProcessInfo_SetColor, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessInfo_GetColor", _wrap_iLightingProcessInfo_GetColor, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessInfo_AttachUserdata", _wrap_iLightingProcessInfo_AttachUserdata, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessInfo_QueryUserdata", _wrap_iLightingProcessInfo_QueryUserdata, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessInfo_FinalizeLighting", _wrap_iLightingProcessInfo_FinalizeLighting, METH_VARARGS, NULL},
	 { (char *)"delete_iLightingProcessInfo", _wrap_delete_iLightingProcessInfo, METH_VARARGS, NULL},
	 { (char *)"iLightingProcessInfo_swigregister", iLightingProcessInfo_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLightIterator_HasNext", _wrap_iLightIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iLightIterator_Next", _wrap_iLightIterator_Next, METH_VARARGS, NULL},
	 { (char *)"iLightIterator_GetLastSector", _wrap_iLightIterator_GetLastSector, METH_VARARGS, NULL},
	 { (char *)"iLightIterator_Reset", _wrap_iLightIterator_Reset, METH_VARARGS, NULL},
	 { (char *)"delete_iLightIterator", _wrap_delete_iLightIterator, METH_VARARGS, NULL},
	 { (char *)"iLightIterator_swigregister", iLightIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"csFog_density_set", _wrap_csFog_density_set, METH_VARARGS, NULL},
	 { (char *)"csFog_density_get", _wrap_csFog_density_get, METH_VARARGS, NULL},
	 { (char *)"csFog_color_set", _wrap_csFog_color_set, METH_VARARGS, NULL},
	 { (char *)"csFog_color_get", _wrap_csFog_color_get, METH_VARARGS, NULL},
	 { (char *)"csFog_start_set", _wrap_csFog_start_set, METH_VARARGS, NULL},
	 { (char *)"csFog_start_get", _wrap_csFog_start_get, METH_VARARGS, NULL},
	 { (char *)"csFog_end_set", _wrap_csFog_end_set, METH_VARARGS, NULL},
	 { (char *)"csFog_end_get", _wrap_csFog_end_get, METH_VARARGS, NULL},
	 { (char *)"csFog_mode_set", _wrap_csFog_mode_set, METH_VARARGS, NULL},
	 { (char *)"csFog_mode_get", _wrap_csFog_mode_get, METH_VARARGS, NULL},
	 { (char *)"new_csFog", _wrap_new_csFog, METH_VARARGS, NULL},
	 { (char *)"delete_csFog", _wrap_delete_csFog, METH_VARARGS, NULL},
	 { (char *)"csFog_swigregister", csFog_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSectorCallback_Traverse", _wrap_iSectorCallback_Traverse, METH_VARARGS, NULL},
	 { (char *)"delete_iSectorCallback", _wrap_delete_iSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iSectorCallback_swigregister", iSectorCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSectorMeshCallback_NewMesh", _wrap_iSectorMeshCallback_NewMesh, METH_VARARGS, NULL},
	 { (char *)"iSectorMeshCallback_RemoveMesh", _wrap_iSectorMeshCallback_RemoveMesh, METH_VARARGS, NULL},
	 { (char *)"delete_iSectorMeshCallback", _wrap_delete_iSectorMeshCallback, METH_VARARGS, NULL},
	 { (char *)"iSectorMeshCallback_swigregister", iSectorMeshCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLightVisibleCallback_LightVisible", _wrap_iLightVisibleCallback_LightVisible, METH_VARARGS, NULL},
	 { (char *)"delete_iLightVisibleCallback", _wrap_delete_iLightVisibleCallback, METH_VARARGS, NULL},
	 { (char *)"iLightVisibleCallback_swigregister", iLightVisibleCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"csSectorHitBeamResult_mesh_set", _wrap_csSectorHitBeamResult_mesh_set, METH_VARARGS, NULL},
	 { (char *)"csSectorHitBeamResult_mesh_get", _wrap_csSectorHitBeamResult_mesh_get, METH_VARARGS, NULL},
	 { (char *)"csSectorHitBeamResult_isect_set", _wrap_csSectorHitBeamResult_isect_set, METH_VARARGS, NULL},
	 { (char *)"csSectorHitBeamResult_isect_get", _wrap_csSectorHitBeamResult_isect_get, METH_VARARGS, NULL},
	 { (char *)"csSectorHitBeamResult_polygon_idx_set", _wrap_csSectorHitBeamResult_polygon_idx_set, METH_VARARGS, NULL},
	 { (char *)"csSectorHitBeamResult_polygon_idx_get", _wrap_csSectorHitBeamResult_polygon_idx_get, METH_VARARGS, NULL},
	 { (char *)"csSectorHitBeamResult_final_sector_set", _wrap_csSectorHitBeamResult_final_sector_set, METH_VARARGS, NULL},
	 { (char *)"csSectorHitBeamResult_final_sector_get", _wrap_csSectorHitBeamResult_final_sector_get, METH_VARARGS, NULL},
	 { (char *)"new_csSectorHitBeamResult", _wrap_new_csSectorHitBeamResult, METH_VARARGS, NULL},
	 { (char *)"delete_csSectorHitBeamResult", _wrap_delete_csSectorHitBeamResult, METH_VARARGS, NULL},
	 { (char *)"csSectorHitBeamResult_swigregister", csSectorHitBeamResult_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSector_QueryObject", _wrap_iSector_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iSector_GetMeshes", _wrap_iSector_GetMeshes, METH_VARARGS, NULL},
	 { (char *)"iSector_GetVisibleMeshes", _wrap_iSector_GetVisibleMeshes, METH_VARARGS, NULL},
	 { (char *)"iSector_GetPortalMeshes", _wrap_iSector_GetPortalMeshes, METH_VARARGS, NULL},
	 { (char *)"iSector_UnlinkObjects", _wrap_iSector_UnlinkObjects, METH_VARARGS, NULL},
	 { (char *)"iSector_AddSectorMeshCallback", _wrap_iSector_AddSectorMeshCallback, METH_VARARGS, NULL},
	 { (char *)"iSector_RemoveSectorMeshCallback", _wrap_iSector_RemoveSectorMeshCallback, METH_VARARGS, NULL},
	 { (char *)"iSector_Draw", _wrap_iSector_Draw, METH_VARARGS, NULL},
	 { (char *)"iSector_PrepareDraw", _wrap_iSector_PrepareDraw, METH_VARARGS, NULL},
	 { (char *)"iSector_GetRecLevel", _wrap_iSector_GetRecLevel, METH_VARARGS, NULL},
	 { (char *)"iSector_IncRecLevel", _wrap_iSector_IncRecLevel, METH_VARARGS, NULL},
	 { (char *)"iSector_DecRecLevel", _wrap_iSector_DecRecLevel, METH_VARARGS, NULL},
	 { (char *)"iSector_SetRenderLoop", _wrap_iSector_SetRenderLoop, METH_VARARGS, NULL},
	 { (char *)"iSector_GetRenderLoop", _wrap_iSector_GetRenderLoop, METH_VARARGS, NULL},
	 { (char *)"iSector_CreateMeshGenerator", _wrap_iSector_CreateMeshGenerator, METH_VARARGS, NULL},
	 { (char *)"iSector_GetMeshGeneratorCount", _wrap_iSector_GetMeshGeneratorCount, METH_VARARGS, NULL},
	 { (char *)"iSector_GetMeshGenerator", _wrap_iSector_GetMeshGenerator, METH_VARARGS, NULL},
	 { (char *)"iSector_GetMeshGeneratorByName", _wrap_iSector_GetMeshGeneratorByName, METH_VARARGS, NULL},
	 { (char *)"iSector_RemoveMeshGenerator", _wrap_iSector_RemoveMeshGenerator, METH_VARARGS, NULL},
	 { (char *)"iSector_RemoveMeshGenerators", _wrap_iSector_RemoveMeshGenerators, METH_VARARGS, NULL},
	 { (char *)"iSector_HasFog", _wrap_iSector_HasFog, METH_VARARGS, NULL},
	 { (char *)"iSector_GetFog", _wrap_iSector_GetFog, METH_VARARGS, NULL},
	 { (char *)"iSector_SetFog", _wrap_iSector_SetFog, METH_VARARGS, NULL},
	 { (char *)"iSector_DisableFog", _wrap_iSector_DisableFog, METH_VARARGS, NULL},
	 { (char *)"iSector_GetLights", _wrap_iSector_GetLights, METH_VARARGS, NULL},
	 { (char *)"iSector_ShineLights", _wrap_iSector_ShineLights, METH_VARARGS, NULL},
	 { (char *)"iSector_SetDynamicAmbientLight", _wrap_iSector_SetDynamicAmbientLight, METH_VARARGS, NULL},
	 { (char *)"iSector_GetDynamicAmbientLight", _wrap_iSector_GetDynamicAmbientLight, METH_VARARGS, NULL},
	 { (char *)"iSector_GetDynamicAmbientVersion", _wrap_iSector_GetDynamicAmbientVersion, METH_VARARGS, NULL},
	 { (char *)"iSector_CalculateSectorBBox", _wrap_iSector_CalculateSectorBBox, METH_VARARGS, NULL},
	 { (char *)"iSector_SetVisibilityCullerPlugin", _wrap_iSector_SetVisibilityCullerPlugin, METH_VARARGS, NULL},
	 { (char *)"iSector_GetVisibilityCuller", _wrap_iSector_GetVisibilityCuller, METH_VARARGS, NULL},
	 { (char *)"iSector_CheckFrustum", _wrap_iSector_CheckFrustum, METH_VARARGS, NULL},
	 { (char *)"iSector_HitBeamPortals", _wrap_iSector_HitBeamPortals, METH_VARARGS, NULL},
	 { (char *)"iSector_HitBeam", _wrap_iSector_HitBeam, METH_VARARGS, NULL},
	 { (char *)"iSector_FollowSegment", _wrap_iSector_FollowSegment, METH_VARARGS, NULL},
	 { (char *)"iSector_SetSectorCallback", _wrap_iSector_SetSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iSector_RemoveSectorCallback", _wrap_iSector_RemoveSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iSector_GetSectorCallbackCount", _wrap_iSector_GetSectorCallbackCount, METH_VARARGS, NULL},
	 { (char *)"iSector_GetSectorCallback", _wrap_iSector_GetSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iSector_SetLightCulling", _wrap_iSector_SetLightCulling, METH_VARARGS, NULL},
	 { (char *)"iSector_IsLightCullingEnabled", _wrap_iSector_IsLightCullingEnabled, METH_VARARGS, NULL},
	 { (char *)"iSector_AddLightVisibleCallback", _wrap_iSector_AddLightVisibleCallback, METH_VARARGS, NULL},
	 { (char *)"iSector_RemoveLightVisibleCallback", _wrap_iSector_RemoveLightVisibleCallback, METH_VARARGS, NULL},
	 { (char *)"iSector_GetSVContext", _wrap_iSector_GetSVContext, METH_VARARGS, NULL},
	 { (char *)"iSector_PrecacheDraw", _wrap_iSector_PrecacheDraw, METH_VARARGS, NULL},
	 { (char *)"delete_iSector", _wrap_delete_iSector, METH_VARARGS, NULL},
	 { (char *)"iSector_scfGetVersion", _wrap_iSector_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSector_swigregister", iSector_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSectorList_GetCount", _wrap_iSectorList_GetCount, METH_VARARGS, NULL},
	 { (char *)"iSectorList_Get", _wrap_iSectorList_Get, METH_VARARGS, NULL},
	 { (char *)"iSectorList_Add", _wrap_iSectorList_Add, METH_VARARGS, NULL},
	 { (char *)"iSectorList_Remove", _wrap_iSectorList_Remove, METH_VARARGS, NULL},
	 { (char *)"iSectorList_RemoveAll", _wrap_iSectorList_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iSectorList_Find", _wrap_iSectorList_Find, METH_VARARGS, NULL},
	 { (char *)"iSectorList_FindByName", _wrap_iSectorList_FindByName, METH_VARARGS, NULL},
	 { (char *)"delete_iSectorList", _wrap_delete_iSectorList, METH_VARARGS, NULL},
	 { (char *)"iSectorList_scfGetVersion", _wrap_iSectorList_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSectorList___delitem__", _wrap_iSectorList___delitem__, METH_VARARGS, NULL},
	 { (char *)"iSectorList___len__", _wrap_iSectorList___len__, METH_VARARGS, NULL},
	 { (char *)"iSectorList_append", _wrap_iSectorList_append, METH_VARARGS, NULL},
	 { (char *)"iSectorList___getitem__", _wrap_iSectorList___getitem__, METH_VARARGS, NULL},
	 { (char *)"iSectorList___contains__", _wrap_iSectorList___contains__, METH_VARARGS, NULL},
	 { (char *)"iSectorList_swigregister", iSectorList_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSectorIterator_HasNext", _wrap_iSectorIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iSectorIterator_Next", _wrap_iSectorIterator_Next, METH_VARARGS, NULL},
	 { (char *)"iSectorIterator_GetLastPosition", _wrap_iSectorIterator_GetLastPosition, METH_VARARGS, NULL},
	 { (char *)"iSectorIterator_Reset", _wrap_iSectorIterator_Reset, METH_VARARGS, NULL},
	 { (char *)"delete_iSectorIterator", _wrap_delete_iSectorIterator, METH_VARARGS, NULL},
	 { (char *)"iSectorIterator_swigregister", iSectorIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEngineFrameCallback_StartFrame", _wrap_iEngineFrameCallback_StartFrame, METH_VARARGS, NULL},
	 { (char *)"delete_iEngineFrameCallback", _wrap_delete_iEngineFrameCallback, METH_VARARGS, NULL},
	 { (char *)"iEngineFrameCallback_swigregister", iEngineFrameCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEngineSectorCallback_NewSector", _wrap_iEngineSectorCallback_NewSector, METH_VARARGS, NULL},
	 { (char *)"iEngineSectorCallback_RemoveSector", _wrap_iEngineSectorCallback_RemoveSector, METH_VARARGS, NULL},
	 { (char *)"delete_iEngineSectorCallback", _wrap_delete_iEngineSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iEngineSectorCallback_swigregister", iEngineSectorCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEngine_QueryObject", _wrap_iEngine_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iEngine_Prepare", _wrap_iEngine_Prepare, METH_VARARGS, NULL},
	 { (char *)"iEngine_PrepareTextures", _wrap_iEngine_PrepareTextures, METH_VARARGS, NULL},
	 { (char *)"iEngine_PrepareMeshes", _wrap_iEngine_PrepareMeshes, METH_VARARGS, NULL},
	 { (char *)"iEngine_ForceRelight", _wrap_iEngine_ForceRelight, METH_VARARGS, NULL},
	 { (char *)"iEngine_ShineLights", _wrap_iEngine_ShineLights, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetLightingCacheMode", _wrap_iEngine_SetLightingCacheMode, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetLightingCacheMode", _wrap_iEngine_GetLightingCacheMode, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetCacheManager", _wrap_iEngine_SetCacheManager, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetVFSCacheManager", _wrap_iEngine_SetVFSCacheManager, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetCacheManager", _wrap_iEngine_GetCacheManager, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetMaxLightmapSize", _wrap_iEngine_SetMaxLightmapSize, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetMaxLightmapSize", _wrap_iEngine_GetMaxLightmapSize, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetDefaultMaxLightmapSize", _wrap_iEngine_GetDefaultMaxLightmapSize, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetMaxLightmapAspectRatio", _wrap_iEngine_GetMaxLightmapAspectRatio, METH_VARARGS, NULL},
	 { (char *)"iEngine_RegisterRenderPriority", _wrap_iEngine_RegisterRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetRenderPriority", _wrap_iEngine_GetRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetRenderPrioritySorting", _wrap_iEngine_GetRenderPrioritySorting, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetSkyRenderPriority", _wrap_iEngine_GetSkyRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetPortalRenderPriority", _wrap_iEngine_GetPortalRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetWallRenderPriority", _wrap_iEngine_GetWallRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetObjectRenderPriority", _wrap_iEngine_GetObjectRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetAlphaRenderPriority", _wrap_iEngine_GetAlphaRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iEngine_ClearRenderPriorities", _wrap_iEngine_ClearRenderPriorities, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetRenderPriorityCount", _wrap_iEngine_GetRenderPriorityCount, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetRenderPriorityName", _wrap_iEngine_GetRenderPriorityName, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateBaseMaterial", _wrap_iEngine_CreateBaseMaterial, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateMaterial", _wrap_iEngine_CreateMaterial, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetMaterialList", _wrap_iEngine_GetMaterialList, METH_VARARGS, NULL},
	 { (char *)"iEngine_FindMaterial", _wrap_iEngine_FindMaterial, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateTexture", _wrap_iEngine_CreateTexture, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateBlackTexture", _wrap_iEngine_CreateBlackTexture, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetTextureFormat", _wrap_iEngine_GetTextureFormat, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetTextureList", _wrap_iEngine_GetTextureList, METH_VARARGS, NULL},
	 { (char *)"iEngine_FindTexture", _wrap_iEngine_FindTexture, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateLight", _wrap_iEngine_CreateLight, METH_VARARGS, NULL},
	 { (char *)"iEngine_FindLight", _wrap_iEngine_FindLight, METH_VARARGS, NULL},
	 { (char *)"iEngine_FindLightID", _wrap_iEngine_FindLightID, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetLightIterator", _wrap_iEngine_GetLightIterator, METH_VARARGS, NULL},
	 { (char *)"iEngine_RemoveLight", _wrap_iEngine_RemoveLight, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetAmbientLight", _wrap_iEngine_SetAmbientLight, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetAmbientLight", _wrap_iEngine_GetAmbientLight, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetDefaultAmbientLight", _wrap_iEngine_GetDefaultAmbientLight, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetNearbyLights", _wrap_iEngine_GetNearbyLights, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateSector", _wrap_iEngine_CreateSector, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetSectors", _wrap_iEngine_GetSectors, METH_VARARGS, NULL},
	 { (char *)"iEngine_FindSector", _wrap_iEngine_FindSector, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetNearbySectors", _wrap_iEngine_GetNearbySectors, METH_VARARGS, NULL},
	 { (char *)"iEngine_AddEngineFrameCallback", _wrap_iEngine_AddEngineFrameCallback, METH_VARARGS, NULL},
	 { (char *)"iEngine_RemoveEngineFrameCallback", _wrap_iEngine_RemoveEngineFrameCallback, METH_VARARGS, NULL},
	 { (char *)"iEngine_AddEngineSectorCallback", _wrap_iEngine_AddEngineSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iEngine_RemoveEngineSectorCallback", _wrap_iEngine_RemoveEngineSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateMeshWrapper", _wrap_iEngine_CreateMeshWrapper, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateSectorWallsMesh", _wrap_iEngine_CreateSectorWallsMesh, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateThingMesh", _wrap_iEngine_CreateThingMesh, METH_VARARGS, NULL},
	 { (char *)"iEngine_LoadMeshWrapper", _wrap_iEngine_LoadMeshWrapper, METH_VARARGS, NULL},
	 { (char *)"iEngine_AddMeshAndChildren", _wrap_iEngine_AddMeshAndChildren, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetNearbyMeshes", _wrap_iEngine_GetNearbyMeshes, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetMeshes", _wrap_iEngine_GetMeshes, METH_VARARGS, NULL},
	 { (char *)"iEngine_FindMeshObject", _wrap_iEngine_FindMeshObject, METH_VARARGS, NULL},
	 { (char *)"iEngine_WantToDie", _wrap_iEngine_WantToDie, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateMeshFactory", _wrap_iEngine_CreateMeshFactory, METH_VARARGS, NULL},
	 { (char *)"iEngine_LoadMeshFactory", _wrap_iEngine_LoadMeshFactory, METH_VARARGS, NULL},
	 { (char *)"iEngine_FindMeshFactory", _wrap_iEngine_FindMeshFactory, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetMeshFactories", _wrap_iEngine_GetMeshFactories, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateRegion", _wrap_iEngine_CreateRegion, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetRegions", _wrap_iEngine_GetRegions, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateCamera", _wrap_iEngine_CreateCamera, METH_VARARGS, NULL},
	 { (char *)"iEngine_FindCameraPosition", _wrap_iEngine_FindCameraPosition, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetCameraPositions", _wrap_iEngine_GetCameraPositions, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreatePortal", _wrap_iEngine_CreatePortal, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreatePortalContainer", _wrap_iEngine_CreatePortalContainer, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetClearZBuf", _wrap_iEngine_SetClearZBuf, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetClearZBuf", _wrap_iEngine_GetClearZBuf, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetDefaultClearZBuf", _wrap_iEngine_GetDefaultClearZBuf, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetClearScreen", _wrap_iEngine_SetClearScreen, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetClearScreen", _wrap_iEngine_GetClearScreen, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetDefaultClearScreen", _wrap_iEngine_GetDefaultClearScreen, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetBeginDrawFlags", _wrap_iEngine_GetBeginDrawFlags, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetTopLevelClipper", _wrap_iEngine_GetTopLevelClipper, METH_VARARGS, NULL},
	 { (char *)"iEngine_PrecacheDraw", _wrap_iEngine_PrecacheDraw, METH_VARARGS, NULL},
	 { (char *)"iEngine_Draw", _wrap_iEngine_Draw, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetContext", _wrap_iEngine_SetContext, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetContext", _wrap_iEngine_GetContext, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetRenderLoopManager", _wrap_iEngine_GetRenderLoopManager, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetCurrentDefaultRenderloop", _wrap_iEngine_GetCurrentDefaultRenderloop, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetCurrentDefaultRenderloop", _wrap_iEngine_SetCurrentDefaultRenderloop, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetCurrentFrameNumber", _wrap_iEngine_GetCurrentFrameNumber, METH_VARARGS, NULL},
	 { (char *)"iEngine_SetSaveableFlag", _wrap_iEngine_SetSaveableFlag, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetSaveableFlag", _wrap_iEngine_GetSaveableFlag, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateLoaderContext", _wrap_iEngine_CreateLoaderContext, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetNearbyObjects", _wrap_iEngine_GetNearbyObjects, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetVisibleObjects", _wrap_iEngine_GetVisibleObjects, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetVisibleMeshes", _wrap_iEngine_GetVisibleMeshes, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateFrustumView", _wrap_iEngine_CreateFrustumView, METH_VARARGS, NULL},
	 { (char *)"iEngine_CreateObjectWatcher", _wrap_iEngine_CreateObjectWatcher, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetVariableList", _wrap_iEngine_GetVariableList, METH_VARARGS, NULL},
	 { (char *)"iEngine_GetCollections", _wrap_iEngine_GetCollections, METH_VARARGS, NULL},
	 { (char *)"iEngine_FindCollection", _wrap_iEngine_FindCollection, METH_VARARGS, NULL},
	 { (char *)"iEngine_RemoveObject", _wrap_iEngine_RemoveObject, METH_VARARGS, NULL},
	 { (char *)"iEngine_DelayedRemoveObject", _wrap_iEngine_DelayedRemoveObject, METH_VARARGS, NULL},
	 { (char *)"iEngine_RemoveDelayedRemoves", _wrap_iEngine_RemoveDelayedRemoves, METH_VARARGS, NULL},
	 { (char *)"iEngine_DeleteAll", _wrap_iEngine_DeleteAll, METH_VARARGS, NULL},
	 { (char *)"iEngine_ResetWorldSpecificSettings", _wrap_iEngine_ResetWorldSpecificSettings, METH_VARARGS, NULL},
	 { (char *)"delete_iEngine", _wrap_delete_iEngine, METH_VARARGS, NULL},
	 { (char *)"iEngine_scfGetVersion", _wrap_iEngine_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iEngine_swigregister", iEngine_swigregister, METH_VARARGS, NULL},
	 { (char *)"iCameraSectorListener_NewSector", _wrap_iCameraSectorListener_NewSector, METH_VARARGS, NULL},
	 { (char *)"delete_iCameraSectorListener", _wrap_delete_iCameraSectorListener, METH_VARARGS, NULL},
	 { (char *)"iCameraSectorListener_swigregister", iCameraSectorListener_swigregister, METH_VARARGS, NULL},
	 { (char *)"iCamera_Clone", _wrap_iCamera_Clone, METH_VARARGS, NULL},
	 { (char *)"iCamera_QuerySceneNode", _wrap_iCamera_QuerySceneNode, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetFOV", _wrap_iCamera_GetFOV, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetInvFOV", _wrap_iCamera_GetInvFOV, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetFOVAngle", _wrap_iCamera_GetFOVAngle, METH_VARARGS, NULL},
	 { (char *)"iCamera_SetFOV", _wrap_iCamera_SetFOV, METH_VARARGS, NULL},
	 { (char *)"iCamera_SetFOVAngle", _wrap_iCamera_SetFOVAngle, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetShiftX", _wrap_iCamera_GetShiftX, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetShiftY", _wrap_iCamera_GetShiftY, METH_VARARGS, NULL},
	 { (char *)"iCamera_SetPerspectiveCenter", _wrap_iCamera_SetPerspectiveCenter, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetTransform", _wrap_iCamera_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iCamera_SetTransform", _wrap_iCamera_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iCamera_MoveWorld", _wrap_iCamera_MoveWorld, METH_VARARGS, NULL},
	 { (char *)"iCamera_Move", _wrap_iCamera_Move, METH_VARARGS, NULL},
	 { (char *)"iCamera_MoveWorldUnrestricted", _wrap_iCamera_MoveWorldUnrestricted, METH_VARARGS, NULL},
	 { (char *)"iCamera_MoveUnrestricted", _wrap_iCamera_MoveUnrestricted, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetSector", _wrap_iCamera_GetSector, METH_VARARGS, NULL},
	 { (char *)"iCamera_SetSector", _wrap_iCamera_SetSector, METH_VARARGS, NULL},
	 { (char *)"iCamera_Correct", _wrap_iCamera_Correct, METH_VARARGS, NULL},
	 { (char *)"iCamera_IsMirrored", _wrap_iCamera_IsMirrored, METH_VARARGS, NULL},
	 { (char *)"iCamera_SetMirrored", _wrap_iCamera_SetMirrored, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetFarPlane", _wrap_iCamera_GetFarPlane, METH_VARARGS, NULL},
	 { (char *)"iCamera_SetFarPlane", _wrap_iCamera_SetFarPlane, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetCameraNumber", _wrap_iCamera_GetCameraNumber, METH_VARARGS, NULL},
	 { (char *)"iCamera_Perspective", _wrap_iCamera_Perspective, METH_VARARGS, NULL},
	 { (char *)"iCamera_InvPerspective", _wrap_iCamera_InvPerspective, METH_VARARGS, NULL},
	 { (char *)"iCamera_OnlyPortals", _wrap_iCamera_OnlyPortals, METH_VARARGS, NULL},
	 { (char *)"iCamera_GetOnlyPortals", _wrap_iCamera_GetOnlyPortals, METH_VARARGS, NULL},
	 { (char *)"iCamera_AddCameraSectorListener", _wrap_iCamera_AddCameraSectorListener, METH_VARARGS, NULL},
	 { (char *)"iCamera_RemoveCameraSectorListener", _wrap_iCamera_RemoveCameraSectorListener, METH_VARARGS, NULL},
	 { (char *)"delete_iCamera", _wrap_delete_iCamera, METH_VARARGS, NULL},
	 { (char *)"iCamera_scfGetVersion", _wrap_iCamera_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iCamera_swigregister", iCamera_swigregister, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_QueryObject", _wrap_iCameraPosition_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_Clone", _wrap_iCameraPosition_Clone, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_GetSector", _wrap_iCameraPosition_GetSector, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_SetSector", _wrap_iCameraPosition_SetSector, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_GetPosition", _wrap_iCameraPosition_GetPosition, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_SetPosition", _wrap_iCameraPosition_SetPosition, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_GetUpwardVector", _wrap_iCameraPosition_GetUpwardVector, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_SetUpwardVector", _wrap_iCameraPosition_SetUpwardVector, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_GetForwardVector", _wrap_iCameraPosition_GetForwardVector, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_SetForwardVector", _wrap_iCameraPosition_SetForwardVector, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_Set", _wrap_iCameraPosition_Set, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_Load", _wrap_iCameraPosition_Load, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_SetFarPlane", _wrap_iCameraPosition_SetFarPlane, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_ClearFarPlane", _wrap_iCameraPosition_ClearFarPlane, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_GetFarPlane", _wrap_iCameraPosition_GetFarPlane, METH_VARARGS, NULL},
	 { (char *)"delete_iCameraPosition", _wrap_delete_iCameraPosition, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_scfGetVersion", _wrap_iCameraPosition_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iCameraPosition_swigregister", iCameraPosition_swigregister, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_NewCameraPosition", _wrap_iCameraPositionList_NewCameraPosition, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_GetCount", _wrap_iCameraPositionList_GetCount, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_Get", _wrap_iCameraPositionList_Get, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_Add", _wrap_iCameraPositionList_Add, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_Remove", _wrap_iCameraPositionList_Remove, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_RemoveAll", _wrap_iCameraPositionList_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_Find", _wrap_iCameraPositionList_Find, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_FindByName", _wrap_iCameraPositionList_FindByName, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList___delitem__", _wrap_iCameraPositionList___delitem__, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList___len__", _wrap_iCameraPositionList___len__, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_append", _wrap_iCameraPositionList_append, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList___getitem__", _wrap_iCameraPositionList___getitem__, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList___contains__", _wrap_iCameraPositionList___contains__, METH_VARARGS, NULL},
	 { (char *)"delete_iCameraPositionList", _wrap_delete_iCameraPositionList, METH_VARARGS, NULL},
	 { (char *)"iCameraPositionList_swigregister", iCameraPositionList_swigregister, METH_VARARGS, NULL},
	 { (char *)"iTextureCallback_UseTexture", _wrap_iTextureCallback_UseTexture, METH_VARARGS, NULL},
	 { (char *)"delete_iTextureCallback", _wrap_delete_iTextureCallback, METH_VARARGS, NULL},
	 { (char *)"iTextureCallback_swigregister", iTextureCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_QueryObject", _wrap_iTextureWrapper_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_Clone", _wrap_iTextureWrapper_Clone, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_SetImageFile", _wrap_iTextureWrapper_SetImageFile, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_GetImageFile", _wrap_iTextureWrapper_GetImageFile, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_SetTextureHandle", _wrap_iTextureWrapper_SetTextureHandle, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_GetTextureHandle", _wrap_iTextureWrapper_GetTextureHandle, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_SetKeyColor", _wrap_iTextureWrapper_SetKeyColor, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_GetKeyColor", _wrap_iTextureWrapper_GetKeyColor, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_SetFlags", _wrap_iTextureWrapper_SetFlags, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_GetFlags", _wrap_iTextureWrapper_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_Register", _wrap_iTextureWrapper_Register, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_SetUseCallback", _wrap_iTextureWrapper_SetUseCallback, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_GetUseCallback", _wrap_iTextureWrapper_GetUseCallback, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_Visit", _wrap_iTextureWrapper_Visit, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_IsVisitRequired", _wrap_iTextureWrapper_IsVisitRequired, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_SetKeepImage", _wrap_iTextureWrapper_SetKeepImage, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_KeepImage", _wrap_iTextureWrapper_KeepImage, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_SetTextureClass", _wrap_iTextureWrapper_SetTextureClass, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_GetTextureClass", _wrap_iTextureWrapper_GetTextureClass, METH_VARARGS, NULL},
	 { (char *)"delete_iTextureWrapper", _wrap_delete_iTextureWrapper, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_scfGetVersion", _wrap_iTextureWrapper_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iTextureWrapper_swigregister", iTextureWrapper_swigregister, METH_VARARGS, NULL},
	 { (char *)"iTextureList_NewTexture", _wrap_iTextureList_NewTexture, METH_VARARGS, NULL},
	 { (char *)"iTextureList_GetCount", _wrap_iTextureList_GetCount, METH_VARARGS, NULL},
	 { (char *)"iTextureList_Get", _wrap_iTextureList_Get, METH_VARARGS, NULL},
	 { (char *)"iTextureList_Add", _wrap_iTextureList_Add, METH_VARARGS, NULL},
	 { (char *)"iTextureList_Remove", _wrap_iTextureList_Remove, METH_VARARGS, NULL},
	 { (char *)"iTextureList_RemoveAll", _wrap_iTextureList_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iTextureList_Find", _wrap_iTextureList_Find, METH_VARARGS, NULL},
	 { (char *)"iTextureList_FindByName", _wrap_iTextureList_FindByName, METH_VARARGS, NULL},
	 { (char *)"delete_iTextureList", _wrap_delete_iTextureList, METH_VARARGS, NULL},
	 { (char *)"iTextureList_scfGetVersion", _wrap_iTextureList_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iTextureList___delitem__", _wrap_iTextureList___delitem__, METH_VARARGS, NULL},
	 { (char *)"iTextureList___len__", _wrap_iTextureList___len__, METH_VARARGS, NULL},
	 { (char *)"iTextureList_append", _wrap_iTextureList_append, METH_VARARGS, NULL},
	 { (char *)"iTextureList___getitem__", _wrap_iTextureList___getitem__, METH_VARARGS, NULL},
	 { (char *)"iTextureList___contains__", _wrap_iTextureList___contains__, METH_VARARGS, NULL},
	 { (char *)"iTextureList_swigregister", iTextureList_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMaterialWrapper_QueryObject", _wrap_iMaterialWrapper_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iMaterialWrapper_SetMaterial", _wrap_iMaterialWrapper_SetMaterial, METH_VARARGS, NULL},
	 { (char *)"iMaterialWrapper_GetMaterial", _wrap_iMaterialWrapper_GetMaterial, METH_VARARGS, NULL},
	 { (char *)"iMaterialWrapper_Visit", _wrap_iMaterialWrapper_Visit, METH_VARARGS, NULL},
	 { (char *)"iMaterialWrapper_IsVisitRequired", _wrap_iMaterialWrapper_IsVisitRequired, METH_VARARGS, NULL},
	 { (char *)"delete_iMaterialWrapper", _wrap_delete_iMaterialWrapper, METH_VARARGS, NULL},
	 { (char *)"iMaterialWrapper_scfGetVersion", _wrap_iMaterialWrapper_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMaterialWrapper_swigregister", iMaterialWrapper_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMaterialEngine_GetTextureWrapper", _wrap_iMaterialEngine_GetTextureWrapper, METH_VARARGS, NULL},
	 { (char *)"iMaterialEngine_Visit", _wrap_iMaterialEngine_Visit, METH_VARARGS, NULL},
	 { (char *)"iMaterialEngine_IsVisitRequired", _wrap_iMaterialEngine_IsVisitRequired, METH_VARARGS, NULL},
	 { (char *)"delete_iMaterialEngine", _wrap_delete_iMaterialEngine, METH_VARARGS, NULL},
	 { (char *)"iMaterialEngine_swigregister", iMaterialEngine_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_NewMaterial", _wrap_iMaterialList_NewMaterial, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_GetCount", _wrap_iMaterialList_GetCount, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_Get", _wrap_iMaterialList_Get, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_Add", _wrap_iMaterialList_Add, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_Remove", _wrap_iMaterialList_Remove, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_RemoveAll", _wrap_iMaterialList_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_Find", _wrap_iMaterialList_Find, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_FindByName", _wrap_iMaterialList_FindByName, METH_VARARGS, NULL},
	 { (char *)"iMaterialList___delitem__", _wrap_iMaterialList___delitem__, METH_VARARGS, NULL},
	 { (char *)"iMaterialList___len__", _wrap_iMaterialList___len__, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_append", _wrap_iMaterialList_append, METH_VARARGS, NULL},
	 { (char *)"iMaterialList___getitem__", _wrap_iMaterialList___getitem__, METH_VARARGS, NULL},
	 { (char *)"iMaterialList___contains__", _wrap_iMaterialList___contains__, METH_VARARGS, NULL},
	 { (char *)"delete_iMaterialList", _wrap_delete_iMaterialList, METH_VARARGS, NULL},
	 { (char *)"iMaterialList_swigregister", iMaterialList_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArrayReadOnly_GetSize", _wrap_iSceneNodeArrayReadOnly_GetSize, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArrayReadOnly_Get", _wrap_iSceneNodeArrayReadOnly_Get, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArrayReadOnly_Top", _wrap_iSceneNodeArrayReadOnly_Top, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArrayReadOnly_Find", _wrap_iSceneNodeArrayReadOnly_Find, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArrayReadOnly_GetIndex", _wrap_iSceneNodeArrayReadOnly_GetIndex, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArrayReadOnly_IsEmpty", _wrap_iSceneNodeArrayReadOnly_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArrayReadOnly_GetAll", _wrap_iSceneNodeArrayReadOnly_GetAll, METH_VARARGS, NULL},
	 { (char *)"delete_iSceneNodeArrayReadOnly", _wrap_delete_iSceneNodeArrayReadOnly, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArrayReadOnly_swigregister", iSceneNodeArrayReadOnly_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_iSceneNodeArray", _wrap_delete_iSceneNodeArray, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArray_scfGetVersion", _wrap_iSceneNodeArray_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSceneNodeArray_swigregister", iSceneNodeArray_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_GetMovable", _wrap_iSceneNode_GetMovable, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_QueryMesh", _wrap_iSceneNode_QueryMesh, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_QueryLight", _wrap_iSceneNode_QueryLight, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_QueryCamera", _wrap_iSceneNode_QueryCamera, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_SetParent", _wrap_iSceneNode_SetParent, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_GetParent", _wrap_iSceneNode_GetParent, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_GetChildren", _wrap_iSceneNode_GetChildren, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_GetChildrenArray", _wrap_iSceneNode_GetChildrenArray, METH_VARARGS, NULL},
	 { (char *)"delete_iSceneNode", _wrap_delete_iSceneNode, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_scfGetVersion", _wrap_iSceneNode_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSceneNode_swigregister", iSceneNode_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshDrawCallback_BeforeDrawing", _wrap_iMeshDrawCallback_BeforeDrawing, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshDrawCallback", _wrap_delete_iMeshDrawCallback, METH_VARARGS, NULL},
	 { (char *)"iMeshDrawCallback_swigregister", iMeshDrawCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_isect_set", _wrap_csHitBeamResult_isect_set, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_isect_get", _wrap_csHitBeamResult_isect_get, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_r_set", _wrap_csHitBeamResult_r_set, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_r_get", _wrap_csHitBeamResult_r_get, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_polygon_idx_set", _wrap_csHitBeamResult_polygon_idx_set, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_polygon_idx_get", _wrap_csHitBeamResult_polygon_idx_get, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_material_set", _wrap_csHitBeamResult_material_set, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_material_get", _wrap_csHitBeamResult_material_get, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_facehit_set", _wrap_csHitBeamResult_facehit_set, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_facehit_get", _wrap_csHitBeamResult_facehit_get, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_hit_set", _wrap_csHitBeamResult_hit_set, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_hit_get", _wrap_csHitBeamResult_hit_get, METH_VARARGS, NULL},
	 { (char *)"new_csHitBeamResult", _wrap_new_csHitBeamResult, METH_VARARGS, NULL},
	 { (char *)"delete_csHitBeamResult", _wrap_delete_csHitBeamResult, METH_VARARGS, NULL},
	 { (char *)"csHitBeamResult_swigregister", csHitBeamResult_swigregister, METH_VARARGS, NULL},
	 { (char *)"csScreenBoxResult_sbox_set", _wrap_csScreenBoxResult_sbox_set, METH_VARARGS, NULL},
	 { (char *)"csScreenBoxResult_sbox_get", _wrap_csScreenBoxResult_sbox_get, METH_VARARGS, NULL},
	 { (char *)"csScreenBoxResult_cbox_set", _wrap_csScreenBoxResult_cbox_set, METH_VARARGS, NULL},
	 { (char *)"csScreenBoxResult_cbox_get", _wrap_csScreenBoxResult_cbox_get, METH_VARARGS, NULL},
	 { (char *)"csScreenBoxResult_distance_set", _wrap_csScreenBoxResult_distance_set, METH_VARARGS, NULL},
	 { (char *)"csScreenBoxResult_distance_get", _wrap_csScreenBoxResult_distance_get, METH_VARARGS, NULL},
	 { (char *)"new_csScreenBoxResult", _wrap_new_csScreenBoxResult, METH_VARARGS, NULL},
	 { (char *)"delete_csScreenBoxResult", _wrap_delete_csScreenBoxResult, METH_VARARGS, NULL},
	 { (char *)"csScreenBoxResult_swigregister", csScreenBoxResult_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_QueryObject", _wrap_iMeshWrapper_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetMeshObject", _wrap_iMeshWrapper_GetMeshObject, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetMeshObject", _wrap_iMeshWrapper_SetMeshObject, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetPortalContainer", _wrap_iMeshWrapper_GetPortalContainer, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetLightingInfo", _wrap_iMeshWrapper_GetLightingInfo, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetShadowReceiver", _wrap_iMeshWrapper_GetShadowReceiver, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetShadowCaster", _wrap_iMeshWrapper_GetShadowCaster, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetFactory", _wrap_iMeshWrapper_GetFactory, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetFactory", _wrap_iMeshWrapper_SetFactory, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetLightingUpdate", _wrap_iMeshWrapper_SetLightingUpdate, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetMovable", _wrap_iMeshWrapper_GetMovable, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_QuerySceneNode", _wrap_iMeshWrapper_QuerySceneNode, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_FindChildByName", _wrap_iMeshWrapper_FindChildByName, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_PlaceMesh", _wrap_iMeshWrapper_PlaceMesh, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_HitBeamBBox", _wrap_iMeshWrapper_HitBeamBBox, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_HitBeamOutline", _wrap_iMeshWrapper_HitBeamOutline, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_HitBeamObject", _wrap_iMeshWrapper_HitBeamObject, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_HitBeam", _wrap_iMeshWrapper_HitBeam, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetDrawCallback", _wrap_iMeshWrapper_SetDrawCallback, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_RemoveDrawCallback", _wrap_iMeshWrapper_RemoveDrawCallback, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetDrawCallbackCount", _wrap_iMeshWrapper_GetDrawCallbackCount, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetDrawCallback", _wrap_iMeshWrapper_GetDrawCallback, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetRenderPriority", _wrap_iMeshWrapper_SetRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetRenderPriority", _wrap_iMeshWrapper_GetRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetRenderPriorityRecursive", _wrap_iMeshWrapper_SetRenderPriorityRecursive, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetFlags", _wrap_iMeshWrapper_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetFlagsRecursive", _wrap_iMeshWrapper_SetFlagsRecursive, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetZBufMode", _wrap_iMeshWrapper_SetZBufMode, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetZBufMode", _wrap_iMeshWrapper_GetZBufMode, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetZBufModeRecursive", _wrap_iMeshWrapper_SetZBufModeRecursive, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_HardTransform", _wrap_iMeshWrapper_HardTransform, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetWorldBoundingBox", _wrap_iMeshWrapper_GetWorldBoundingBox, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetTransformedBoundingBox", _wrap_iMeshWrapper_GetTransformedBoundingBox, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetScreenBoundingBox", _wrap_iMeshWrapper_GetScreenBoundingBox, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetRadius", _wrap_iMeshWrapper_GetRadius, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_ResetMinMaxRenderDistance", _wrap_iMeshWrapper_ResetMinMaxRenderDistance, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetMinimumRenderDistance", _wrap_iMeshWrapper_SetMinimumRenderDistance, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetMinimumRenderDistance", _wrap_iMeshWrapper_GetMinimumRenderDistance, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetMaximumRenderDistance", _wrap_iMeshWrapper_SetMaximumRenderDistance, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetMaximumRenderDistance", _wrap_iMeshWrapper_GetMaximumRenderDistance, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetMinimumRenderDistanceVar", _wrap_iMeshWrapper_SetMinimumRenderDistanceVar, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetMinimumRenderDistanceVar", _wrap_iMeshWrapper_GetMinimumRenderDistanceVar, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_SetMaximumRenderDistanceVar", _wrap_iMeshWrapper_SetMaximumRenderDistanceVar, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetMaximumRenderDistanceVar", _wrap_iMeshWrapper_GetMaximumRenderDistanceVar, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_CreateStaticLOD", _wrap_iMeshWrapper_CreateStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_DestroyStaticLOD", _wrap_iMeshWrapper_DestroyStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetStaticLOD", _wrap_iMeshWrapper_GetStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_AddMeshToStaticLOD", _wrap_iMeshWrapper_AddMeshToStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_RemoveMeshFromStaticLOD", _wrap_iMeshWrapper_RemoveMeshFromStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_GetSVContext", _wrap_iMeshWrapper_GetSVContext, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshWrapper", _wrap_delete_iMeshWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_scfGetVersion", _wrap_iMeshWrapper_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapper_swigregister", iMeshWrapper_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_QueryObject", _wrap_iMeshFactoryWrapper_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_GetMeshObjectFactory", _wrap_iMeshFactoryWrapper_GetMeshObjectFactory, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_SetMeshObjectFactory", _wrap_iMeshFactoryWrapper_SetMeshObjectFactory, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_HardTransform", _wrap_iMeshFactoryWrapper_HardTransform, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_CreateMeshWrapper", _wrap_iMeshFactoryWrapper_CreateMeshWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_GetFlags", _wrap_iMeshFactoryWrapper_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_GetParentContainer", _wrap_iMeshFactoryWrapper_GetParentContainer, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_SetParentContainer", _wrap_iMeshFactoryWrapper_SetParentContainer, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_GetChildren", _wrap_iMeshFactoryWrapper_GetChildren, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_GetTransform", _wrap_iMeshFactoryWrapper_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_SetTransform", _wrap_iMeshFactoryWrapper_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_CreateStaticLOD", _wrap_iMeshFactoryWrapper_CreateStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_DestroyStaticLOD", _wrap_iMeshFactoryWrapper_DestroyStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_SetStaticLOD", _wrap_iMeshFactoryWrapper_SetStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_GetStaticLOD", _wrap_iMeshFactoryWrapper_GetStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_AddFactoryToStaticLOD", _wrap_iMeshFactoryWrapper_AddFactoryToStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_RemoveFactoryFromStaticLOD", _wrap_iMeshFactoryWrapper_RemoveFactoryFromStaticLOD, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_SetZBufMode", _wrap_iMeshFactoryWrapper_SetZBufMode, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_GetZBufMode", _wrap_iMeshFactoryWrapper_GetZBufMode, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_SetZBufModeRecursive", _wrap_iMeshFactoryWrapper_SetZBufModeRecursive, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_SetRenderPriority", _wrap_iMeshFactoryWrapper_SetRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_GetRenderPriority", _wrap_iMeshFactoryWrapper_GetRenderPriority, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_SetRenderPriorityRecursive", _wrap_iMeshFactoryWrapper_SetRenderPriorityRecursive, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_GetSVContext", _wrap_iMeshFactoryWrapper_GetSVContext, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshFactoryWrapper", _wrap_delete_iMeshFactoryWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_scfGetVersion", _wrap_iMeshFactoryWrapper_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryWrapper_swigregister", iMeshFactoryWrapper_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshList_GetCount", _wrap_iMeshList_GetCount, METH_VARARGS, NULL},
	 { (char *)"iMeshList_Get", _wrap_iMeshList_Get, METH_VARARGS, NULL},
	 { (char *)"iMeshList_Add", _wrap_iMeshList_Add, METH_VARARGS, NULL},
	 { (char *)"iMeshList_Remove", _wrap_iMeshList_Remove, METH_VARARGS, NULL},
	 { (char *)"iMeshList_RemoveAll", _wrap_iMeshList_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iMeshList_Find", _wrap_iMeshList_Find, METH_VARARGS, NULL},
	 { (char *)"iMeshList_FindByName", _wrap_iMeshList_FindByName, METH_VARARGS, NULL},
	 { (char *)"iMeshList___delitem__", _wrap_iMeshList___delitem__, METH_VARARGS, NULL},
	 { (char *)"iMeshList___len__", _wrap_iMeshList___len__, METH_VARARGS, NULL},
	 { (char *)"iMeshList_append", _wrap_iMeshList_append, METH_VARARGS, NULL},
	 { (char *)"iMeshList___getitem__", _wrap_iMeshList___getitem__, METH_VARARGS, NULL},
	 { (char *)"iMeshList___contains__", _wrap_iMeshList___contains__, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshList", _wrap_delete_iMeshList, METH_VARARGS, NULL},
	 { (char *)"iMeshList_swigregister", iMeshList_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList_GetCount", _wrap_iMeshFactoryList_GetCount, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList_Get", _wrap_iMeshFactoryList_Get, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList_Add", _wrap_iMeshFactoryList_Add, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList_Remove", _wrap_iMeshFactoryList_Remove, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList_RemoveAll", _wrap_iMeshFactoryList_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList_Find", _wrap_iMeshFactoryList_Find, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList_FindByName", _wrap_iMeshFactoryList_FindByName, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList___delitem__", _wrap_iMeshFactoryList___delitem__, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList___len__", _wrap_iMeshFactoryList___len__, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList_append", _wrap_iMeshFactoryList_append, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList___getitem__", _wrap_iMeshFactoryList___getitem__, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList___contains__", _wrap_iMeshFactoryList___contains__, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshFactoryList", _wrap_delete_iMeshFactoryList, METH_VARARGS, NULL},
	 { (char *)"iMeshFactoryList_swigregister", iMeshFactoryList_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapperIterator_Next", _wrap_iMeshWrapperIterator_Next, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapperIterator_Reset", _wrap_iMeshWrapperIterator_Reset, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapperIterator_HasNext", _wrap_iMeshWrapperIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshWrapperIterator", _wrap_delete_iMeshWrapperIterator, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapperIterator_scfGetVersion", _wrap_iMeshWrapperIterator_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMeshWrapperIterator_swigregister", iMeshWrapperIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMovableListener_MovableChanged", _wrap_iMovableListener_MovableChanged, METH_VARARGS, NULL},
	 { (char *)"iMovableListener_MovableDestroyed", _wrap_iMovableListener_MovableDestroyed, METH_VARARGS, NULL},
	 { (char *)"delete_iMovableListener", _wrap_delete_iMovableListener, METH_VARARGS, NULL},
	 { (char *)"iMovableListener_scfGetVersion", _wrap_iMovableListener_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMovableListener_swigregister", iMovableListener_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMovable_GetSceneNode", _wrap_iMovable_GetSceneNode, METH_VARARGS, NULL},
	 { (char *)"iMovable_SetSector", _wrap_iMovable_SetSector, METH_VARARGS, NULL},
	 { (char *)"iMovable_ClearSectors", _wrap_iMovable_ClearSectors, METH_VARARGS, NULL},
	 { (char *)"iMovable_GetSectors", _wrap_iMovable_GetSectors, METH_VARARGS, NULL},
	 { (char *)"iMovable_InSector", _wrap_iMovable_InSector, METH_VARARGS, NULL},
	 { (char *)"iMovable_SetPosition", _wrap_iMovable_SetPosition, METH_VARARGS, NULL},
	 { (char *)"iMovable_GetPosition", _wrap_iMovable_GetPosition, METH_VARARGS, NULL},
	 { (char *)"iMovable_GetFullPosition", _wrap_iMovable_GetFullPosition, METH_VARARGS, NULL},
	 { (char *)"iMovable_SetTransform", _wrap_iMovable_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iMovable_GetTransform", _wrap_iMovable_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iMovable_GetFullTransform", _wrap_iMovable_GetFullTransform, METH_VARARGS, NULL},
	 { (char *)"iMovable_MovePosition", _wrap_iMovable_MovePosition, METH_VARARGS, NULL},
	 { (char *)"iMovable_Transform", _wrap_iMovable_Transform, METH_VARARGS, NULL},
	 { (char *)"iMovable_AddListener", _wrap_iMovable_AddListener, METH_VARARGS, NULL},
	 { (char *)"iMovable_RemoveListener", _wrap_iMovable_RemoveListener, METH_VARARGS, NULL},
	 { (char *)"iMovable_UpdateMove", _wrap_iMovable_UpdateMove, METH_VARARGS, NULL},
	 { (char *)"iMovable_GetUpdateNumber", _wrap_iMovable_GetUpdateNumber, METH_VARARGS, NULL},
	 { (char *)"iMovable_IsTransformIdentity", _wrap_iMovable_IsTransformIdentity, METH_VARARGS, NULL},
	 { (char *)"iMovable_IsFullTransformIdentity", _wrap_iMovable_IsFullTransformIdentity, METH_VARARGS, NULL},
	 { (char *)"iMovable_TransformIdentity", _wrap_iMovable_TransformIdentity, METH_VARARGS, NULL},
	 { (char *)"delete_iMovable", _wrap_delete_iMovable, METH_VARARGS, NULL},
	 { (char *)"iMovable_scfGetVersion", _wrap_iMovable_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMovable_swigregister", iMovable_swigregister, METH_VARARGS, NULL},
	 { (char *)"iRegion_QueryObject", _wrap_iRegion_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iRegion_Add", _wrap_iRegion_Add, METH_VARARGS, NULL},
	 { (char *)"iRegion_Remove", _wrap_iRegion_Remove, METH_VARARGS, NULL},
	 { (char *)"iRegion_Clear", _wrap_iRegion_Clear, METH_VARARGS, NULL},
	 { (char *)"iRegion_DeleteAll", _wrap_iRegion_DeleteAll, METH_VARARGS, NULL},
	 { (char *)"iRegion_PrepareTextures", _wrap_iRegion_PrepareTextures, METH_VARARGS, NULL},
	 { (char *)"iRegion_ShineLights", _wrap_iRegion_ShineLights, METH_VARARGS, NULL},
	 { (char *)"iRegion_Prepare", _wrap_iRegion_Prepare, METH_VARARGS, NULL},
	 { (char *)"iRegion_FindSector", _wrap_iRegion_FindSector, METH_VARARGS, NULL},
	 { (char *)"iRegion_FindMeshObject", _wrap_iRegion_FindMeshObject, METH_VARARGS, NULL},
	 { (char *)"iRegion_FindMeshFactory", _wrap_iRegion_FindMeshFactory, METH_VARARGS, NULL},
	 { (char *)"iRegion_FindTexture", _wrap_iRegion_FindTexture, METH_VARARGS, NULL},
	 { (char *)"iRegion_FindMaterial", _wrap_iRegion_FindMaterial, METH_VARARGS, NULL},
	 { (char *)"iRegion_FindCameraPosition", _wrap_iRegion_FindCameraPosition, METH_VARARGS, NULL},
	 { (char *)"iRegion_FindCollection", _wrap_iRegion_FindCollection, METH_VARARGS, NULL},
	 { (char *)"iRegion_IsInRegion", _wrap_iRegion_IsInRegion, METH_VARARGS, NULL},
	 { (char *)"delete_iRegion", _wrap_delete_iRegion, METH_VARARGS, NULL},
	 { (char *)"iRegion_swigregister", iRegion_swigregister, METH_VARARGS, NULL},
	 { (char *)"iRegionList_GetCount", _wrap_iRegionList_GetCount, METH_VARARGS, NULL},
	 { (char *)"iRegionList_Get", _wrap_iRegionList_Get, METH_VARARGS, NULL},
	 { (char *)"iRegionList_Add", _wrap_iRegionList_Add, METH_VARARGS, NULL},
	 { (char *)"iRegionList_Remove", _wrap_iRegionList_Remove, METH_VARARGS, NULL},
	 { (char *)"iRegionList_RemoveAll", _wrap_iRegionList_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iRegionList_Find", _wrap_iRegionList_Find, METH_VARARGS, NULL},
	 { (char *)"iRegionList_FindByName", _wrap_iRegionList_FindByName, METH_VARARGS, NULL},
	 { (char *)"iRegionList___delitem__", _wrap_iRegionList___delitem__, METH_VARARGS, NULL},
	 { (char *)"iRegionList___len__", _wrap_iRegionList___len__, METH_VARARGS, NULL},
	 { (char *)"iRegionList_append", _wrap_iRegionList_append, METH_VARARGS, NULL},
	 { (char *)"iRegionList___getitem__", _wrap_iRegionList___getitem__, METH_VARARGS, NULL},
	 { (char *)"iRegionList___contains__", _wrap_iRegionList___contains__, METH_VARARGS, NULL},
	 { (char *)"delete_iRegionList", _wrap_delete_iRegionList, METH_VARARGS, NULL},
	 { (char *)"iRegionList_swigregister", iRegionList_swigregister, METH_VARARGS, NULL},
	 { (char *)"iVisibilityObjectIterator_HasNext", _wrap_iVisibilityObjectIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iVisibilityObjectIterator_Next", _wrap_iVisibilityObjectIterator_Next, METH_VARARGS, NULL},
	 { (char *)"iVisibilityObjectIterator_Reset", _wrap_iVisibilityObjectIterator_Reset, METH_VARARGS, NULL},
	 { (char *)"delete_iVisibilityObjectIterator", _wrap_delete_iVisibilityObjectIterator, METH_VARARGS, NULL},
	 { (char *)"iVisibilityObjectIterator_swigregister", iVisibilityObjectIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCullerListener_ObjectVisible", _wrap_iVisibilityCullerListener_ObjectVisible, METH_VARARGS, NULL},
	 { (char *)"delete_iVisibilityCullerListener", _wrap_delete_iVisibilityCullerListener, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCullerListener_swigregister", iVisibilityCullerListener_swigregister, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_Setup", _wrap_iVisibilityCuller_Setup, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_RegisterVisObject", _wrap_iVisibilityCuller_RegisterVisObject, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_UnregisterVisObject", _wrap_iVisibilityCuller_UnregisterVisObject, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_PrecacheCulling", _wrap_iVisibilityCuller_PrecacheCulling, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_VisTest", _wrap_iVisibilityCuller_VisTest, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_IntersectSegmentSloppy", _wrap_iVisibilityCuller_IntersectSegmentSloppy, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_IntersectSegment", _wrap_iVisibilityCuller_IntersectSegment, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_CastShadows", _wrap_iVisibilityCuller_CastShadows, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_ParseCullerParameters", _wrap_iVisibilityCuller_ParseCullerParameters, METH_VARARGS, NULL},
	 { (char *)"delete_iVisibilityCuller", _wrap_delete_iVisibilityCuller, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_scfGetVersion", _wrap_iVisibilityCuller_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iVisibilityCuller_swigregister", iVisibilityCuller_swigregister, METH_VARARGS, NULL},
	 { (char *)"iVisibilityObject_GetMovable", _wrap_iVisibilityObject_GetMovable, METH_VARARGS, NULL},
	 { (char *)"iVisibilityObject_GetMeshWrapper", _wrap_iVisibilityObject_GetMeshWrapper, METH_VARARGS, NULL},
	 { (char *)"iVisibilityObject_GetObjectModel", _wrap_iVisibilityObject_GetObjectModel, METH_VARARGS, NULL},
	 { (char *)"iVisibilityObject_GetCullerFlags", _wrap_iVisibilityObject_GetCullerFlags, METH_VARARGS, NULL},
	 { (char *)"delete_iVisibilityObject", _wrap_delete_iVisibilityObject, METH_VARARGS, NULL},
	 { (char *)"iVisibilityObject_swigregister", iVisibilityObject_swigregister, METH_VARARGS, NULL},
	 { (char *)"iPortalCallback_Traverse", _wrap_iPortalCallback_Traverse, METH_VARARGS, NULL},
	 { (char *)"delete_iPortalCallback", _wrap_delete_iPortalCallback, METH_VARARGS, NULL},
	 { (char *)"iPortalCallback_swigregister", iPortalCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iPortal_SetName", _wrap_iPortal_SetName, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetName", _wrap_iPortal_GetName, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetSector", _wrap_iPortal_GetSector, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetVertices", _wrap_iPortal_GetVertices, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetWorldVertices", _wrap_iPortal_GetWorldVertices, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetVertexIndices", _wrap_iPortal_GetVertexIndices, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetVertexIndicesCount", _wrap_iPortal_GetVertexIndicesCount, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetObjectPlane", _wrap_iPortal_GetObjectPlane, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetWorldPlane", _wrap_iPortal_GetWorldPlane, METH_VARARGS, NULL},
	 { (char *)"iPortal_ComputeCameraPlane", _wrap_iPortal_ComputeCameraPlane, METH_VARARGS, NULL},
	 { (char *)"iPortal_PointOnPolygon", _wrap_iPortal_PointOnPolygon, METH_VARARGS, NULL},
	 { (char *)"iPortal_SetSector", _wrap_iPortal_SetSector, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetFlags", _wrap_iPortal_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iPortal_SetMaximumSectorVisit", _wrap_iPortal_SetMaximumSectorVisit, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetMaximumSectorVisit", _wrap_iPortal_GetMaximumSectorVisit, METH_VARARGS, NULL},
	 { (char *)"iPortal_SetPortalCallback", _wrap_iPortal_SetPortalCallback, METH_VARARGS, NULL},
	 { (char *)"iPortal_RemovePortalCallback", _wrap_iPortal_RemovePortalCallback, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetPortalCallbackCount", _wrap_iPortal_GetPortalCallbackCount, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetPortalCallback", _wrap_iPortal_GetPortalCallback, METH_VARARGS, NULL},
	 { (char *)"iPortal_SetMissingSectorCallback", _wrap_iPortal_SetMissingSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iPortal_RemoveMissingSectorCallback", _wrap_iPortal_RemoveMissingSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetMissingSectorCallbackCount", _wrap_iPortal_GetMissingSectorCallbackCount, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetMissingSectorCallback", _wrap_iPortal_GetMissingSectorCallback, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetTextureFilter", _wrap_iPortal_GetTextureFilter, METH_VARARGS, NULL},
	 { (char *)"iPortal_SetFilter", _wrap_iPortal_SetFilter, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetColorFilter", _wrap_iPortal_GetColorFilter, METH_VARARGS, NULL},
	 { (char *)"iPortal_SetWarp", _wrap_iPortal_SetWarp, METH_VARARGS, NULL},
	 { (char *)"iPortal_SetMirror", _wrap_iPortal_SetMirror, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetWarp", _wrap_iPortal_GetWarp, METH_VARARGS, NULL},
	 { (char *)"iPortal_HardTransform", _wrap_iPortal_HardTransform, METH_VARARGS, NULL},
	 { (char *)"iPortal_ObjectToWorld", _wrap_iPortal_ObjectToWorld, METH_VARARGS, NULL},
	 { (char *)"iPortal_Warp", _wrap_iPortal_Warp, METH_VARARGS, NULL},
	 { (char *)"iPortal_WarpSpace", _wrap_iPortal_WarpSpace, METH_VARARGS, NULL},
	 { (char *)"iPortal_CompleteSector", _wrap_iPortal_CompleteSector, METH_VARARGS, NULL},
	 { (char *)"iPortal_CheckFrustum", _wrap_iPortal_CheckFrustum, METH_VARARGS, NULL},
	 { (char *)"iPortal_HitBeamPortals", _wrap_iPortal_HitBeamPortals, METH_VARARGS, NULL},
	 { (char *)"iPortal_GetVerticesCount", _wrap_iPortal_GetVerticesCount, METH_VARARGS, NULL},
	 { (char *)"delete_iPortal", _wrap_delete_iPortal, METH_VARARGS, NULL},
	 { (char *)"iPortal_scfGetVersion", _wrap_iPortal_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iPortal_swigregister", iPortal_swigregister, METH_VARARGS, NULL},
	 { (char *)"iPortalContainer_GetPortalCount", _wrap_iPortalContainer_GetPortalCount, METH_VARARGS, NULL},
	 { (char *)"iPortalContainer_GetPortal", _wrap_iPortalContainer_GetPortal, METH_VARARGS, NULL},
	 { (char *)"iPortalContainer_CreatePortal", _wrap_iPortalContainer_CreatePortal, METH_VARARGS, NULL},
	 { (char *)"iPortalContainer_RemovePortal", _wrap_iPortalContainer_RemovePortal, METH_VARARGS, NULL},
	 { (char *)"iPortalContainer_Draw", _wrap_iPortalContainer_Draw, METH_VARARGS, NULL},
	 { (char *)"delete_iPortalContainer", _wrap_delete_iPortalContainer, METH_VARARGS, NULL},
	 { (char *)"iPortalContainer_scfGetVersion", _wrap_iPortalContainer_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iPortalContainer_swigregister", iPortalContainer_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshSubMesh_GetIndices", _wrap_iGeneralMeshSubMesh_GetIndices, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshSubMesh_GetMaterial", _wrap_iGeneralMeshSubMesh_GetMaterial, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshSubMesh_GetName", _wrap_iGeneralMeshSubMesh_GetName, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshSubMesh_GetMixmode", _wrap_iGeneralMeshSubMesh_GetMixmode, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshSubMesh_SetMaterial", _wrap_iGeneralMeshSubMesh_SetMaterial, METH_VARARGS, NULL},
	 { (char *)"delete_iGeneralMeshSubMesh", _wrap_delete_iGeneralMeshSubMesh, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshSubMesh_swigregister", iGeneralMeshSubMesh_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_SetLighting", _wrap_iGeneralMeshCommonState_SetLighting, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_IsLighting", _wrap_iGeneralMeshCommonState_IsLighting, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_SetManualColors", _wrap_iGeneralMeshCommonState_SetManualColors, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_IsManualColors", _wrap_iGeneralMeshCommonState_IsManualColors, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_SetShadowCasting", _wrap_iGeneralMeshCommonState_SetShadowCasting, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_IsShadowCasting", _wrap_iGeneralMeshCommonState_IsShadowCasting, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_SetShadowReceiving", _wrap_iGeneralMeshCommonState_SetShadowReceiving, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_IsShadowReceiving", _wrap_iGeneralMeshCommonState_IsShadowReceiving, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_AddRenderBuffer", _wrap_iGeneralMeshCommonState_AddRenderBuffer, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_RemoveRenderBuffer", _wrap_iGeneralMeshCommonState_RemoveRenderBuffer, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_GetRenderBufferCount", _wrap_iGeneralMeshCommonState_GetRenderBufferCount, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_GetRenderBuffer", _wrap_iGeneralMeshCommonState_GetRenderBuffer, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_GetRenderBufferName", _wrap_iGeneralMeshCommonState_GetRenderBufferName, METH_VARARGS, NULL},
	 { (char *)"delete_iGeneralMeshCommonState", _wrap_delete_iGeneralMeshCommonState, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshCommonState_swigregister", iGeneralMeshCommonState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshState_SetAnimationControl", _wrap_iGeneralMeshState_SetAnimationControl, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshState_GetAnimationControl", _wrap_iGeneralMeshState_GetAnimationControl, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshState_FindSubMesh", _wrap_iGeneralMeshState_FindSubMesh, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshState_AddSubMesh", _wrap_iGeneralMeshState_AddSubMesh, METH_VARARGS, NULL},
	 { (char *)"delete_iGeneralMeshState", _wrap_delete_iGeneralMeshState, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshState_scfGetVersion", _wrap_iGeneralMeshState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iGeneralMeshState_swigregister", iGeneralMeshState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_SetColor", _wrap_iGeneralFactoryState_SetColor, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetColor", _wrap_iGeneralFactoryState_GetColor, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_AddVertex", _wrap_iGeneralFactoryState_AddVertex, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_SetVertexCount", _wrap_iGeneralFactoryState_SetVertexCount, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetVertexCount", _wrap_iGeneralFactoryState_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetVertices", _wrap_iGeneralFactoryState_GetVertices, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetTexels", _wrap_iGeneralFactoryState_GetTexels, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetNormals", _wrap_iGeneralFactoryState_GetNormals, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetColors", _wrap_iGeneralFactoryState_GetColors, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_AddTriangle", _wrap_iGeneralFactoryState_AddTriangle, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_SetTriangleCount", _wrap_iGeneralFactoryState_SetTriangleCount, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetTriangleCount", _wrap_iGeneralFactoryState_GetTriangleCount, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetTriangles", _wrap_iGeneralFactoryState_GetTriangles, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_Invalidate", _wrap_iGeneralFactoryState_Invalidate, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_CalculateNormals", _wrap_iGeneralFactoryState_CalculateNormals, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_Compress", _wrap_iGeneralFactoryState_Compress, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GenerateBox", _wrap_iGeneralFactoryState_GenerateBox, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GenerateSphere", _wrap_iGeneralFactoryState_GenerateSphere, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_SetBack2Front", _wrap_iGeneralFactoryState_SetBack2Front, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_IsAutoNormals", _wrap_iGeneralFactoryState_IsAutoNormals, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_IsBack2Front", _wrap_iGeneralFactoryState_IsBack2Front, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_SetAnimationControlFactory", _wrap_iGeneralFactoryState_SetAnimationControlFactory, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetAnimationControlFactory", _wrap_iGeneralFactoryState_GetAnimationControlFactory, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_ClearSubMeshes", _wrap_iGeneralFactoryState_ClearSubMeshes, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_AddSubMesh", _wrap_iGeneralFactoryState_AddSubMesh, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_FindSubMesh", _wrap_iGeneralFactoryState_FindSubMesh, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_DeleteSubMesh", _wrap_iGeneralFactoryState_DeleteSubMesh, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetSubMeshCount", _wrap_iGeneralFactoryState_GetSubMeshCount, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetSubMesh", _wrap_iGeneralFactoryState_GetSubMesh, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_DisableAutoNormals", _wrap_iGeneralFactoryState_DisableAutoNormals, METH_VARARGS, NULL},
	 { (char *)"delete_iGeneralFactoryState", _wrap_delete_iGeneralFactoryState, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_scfGetVersion", _wrap_iGeneralFactoryState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetVertexByIndex", _wrap_iGeneralFactoryState_GetVertexByIndex, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetTexelByIndex", _wrap_iGeneralFactoryState_GetTexelByIndex, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetNormalByIndex", _wrap_iGeneralFactoryState_GetNormalByIndex, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetTriangleByIndex", _wrap_iGeneralFactoryState_GetTriangleByIndex, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_GetColorByIndex", _wrap_iGeneralFactoryState_GetColorByIndex, METH_VARARGS, NULL},
	 { (char *)"iGeneralFactoryState_swigregister", iGeneralFactoryState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_AnimatesVertices", _wrap_iGenMeshAnimationControl_AnimatesVertices, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_AnimatesTexels", _wrap_iGenMeshAnimationControl_AnimatesTexels, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_AnimatesNormals", _wrap_iGenMeshAnimationControl_AnimatesNormals, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_AnimatesColors", _wrap_iGenMeshAnimationControl_AnimatesColors, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_Update", _wrap_iGenMeshAnimationControl_Update, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_UpdateVertices", _wrap_iGenMeshAnimationControl_UpdateVertices, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_UpdateTexels", _wrap_iGenMeshAnimationControl_UpdateTexels, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_UpdateNormals", _wrap_iGenMeshAnimationControl_UpdateNormals, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_UpdateColors", _wrap_iGenMeshAnimationControl_UpdateColors, METH_VARARGS, NULL},
	 { (char *)"delete_iGenMeshAnimationControl", _wrap_delete_iGenMeshAnimationControl, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControl_swigregister", iGenMeshAnimationControl_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControlFactory_CreateAnimationControl", _wrap_iGenMeshAnimationControlFactory_CreateAnimationControl, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControlFactory_Load", _wrap_iGenMeshAnimationControlFactory_Load, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControlFactory_Save", _wrap_iGenMeshAnimationControlFactory_Save, METH_VARARGS, NULL},
	 { (char *)"delete_iGenMeshAnimationControlFactory", _wrap_delete_iGenMeshAnimationControlFactory, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControlFactory_swigregister", iGenMeshAnimationControlFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControlType_CreateAnimationControlFactory", _wrap_iGenMeshAnimationControlType_CreateAnimationControlFactory, METH_VARARGS, NULL},
	 { (char *)"delete_iGenMeshAnimationControlType", _wrap_delete_iGenMeshAnimationControlType, METH_VARARGS, NULL},
	 { (char *)"iGenMeshAnimationControlType_swigregister", iGenMeshAnimationControlType_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetName", _wrap_iSkeletonBone_GetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_SetName", _wrap_iSkeletonBone_SetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetTransform", _wrap_iSkeletonBone_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_SetTransform", _wrap_iSkeletonBone_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetFullTransform", _wrap_iSkeletonBone_GetFullTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_SetParent", _wrap_iSkeletonBone_SetParent, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetParent", _wrap_iSkeletonBone_GetParent, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetChildrenCount", _wrap_iSkeletonBone_GetChildrenCount, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetChild", _wrap_iSkeletonBone_GetChild, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_FindChild", _wrap_iSkeletonBone_FindChild, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_FindChildIndex", _wrap_iSkeletonBone_FindChildIndex, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_SetSkinBox", _wrap_iSkeletonBone_SetSkinBox, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetSkinBox", _wrap_iSkeletonBone_GetSkinBox, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_SetUpdateCallback", _wrap_iSkeletonBone_SetUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetUpdateCallback", _wrap_iSkeletonBone_GetUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetFactory", _wrap_iSkeletonBone_GetFactory, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_SetTransformMode", _wrap_iSkeletonBone_SetTransformMode, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_GetTransformMode", _wrap_iSkeletonBone_GetTransformMode, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonBone", _wrap_delete_iSkeletonBone, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_scfGetVersion", _wrap_iSkeletonBone_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBone_swigregister", iSkeletonBone_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneUpdateCallback_UpdateTransform", _wrap_iSkeletonBoneUpdateCallback_UpdateTransform, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonBoneUpdateCallback", _wrap_delete_iSkeletonBoneUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneUpdateCallback_swigregister", iSkeletonBoneUpdateCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_GetName", _wrap_iSkeletonScriptKeyFrame_GetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_SetName", _wrap_iSkeletonScriptKeyFrame_SetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_GetDuration", _wrap_iSkeletonScriptKeyFrame_GetDuration, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_SetDuration", _wrap_iSkeletonScriptKeyFrame_SetDuration, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_GetTransformsCount", _wrap_iSkeletonScriptKeyFrame_GetTransformsCount, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_AddTransform", _wrap_iSkeletonScriptKeyFrame_AddTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_GetTransform", _wrap_iSkeletonScriptKeyFrame_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_SetTransform", _wrap_iSkeletonScriptKeyFrame_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_GetKeyFrameData", _wrap_iSkeletonScriptKeyFrame_GetKeyFrameData, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonScriptKeyFrame", _wrap_delete_iSkeletonScriptKeyFrame, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_scfGetVersion", _wrap_iSkeletonScriptKeyFrame_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptKeyFrame_swigregister", iSkeletonScriptKeyFrame_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_GetName", _wrap_iSkeletonScript_GetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_SetName", _wrap_iSkeletonScript_SetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_GetTime", _wrap_iSkeletonScript_GetTime, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_SetTime", _wrap_iSkeletonScript_SetTime, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_GetSpeed", _wrap_iSkeletonScript_GetSpeed, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_SetSpeed", _wrap_iSkeletonScript_SetSpeed, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_SetFactor", _wrap_iSkeletonScript_SetFactor, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_GetFactor", _wrap_iSkeletonScript_GetFactor, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_SetLoop", _wrap_iSkeletonScript_SetLoop, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_GetLoop", _wrap_iSkeletonScript_GetLoop, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_CreateFrame", _wrap_iSkeletonScript_CreateFrame, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_GetFramesCount", _wrap_iSkeletonScript_GetFramesCount, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_GetFrame", _wrap_iSkeletonScript_GetFrame, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_FindFrameIndex", _wrap_iSkeletonScript_FindFrameIndex, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_RemoveFrame", _wrap_iSkeletonScript_RemoveFrame, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_RecalcSpline", _wrap_iSkeletonScript_RecalcSpline, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonScript", _wrap_delete_iSkeletonScript, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_scfGetVersion", _wrap_iSkeletonScript_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScript_swigregister", iSkeletonScript_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptCallback_Execute", _wrap_iSkeletonScriptCallback_Execute, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptCallback_OnFinish", _wrap_iSkeletonScriptCallback_OnFinish, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonScriptCallback", _wrap_delete_iSkeletonScriptCallback, METH_VARARGS, NULL},
	 { (char *)"iSkeletonScriptCallback_swigregister", iSkeletonScriptCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonUpdateCallback_Execute", _wrap_iSkeletonUpdateCallback_Execute, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonUpdateCallback", _wrap_delete_iSkeletonUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iSkeletonUpdateCallback_swigregister", iSkeletonUpdateCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_GetName", _wrap_iSkeleton_GetName, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_SetName", _wrap_iSkeleton_SetName, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_GetBonesCount", _wrap_iSkeleton_GetBonesCount, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_GetBone", _wrap_iSkeleton_GetBone, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_FindBone", _wrap_iSkeleton_FindBone, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_FindBoneIndex", _wrap_iSkeleton_FindBoneIndex, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_Execute", _wrap_iSkeleton_Execute, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_Append", _wrap_iSkeleton_Append, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_ClearPendingScripts", _wrap_iSkeleton_ClearPendingScripts, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_GetScriptsCount", _wrap_iSkeleton_GetScriptsCount, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_GetScript", _wrap_iSkeleton_GetScript, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_FindScript", _wrap_iSkeleton_FindScript, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_FindSocket", _wrap_iSkeleton_FindSocket, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_StopAll", _wrap_iSkeleton_StopAll, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_Stop", _wrap_iSkeleton_Stop, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_GetFactory", _wrap_iSkeleton_GetFactory, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_SetScriptCallback", _wrap_iSkeleton_SetScriptCallback, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_AddUpdateCallback", _wrap_iSkeleton_AddUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_GetUpdateCallbacksCount", _wrap_iSkeleton_GetUpdateCallbacksCount, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_GetUpdateCallback", _wrap_iSkeleton_GetUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_RemoveUpdateCallback", _wrap_iSkeleton_RemoveUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeleton", _wrap_delete_iSkeleton, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_scfGetVersion", _wrap_iSkeleton_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeleton_swigregister", iSkeleton_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_GetName", _wrap_iSkeletonSocket_GetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_SetName", _wrap_iSkeletonSocket_SetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_GetTransform", _wrap_iSkeletonSocket_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_SetTransform", _wrap_iSkeletonSocket_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_GetFullTransform", _wrap_iSkeletonSocket_GetFullTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_SetBone", _wrap_iSkeletonSocket_SetBone, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_GetBone", _wrap_iSkeletonSocket_GetBone, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_SetSceneNode", _wrap_iSkeletonSocket_SetSceneNode, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_GetSceneNode", _wrap_iSkeletonSocket_GetSceneNode, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_GetFactory", _wrap_iSkeletonSocket_GetFactory, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonSocket", _wrap_delete_iSkeletonSocket, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_scfGetVersion", _wrap_iSkeletonSocket_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocket_swigregister", iSkeletonSocket_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetEnabled", _wrap_iSkeletonBoneRagdollInfo_SetEnabled, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetEnabled", _wrap_iSkeletonBoneRagdollInfo_GetEnabled, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetAttachToParent", _wrap_iSkeletonBoneRagdollInfo_SetAttachToParent, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetAttachToParent", _wrap_iSkeletonBoneRagdollInfo_GetAttachToParent, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetGeomName", _wrap_iSkeletonBoneRagdollInfo_SetGeomName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetGeomName", _wrap_iSkeletonBoneRagdollInfo_GetGeomName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetGeomType", _wrap_iSkeletonBoneRagdollInfo_SetGeomType, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetGeomType", _wrap_iSkeletonBoneRagdollInfo_GetGeomType, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetGeomDimensions", _wrap_iSkeletonBoneRagdollInfo_SetGeomDimensions, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetGeomDimensions", _wrap_iSkeletonBoneRagdollInfo_GetGeomDimensions, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetFriction", _wrap_iSkeletonBoneRagdollInfo_SetFriction, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetFriction", _wrap_iSkeletonBoneRagdollInfo_GetFriction, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetElasticity", _wrap_iSkeletonBoneRagdollInfo_SetElasticity, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetElasticity", _wrap_iSkeletonBoneRagdollInfo_GetElasticity, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetSoftness", _wrap_iSkeletonBoneRagdollInfo_SetSoftness, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetSoftness", _wrap_iSkeletonBoneRagdollInfo_GetSoftness, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetSlip", _wrap_iSkeletonBoneRagdollInfo_SetSlip, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetSlip", _wrap_iSkeletonBoneRagdollInfo_GetSlip, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetBodyName", _wrap_iSkeletonBoneRagdollInfo_SetBodyName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetBodyName", _wrap_iSkeletonBoneRagdollInfo_GetBodyName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetBodyMass", _wrap_iSkeletonBoneRagdollInfo_SetBodyMass, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetBodyMass", _wrap_iSkeletonBoneRagdollInfo_GetBodyMass, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetBodyGravmode", _wrap_iSkeletonBoneRagdollInfo_SetBodyGravmode, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetBodyGravmode", _wrap_iSkeletonBoneRagdollInfo_GetBodyGravmode, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetJointName", _wrap_iSkeletonBoneRagdollInfo_SetJointName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetJointName", _wrap_iSkeletonBoneRagdollInfo_GetJointName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetJointMinRotContraints", _wrap_iSkeletonBoneRagdollInfo_SetJointMinRotContraints, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetJointMinRotContraints", _wrap_iSkeletonBoneRagdollInfo_GetJointMinRotContraints, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetJointMaxRotContraints", _wrap_iSkeletonBoneRagdollInfo_SetJointMaxRotContraints, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetJointMaxRotContraints", _wrap_iSkeletonBoneRagdollInfo_GetJointMaxRotContraints, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetJointMinTransContraints", _wrap_iSkeletonBoneRagdollInfo_SetJointMinTransContraints, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetJointMinTransContraints", _wrap_iSkeletonBoneRagdollInfo_GetJointMinTransContraints, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_SetJointMaxTransContraints", _wrap_iSkeletonBoneRagdollInfo_SetJointMaxTransContraints, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_GetJointMaxTransContraints", _wrap_iSkeletonBoneRagdollInfo_GetJointMaxTransContraints, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonBoneRagdollInfo", _wrap_delete_iSkeletonBoneRagdollInfo, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_scfGetVersion", _wrap_iSkeletonBoneRagdollInfo_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneRagdollInfo_swigregister", iSkeletonBoneRagdollInfo_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_GetName", _wrap_iSkeletonBoneFactory_GetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_SetName", _wrap_iSkeletonBoneFactory_SetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_GetTransform", _wrap_iSkeletonBoneFactory_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_SetTransform", _wrap_iSkeletonBoneFactory_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_GetFullTransform", _wrap_iSkeletonBoneFactory_GetFullTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_SetParent", _wrap_iSkeletonBoneFactory_SetParent, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_GetParent", _wrap_iSkeletonBoneFactory_GetParent, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_GetChildrenCount", _wrap_iSkeletonBoneFactory_GetChildrenCount, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_GetChild", _wrap_iSkeletonBoneFactory_GetChild, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_FindChild", _wrap_iSkeletonBoneFactory_FindChild, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_FindChildIndex", _wrap_iSkeletonBoneFactory_FindChildIndex, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_SetSkinBox", _wrap_iSkeletonBoneFactory_SetSkinBox, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_GetSkinBox", _wrap_iSkeletonBoneFactory_GetSkinBox, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_GetRagdollInfo", _wrap_iSkeletonBoneFactory_GetRagdollInfo, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonBoneFactory", _wrap_delete_iSkeletonBoneFactory, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_scfGetVersion", _wrap_iSkeletonBoneFactory_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeletonBoneFactory_swigregister", iSkeletonBoneFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocketFactory_GetName", _wrap_iSkeletonSocketFactory_GetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocketFactory_SetName", _wrap_iSkeletonSocketFactory_SetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocketFactory_GetTransform", _wrap_iSkeletonSocketFactory_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocketFactory_SetTransform", _wrap_iSkeletonSocketFactory_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocketFactory_GetFullTransform", _wrap_iSkeletonSocketFactory_GetFullTransform, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocketFactory_SetBone", _wrap_iSkeletonSocketFactory_SetBone, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocketFactory_GetBone", _wrap_iSkeletonSocketFactory_GetBone, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonSocketFactory", _wrap_delete_iSkeletonSocketFactory, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocketFactory_scfGetVersion", _wrap_iSkeletonSocketFactory_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeletonSocketFactory_swigregister", iSkeletonSocketFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_GetName", _wrap_iSkeletonFactory_GetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_SetName", _wrap_iSkeletonFactory_SetName, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_CreateBone", _wrap_iSkeletonFactory_CreateBone, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_CreateScript", _wrap_iSkeletonFactory_CreateScript, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_FindScript", _wrap_iSkeletonFactory_FindScript, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_FindBone", _wrap_iSkeletonFactory_FindBone, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_FindBoneIndex", _wrap_iSkeletonFactory_FindBoneIndex, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_GetBonesCount", _wrap_iSkeletonFactory_GetBonesCount, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_GetBone", _wrap_iSkeletonFactory_GetBone, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_GetGraveyard", _wrap_iSkeletonFactory_GetGraveyard, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_CreateSocket", _wrap_iSkeletonFactory_CreateSocket, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_FindSocket", _wrap_iSkeletonFactory_FindSocket, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_GetSocket", _wrap_iSkeletonFactory_GetSocket, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_RemoveSocket", _wrap_iSkeletonFactory_RemoveSocket, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_GetSocketsCount", _wrap_iSkeletonFactory_GetSocketsCount, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonFactory", _wrap_delete_iSkeletonFactory, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_scfGetVersion", _wrap_iSkeletonFactory_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeletonFactory_swigregister", iSkeletonFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSkeletonGraveyard_GetFactoriesCount", _wrap_iSkeletonGraveyard_GetFactoriesCount, METH_VARARGS, NULL},
	 { (char *)"iSkeletonGraveyard_CreateFactory", _wrap_iSkeletonGraveyard_CreateFactory, METH_VARARGS, NULL},
	 { (char *)"iSkeletonGraveyard_LoadFactory", _wrap_iSkeletonGraveyard_LoadFactory, METH_VARARGS, NULL},
	 { (char *)"iSkeletonGraveyard_FindFactory", _wrap_iSkeletonGraveyard_FindFactory, METH_VARARGS, NULL},
	 { (char *)"iSkeletonGraveyard_CreateSkeleton", _wrap_iSkeletonGraveyard_CreateSkeleton, METH_VARARGS, NULL},
	 { (char *)"delete_iSkeletonGraveyard", _wrap_delete_iSkeletonGraveyard, METH_VARARGS, NULL},
	 { (char *)"iSkeletonGraveyard_scfGetVersion", _wrap_iSkeletonGraveyard_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSkeletonGraveyard_swigregister", iSkeletonGraveyard_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGenMeshSkeletonControlState_GetAnimatedVertices", _wrap_iGenMeshSkeletonControlState_GetAnimatedVertices, METH_VARARGS, NULL},
	 { (char *)"iGenMeshSkeletonControlState_GetAnimatedVerticesCount", _wrap_iGenMeshSkeletonControlState_GetAnimatedVerticesCount, METH_VARARGS, NULL},
	 { (char *)"iGenMeshSkeletonControlState_GetAnimatedFaceNormals", _wrap_iGenMeshSkeletonControlState_GetAnimatedFaceNormals, METH_VARARGS, NULL},
	 { (char *)"iGenMeshSkeletonControlState_GetAnimatedFaceNormalsCount", _wrap_iGenMeshSkeletonControlState_GetAnimatedFaceNormalsCount, METH_VARARGS, NULL},
	 { (char *)"iGenMeshSkeletonControlState_GetAnimatedVertNormals", _wrap_iGenMeshSkeletonControlState_GetAnimatedVertNormals, METH_VARARGS, NULL},
	 { (char *)"iGenMeshSkeletonControlState_GetAnimatedVertNormalsCount", _wrap_iGenMeshSkeletonControlState_GetAnimatedVertNormalsCount, METH_VARARGS, NULL},
	 { (char *)"iGenMeshSkeletonControlState_GetSkeleton", _wrap_iGenMeshSkeletonControlState_GetSkeleton, METH_VARARGS, NULL},
	 { (char *)"delete_iGenMeshSkeletonControlState", _wrap_delete_iGenMeshSkeletonControlState, METH_VARARGS, NULL},
	 { (char *)"iGenMeshSkeletonControlState_scfGetVersion", _wrap_iGenMeshSkeletonControlState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iGenMeshSkeletonControlState_swigregister", iGenMeshSkeletonControlState_swigregister, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayReadOnly_GetSize", _wrap_csSprite2DVertexArrayReadOnly_GetSize, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayReadOnly_Get", _wrap_csSprite2DVertexArrayReadOnly_Get, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayReadOnly_Top", _wrap_csSprite2DVertexArrayReadOnly_Top, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayReadOnly_Find", _wrap_csSprite2DVertexArrayReadOnly_Find, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayReadOnly_GetIndex", _wrap_csSprite2DVertexArrayReadOnly_GetIndex, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayReadOnly_IsEmpty", _wrap_csSprite2DVertexArrayReadOnly_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayReadOnly_GetAll", _wrap_csSprite2DVertexArrayReadOnly_GetAll, METH_VARARGS, NULL},
	 { (char *)"delete_csSprite2DVertexArrayReadOnly", _wrap_delete_csSprite2DVertexArrayReadOnly, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayReadOnly_swigregister", csSprite2DVertexArrayReadOnly_swigregister, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeElements_Get", _wrap_csSprite2DVertexArrayChangeElements_Get, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeElements_Top", _wrap_csSprite2DVertexArrayChangeElements_Top, METH_VARARGS, NULL},
	 { (char *)"delete_csSprite2DVertexArrayChangeElements", _wrap_delete_csSprite2DVertexArrayChangeElements, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeElements_swigregister", csSprite2DVertexArrayChangeElements_swigregister, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_SetSize", _wrap_csSprite2DVertexArrayChangeAll_SetSize, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_GetExtend", _wrap_csSprite2DVertexArrayChangeAll_GetExtend, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_Put", _wrap_csSprite2DVertexArrayChangeAll_Put, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_Push", _wrap_csSprite2DVertexArrayChangeAll_Push, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_PushSmart", _wrap_csSprite2DVertexArrayChangeAll_PushSmart, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_Pop", _wrap_csSprite2DVertexArrayChangeAll_Pop, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_Insert", _wrap_csSprite2DVertexArrayChangeAll_Insert, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_DeleteAll", _wrap_csSprite2DVertexArrayChangeAll_DeleteAll, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_Truncate", _wrap_csSprite2DVertexArrayChangeAll_Truncate, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_Empty", _wrap_csSprite2DVertexArrayChangeAll_Empty, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_DeleteIndex", _wrap_csSprite2DVertexArrayChangeAll_DeleteIndex, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_DeleteIndexFast", _wrap_csSprite2DVertexArrayChangeAll_DeleteIndexFast, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_Delete", _wrap_csSprite2DVertexArrayChangeAll_Delete, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_DeleteFast", _wrap_csSprite2DVertexArrayChangeAll_DeleteFast, METH_VARARGS, NULL},
	 { (char *)"delete_csSprite2DVertexArrayChangeAll", _wrap_delete_csSprite2DVertexArrayChangeAll, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertexArrayChangeAll_swigregister", csSprite2DVertexArrayChangeAll_swigregister, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_pos_set", _wrap_csSprite2DVertex_pos_set, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_pos_get", _wrap_csSprite2DVertex_pos_get, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_color_init_set", _wrap_csSprite2DVertex_color_init_set, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_color_init_get", _wrap_csSprite2DVertex_color_init_get, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_color_set", _wrap_csSprite2DVertex_color_set, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_color_get", _wrap_csSprite2DVertex_color_get, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_u_set", _wrap_csSprite2DVertex_u_set, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_u_get", _wrap_csSprite2DVertex_u_get, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_v_set", _wrap_csSprite2DVertex_v_set, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_v_get", _wrap_csSprite2DVertex_v_get, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex___eq__", _wrap_csSprite2DVertex___eq__, METH_VARARGS, NULL},
	 { (char *)"new_csSprite2DVertex", _wrap_new_csSprite2DVertex, METH_VARARGS, NULL},
	 { (char *)"delete_csSprite2DVertex", _wrap_delete_csSprite2DVertex, METH_VARARGS, NULL},
	 { (char *)"csSprite2DVertex_swigregister", csSprite2DVertex_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_iColoredVertices", _wrap_delete_iColoredVertices, METH_VARARGS, NULL},
	 { (char *)"iColoredVertices_swigregister", iColoredVertices_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_SetName", _wrap_iSprite2DUVAnimationFrame_SetName, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_GetName", _wrap_iSprite2DUVAnimationFrame_GetName, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_GetUVCoo", _wrap_iSprite2DUVAnimationFrame_GetUVCoo, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_GetUVCount", _wrap_iSprite2DUVAnimationFrame_GetUVCount, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_SetUV", _wrap_iSprite2DUVAnimationFrame_SetUV, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_SetFrameData", _wrap_iSprite2DUVAnimationFrame_SetFrameData, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_RemoveUV", _wrap_iSprite2DUVAnimationFrame_RemoveUV, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_GetDuration", _wrap_iSprite2DUVAnimationFrame_GetDuration, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_SetDuration", _wrap_iSprite2DUVAnimationFrame_SetDuration, METH_VARARGS, NULL},
	 { (char *)"delete_iSprite2DUVAnimationFrame", _wrap_delete_iSprite2DUVAnimationFrame, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimationFrame_swigregister", iSprite2DUVAnimationFrame_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimation_SetName", _wrap_iSprite2DUVAnimation_SetName, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimation_GetName", _wrap_iSprite2DUVAnimation_GetName, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimation_GetFrameCount", _wrap_iSprite2DUVAnimation_GetFrameCount, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimation_GetFrame", _wrap_iSprite2DUVAnimation_GetFrame, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimation_CreateFrame", _wrap_iSprite2DUVAnimation_CreateFrame, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimation_MoveFrame", _wrap_iSprite2DUVAnimation_MoveFrame, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimation_RemoveFrame", _wrap_iSprite2DUVAnimation_RemoveFrame, METH_VARARGS, NULL},
	 { (char *)"delete_iSprite2DUVAnimation", _wrap_delete_iSprite2DUVAnimation, METH_VARARGS, NULL},
	 { (char *)"iSprite2DUVAnimation_swigregister", iSprite2DUVAnimation_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSprite2DFactoryState_SetLighting", _wrap_iSprite2DFactoryState_SetLighting, METH_VARARGS, NULL},
	 { (char *)"iSprite2DFactoryState_HasLighting", _wrap_iSprite2DFactoryState_HasLighting, METH_VARARGS, NULL},
	 { (char *)"iSprite2DFactoryState_GetUVAnimationCount", _wrap_iSprite2DFactoryState_GetUVAnimationCount, METH_VARARGS, NULL},
	 { (char *)"iSprite2DFactoryState_CreateUVAnimation", _wrap_iSprite2DFactoryState_CreateUVAnimation, METH_VARARGS, NULL},
	 { (char *)"iSprite2DFactoryState_RemoveUVAnimation", _wrap_iSprite2DFactoryState_RemoveUVAnimation, METH_VARARGS, NULL},
	 { (char *)"iSprite2DFactoryState_GetUVAnimation", _wrap_iSprite2DFactoryState_GetUVAnimation, METH_VARARGS, NULL},
	 { (char *)"delete_iSprite2DFactoryState", _wrap_delete_iSprite2DFactoryState, METH_VARARGS, NULL},
	 { (char *)"iSprite2DFactoryState_swigregister", iSprite2DFactoryState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSprite2DState_CreateRegularVertices", _wrap_iSprite2DState_CreateRegularVertices, METH_VARARGS, NULL},
	 { (char *)"iSprite2DState_SetUVAnimation", _wrap_iSprite2DState_SetUVAnimation, METH_VARARGS, NULL},
	 { (char *)"iSprite2DState_GetUVAnimation", _wrap_iSprite2DState_GetUVAnimation, METH_VARARGS, NULL},
	 { (char *)"iSprite2DState_StopUVAnimation", _wrap_iSprite2DState_StopUVAnimation, METH_VARARGS, NULL},
	 { (char *)"iSprite2DState_PlayUVAnimation", _wrap_iSprite2DState_PlayUVAnimation, METH_VARARGS, NULL},
	 { (char *)"delete_iSprite2DState", _wrap_delete_iSprite2DState, METH_VARARGS, NULL},
	 { (char *)"iSprite2DState_scfGetVersion", _wrap_iSprite2DState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSprite2DState_GetVertexByIndex", _wrap_iSprite2DState_GetVertexByIndex, METH_VARARGS, NULL},
	 { (char *)"iSprite2DState_GetVertexCount", _wrap_iSprite2DState_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"iSprite2DState_swigregister", iSprite2DState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSpriteFrame_SetName", _wrap_iSpriteFrame_SetName, METH_VARARGS, NULL},
	 { (char *)"iSpriteFrame_GetName", _wrap_iSpriteFrame_GetName, METH_VARARGS, NULL},
	 { (char *)"iSpriteFrame_GetAnmIndex", _wrap_iSpriteFrame_GetAnmIndex, METH_VARARGS, NULL},
	 { (char *)"iSpriteFrame_GetTexIndex", _wrap_iSpriteFrame_GetTexIndex, METH_VARARGS, NULL},
	 { (char *)"delete_iSpriteFrame", _wrap_delete_iSpriteFrame, METH_VARARGS, NULL},
	 { (char *)"iSpriteFrame_swigregister", iSpriteFrame_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSpriteAction_SetName", _wrap_iSpriteAction_SetName, METH_VARARGS, NULL},
	 { (char *)"iSpriteAction_GetName", _wrap_iSpriteAction_GetName, METH_VARARGS, NULL},
	 { (char *)"iSpriteAction_GetFrameCount", _wrap_iSpriteAction_GetFrameCount, METH_VARARGS, NULL},
	 { (char *)"iSpriteAction_GetFrame", _wrap_iSpriteAction_GetFrame, METH_VARARGS, NULL},
	 { (char *)"iSpriteAction_GetNextFrame", _wrap_iSpriteAction_GetNextFrame, METH_VARARGS, NULL},
	 { (char *)"iSpriteAction_GetFrameDelay", _wrap_iSpriteAction_GetFrameDelay, METH_VARARGS, NULL},
	 { (char *)"iSpriteAction_GetFrameDisplacement", _wrap_iSpriteAction_GetFrameDisplacement, METH_VARARGS, NULL},
	 { (char *)"iSpriteAction_AddFrame", _wrap_iSpriteAction_AddFrame, METH_VARARGS, NULL},
	 { (char *)"delete_iSpriteAction", _wrap_delete_iSpriteAction, METH_VARARGS, NULL},
	 { (char *)"iSpriteAction_swigregister", iSpriteAction_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSpriteSocket_SetName", _wrap_iSpriteSocket_SetName, METH_VARARGS, NULL},
	 { (char *)"iSpriteSocket_GetName", _wrap_iSpriteSocket_GetName, METH_VARARGS, NULL},
	 { (char *)"iSpriteSocket_SetMeshWrapper", _wrap_iSpriteSocket_SetMeshWrapper, METH_VARARGS, NULL},
	 { (char *)"iSpriteSocket_GetMeshWrapper", _wrap_iSpriteSocket_GetMeshWrapper, METH_VARARGS, NULL},
	 { (char *)"iSpriteSocket_SetTriangleIndex", _wrap_iSpriteSocket_SetTriangleIndex, METH_VARARGS, NULL},
	 { (char *)"iSpriteSocket_GetTriangleIndex", _wrap_iSpriteSocket_GetTriangleIndex, METH_VARARGS, NULL},
	 { (char *)"delete_iSpriteSocket", _wrap_delete_iSpriteSocket, METH_VARARGS, NULL},
	 { (char *)"iSpriteSocket_swigregister", iSpriteSocket_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_AddVertices", _wrap_iSprite3DFactoryState_AddVertices, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetVertexCount", _wrap_iSprite3DFactoryState_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetVertex", _wrap_iSprite3DFactoryState_GetVertex, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetVertex", _wrap_iSprite3DFactoryState_SetVertex, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetVertices", _wrap_iSprite3DFactoryState_GetVertices, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetVertices", _wrap_iSprite3DFactoryState_SetVertices, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetTexel", _wrap_iSprite3DFactoryState_GetTexel, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetTexel", _wrap_iSprite3DFactoryState_SetTexel, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetTexels", _wrap_iSprite3DFactoryState_GetTexels, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetTexels", _wrap_iSprite3DFactoryState_SetTexels, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetNormal", _wrap_iSprite3DFactoryState_GetNormal, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetNormal", _wrap_iSprite3DFactoryState_SetNormal, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetNormals", _wrap_iSprite3DFactoryState_GetNormals, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetNormals", _wrap_iSprite3DFactoryState_SetNormals, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_AddTriangle", _wrap_iSprite3DFactoryState_AddTriangle, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetTriangle", _wrap_iSprite3DFactoryState_GetTriangle, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetTriangles", _wrap_iSprite3DFactoryState_GetTriangles, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetTriangleCount", _wrap_iSprite3DFactoryState_GetTriangleCount, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetTriangleCount", _wrap_iSprite3DFactoryState_SetTriangleCount, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetTriangles", _wrap_iSprite3DFactoryState_SetTriangles, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_AddFrame", _wrap_iSprite3DFactoryState_AddFrame, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_FindFrame", _wrap_iSprite3DFactoryState_FindFrame, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetFrameCount", _wrap_iSprite3DFactoryState_GetFrameCount, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetFrame", _wrap_iSprite3DFactoryState_GetFrame, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_AddAction", _wrap_iSprite3DFactoryState_AddAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_FindAction", _wrap_iSprite3DFactoryState_FindAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetFirstAction", _wrap_iSprite3DFactoryState_GetFirstAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetActionCount", _wrap_iSprite3DFactoryState_GetActionCount, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetAction", _wrap_iSprite3DFactoryState_GetAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_AddSocket", _wrap_iSprite3DFactoryState_AddSocket, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_FindSocket", _wrap_iSprite3DFactoryState_FindSocket, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetSocketCount", _wrap_iSprite3DFactoryState_GetSocketCount, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetSocket", _wrap_iSprite3DFactoryState_GetSocket, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_EnableTweening", _wrap_iSprite3DFactoryState_EnableTweening, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_IsTweeningEnabled", _wrap_iSprite3DFactoryState_IsTweeningEnabled, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetLightingQuality", _wrap_iSprite3DFactoryState_SetLightingQuality, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetLightingQuality", _wrap_iSprite3DFactoryState_GetLightingQuality, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetLightingQualityConfig", _wrap_iSprite3DFactoryState_SetLightingQualityConfig, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetLightingQualityConfig", _wrap_iSprite3DFactoryState_GetLightingQualityConfig, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_SetLodLevelConfig", _wrap_iSprite3DFactoryState_SetLodLevelConfig, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_GetLodLevelConfig", _wrap_iSprite3DFactoryState_GetLodLevelConfig, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_MergeNormals", _wrap_iSprite3DFactoryState_MergeNormals, METH_VARARGS, NULL},
	 { (char *)"delete_iSprite3DFactoryState", _wrap_delete_iSprite3DFactoryState, METH_VARARGS, NULL},
	 { (char *)"iSprite3DFactoryState_swigregister", iSprite3DFactoryState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetMixMode", _wrap_iSprite3DState_SetMixMode, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_GetMixMode", _wrap_iSprite3DState_GetMixMode, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetLighting", _wrap_iSprite3DState_SetLighting, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_IsLighting", _wrap_iSprite3DState_IsLighting, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetFrame", _wrap_iSprite3DState_SetFrame, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_GetCurFrame", _wrap_iSprite3DState_GetCurFrame, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_GetFrameCount", _wrap_iSprite3DState_GetFrameCount, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetAction", _wrap_iSprite3DState_SetAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetReverseAction", _wrap_iSprite3DState_SetReverseAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetSingleStepAction", _wrap_iSprite3DState_SetSingleStepAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetOverrideAction", _wrap_iSprite3DState_SetOverrideAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_PropagateAction", _wrap_iSprite3DState_PropagateAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_GetCurAction", _wrap_iSprite3DState_GetCurAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_GetReverseAction", _wrap_iSprite3DState_GetReverseAction, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_EnableTweening", _wrap_iSprite3DState_EnableTweening, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_IsTweeningEnabled", _wrap_iSprite3DState_IsTweeningEnabled, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_UnsetTexture", _wrap_iSprite3DState_UnsetTexture, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_GetLightingQuality", _wrap_iSprite3DState_GetLightingQuality, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetLocalLightingQuality", _wrap_iSprite3DState_SetLocalLightingQuality, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetLightingQualityConfig", _wrap_iSprite3DState_SetLightingQualityConfig, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_GetLightingQualityConfig", _wrap_iSprite3DState_GetLightingQualityConfig, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_SetLodLevelConfig", _wrap_iSprite3DState_SetLodLevelConfig, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_GetLodLevelConfig", _wrap_iSprite3DState_GetLodLevelConfig, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_IsLodEnabled", _wrap_iSprite3DState_IsLodEnabled, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_FindSocket", _wrap_iSprite3DState_FindSocket, METH_VARARGS, NULL},
	 { (char *)"delete_iSprite3DState", _wrap_delete_iSprite3DState, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_scfGetVersion", _wrap_iSprite3DState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSprite3DState_swigregister", iSprite3DState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_SetSubmeshIndex", _wrap_iSpriteCal3DSocket_SetSubmeshIndex, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_GetSubmeshIndex", _wrap_iSpriteCal3DSocket_GetSubmeshIndex, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_SetMeshIndex", _wrap_iSpriteCal3DSocket_SetMeshIndex, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_GetMeshIndex", _wrap_iSpriteCal3DSocket_GetMeshIndex, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_SetTransform", _wrap_iSpriteCal3DSocket_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_GetTransform", _wrap_iSpriteCal3DSocket_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_GetSecondaryCount", _wrap_iSpriteCal3DSocket_GetSecondaryCount, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_GetSecondaryMesh", _wrap_iSpriteCal3DSocket_GetSecondaryMesh, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_GetSecondaryTransform", _wrap_iSpriteCal3DSocket_GetSecondaryTransform, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_SetSecondaryTransform", _wrap_iSpriteCal3DSocket_SetSecondaryTransform, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_AttachSecondary", _wrap_iSpriteCal3DSocket_AttachSecondary, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_DetachSecondary", _wrap_iSpriteCal3DSocket_DetachSecondary, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_FindSecondary", _wrap_iSpriteCal3DSocket_FindSecondary, METH_VARARGS, NULL},
	 { (char *)"delete_iSpriteCal3DSocket", _wrap_delete_iSpriteCal3DSocket, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DSocket_swigregister", iSpriteCal3DSocket_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_Create", _wrap_iSpriteCal3DFactoryState_Create, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_ReportLastError", _wrap_iSpriteCal3DFactoryState_ReportLastError, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_SetLoadFlags", _wrap_iSpriteCal3DFactoryState_SetLoadFlags, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_SetBasePath", _wrap_iSpriteCal3DFactoryState_SetBasePath, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_LoadCoreSkeleton", _wrap_iSpriteCal3DFactoryState_LoadCoreSkeleton, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_RescaleFactory", _wrap_iSpriteCal3DFactoryState_RescaleFactory, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_LoadCoreAnimation", _wrap_iSpriteCal3DFactoryState_LoadCoreAnimation, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_LoadCoreMesh", _wrap_iSpriteCal3DFactoryState_LoadCoreMesh, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_LoadCoreMorphTarget", _wrap_iSpriteCal3DFactoryState_LoadCoreMorphTarget, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_AddMorphAnimation", _wrap_iSpriteCal3DFactoryState_AddMorphAnimation, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_AddMorphTarget", _wrap_iSpriteCal3DFactoryState_AddMorphTarget, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_AddCoreMaterial", _wrap_iSpriteCal3DFactoryState_AddCoreMaterial, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_CalculateAllBoneBoundingBoxes", _wrap_iSpriteCal3DFactoryState_CalculateAllBoneBoundingBoxes, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_BindMaterials", _wrap_iSpriteCal3DFactoryState_BindMaterials, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_GetMeshCount", _wrap_iSpriteCal3DFactoryState_GetMeshCount, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_GetMorphAnimationCount", _wrap_iSpriteCal3DFactoryState_GetMorphAnimationCount, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_GetMorphTargetCount", _wrap_iSpriteCal3DFactoryState_GetMorphTargetCount, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_GetMeshName", _wrap_iSpriteCal3DFactoryState_GetMeshName, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_FindMeshName", _wrap_iSpriteCal3DFactoryState_FindMeshName, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_GetDefaultMaterial", _wrap_iSpriteCal3DFactoryState_GetDefaultMaterial, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_GetMorphAnimationName", _wrap_iSpriteCal3DFactoryState_GetMorphAnimationName, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_FindMorphAnimationName", _wrap_iSpriteCal3DFactoryState_FindMorphAnimationName, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_IsMeshDefault", _wrap_iSpriteCal3DFactoryState_IsMeshDefault, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_AddSocket", _wrap_iSpriteCal3DFactoryState_AddSocket, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_FindSocket", _wrap_iSpriteCal3DFactoryState_FindSocket, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_GetSocketCount", _wrap_iSpriteCal3DFactoryState_GetSocketCount, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_GetSocket", _wrap_iSpriteCal3DFactoryState_GetSocket, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_GetCal3DCoreModel", _wrap_iSpriteCal3DFactoryState_GetCal3DCoreModel, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_RegisterAnimCallback", _wrap_iSpriteCal3DFactoryState_RegisterAnimCallback, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_RemoveAnimCallback", _wrap_iSpriteCal3DFactoryState_RemoveAnimCallback, METH_VARARGS, NULL},
	 { (char *)"delete_iSpriteCal3DFactoryState", _wrap_delete_iSpriteCal3DFactoryState, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DFactoryState_swigregister", iSpriteCal3DFactoryState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iAnimTimeUpdateHandler_UpdatePosition", _wrap_iAnimTimeUpdateHandler_UpdatePosition, METH_VARARGS, NULL},
	 { (char *)"delete_iAnimTimeUpdateHandler", _wrap_delete_iAnimTimeUpdateHandler, METH_VARARGS, NULL},
	 { (char *)"iAnimTimeUpdateHandler_swigregister", iAnimTimeUpdateHandler_swigregister, METH_VARARGS, NULL},
	 { (char *)"csSpriteCal3DActiveAnim_index_set", _wrap_csSpriteCal3DActiveAnim_index_set, METH_VARARGS, NULL},
	 { (char *)"csSpriteCal3DActiveAnim_index_get", _wrap_csSpriteCal3DActiveAnim_index_get, METH_VARARGS, NULL},
	 { (char *)"csSpriteCal3DActiveAnim_weight_set", _wrap_csSpriteCal3DActiveAnim_weight_set, METH_VARARGS, NULL},
	 { (char *)"csSpriteCal3DActiveAnim_weight_get", _wrap_csSpriteCal3DActiveAnim_weight_get, METH_VARARGS, NULL},
	 { (char *)"new_csSpriteCal3DActiveAnim", _wrap_new_csSpriteCal3DActiveAnim, METH_VARARGS, NULL},
	 { (char *)"delete_csSpriteCal3DActiveAnim", _wrap_delete_csSpriteCal3DActiveAnim, METH_VARARGS, NULL},
	 { (char *)"csSpriteCal3DActiveAnim_swigregister", csSpriteCal3DActiveAnim_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetAnimCount", _wrap_iSpriteCal3DState_GetAnimCount, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetAnimName", _wrap_iSpriteCal3DState_GetAnimName, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetAnimType", _wrap_iSpriteCal3DState_GetAnimType, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_FindAnim", _wrap_iSpriteCal3DState_FindAnim, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_ClearAllAnims", _wrap_iSpriteCal3DState_ClearAllAnims, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetAnimCycle", _wrap_iSpriteCal3DState_SetAnimCycle, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_AddAnimCycle", _wrap_iSpriteCal3DState_AddAnimCycle, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_ClearAnimCycle", _wrap_iSpriteCal3DState_ClearAnimCycle, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetActiveAnimCount", _wrap_iSpriteCal3DState_GetActiveAnimCount, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetActiveAnims", _wrap_iSpriteCal3DState_GetActiveAnims, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetActiveAnims", _wrap_iSpriteCal3DState_SetActiveAnims, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetAnimAction", _wrap_iSpriteCal3DState_SetAnimAction, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetVelocity", _wrap_iSpriteCal3DState_SetVelocity, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetDefaultIdleAnim", _wrap_iSpriteCal3DState_SetDefaultIdleAnim, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetLOD", _wrap_iSpriteCal3DState_SetLOD, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_AttachCoreMesh", _wrap_iSpriteCal3DState_AttachCoreMesh, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_DetachCoreMesh", _wrap_iSpriteCal3DState_DetachCoreMesh, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_BlendMorphTarget", _wrap_iSpriteCal3DState_BlendMorphTarget, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_ClearMorphTarget", _wrap_iSpriteCal3DState_ClearMorphTarget, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_FindSocket", _wrap_iSpriteCal3DState_FindSocket, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetMaterial", _wrap_iSpriteCal3DState_SetMaterial, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetTimeFactor", _wrap_iSpriteCal3DState_SetTimeFactor, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetTimeFactor", _wrap_iSpriteCal3DState_GetTimeFactor, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetAnimationTime", _wrap_iSpriteCal3DState_GetAnimationTime, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetAnimationDuration", _wrap_iSpriteCal3DState_GetAnimationDuration, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetAnimationTime", _wrap_iSpriteCal3DState_SetAnimationTime, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetAnimTimeUpdateHandler", _wrap_iSpriteCal3DState_SetAnimTimeUpdateHandler, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_SetUserData", _wrap_iSpriteCal3DState_SetUserData, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetCoreMeshShaderVarContext", _wrap_iSpriteCal3DState_GetCoreMeshShaderVarContext, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_GetCal3DModel", _wrap_iSpriteCal3DState_GetCal3DModel, METH_VARARGS, NULL},
	 { (char *)"delete_iSpriteCal3DState", _wrap_delete_iSpriteCal3DState, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_scfGetVersion", _wrap_iSpriteCal3DState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSpriteCal3DState_swigregister", iSpriteCal3DState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectDrawCallback_BeforeDrawing", _wrap_iMeshObjectDrawCallback_BeforeDrawing, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshObjectDrawCallback", _wrap_delete_iMeshObjectDrawCallback, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectDrawCallback_swigregister", iMeshObjectDrawCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_GetFactory", _wrap_iMeshObject_GetFactory, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_GetFlags", _wrap_iMeshObject_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_Clone", _wrap_iMeshObject_Clone, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_GetRenderMeshes", _wrap_iMeshObject_GetRenderMeshes, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_SetVisibleCallback", _wrap_iMeshObject_SetVisibleCallback, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_GetVisibleCallback", _wrap_iMeshObject_GetVisibleCallback, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_NextFrame", _wrap_iMeshObject_NextFrame, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_HardTransform", _wrap_iMeshObject_HardTransform, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_SupportsHardTransform", _wrap_iMeshObject_SupportsHardTransform, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_HitBeamOutline", _wrap_iMeshObject_HitBeamOutline, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_HitBeamObject", _wrap_iMeshObject_HitBeamObject, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_SetMeshWrapper", _wrap_iMeshObject_SetMeshWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_GetMeshWrapper", _wrap_iMeshObject_GetMeshWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_GetObjectModel", _wrap_iMeshObject_GetObjectModel, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_SetColor", _wrap_iMeshObject_SetColor, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_GetColor", _wrap_iMeshObject_GetColor, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_SetMaterialWrapper", _wrap_iMeshObject_SetMaterialWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_GetMaterialWrapper", _wrap_iMeshObject_GetMaterialWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_SetMixMode", _wrap_iMeshObject_SetMixMode, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_GetMixMode", _wrap_iMeshObject_GetMixMode, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_InvalidateMaterialHandles", _wrap_iMeshObject_InvalidateMaterialHandles, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_PositionChild", _wrap_iMeshObject_PositionChild, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshObject", _wrap_delete_iMeshObject, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_scfGetVersion", _wrap_iMeshObject_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMeshObject_swigregister", iMeshObject_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_GetFlags", _wrap_iMeshObjectFactory_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_NewInstance", _wrap_iMeshObjectFactory_NewInstance, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_Clone", _wrap_iMeshObjectFactory_Clone, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_HardTransform", _wrap_iMeshObjectFactory_HardTransform, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_SupportsHardTransform", _wrap_iMeshObjectFactory_SupportsHardTransform, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_SetMeshFactoryWrapper", _wrap_iMeshObjectFactory_SetMeshFactoryWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_GetMeshFactoryWrapper", _wrap_iMeshObjectFactory_GetMeshFactoryWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_GetMeshObjectType", _wrap_iMeshObjectFactory_GetMeshObjectType, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_GetObjectModel", _wrap_iMeshObjectFactory_GetObjectModel, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_SetMaterialWrapper", _wrap_iMeshObjectFactory_SetMaterialWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_GetMaterialWrapper", _wrap_iMeshObjectFactory_GetMaterialWrapper, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_SetMixMode", _wrap_iMeshObjectFactory_SetMixMode, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_GetMixMode", _wrap_iMeshObjectFactory_GetMixMode, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshObjectFactory", _wrap_delete_iMeshObjectFactory, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_scfGetVersion", _wrap_iMeshObjectFactory_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectFactory_swigregister", iMeshObjectFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectType_NewFactory", _wrap_iMeshObjectType_NewFactory, METH_VARARGS, NULL},
	 { (char *)"delete_iMeshObjectType", _wrap_delete_iMeshObjectType, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectType_scfGetVersion", _wrap_iMeshObjectType_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMeshObjectType_swigregister", iMeshObjectType_swigregister, METH_VARARGS, NULL},
	 { (char *)"csPolygonRange_start_set", _wrap_csPolygonRange_start_set, METH_VARARGS, NULL},
	 { (char *)"csPolygonRange_start_get", _wrap_csPolygonRange_start_get, METH_VARARGS, NULL},
	 { (char *)"csPolygonRange_end_set", _wrap_csPolygonRange_end_set, METH_VARARGS, NULL},
	 { (char *)"csPolygonRange_end_get", _wrap_csPolygonRange_end_get, METH_VARARGS, NULL},
	 { (char *)"new_csPolygonRange", _wrap_new_csPolygonRange, METH_VARARGS, NULL},
	 { (char *)"csPolygonRange_Set", _wrap_csPolygonRange_Set, METH_VARARGS, NULL},
	 { (char *)"delete_csPolygonRange", _wrap_delete_csPolygonRange, METH_VARARGS, NULL},
	 { (char *)"csPolygonRange_swigregister", csPolygonRange_swigregister, METH_VARARGS, NULL},
	 { (char *)"iPolygonHandle_GetThingFactoryState", _wrap_iPolygonHandle_GetThingFactoryState, METH_VARARGS, NULL},
	 { (char *)"iPolygonHandle_GetMeshObjectFactory", _wrap_iPolygonHandle_GetMeshObjectFactory, METH_VARARGS, NULL},
	 { (char *)"iPolygonHandle_GetThingState", _wrap_iPolygonHandle_GetThingState, METH_VARARGS, NULL},
	 { (char *)"iPolygonHandle_GetMeshObject", _wrap_iPolygonHandle_GetMeshObject, METH_VARARGS, NULL},
	 { (char *)"iPolygonHandle_GetIndex", _wrap_iPolygonHandle_GetIndex, METH_VARARGS, NULL},
	 { (char *)"delete_iPolygonHandle", _wrap_delete_iPolygonHandle, METH_VARARGS, NULL},
	 { (char *)"iPolygonHandle_swigregister", iPolygonHandle_swigregister, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_CompressVertices", _wrap_iThingFactoryState_CompressVertices, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetPolygonCount", _wrap_iThingFactoryState_GetPolygonCount, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_RemovePolygon", _wrap_iThingFactoryState_RemovePolygon, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_RemovePolygons", _wrap_iThingFactoryState_RemovePolygons, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_FindPolygonByName", _wrap_iThingFactoryState_FindPolygonByName, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_AddEmptyPolygon", _wrap_iThingFactoryState_AddEmptyPolygon, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_AddTriangle", _wrap_iThingFactoryState_AddTriangle, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_AddQuad", _wrap_iThingFactoryState_AddQuad, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_AddPolygon", _wrap_iThingFactoryState_AddPolygon, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_AddOutsideBox", _wrap_iThingFactoryState_AddOutsideBox, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_AddInsideBox", _wrap_iThingFactoryState_AddInsideBox, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_SetPolygonName", _wrap_iThingFactoryState_SetPolygonName, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetPolygonName", _wrap_iThingFactoryState_GetPolygonName, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_CreatePolygonHandle", _wrap_iThingFactoryState_CreatePolygonHandle, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_SetPolygonMaterial", _wrap_iThingFactoryState_SetPolygonMaterial, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetPolygonMaterial", _wrap_iThingFactoryState_GetPolygonMaterial, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_AddPolygonVertex", _wrap_iThingFactoryState_AddPolygonVertex, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_SetPolygonVertexIndices", _wrap_iThingFactoryState_SetPolygonVertexIndices, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetPolygonVertexCount", _wrap_iThingFactoryState_GetPolygonVertexCount, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetPolygonVertex", _wrap_iThingFactoryState_GetPolygonVertex, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetPolygonVertexIndices", _wrap_iThingFactoryState_GetPolygonVertexIndices, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_SetPolygonTextureMapping", _wrap_iThingFactoryState_SetPolygonTextureMapping, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetPolygonTextureMapping", _wrap_iThingFactoryState_GetPolygonTextureMapping, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_SetPolygonTextureMappingEnabled", _wrap_iThingFactoryState_SetPolygonTextureMappingEnabled, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_IsPolygonTextureMappingEnabled", _wrap_iThingFactoryState_IsPolygonTextureMappingEnabled, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_SetPolygonFlags", _wrap_iThingFactoryState_SetPolygonFlags, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_ResetPolygonFlags", _wrap_iThingFactoryState_ResetPolygonFlags, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetPolygonFlags", _wrap_iThingFactoryState_GetPolygonFlags, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetPolygonObjectPlane", _wrap_iThingFactoryState_GetPolygonObjectPlane, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_IsPolygonTransparent", _wrap_iThingFactoryState_IsPolygonTransparent, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_PointOnPolygon", _wrap_iThingFactoryState_PointOnPolygon, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetVertexCount", _wrap_iThingFactoryState_GetVertexCount, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetVertex", _wrap_iThingFactoryState_GetVertex, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetVertices", _wrap_iThingFactoryState_GetVertices, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_CreateVertex", _wrap_iThingFactoryState_CreateVertex, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_SetVertex", _wrap_iThingFactoryState_SetVertex, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_DeleteVertex", _wrap_iThingFactoryState_DeleteVertex, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_DeleteVertices", _wrap_iThingFactoryState_DeleteVertices, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_SetSmoothingFlag", _wrap_iThingFactoryState_SetSmoothingFlag, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetSmoothingFlag", _wrap_iThingFactoryState_GetSmoothingFlag, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetNormals", _wrap_iThingFactoryState_GetNormals, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetCosinusFactor", _wrap_iThingFactoryState_GetCosinusFactor, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_SetCosinusFactor", _wrap_iThingFactoryState_SetCosinusFactor, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_AddPolygonRenderBuffer", _wrap_iThingFactoryState_AddPolygonRenderBuffer, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_GetLightmapLayout", _wrap_iThingFactoryState_GetLightmapLayout, METH_VARARGS, NULL},
	 { (char *)"delete_iThingFactoryState", _wrap_delete_iThingFactoryState, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_scfGetVersion", _wrap_iThingFactoryState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iThingFactoryState_swigregister", iThingFactoryState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iThingState_GetVertexW", _wrap_iThingState_GetVertexW, METH_VARARGS, NULL},
	 { (char *)"iThingState_GetVerticesW", _wrap_iThingState_GetVerticesW, METH_VARARGS, NULL},
	 { (char *)"iThingState_GetMovingOption", _wrap_iThingState_GetMovingOption, METH_VARARGS, NULL},
	 { (char *)"iThingState_SetMovingOption", _wrap_iThingState_SetMovingOption, METH_VARARGS, NULL},
	 { (char *)"iThingState_Prepare", _wrap_iThingState_Prepare, METH_VARARGS, NULL},
	 { (char *)"iThingState_Unprepare", _wrap_iThingState_Unprepare, METH_VARARGS, NULL},
	 { (char *)"iThingState_ReplaceMaterial", _wrap_iThingState_ReplaceMaterial, METH_VARARGS, NULL},
	 { (char *)"iThingState_ClearReplacedMaterials", _wrap_iThingState_ClearReplacedMaterials, METH_VARARGS, NULL},
	 { (char *)"iThingState_SetMixMode", _wrap_iThingState_SetMixMode, METH_VARARGS, NULL},
	 { (char *)"iThingState_GetMixMode", _wrap_iThingState_GetMixMode, METH_VARARGS, NULL},
	 { (char *)"iThingState_CreatePolygonHandle", _wrap_iThingState_CreatePolygonHandle, METH_VARARGS, NULL},
	 { (char *)"iThingState_GetPolygonWorldPlane", _wrap_iThingState_GetPolygonWorldPlane, METH_VARARGS, NULL},
	 { (char *)"iThingState_GetPolygonLightmap", _wrap_iThingState_GetPolygonLightmap, METH_VARARGS, NULL},
	 { (char *)"iThingState_GetPolygonPDLight", _wrap_iThingState_GetPolygonPDLight, METH_VARARGS, NULL},
	 { (char *)"iThingState_GetReplacedMaterial", _wrap_iThingState_GetReplacedMaterial, METH_VARARGS, NULL},
	 { (char *)"delete_iThingState", _wrap_delete_iThingState, METH_VARARGS, NULL},
	 { (char *)"iThingState_scfGetVersion", _wrap_iThingState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iThingState_swigregister", iThingState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iThingEnvironment_Clear", _wrap_iThingEnvironment_Clear, METH_VARARGS, NULL},
	 { (char *)"iThingEnvironment_GetLightmapCellSize", _wrap_iThingEnvironment_GetLightmapCellSize, METH_VARARGS, NULL},
	 { (char *)"iThingEnvironment_SetLightmapCellSize", _wrap_iThingEnvironment_SetLightmapCellSize, METH_VARARGS, NULL},
	 { (char *)"iThingEnvironment_GetDefaultLightmapCellSize", _wrap_iThingEnvironment_GetDefaultLightmapCellSize, METH_VARARGS, NULL},
	 { (char *)"delete_iThingEnvironment", _wrap_delete_iThingEnvironment, METH_VARARGS, NULL},
	 { (char *)"iThingEnvironment_swigregister", iThingEnvironment_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_csCharArrayArray", _wrap_delete_csCharArrayArray, METH_VARARGS, NULL},
	 { (char *)"new_csCharArrayArray", _wrap_new_csCharArrayArray, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_GetSize", _wrap_csCharArrayArray_GetSize, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Length", _wrap_csCharArrayArray_Length, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Get", _wrap_csCharArrayArray_Get, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Put", _wrap_csCharArrayArray_Put, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Push", _wrap_csCharArrayArray_Push, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Pop", _wrap_csCharArrayArray_Pop, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Top", _wrap_csCharArrayArray_Top, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Insert", _wrap_csCharArrayArray_Insert, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Contains", _wrap_csCharArrayArray_Contains, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Truncate", _wrap_csCharArrayArray_Truncate, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_Empty", _wrap_csCharArrayArray_Empty, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_IsEmpty", _wrap_csCharArrayArray_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_SetMinimalCapacity", _wrap_csCharArrayArray_SetMinimalCapacity, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_DeleteIndex", _wrap_csCharArrayArray_DeleteIndex, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_DeleteIndexFast", _wrap_csCharArrayArray_DeleteIndexFast, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_DeleteRange", _wrap_csCharArrayArray_DeleteRange, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray___eq__", _wrap_csCharArrayArray___eq__, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray___ne__", _wrap_csCharArrayArray___ne__, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_GetAllocator", _wrap_csCharArrayArray_GetAllocator, METH_VARARGS, NULL},
	 { (char *)"csCharArrayArray_swigregister", csCharArrayArray_swigregister, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetMaterialPalette", _wrap_iTerrainObjectState_SetMaterialPalette, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_GetMaterialPalette", _wrap_iTerrainObjectState_GetMaterialPalette, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetMaterialMap", _wrap_iTerrainObjectState_SetMaterialMap, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetMaterialAlphaMaps", _wrap_iTerrainObjectState_SetMaterialAlphaMaps, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetLODValue", _wrap_iTerrainObjectState_SetLODValue, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_GetLODValue", _wrap_iTerrainObjectState_GetLODValue, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SaveState", _wrap_iTerrainObjectState_SaveState, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_RestoreState", _wrap_iTerrainObjectState_RestoreState, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_CollisionDetect", _wrap_iTerrainObjectState_CollisionDetect, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetStaticLighting", _wrap_iTerrainObjectState_SetStaticLighting, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_GetStaticLighting", _wrap_iTerrainObjectState_GetStaticLighting, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetCastShadows", _wrap_iTerrainObjectState_SetCastShadows, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_GetCastShadows", _wrap_iTerrainObjectState_GetCastShadows, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetMaterialMapFile", _wrap_iTerrainObjectState_SetMaterialMapFile, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_GetMaterialMapFile", _wrap_iTerrainObjectState_GetMaterialMapFile, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetTopNeighbor", _wrap_iTerrainObjectState_SetTopNeighbor, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetRightNeighbor", _wrap_iTerrainObjectState_SetRightNeighbor, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetLeftNeighbor", _wrap_iTerrainObjectState_SetLeftNeighbor, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_SetBottomNeighbor", _wrap_iTerrainObjectState_SetBottomNeighbor, METH_VARARGS, NULL},
	 { (char *)"delete_iTerrainObjectState", _wrap_delete_iTerrainObjectState, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_scfGetVersion", _wrap_iTerrainObjectState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iTerrainObjectState_swigregister", iTerrainObjectState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iTerrainFactoryState_SetTerraFormer", _wrap_iTerrainFactoryState_SetTerraFormer, METH_VARARGS, NULL},
	 { (char *)"iTerrainFactoryState_GetTerraFormer", _wrap_iTerrainFactoryState_GetTerraFormer, METH_VARARGS, NULL},
	 { (char *)"iTerrainFactoryState_SetSamplerRegion", _wrap_iTerrainFactoryState_SetSamplerRegion, METH_VARARGS, NULL},
	 { (char *)"iTerrainFactoryState_GetSamplerRegion", _wrap_iTerrainFactoryState_GetSamplerRegion, METH_VARARGS, NULL},
	 { (char *)"iTerrainFactoryState_SaveState", _wrap_iTerrainFactoryState_SaveState, METH_VARARGS, NULL},
	 { (char *)"iTerrainFactoryState_RestoreState", _wrap_iTerrainFactoryState_RestoreState, METH_VARARGS, NULL},
	 { (char *)"delete_iTerrainFactoryState", _wrap_delete_iTerrainFactoryState, METH_VARARGS, NULL},
	 { (char *)"iTerrainFactoryState_scfGetVersion", _wrap_iTerrainFactoryState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iTerrainFactoryState_swigregister", iTerrainFactoryState_swigregister, METH_VARARGS, NULL},
	 { (char *)"csParticle_position_set", _wrap_csParticle_position_set, METH_VARARGS, NULL},
	 { (char *)"csParticle_position_get", _wrap_csParticle_position_get, METH_VARARGS, NULL},
	 { (char *)"csParticle_mass_set", _wrap_csParticle_mass_set, METH_VARARGS, NULL},
	 { (char *)"csParticle_mass_get", _wrap_csParticle_mass_get, METH_VARARGS, NULL},
	 { (char *)"csParticle_orientation_set", _wrap_csParticle_orientation_set, METH_VARARGS, NULL},
	 { (char *)"csParticle_orientation_get", _wrap_csParticle_orientation_get, METH_VARARGS, NULL},
	 { (char *)"csParticle_linearVelocity_set", _wrap_csParticle_linearVelocity_set, METH_VARARGS, NULL},
	 { (char *)"csParticle_linearVelocity_get", _wrap_csParticle_linearVelocity_get, METH_VARARGS, NULL},
	 { (char *)"csParticle_timeToLive_set", _wrap_csParticle_timeToLive_set, METH_VARARGS, NULL},
	 { (char *)"csParticle_timeToLive_get", _wrap_csParticle_timeToLive_get, METH_VARARGS, NULL},
	 { (char *)"csParticle_angularVelocity_set", _wrap_csParticle_angularVelocity_set, METH_VARARGS, NULL},
	 { (char *)"csParticle_angularVelocity_get", _wrap_csParticle_angularVelocity_get, METH_VARARGS, NULL},
	 { (char *)"csParticle_pad_set", _wrap_csParticle_pad_set, METH_VARARGS, NULL},
	 { (char *)"csParticle_pad_get", _wrap_csParticle_pad_get, METH_VARARGS, NULL},
	 { (char *)"new_csParticle", _wrap_new_csParticle, METH_VARARGS, NULL},
	 { (char *)"delete_csParticle", _wrap_delete_csParticle, METH_VARARGS, NULL},
	 { (char *)"csParticle_swigregister", csParticle_swigregister, METH_VARARGS, NULL},
	 { (char *)"csParticleAux_color_set", _wrap_csParticleAux_color_set, METH_VARARGS, NULL},
	 { (char *)"csParticleAux_color_get", _wrap_csParticleAux_color_get, METH_VARARGS, NULL},
	 { (char *)"csParticleAux_particleSize_set", _wrap_csParticleAux_particleSize_set, METH_VARARGS, NULL},
	 { (char *)"csParticleAux_particleSize_get", _wrap_csParticleAux_particleSize_get, METH_VARARGS, NULL},
	 { (char *)"csParticleAux_pad_set", _wrap_csParticleAux_pad_set, METH_VARARGS, NULL},
	 { (char *)"csParticleAux_pad_get", _wrap_csParticleAux_pad_get, METH_VARARGS, NULL},
	 { (char *)"new_csParticleAux", _wrap_new_csParticleAux, METH_VARARGS, NULL},
	 { (char *)"delete_csParticleAux", _wrap_delete_csParticleAux, METH_VARARGS, NULL},
	 { (char *)"csParticleAux_swigregister", csParticleAux_swigregister, METH_VARARGS, NULL},
	 { (char *)"csParticleBuffer_particleData_set", _wrap_csParticleBuffer_particleData_set, METH_VARARGS, NULL},
	 { (char *)"csParticleBuffer_particleData_get", _wrap_csParticleBuffer_particleData_get, METH_VARARGS, NULL},
	 { (char *)"csParticleBuffer_particleAuxData_set", _wrap_csParticleBuffer_particleAuxData_set, METH_VARARGS, NULL},
	 { (char *)"csParticleBuffer_particleAuxData_get", _wrap_csParticleBuffer_particleAuxData_get, METH_VARARGS, NULL},
	 { (char *)"csParticleBuffer_particleCount_set", _wrap_csParticleBuffer_particleCount_set, METH_VARARGS, NULL},
	 { (char *)"csParticleBuffer_particleCount_get", _wrap_csParticleBuffer_particleCount_get, METH_VARARGS, NULL},
	 { (char *)"new_csParticleBuffer", _wrap_new_csParticleBuffer, METH_VARARGS, NULL},
	 { (char *)"delete_csParticleBuffer", _wrap_delete_csParticleBuffer, METH_VARARGS, NULL},
	 { (char *)"csParticleBuffer_swigregister", csParticleBuffer_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_SetEnabled", _wrap_iParticleEmitter_SetEnabled, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_GetEnabled", _wrap_iParticleEmitter_GetEnabled, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_SetStartTime", _wrap_iParticleEmitter_SetStartTime, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_GetStartTime", _wrap_iParticleEmitter_GetStartTime, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_SetDuration", _wrap_iParticleEmitter_SetDuration, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_GetDuration", _wrap_iParticleEmitter_GetDuration, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_SetEmissionRate", _wrap_iParticleEmitter_SetEmissionRate, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_GetEmissionRate", _wrap_iParticleEmitter_GetEmissionRate, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_SetInitialTTL", _wrap_iParticleEmitter_SetInitialTTL, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_GetInitialTTL", _wrap_iParticleEmitter_GetInitialTTL, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_SetInitialMass", _wrap_iParticleEmitter_SetInitialMass, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_GetInitialMass", _wrap_iParticleEmitter_GetInitialMass, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_Clone", _wrap_iParticleEmitter_Clone, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_ParticlesToEmit", _wrap_iParticleEmitter_ParticlesToEmit, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_EmitParticles", _wrap_iParticleEmitter_EmitParticles, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleEmitter", _wrap_delete_iParticleEmitter, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_scfGetVersion", _wrap_iParticleEmitter_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleEmitter_swigregister", iParticleEmitter_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleEffector_Clone", _wrap_iParticleEffector_Clone, METH_VARARGS, NULL},
	 { (char *)"iParticleEffector_EffectParticles", _wrap_iParticleEffector_EffectParticles, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleEffector", _wrap_delete_iParticleEffector, METH_VARARGS, NULL},
	 { (char *)"iParticleEffector_scfGetVersion", _wrap_iParticleEffector_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleEffector_swigregister", iParticleEffector_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_SetParticleRenderOrientation", _wrap_iParticleSystemBase_SetParticleRenderOrientation, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetParticleRenderOrientation", _wrap_iParticleSystemBase_GetParticleRenderOrientation, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_SetRotationMode", _wrap_iParticleSystemBase_SetRotationMode, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetRotationMode", _wrap_iParticleSystemBase_GetRotationMode, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_SetSortMode", _wrap_iParticleSystemBase_SetSortMode, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetSortMode", _wrap_iParticleSystemBase_GetSortMode, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_SetIntegrationMode", _wrap_iParticleSystemBase_SetIntegrationMode, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetIntegrationMode", _wrap_iParticleSystemBase_GetIntegrationMode, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_SetCommonDirection", _wrap_iParticleSystemBase_SetCommonDirection, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetCommonDirection", _wrap_iParticleSystemBase_GetCommonDirection, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_SetTransformMode", _wrap_iParticleSystemBase_SetTransformMode, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetTransformMode", _wrap_iParticleSystemBase_GetTransformMode, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_SetUseIndividualSize", _wrap_iParticleSystemBase_SetUseIndividualSize, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetUseIndividualSize", _wrap_iParticleSystemBase_GetUseIndividualSize, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_SetParticleSize", _wrap_iParticleSystemBase_SetParticleSize, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetParticleSize", _wrap_iParticleSystemBase_GetParticleSize, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_SetMinBoundingBox", _wrap_iParticleSystemBase_SetMinBoundingBox, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetMinBoundingBox", _wrap_iParticleSystemBase_GetMinBoundingBox, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_AddEmitter", _wrap_iParticleSystemBase_AddEmitter, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetEmitter", _wrap_iParticleSystemBase_GetEmitter, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_RemoveEmitter", _wrap_iParticleSystemBase_RemoveEmitter, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetEmitterCount", _wrap_iParticleSystemBase_GetEmitterCount, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_AddEffector", _wrap_iParticleSystemBase_AddEffector, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetEffector", _wrap_iParticleSystemBase_GetEffector, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_RemoveEffector", _wrap_iParticleSystemBase_RemoveEffector, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_GetEffectorCount", _wrap_iParticleSystemBase_GetEffectorCount, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleSystemBase", _wrap_delete_iParticleSystemBase, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_scfGetVersion", _wrap_iParticleSystemBase_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemBase_swigregister", iParticleSystemBase_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemFactory_SetDeepCreation", _wrap_iParticleSystemFactory_SetDeepCreation, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemFactory_GetDeepCreation", _wrap_iParticleSystemFactory_GetDeepCreation, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleSystemFactory", _wrap_delete_iParticleSystemFactory, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemFactory_scfGetVersion", _wrap_iParticleSystemFactory_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleSystemFactory_swigregister", iParticleSystemFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleSystem_GetParticleCount", _wrap_iParticleSystem_GetParticleCount, METH_VARARGS, NULL},
	 { (char *)"iParticleSystem_GetParticle", _wrap_iParticleSystem_GetParticle, METH_VARARGS, NULL},
	 { (char *)"iParticleSystem_GetParticleAux", _wrap_iParticleSystem_GetParticleAux, METH_VARARGS, NULL},
	 { (char *)"iParticleSystem_LockForExternalControl", _wrap_iParticleSystem_LockForExternalControl, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleSystem", _wrap_delete_iParticleSystem, METH_VARARGS, NULL},
	 { (char *)"iParticleSystem_scfGetVersion", _wrap_iParticleSystem_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleSystem_swigregister", iParticleSystem_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_SetPosition", _wrap_iParticleBuiltinEmitterBase_SetPosition, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_GetPosition", _wrap_iParticleBuiltinEmitterBase_GetPosition, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_SetParticlePlacement", _wrap_iParticleBuiltinEmitterBase_SetParticlePlacement, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_GetParticlePlacement", _wrap_iParticleBuiltinEmitterBase_GetParticlePlacement, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_SetUniformVelocity", _wrap_iParticleBuiltinEmitterBase_SetUniformVelocity, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_GetUniformVelocity", _wrap_iParticleBuiltinEmitterBase_GetUniformVelocity, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_SetInitialVelocity", _wrap_iParticleBuiltinEmitterBase_SetInitialVelocity, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_GetInitialVelocity", _wrap_iParticleBuiltinEmitterBase_GetInitialVelocity, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEmitterBase", _wrap_delete_iParticleBuiltinEmitterBase, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_scfGetVersion", _wrap_iParticleBuiltinEmitterBase_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBase_swigregister", iParticleBuiltinEmitterBase_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterSphere_SetRadius", _wrap_iParticleBuiltinEmitterSphere_SetRadius, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterSphere_GetRadius", _wrap_iParticleBuiltinEmitterSphere_GetRadius, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEmitterSphere", _wrap_delete_iParticleBuiltinEmitterSphere, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterSphere_scfGetVersion", _wrap_iParticleBuiltinEmitterSphere_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterSphere_swigregister", iParticleBuiltinEmitterSphere_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCone_SetExtent", _wrap_iParticleBuiltinEmitterCone_SetExtent, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCone_GetExtent", _wrap_iParticleBuiltinEmitterCone_GetExtent, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCone_SetConeAngle", _wrap_iParticleBuiltinEmitterCone_SetConeAngle, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCone_GetConeAngle", _wrap_iParticleBuiltinEmitterCone_GetConeAngle, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEmitterCone", _wrap_delete_iParticleBuiltinEmitterCone, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCone_scfGetVersion", _wrap_iParticleBuiltinEmitterCone_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCone_swigregister", iParticleBuiltinEmitterCone_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBox_SetBox", _wrap_iParticleBuiltinEmitterBox_SetBox, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBox_GetBox", _wrap_iParticleBuiltinEmitterBox_GetBox, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEmitterBox", _wrap_delete_iParticleBuiltinEmitterBox, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBox_scfGetVersion", _wrap_iParticleBuiltinEmitterBox_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterBox_swigregister", iParticleBuiltinEmitterBox_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCylinder_SetRadius", _wrap_iParticleBuiltinEmitterCylinder_SetRadius, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCylinder_GetRadius", _wrap_iParticleBuiltinEmitterCylinder_GetRadius, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCylinder_SetExtent", _wrap_iParticleBuiltinEmitterCylinder_SetExtent, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCylinder_GetExtent", _wrap_iParticleBuiltinEmitterCylinder_GetExtent, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEmitterCylinder", _wrap_delete_iParticleBuiltinEmitterCylinder, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCylinder_scfGetVersion", _wrap_iParticleBuiltinEmitterCylinder_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterCylinder_swigregister", iParticleBuiltinEmitterCylinder_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterFactory_CreateSphere", _wrap_iParticleBuiltinEmitterFactory_CreateSphere, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterFactory_CreateCone", _wrap_iParticleBuiltinEmitterFactory_CreateCone, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterFactory_CreateBox", _wrap_iParticleBuiltinEmitterFactory_CreateBox, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterFactory_CreateCylinder", _wrap_iParticleBuiltinEmitterFactory_CreateCylinder, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEmitterFactory", _wrap_delete_iParticleBuiltinEmitterFactory, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterFactory_scfGetVersion", _wrap_iParticleBuiltinEmitterFactory_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEmitterFactory_swigregister", iParticleBuiltinEmitterFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorForce_SetAcceleration", _wrap_iParticleBuiltinEffectorForce_SetAcceleration, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorForce_GetAcceleration", _wrap_iParticleBuiltinEffectorForce_GetAcceleration, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorForce_SetForce", _wrap_iParticleBuiltinEffectorForce_SetForce, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorForce_GetForce", _wrap_iParticleBuiltinEffectorForce_GetForce, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorForce_SetRandomAcceleration", _wrap_iParticleBuiltinEffectorForce_SetRandomAcceleration, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorForce_GetRandomAcceleration", _wrap_iParticleBuiltinEffectorForce_GetRandomAcceleration, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEffectorForce", _wrap_delete_iParticleBuiltinEffectorForce, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorForce_scfGetVersion", _wrap_iParticleBuiltinEffectorForce_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorForce_swigregister", iParticleBuiltinEffectorForce_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorLinColor_AddColor", _wrap_iParticleBuiltinEffectorLinColor_AddColor, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorLinColor_SetColor", _wrap_iParticleBuiltinEffectorLinColor_SetColor, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorLinColor_GetColor", _wrap_iParticleBuiltinEffectorLinColor_GetColor, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorLinColor_GetColorCount", _wrap_iParticleBuiltinEffectorLinColor_GetColorCount, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEffectorLinColor", _wrap_delete_iParticleBuiltinEffectorLinColor, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorLinColor_scfGetVersion", _wrap_iParticleBuiltinEffectorLinColor_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorLinColor_swigregister", iParticleBuiltinEffectorLinColor_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorVelocityField_SetType", _wrap_iParticleBuiltinEffectorVelocityField_SetType, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorVelocityField_GetType", _wrap_iParticleBuiltinEffectorVelocityField_GetType, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorVelocityField_SetFParameter", _wrap_iParticleBuiltinEffectorVelocityField_SetFParameter, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorVelocityField_GetFParameter", _wrap_iParticleBuiltinEffectorVelocityField_GetFParameter, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorVelocityField_GetFParameterCount", _wrap_iParticleBuiltinEffectorVelocityField_GetFParameterCount, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorVelocityField_SetVParameter", _wrap_iParticleBuiltinEffectorVelocityField_SetVParameter, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorVelocityField_GetVParameter", _wrap_iParticleBuiltinEffectorVelocityField_GetVParameter, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorVelocityField_GetVParameterCount", _wrap_iParticleBuiltinEffectorVelocityField_GetVParameterCount, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEffectorVelocityField", _wrap_delete_iParticleBuiltinEffectorVelocityField, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorVelocityField_swigregister", iParticleBuiltinEffectorVelocityField_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorFactory_CreateForce", _wrap_iParticleBuiltinEffectorFactory_CreateForce, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorFactory_CreateLinColor", _wrap_iParticleBuiltinEffectorFactory_CreateLinColor, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorFactory_CreateVelocityField", _wrap_iParticleBuiltinEffectorFactory_CreateVelocityField, METH_VARARGS, NULL},
	 { (char *)"delete_iParticleBuiltinEffectorFactory", _wrap_delete_iParticleBuiltinEffectorFactory, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorFactory_scfGetVersion", _wrap_iParticleBuiltinEffectorFactory_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iParticleBuiltinEffectorFactory_swigregister", iParticleBuiltinEffectorFactory_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLoaderStatus_IsReady", _wrap_iLoaderStatus_IsReady, METH_VARARGS, NULL},
	 { (char *)"iLoaderStatus_IsError", _wrap_iLoaderStatus_IsError, METH_VARARGS, NULL},
	 { (char *)"delete_iLoaderStatus", _wrap_delete_iLoaderStatus, METH_VARARGS, NULL},
	 { (char *)"iLoaderStatus_swigregister", iLoaderStatus_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMissingLoaderData_MissingMaterial", _wrap_iMissingLoaderData_MissingMaterial, METH_VARARGS, NULL},
	 { (char *)"iMissingLoaderData_MissingTexture", _wrap_iMissingLoaderData_MissingTexture, METH_VARARGS, NULL},
	 { (char *)"iMissingLoaderData_MissingShader", _wrap_iMissingLoaderData_MissingShader, METH_VARARGS, NULL},
	 { (char *)"iMissingLoaderData_MissingFactory", _wrap_iMissingLoaderData_MissingFactory, METH_VARARGS, NULL},
	 { (char *)"iMissingLoaderData_MissingMesh", _wrap_iMissingLoaderData_MissingMesh, METH_VARARGS, NULL},
	 { (char *)"iMissingLoaderData_MissingSector", _wrap_iMissingLoaderData_MissingSector, METH_VARARGS, NULL},
	 { (char *)"iMissingLoaderData_MissingLight", _wrap_iMissingLoaderData_MissingLight, METH_VARARGS, NULL},
	 { (char *)"delete_iMissingLoaderData", _wrap_delete_iMissingLoaderData, METH_VARARGS, NULL},
	 { (char *)"iMissingLoaderData_swigregister", iMissingLoaderData_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadImage", _wrap_iLoader_LoadImage, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadTexture", _wrap_iLoader_LoadTexture, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadSoundSysData", _wrap_iLoader_LoadSoundSysData, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadSoundStream", _wrap_iLoader_LoadSoundStream, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadSoundWrapper", _wrap_iLoader_LoadSoundWrapper, METH_VARARGS, NULL},
	 { (char *)"iLoader_ThreadedLoadMapFile", _wrap_iLoader_ThreadedLoadMapFile, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadMapFile", _wrap_iLoader_LoadMapFile, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadMap", _wrap_iLoader_LoadMap, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadLibraryFile", _wrap_iLoader_LoadLibraryFile, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadLibrary", _wrap_iLoader_LoadLibrary, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadMeshObjectFactory", _wrap_iLoader_LoadMeshObjectFactory, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadMeshObject", _wrap_iLoader_LoadMeshObject, METH_VARARGS, NULL},
	 { (char *)"iLoader_Load", _wrap_iLoader_Load, METH_VARARGS, NULL},
	 { (char *)"iLoader_LoadShader", _wrap_iLoader_LoadShader, METH_VARARGS, NULL},
	 { (char *)"iLoader_SetAutoRegions", _wrap_iLoader_SetAutoRegions, METH_VARARGS, NULL},
	 { (char *)"iLoader_GetAutoRegions", _wrap_iLoader_GetAutoRegions, METH_VARARGS, NULL},
	 { (char *)"delete_iLoader", _wrap_delete_iLoader, METH_VARARGS, NULL},
	 { (char *)"iLoader_scfGetVersion", _wrap_iLoader_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iLoader_swigregister", iLoader_swigregister, METH_VARARGS, NULL},
	 { (char *)"iLoaderPlugin_Parse", _wrap_iLoaderPlugin_Parse, METH_VARARGS, NULL},
	 { (char *)"delete_iLoaderPlugin", _wrap_delete_iLoaderPlugin, METH_VARARGS, NULL},
	 { (char *)"iLoaderPlugin_scfGetVersion", _wrap_iLoaderPlugin_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iLoaderPlugin_swigregister", iLoaderPlugin_swigregister, METH_VARARGS, NULL},
	 { (char *)"iBinaryLoaderPlugin_Parse", _wrap_iBinaryLoaderPlugin_Parse, METH_VARARGS, NULL},
	 { (char *)"delete_iBinaryLoaderPlugin", _wrap_delete_iBinaryLoaderPlugin, METH_VARARGS, NULL},
	 { (char *)"iBinaryLoaderPlugin_scfGetVersion", _wrap_iBinaryLoaderPlugin_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iBinaryLoaderPlugin_swigregister", iBinaryLoaderPlugin_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSaver_SaveMapFile", _wrap_iSaver_SaveMapFile, METH_VARARGS, NULL},
	 { (char *)"iSaver_SaveAllRegions", _wrap_iSaver_SaveAllRegions, METH_VARARGS, NULL},
	 { (char *)"iSaver_SaveRegionFile", _wrap_iSaver_SaveRegionFile, METH_VARARGS, NULL},
	 { (char *)"iSaver_SaveRegion", _wrap_iSaver_SaveRegion, METH_VARARGS, NULL},
	 { (char *)"iSaver_SavePortal", _wrap_iSaver_SavePortal, METH_VARARGS, NULL},
	 { (char *)"delete_iSaver", _wrap_delete_iSaver, METH_VARARGS, NULL},
	 { (char *)"iSaver_swigregister", iSaver_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysData_GetFormat", _wrap_iSndSysData_GetFormat, METH_VARARGS, NULL},
	 { (char *)"iSndSysData_GetFrameCount", _wrap_iSndSysData_GetFrameCount, METH_VARARGS, NULL},
	 { (char *)"iSndSysData_GetDataSize", _wrap_iSndSysData_GetDataSize, METH_VARARGS, NULL},
	 { (char *)"iSndSysData_CreateStream", _wrap_iSndSysData_CreateStream, METH_VARARGS, NULL},
	 { (char *)"iSndSysData_SetDescription", _wrap_iSndSysData_SetDescription, METH_VARARGS, NULL},
	 { (char *)"iSndSysData_GetDescription", _wrap_iSndSysData_GetDescription, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysData", _wrap_delete_iSndSysData, METH_VARARGS, NULL},
	 { (char *)"iSndSysData_scfGetVersion", _wrap_iSndSysData_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysData_swigregister", iSndSysData_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_clean_buffer_set", _wrap_iSndSysSoftwareFilter3DProperties_clean_buffer_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_clean_buffer_get", _wrap_iSndSysSoftwareFilter3DProperties_clean_buffer_get, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_work_buffer_set", _wrap_iSndSysSoftwareFilter3DProperties_work_buffer_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_work_buffer_get", _wrap_iSndSysSoftwareFilter3DProperties_work_buffer_get, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_buffer_samples_set", _wrap_iSndSysSoftwareFilter3DProperties_buffer_samples_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_buffer_samples_get", _wrap_iSndSysSoftwareFilter3DProperties_buffer_samples_get, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_source_parameters_set", _wrap_iSndSysSoftwareFilter3DProperties_source_parameters_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_source_parameters_get", _wrap_iSndSysSoftwareFilter3DProperties_source_parameters_get, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_listener_parameters_set", _wrap_iSndSysSoftwareFilter3DProperties_listener_parameters_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_listener_parameters_get", _wrap_iSndSysSoftwareFilter3DProperties_listener_parameters_get, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_sound_format_set", _wrap_iSndSysSoftwareFilter3DProperties_sound_format_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_sound_format_get", _wrap_iSndSysSoftwareFilter3DProperties_sound_format_get, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_closest_speaker_distance_set", _wrap_iSndSysSoftwareFilter3DProperties_closest_speaker_distance_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_closest_speaker_distance_get", _wrap_iSndSysSoftwareFilter3DProperties_closest_speaker_distance_get, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_speaker_distance_set", _wrap_iSndSysSoftwareFilter3DProperties_speaker_distance_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_speaker_distance_get", _wrap_iSndSysSoftwareFilter3DProperties_speaker_distance_get, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_speaker_direction_cos_set", _wrap_iSndSysSoftwareFilter3DProperties_speaker_direction_cos_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_speaker_direction_cos_get", _wrap_iSndSysSoftwareFilter3DProperties_speaker_direction_cos_get, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_channel_set", _wrap_iSndSysSoftwareFilter3DProperties_channel_set, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_channel_get", _wrap_iSndSysSoftwareFilter3DProperties_channel_get, METH_VARARGS, NULL},
	 { (char *)"new_iSndSysSoftwareFilter3DProperties", _wrap_new_iSndSysSoftwareFilter3DProperties, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysSoftwareFilter3DProperties", _wrap_delete_iSndSysSoftwareFilter3DProperties, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3DProperties_swigregister", iSndSysSoftwareFilter3DProperties_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3D_Apply", _wrap_iSndSysSoftwareFilter3D_Apply, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3D_AddSubFilter", _wrap_iSndSysSoftwareFilter3D_AddSubFilter, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3D_GetSubFilter", _wrap_iSndSysSoftwareFilter3D_GetSubFilter, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3D_GetPtr", _wrap_iSndSysSoftwareFilter3D_GetPtr, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysSoftwareFilter3D", _wrap_delete_iSndSysSoftwareFilter3D, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3D_scfGetVersion", _wrap_iSndSysSoftwareFilter3D_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareFilter3D_swigregister", iSndSysSoftwareFilter3D_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareOutputFilter_FormatNotify", _wrap_iSndSysSoftwareOutputFilter_FormatNotify, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareOutputFilter_DeliverData", _wrap_iSndSysSoftwareOutputFilter_DeliverData, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysSoftwareOutputFilter", _wrap_delete_iSndSysSoftwareOutputFilter, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareOutputFilter_swigregister", iSndSysSoftwareOutputFilter_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_SetDirection", _wrap_iSndSysListener_SetDirection, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_SetPosition", _wrap_iSndSysListener_SetPosition, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_SetDistanceFactor", _wrap_iSndSysListener_SetDistanceFactor, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_SetRollOffFactor", _wrap_iSndSysListener_SetRollOffFactor, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_GetDirection", _wrap_iSndSysListener_GetDirection, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_GetPosition", _wrap_iSndSysListener_GetPosition, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_GetDistanceFactor", _wrap_iSndSysListener_GetDistanceFactor, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_GetRollOffFactor", _wrap_iSndSysListener_GetRollOffFactor, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysListener", _wrap_delete_iSndSysListener, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_scfGetVersion", _wrap_iSndSysListener_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysListener_swigregister", iSndSysListener_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysLoader_LoadSound", _wrap_iSndSysLoader_LoadSound, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysLoader", _wrap_delete_iSndSysLoader, METH_VARARGS, NULL},
	 { (char *)"iSndSysLoader_scfGetVersion", _wrap_iSndSysLoader_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysLoader_swigregister", iSndSysLoader_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysWrapper_QueryObject", _wrap_iSndSysWrapper_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iSndSysWrapper_GetStream", _wrap_iSndSysWrapper_GetStream, METH_VARARGS, NULL},
	 { (char *)"iSndSysWrapper_SetStream", _wrap_iSndSysWrapper_SetStream, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysWrapper", _wrap_delete_iSndSysWrapper, METH_VARARGS, NULL},
	 { (char *)"iSndSysWrapper_scfGetVersion", _wrap_iSndSysWrapper_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysWrapper_swigregister", iSndSysWrapper_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysManager_CreateSound", _wrap_iSndSysManager_CreateSound, METH_VARARGS, NULL},
	 { (char *)"iSndSysManager_RemoveSound", _wrap_iSndSysManager_RemoveSound, METH_VARARGS, NULL},
	 { (char *)"iSndSysManager_RemoveSounds", _wrap_iSndSysManager_RemoveSounds, METH_VARARGS, NULL},
	 { (char *)"iSndSysManager_GetSoundCount", _wrap_iSndSysManager_GetSoundCount, METH_VARARGS, NULL},
	 { (char *)"iSndSysManager_GetSound", _wrap_iSndSysManager_GetSound, METH_VARARGS, NULL},
	 { (char *)"iSndSysManager_FindSoundByName", _wrap_iSndSysManager_FindSoundByName, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysManager", _wrap_delete_iSndSysManager, METH_VARARGS, NULL},
	 { (char *)"iSndSysManager_scfGetVersion", _wrap_iSndSysManager_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysManager_swigregister", iSndSysManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysSource_SetVolume", _wrap_iSndSysSource_SetVolume, METH_VARARGS, NULL},
	 { (char *)"iSndSysSource_GetVolume", _wrap_iSndSysSource_GetVolume, METH_VARARGS, NULL},
	 { (char *)"iSndSysSource_GetStream", _wrap_iSndSysSource_GetStream, METH_VARARGS, NULL},
	 { (char *)"iSndSysSource_AddOutputFilter", _wrap_iSndSysSource_AddOutputFilter, METH_VARARGS, NULL},
	 { (char *)"iSndSysSource_RemoveOutputFilter", _wrap_iSndSysSource_RemoveOutputFilter, METH_VARARGS, NULL},
	 { (char *)"iSndSysSource_GetPtr", _wrap_iSndSysSource_GetPtr, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysSource", _wrap_delete_iSndSysSource, METH_VARARGS, NULL},
	 { (char *)"iSndSysSource_scfGetVersion", _wrap_iSndSysSource_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysSource_swigregister", iSndSysSource_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware_MergeIntoBuffer", _wrap_iSndSysSourceSoftware_MergeIntoBuffer, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware_ProcessOutputFilters", _wrap_iSndSysSourceSoftware_ProcessOutputFilters, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysSourceSoftware", _wrap_delete_iSndSysSourceSoftware, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware_swigregister", iSndSysSourceSoftware_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_SetPosition", _wrap_iSndSysSourceSoftware3D_SetPosition, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_GetPosition", _wrap_iSndSysSourceSoftware3D_GetPosition, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_SetDirection", _wrap_iSndSysSourceSoftware3D_SetDirection, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_GetDirection", _wrap_iSndSysSourceSoftware3D_GetDirection, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_SetDirectionalRadiation", _wrap_iSndSysSourceSoftware3D_SetDirectionalRadiation, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_GetDirectionalRadiation", _wrap_iSndSysSourceSoftware3D_GetDirectionalRadiation, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_SetMinimumDistance", _wrap_iSndSysSourceSoftware3D_SetMinimumDistance, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_SetMaximumDistance", _wrap_iSndSysSourceSoftware3D_SetMaximumDistance, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_GetMinimumDistance", _wrap_iSndSysSourceSoftware3D_GetMinimumDistance, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_GetMaximumDistance", _wrap_iSndSysSourceSoftware3D_GetMaximumDistance, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysSourceSoftware3D", _wrap_delete_iSndSysSourceSoftware3D, METH_VARARGS, NULL},
	 { (char *)"iSndSysSourceSoftware3D_swigregister", iSndSysSourceSoftware3D_swigregister, METH_VARARGS, NULL},
	 { (char *)"csSndSysSoundFormat_Freq_set", _wrap_csSndSysSoundFormat_Freq_set, METH_VARARGS, NULL},
	 { (char *)"csSndSysSoundFormat_Freq_get", _wrap_csSndSysSoundFormat_Freq_get, METH_VARARGS, NULL},
	 { (char *)"csSndSysSoundFormat_Bits_set", _wrap_csSndSysSoundFormat_Bits_set, METH_VARARGS, NULL},
	 { (char *)"csSndSysSoundFormat_Bits_get", _wrap_csSndSysSoundFormat_Bits_get, METH_VARARGS, NULL},
	 { (char *)"csSndSysSoundFormat_Channels_set", _wrap_csSndSysSoundFormat_Channels_set, METH_VARARGS, NULL},
	 { (char *)"csSndSysSoundFormat_Channels_get", _wrap_csSndSysSoundFormat_Channels_get, METH_VARARGS, NULL},
	 { (char *)"csSndSysSoundFormat_Flags_set", _wrap_csSndSysSoundFormat_Flags_set, METH_VARARGS, NULL},
	 { (char *)"csSndSysSoundFormat_Flags_get", _wrap_csSndSysSoundFormat_Flags_get, METH_VARARGS, NULL},
	 { (char *)"new_csSndSysSoundFormat", _wrap_new_csSndSysSoundFormat, METH_VARARGS, NULL},
	 { (char *)"delete_csSndSysSoundFormat", _wrap_delete_csSndSysSoundFormat, METH_VARARGS, NULL},
	 { (char *)"csSndSysSoundFormat_swigregister", csSndSysSoundFormat_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetDescription", _wrap_iSndSysStream_GetDescription, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetRenderedFormat", _wrap_iSndSysStream_GetRenderedFormat, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_Get3dMode", _wrap_iSndSysStream_Get3dMode, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetFrameCount", _wrap_iSndSysStream_GetFrameCount, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetPosition", _wrap_iSndSysStream_GetPosition, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_ResetPosition", _wrap_iSndSysStream_ResetPosition, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_SetPosition", _wrap_iSndSysStream_SetPosition, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_Pause", _wrap_iSndSysStream_Pause, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_Unpause", _wrap_iSndSysStream_Unpause, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetPauseState", _wrap_iSndSysStream_GetPauseState, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_SetLoopState", _wrap_iSndSysStream_SetLoopState, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetLoopState", _wrap_iSndSysStream_GetLoopState, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_SetPlayRatePercent", _wrap_iSndSysStream_SetPlayRatePercent, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetPlayRatePercent", _wrap_iSndSysStream_GetPlayRatePercent, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_SetAutoUnregister", _wrap_iSndSysStream_SetAutoUnregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetAutoUnregister", _wrap_iSndSysStream_GetAutoUnregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetAutoUnregisterRequested", _wrap_iSndSysStream_GetAutoUnregisterRequested, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_AdvancePosition", _wrap_iSndSysStream_AdvancePosition, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_GetDataPointers", _wrap_iSndSysStream_GetDataPointers, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_InitializeSourcePositionMarker", _wrap_iSndSysStream_InitializeSourcePositionMarker, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_ProcessNotifications", _wrap_iSndSysStream_ProcessNotifications, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_RegisterCallback", _wrap_iSndSysStream_RegisterCallback, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_UnregisterCallback", _wrap_iSndSysStream_UnregisterCallback, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_RegisterFrameNotification", _wrap_iSndSysStream_RegisterFrameNotification, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysStream", _wrap_delete_iSndSysStream, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_scfGetVersion", _wrap_iSndSysStream_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysStream_swigregister", iSndSysStream_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysStreamCallback_StreamLoopNotification", _wrap_iSndSysStreamCallback_StreamLoopNotification, METH_VARARGS, NULL},
	 { (char *)"iSndSysStreamCallback_StreamPauseNotification", _wrap_iSndSysStreamCallback_StreamPauseNotification, METH_VARARGS, NULL},
	 { (char *)"iSndSysStreamCallback_StreamUnpauseNotification", _wrap_iSndSysStreamCallback_StreamUnpauseNotification, METH_VARARGS, NULL},
	 { (char *)"iSndSysStreamCallback_StreamFrameNotification", _wrap_iSndSysStreamCallback_StreamFrameNotification, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysStreamCallback", _wrap_delete_iSndSysStreamCallback, METH_VARARGS, NULL},
	 { (char *)"iSndSysStreamCallback_swigregister", iSndSysStreamCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_SetVolume", _wrap_iSndSysRenderer_SetVolume, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_GetVolume", _wrap_iSndSysRenderer_GetVolume, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_CreateStream", _wrap_iSndSysRenderer_CreateStream, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_CreateSource", _wrap_iSndSysRenderer_CreateSource, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_RemoveStream", _wrap_iSndSysRenderer_RemoveStream, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_RemoveSource", _wrap_iSndSysRenderer_RemoveSource, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_GetListener", _wrap_iSndSysRenderer_GetListener, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_RegisterCallback", _wrap_iSndSysRenderer_RegisterCallback, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_UnregisterCallback", _wrap_iSndSysRenderer_UnregisterCallback, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysRenderer", _wrap_delete_iSndSysRenderer, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_scfGetVersion", _wrap_iSndSysRenderer_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysRenderer_swigregister", iSndSysRenderer_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysRendererCallback_StreamAddNotification", _wrap_iSndSysRendererCallback_StreamAddNotification, METH_VARARGS, NULL},
	 { (char *)"iSndSysRendererCallback_StreamRemoveNotification", _wrap_iSndSysRendererCallback_StreamRemoveNotification, METH_VARARGS, NULL},
	 { (char *)"iSndSysRendererCallback_SourceAddNotification", _wrap_iSndSysRendererCallback_SourceAddNotification, METH_VARARGS, NULL},
	 { (char *)"iSndSysRendererCallback_SourceRemoveNotification", _wrap_iSndSysRendererCallback_SourceRemoveNotification, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysRendererCallback", _wrap_delete_iSndSysRendererCallback, METH_VARARGS, NULL},
	 { (char *)"iSndSysRendererCallback_swigregister", iSndSysRendererCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysRendererSoftware_AddOutputFilter", _wrap_iSndSysRendererSoftware_AddOutputFilter, METH_VARARGS, NULL},
	 { (char *)"iSndSysRendererSoftware_RemoveOutputFilter", _wrap_iSndSysRendererSoftware_RemoveOutputFilter, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysRendererSoftware", _wrap_delete_iSndSysRendererSoftware, METH_VARARGS, NULL},
	 { (char *)"iSndSysRendererSoftware_swigregister", iSndSysRendererSoftware_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareDriver_Open", _wrap_iSndSysSoftwareDriver_Open, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareDriver_Close", _wrap_iSndSysSoftwareDriver_Close, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareDriver_StartThread", _wrap_iSndSysSoftwareDriver_StartThread, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareDriver_StopThread", _wrap_iSndSysSoftwareDriver_StopThread, METH_VARARGS, NULL},
	 { (char *)"delete_iSndSysSoftwareDriver", _wrap_delete_iSndSysSoftwareDriver, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareDriver_scfGetVersion", _wrap_iSndSysSoftwareDriver_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSndSysSoftwareDriver_swigregister", iSndSysSoftwareDriver_swigregister, METH_VARARGS, NULL},
	 { (char *)"iComponent_Initialize", _wrap_iComponent_Initialize, METH_VARARGS, NULL},
	 { (char *)"delete_iComponent", _wrap_delete_iComponent, METH_VARARGS, NULL},
	 { (char *)"iComponent_scfGetVersion", _wrap_iComponent_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iComponent_swigregister", iComponent_swigregister, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_SetReadOnly", _wrap_iCacheManager_SetReadOnly, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_IsReadOnly", _wrap_iCacheManager_IsReadOnly, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_SetCurrentType", _wrap_iCacheManager_SetCurrentType, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_GetCurrentType", _wrap_iCacheManager_GetCurrentType, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_SetCurrentScope", _wrap_iCacheManager_SetCurrentScope, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_GetCurrentScope", _wrap_iCacheManager_GetCurrentScope, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_CacheData", _wrap_iCacheManager_CacheData, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_ReadCache", _wrap_iCacheManager_ReadCache, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_ClearCache", _wrap_iCacheManager_ClearCache, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_Flush", _wrap_iCacheManager_Flush, METH_VARARGS, NULL},
	 { (char *)"delete_iCacheManager", _wrap_delete_iCacheManager, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_scfGetVersion", _wrap_iCacheManager_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iCacheManager_swigregister", iCacheManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"csFileTime_sec_set", _wrap_csFileTime_sec_set, METH_VARARGS, NULL},
	 { (char *)"csFileTime_sec_get", _wrap_csFileTime_sec_get, METH_VARARGS, NULL},
	 { (char *)"csFileTime_min_set", _wrap_csFileTime_min_set, METH_VARARGS, NULL},
	 { (char *)"csFileTime_min_get", _wrap_csFileTime_min_get, METH_VARARGS, NULL},
	 { (char *)"csFileTime_hour_set", _wrap_csFileTime_hour_set, METH_VARARGS, NULL},
	 { (char *)"csFileTime_hour_get", _wrap_csFileTime_hour_get, METH_VARARGS, NULL},
	 { (char *)"csFileTime_day_set", _wrap_csFileTime_day_set, METH_VARARGS, NULL},
	 { (char *)"csFileTime_day_get", _wrap_csFileTime_day_get, METH_VARARGS, NULL},
	 { (char *)"csFileTime_mon_set", _wrap_csFileTime_mon_set, METH_VARARGS, NULL},
	 { (char *)"csFileTime_mon_get", _wrap_csFileTime_mon_get, METH_VARARGS, NULL},
	 { (char *)"csFileTime_year_set", _wrap_csFileTime_year_set, METH_VARARGS, NULL},
	 { (char *)"csFileTime_year_get", _wrap_csFileTime_year_get, METH_VARARGS, NULL},
	 { (char *)"new_csFileTime", _wrap_new_csFileTime, METH_VARARGS, NULL},
	 { (char *)"delete_csFileTime", _wrap_delete_csFileTime, METH_VARARGS, NULL},
	 { (char *)"csFileTime_swigregister", csFileTime_swigregister, METH_VARARGS, NULL},
	 { (char *)"iFile_GetName", _wrap_iFile_GetName, METH_VARARGS, NULL},
	 { (char *)"iFile_GetSize", _wrap_iFile_GetSize, METH_VARARGS, NULL},
	 { (char *)"iFile_GetStatus", _wrap_iFile_GetStatus, METH_VARARGS, NULL},
	 { (char *)"iFile_Read", _wrap_iFile_Read, METH_VARARGS, NULL},
	 { (char *)"iFile_Write", _wrap_iFile_Write, METH_VARARGS, NULL},
	 { (char *)"iFile_Flush", _wrap_iFile_Flush, METH_VARARGS, NULL},
	 { (char *)"iFile_AtEOF", _wrap_iFile_AtEOF, METH_VARARGS, NULL},
	 { (char *)"iFile_GetPos", _wrap_iFile_GetPos, METH_VARARGS, NULL},
	 { (char *)"iFile_SetPos", _wrap_iFile_SetPos, METH_VARARGS, NULL},
	 { (char *)"iFile_GetAllData", _wrap_iFile_GetAllData, METH_VARARGS, NULL},
	 { (char *)"delete_iFile", _wrap_delete_iFile, METH_VARARGS, NULL},
	 { (char *)"iFile_scfGetVersion", _wrap_iFile_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iFile_swigregister", iFile_swigregister, METH_VARARGS, NULL},
	 { (char *)"iVFS_ChDir", _wrap_iVFS_ChDir, METH_VARARGS, NULL},
	 { (char *)"iVFS_GetCwd", _wrap_iVFS_GetCwd, METH_VARARGS, NULL},
	 { (char *)"iVFS_PushDir", _wrap_iVFS_PushDir, METH_VARARGS, NULL},
	 { (char *)"iVFS_PopDir", _wrap_iVFS_PopDir, METH_VARARGS, NULL},
	 { (char *)"iVFS_ExpandPath", _wrap_iVFS_ExpandPath, METH_VARARGS, NULL},
	 { (char *)"iVFS_Exists", _wrap_iVFS_Exists, METH_VARARGS, NULL},
	 { (char *)"iVFS_FindFiles", _wrap_iVFS_FindFiles, METH_VARARGS, NULL},
	 { (char *)"iVFS_Open", _wrap_iVFS_Open, METH_VARARGS, NULL},
	 { (char *)"iVFS_ReadFile", _wrap_iVFS_ReadFile, METH_VARARGS, NULL},
	 { (char *)"iVFS_WriteFile", _wrap_iVFS_WriteFile, METH_VARARGS, NULL},
	 { (char *)"iVFS_DeleteFile", _wrap_iVFS_DeleteFile, METH_VARARGS, NULL},
	 { (char *)"iVFS_Sync", _wrap_iVFS_Sync, METH_VARARGS, NULL},
	 { (char *)"iVFS_SymbolicLink", _wrap_iVFS_SymbolicLink, METH_VARARGS, NULL},
	 { (char *)"iVFS_Mount", _wrap_iVFS_Mount, METH_VARARGS, NULL},
	 { (char *)"iVFS_Unmount", _wrap_iVFS_Unmount, METH_VARARGS, NULL},
	 { (char *)"iVFS_MountRoot", _wrap_iVFS_MountRoot, METH_VARARGS, NULL},
	 { (char *)"iVFS_SaveMounts", _wrap_iVFS_SaveMounts, METH_VARARGS, NULL},
	 { (char *)"iVFS_LoadMountsFromFile", _wrap_iVFS_LoadMountsFromFile, METH_VARARGS, NULL},
	 { (char *)"iVFS_ChDirAuto", _wrap_iVFS_ChDirAuto, METH_VARARGS, NULL},
	 { (char *)"iVFS_GetFileTime", _wrap_iVFS_GetFileTime, METH_VARARGS, NULL},
	 { (char *)"iVFS_SetFileTime", _wrap_iVFS_SetFileTime, METH_VARARGS, NULL},
	 { (char *)"iVFS_GetFileSize", _wrap_iVFS_GetFileSize, METH_VARARGS, NULL},
	 { (char *)"iVFS_GetRealPath", _wrap_iVFS_GetRealPath, METH_VARARGS, NULL},
	 { (char *)"iVFS_GetMounts", _wrap_iVFS_GetMounts, METH_VARARGS, NULL},
	 { (char *)"iVFS_GetRealMountPaths", _wrap_iVFS_GetRealMountPaths, METH_VARARGS, NULL},
	 { (char *)"delete_iVFS", _wrap_delete_iVFS, METH_VARARGS, NULL},
	 { (char *)"iVFS_scfGetVersion", _wrap_iVFS_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iVFS_swigregister", iVFS_swigregister, METH_VARARGS, NULL},
	 { (char *)"iObjectNameChangeListener_NameChanged", _wrap_iObjectNameChangeListener_NameChanged, METH_VARARGS, NULL},
	 { (char *)"delete_iObjectNameChangeListener", _wrap_delete_iObjectNameChangeListener, METH_VARARGS, NULL},
	 { (char *)"iObjectNameChangeListener_swigregister", iObjectNameChangeListener_swigregister, METH_VARARGS, NULL},
	 { (char *)"iObject_SetName", _wrap_iObject_SetName, METH_VARARGS, NULL},
	 { (char *)"iObject_GetName", _wrap_iObject_GetName, METH_VARARGS, NULL},
	 { (char *)"iObject_GetID", _wrap_iObject_GetID, METH_VARARGS, NULL},
	 { (char *)"iObject_SetObjectParent", _wrap_iObject_SetObjectParent, METH_VARARGS, NULL},
	 { (char *)"iObject_GetObjectParent", _wrap_iObject_GetObjectParent, METH_VARARGS, NULL},
	 { (char *)"iObject_ObjAdd", _wrap_iObject_ObjAdd, METH_VARARGS, NULL},
	 { (char *)"iObject_ObjRemove", _wrap_iObject_ObjRemove, METH_VARARGS, NULL},
	 { (char *)"iObject_ObjRemoveAll", _wrap_iObject_ObjRemoveAll, METH_VARARGS, NULL},
	 { (char *)"iObject_ObjAddChildren", _wrap_iObject_ObjAddChildren, METH_VARARGS, NULL},
	 { (char *)"iObject_GetChild", _wrap_iObject_GetChild, METH_VARARGS, NULL},
	 { (char *)"iObject_GetIterator", _wrap_iObject_GetIterator, METH_VARARGS, NULL},
	 { (char *)"iObject_ObjReleaseOld", _wrap_iObject_ObjReleaseOld, METH_VARARGS, NULL},
	 { (char *)"iObject_AddNameChangeListener", _wrap_iObject_AddNameChangeListener, METH_VARARGS, NULL},
	 { (char *)"iObject_RemoveNameChangeListener", _wrap_iObject_RemoveNameChangeListener, METH_VARARGS, NULL},
	 { (char *)"delete_iObject", _wrap_delete_iObject, METH_VARARGS, NULL},
	 { (char *)"iObject_scfGetVersion", _wrap_iObject_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iObject_swigregister", iObject_swigregister, METH_VARARGS, NULL},
	 { (char *)"iObjectIterator_Next", _wrap_iObjectIterator_Next, METH_VARARGS, NULL},
	 { (char *)"iObjectIterator_Reset", _wrap_iObjectIterator_Reset, METH_VARARGS, NULL},
	 { (char *)"iObjectIterator_GetParentObj", _wrap_iObjectIterator_GetParentObj, METH_VARARGS, NULL},
	 { (char *)"iObjectIterator_HasNext", _wrap_iObjectIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iObjectIterator_FindName", _wrap_iObjectIterator_FindName, METH_VARARGS, NULL},
	 { (char *)"delete_iObjectIterator", _wrap_delete_iObjectIterator, METH_VARARGS, NULL},
	 { (char *)"iObjectIterator_swigregister", iObjectIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"iStringSet_Request", _wrap_iStringSet_Request, METH_VARARGS, NULL},
	 { (char *)"iStringSet_Contains", _wrap_iStringSet_Contains, METH_VARARGS, NULL},
	 { (char *)"iStringSet_Delete", _wrap_iStringSet_Delete, METH_VARARGS, NULL},
	 { (char *)"iStringSet_Empty", _wrap_iStringSet_Empty, METH_VARARGS, NULL},
	 { (char *)"iStringSet_Clear", _wrap_iStringSet_Clear, METH_VARARGS, NULL},
	 { (char *)"iStringSet_GetSize", _wrap_iStringSet_GetSize, METH_VARARGS, NULL},
	 { (char *)"iStringSet_IsEmpty", _wrap_iStringSet_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"delete_iStringSet", _wrap_delete_iStringSet, METH_VARARGS, NULL},
	 { (char *)"iStringSet_scfGetVersion", _wrap_iStringSet_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iStringSet_swigregister", iStringSet_swigregister, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistry_Clear", _wrap_iObjectRegistry_Clear, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistry_Register", _wrap_iObjectRegistry_Register, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistry_Unregister", _wrap_iObjectRegistry_Unregister, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistry_Get", _wrap_iObjectRegistry_Get, METH_VARARGS, NULL},
	 { (char *)"delete_iObjectRegistry", _wrap_delete_iObjectRegistry, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistry_scfGetVersion", _wrap_iObjectRegistry_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistry_swigregister", iObjectRegistry_swigregister, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistryIterator_Reset", _wrap_iObjectRegistryIterator_Reset, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistryIterator_GetCurrentTag", _wrap_iObjectRegistryIterator_GetCurrentTag, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistryIterator_HasNext", _wrap_iObjectRegistryIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistryIterator_Next", _wrap_iObjectRegistryIterator_Next, METH_VARARGS, NULL},
	 { (char *)"delete_iObjectRegistryIterator", _wrap_delete_iObjectRegistryIterator, METH_VARARGS, NULL},
	 { (char *)"iObjectRegistryIterator_swigregister", iObjectRegistryIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"csQueryRegistryTag", _wrap_csQueryRegistryTag, METH_VARARGS, NULL},
	 { (char *)"iVirtualClock_Advance", _wrap_iVirtualClock_Advance, METH_VARARGS, NULL},
	 { (char *)"iVirtualClock_Suspend", _wrap_iVirtualClock_Suspend, METH_VARARGS, NULL},
	 { (char *)"iVirtualClock_Resume", _wrap_iVirtualClock_Resume, METH_VARARGS, NULL},
	 { (char *)"iVirtualClock_GetElapsedTicks", _wrap_iVirtualClock_GetElapsedTicks, METH_VARARGS, NULL},
	 { (char *)"iVirtualClock_GetCurrentTicks", _wrap_iVirtualClock_GetCurrentTicks, METH_VARARGS, NULL},
	 { (char *)"delete_iVirtualClock", _wrap_delete_iVirtualClock, METH_VARARGS, NULL},
	 { (char *)"iVirtualClock_scfGetVersion", _wrap_iVirtualClock_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iVirtualClock_swigregister", iVirtualClock_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEventAttributeIterator_HasNext", _wrap_iEventAttributeIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iEventAttributeIterator_Next", _wrap_iEventAttributeIterator_Next, METH_VARARGS, NULL},
	 { (char *)"iEventAttributeIterator_Reset", _wrap_iEventAttributeIterator_Reset, METH_VARARGS, NULL},
	 { (char *)"delete_iEventAttributeIterator", _wrap_delete_iEventAttributeIterator, METH_VARARGS, NULL},
	 { (char *)"iEventAttributeIterator_swigregister", iEventAttributeIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_eventType_set", _wrap_csKeyEventData_eventType_set, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_eventType_get", _wrap_csKeyEventData_eventType_get, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_codeRaw_set", _wrap_csKeyEventData_codeRaw_set, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_codeRaw_get", _wrap_csKeyEventData_codeRaw_get, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_codeCooked_set", _wrap_csKeyEventData_codeCooked_set, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_codeCooked_get", _wrap_csKeyEventData_codeCooked_get, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_modifiers_set", _wrap_csKeyEventData_modifiers_set, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_modifiers_get", _wrap_csKeyEventData_modifiers_get, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_autoRepeat_set", _wrap_csKeyEventData_autoRepeat_set, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_autoRepeat_get", _wrap_csKeyEventData_autoRepeat_get, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_charType_set", _wrap_csKeyEventData_charType_set, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_charType_get", _wrap_csKeyEventData_charType_get, METH_VARARGS, NULL},
	 { (char *)"new_csKeyEventData", _wrap_new_csKeyEventData, METH_VARARGS, NULL},
	 { (char *)"delete_csKeyEventData", _wrap_delete_csKeyEventData, METH_VARARGS, NULL},
	 { (char *)"csKeyEventData_swigregister", csKeyEventData_swigregister, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_x_set", _wrap_csMouseEventData_x_set, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_x_get", _wrap_csMouseEventData_x_get, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_y_set", _wrap_csMouseEventData_y_set, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_y_get", _wrap_csMouseEventData_y_get, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_axes_set", _wrap_csMouseEventData_axes_set, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_axes_get", _wrap_csMouseEventData_axes_get, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_numAxes_set", _wrap_csMouseEventData_numAxes_set, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_numAxes_get", _wrap_csMouseEventData_numAxes_get, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_Button_set", _wrap_csMouseEventData_Button_set, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_Button_get", _wrap_csMouseEventData_Button_get, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_Modifiers_set", _wrap_csMouseEventData_Modifiers_set, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_Modifiers_get", _wrap_csMouseEventData_Modifiers_get, METH_VARARGS, NULL},
	 { (char *)"new_csMouseEventData", _wrap_new_csMouseEventData, METH_VARARGS, NULL},
	 { (char *)"delete_csMouseEventData", _wrap_delete_csMouseEventData, METH_VARARGS, NULL},
	 { (char *)"csMouseEventData_swigregister", csMouseEventData_swigregister, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_number_set", _wrap_csJoystickEventData_number_set, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_number_get", _wrap_csJoystickEventData_number_get, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_axes_set", _wrap_csJoystickEventData_axes_set, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_axes_get", _wrap_csJoystickEventData_axes_get, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_numAxes_set", _wrap_csJoystickEventData_numAxes_set, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_numAxes_get", _wrap_csJoystickEventData_numAxes_get, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_axesChanged_set", _wrap_csJoystickEventData_axesChanged_set, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_axesChanged_get", _wrap_csJoystickEventData_axesChanged_get, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_Button_set", _wrap_csJoystickEventData_Button_set, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_Button_get", _wrap_csJoystickEventData_Button_get, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_Modifiers_set", _wrap_csJoystickEventData_Modifiers_set, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_Modifiers_get", _wrap_csJoystickEventData_Modifiers_get, METH_VARARGS, NULL},
	 { (char *)"new_csJoystickEventData", _wrap_new_csJoystickEventData, METH_VARARGS, NULL},
	 { (char *)"delete_csJoystickEventData", _wrap_delete_csJoystickEventData, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventData_swigregister", csJoystickEventData_swigregister, METH_VARARGS, NULL},
	 { (char *)"csCommandEventData_Code_set", _wrap_csCommandEventData_Code_set, METH_VARARGS, NULL},
	 { (char *)"csCommandEventData_Code_get", _wrap_csCommandEventData_Code_get, METH_VARARGS, NULL},
	 { (char *)"csCommandEventData_Info_set", _wrap_csCommandEventData_Info_set, METH_VARARGS, NULL},
	 { (char *)"csCommandEventData_Info_get", _wrap_csCommandEventData_Info_get, METH_VARARGS, NULL},
	 { (char *)"new_csCommandEventData", _wrap_new_csCommandEventData, METH_VARARGS, NULL},
	 { (char *)"delete_csCommandEventData", _wrap_delete_csCommandEventData, METH_VARARGS, NULL},
	 { (char *)"csCommandEventData_swigregister", csCommandEventData_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEvent_Name_set", _wrap_iEvent_Name_set, METH_VARARGS, NULL},
	 { (char *)"iEvent_Name_get", _wrap_iEvent_Name_get, METH_VARARGS, NULL},
	 { (char *)"iEvent_GetName", _wrap_iEvent_GetName, METH_VARARGS, NULL},
	 { (char *)"iEvent_Time_set", _wrap_iEvent_Time_set, METH_VARARGS, NULL},
	 { (char *)"iEvent_Time_get", _wrap_iEvent_Time_get, METH_VARARGS, NULL},
	 { (char *)"iEvent_Broadcast_set", _wrap_iEvent_Broadcast_set, METH_VARARGS, NULL},
	 { (char *)"iEvent_Broadcast_get", _wrap_iEvent_Broadcast_get, METH_VARARGS, NULL},
	 { (char *)"iEvent_AddInt8", _wrap_iEvent_AddInt8, METH_VARARGS, NULL},
	 { (char *)"iEvent_AddUInt8", _wrap_iEvent_AddUInt8, METH_VARARGS, NULL},
	 { (char *)"iEvent_AddInt16", _wrap_iEvent_AddInt16, METH_VARARGS, NULL},
	 { (char *)"iEvent_AddUInt16", _wrap_iEvent_AddUInt16, METH_VARARGS, NULL},
	 { (char *)"iEvent_AddInt32", _wrap_iEvent_AddInt32, METH_VARARGS, NULL},
	 { (char *)"iEvent_AddUInt32", _wrap_iEvent_AddUInt32, METH_VARARGS, NULL},
	 { (char *)"iEvent_AddFloat", _wrap_iEvent_AddFloat, METH_VARARGS, NULL},
	 { (char *)"iEvent_AddDouble", _wrap_iEvent_AddDouble, METH_VARARGS, NULL},
	 { (char *)"iEvent_AddBool", _wrap_iEvent_AddBool, METH_VARARGS, NULL},
	 { (char *)"iEvent_Add", _wrap_iEvent_Add, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveInt8", _wrap_iEvent_RetrieveInt8, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveUInt8", _wrap_iEvent_RetrieveUInt8, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveInt16", _wrap_iEvent_RetrieveInt16, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveUInt16", _wrap_iEvent_RetrieveUInt16, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveInt32", _wrap_iEvent_RetrieveInt32, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveUInt32", _wrap_iEvent_RetrieveUInt32, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveFloat", _wrap_iEvent_RetrieveFloat, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveDouble", _wrap_iEvent_RetrieveDouble, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveBool", _wrap_iEvent_RetrieveBool, METH_VARARGS, NULL},
	 { (char *)"iEvent_Retrieve", _wrap_iEvent_Retrieve, METH_VARARGS, NULL},
	 { (char *)"iEvent_AttributeExists", _wrap_iEvent_AttributeExists, METH_VARARGS, NULL},
	 { (char *)"iEvent_GetAttributeType", _wrap_iEvent_GetAttributeType, METH_VARARGS, NULL},
	 { (char *)"iEvent_Remove", _wrap_iEvent_Remove, METH_VARARGS, NULL},
	 { (char *)"iEvent_RemoveAll", _wrap_iEvent_RemoveAll, METH_VARARGS, NULL},
	 { (char *)"iEvent_GetAttributeIterator", _wrap_iEvent_GetAttributeIterator, METH_VARARGS, NULL},
	 { (char *)"iEvent_RetrieveString", _wrap_iEvent_RetrieveString, METH_VARARGS, NULL},
	 { (char *)"delete_iEvent", _wrap_delete_iEvent, METH_VARARGS, NULL},
	 { (char *)"iEvent_scfGetVersion", _wrap_iEvent_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iEvent_Mouse_get", _wrap_iEvent_Mouse_get, METH_VARARGS, NULL},
	 { (char *)"iEvent_Joystick_get", _wrap_iEvent_Joystick_get, METH_VARARGS, NULL},
	 { (char *)"iEvent_Command_get", _wrap_iEvent_Command_get, METH_VARARGS, NULL},
	 { (char *)"iEvent_swigregister", iEvent_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEventPlug_GetPotentiallyConflictingEvents", _wrap_iEventPlug_GetPotentiallyConflictingEvents, METH_VARARGS, NULL},
	 { (char *)"iEventPlug_QueryEventPriority", _wrap_iEventPlug_QueryEventPriority, METH_VARARGS, NULL},
	 { (char *)"iEventPlug_EnableEvents", _wrap_iEventPlug_EnableEvents, METH_VARARGS, NULL},
	 { (char *)"delete_iEventPlug", _wrap_delete_iEventPlug, METH_VARARGS, NULL},
	 { (char *)"iEventPlug_swigregister", iEventPlug_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEventOutlet_CreateEvent", _wrap_iEventOutlet_CreateEvent, METH_VARARGS, NULL},
	 { (char *)"iEventOutlet_Post", _wrap_iEventOutlet_Post, METH_VARARGS, NULL},
	 { (char *)"iEventOutlet_Key", _wrap_iEventOutlet_Key, METH_VARARGS, NULL},
	 { (char *)"iEventOutlet_Mouse", _wrap_iEventOutlet_Mouse, METH_VARARGS, NULL},
	 { (char *)"iEventOutlet_Joystick", _wrap_iEventOutlet_Joystick, METH_VARARGS, NULL},
	 { (char *)"iEventOutlet_Broadcast", _wrap_iEventOutlet_Broadcast, METH_VARARGS, NULL},
	 { (char *)"iEventOutlet_ImmediateBroadcast", _wrap_iEventOutlet_ImmediateBroadcast, METH_VARARGS, NULL},
	 { (char *)"delete_iEventOutlet", _wrap_delete_iEventOutlet, METH_VARARGS, NULL},
	 { (char *)"iEventOutlet_swigregister", iEventOutlet_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEventCord_Insert", _wrap_iEventCord_Insert, METH_VARARGS, NULL},
	 { (char *)"iEventCord_Remove", _wrap_iEventCord_Remove, METH_VARARGS, NULL},
	 { (char *)"iEventCord_GetPass", _wrap_iEventCord_GetPass, METH_VARARGS, NULL},
	 { (char *)"iEventCord_SetPass", _wrap_iEventCord_SetPass, METH_VARARGS, NULL},
	 { (char *)"iEventCord_GetName", _wrap_iEventCord_GetName, METH_VARARGS, NULL},
	 { (char *)"delete_iEventCord", _wrap_delete_iEventCord, METH_VARARGS, NULL},
	 { (char *)"iEventCord_swigregister", iEventCord_swigregister, METH_VARARGS, NULL},
	 { (char *)"csKeyEventHelper_GetRawCode", _wrap_csKeyEventHelper_GetRawCode, METH_VARARGS, NULL},
	 { (char *)"csKeyEventHelper_GetCookedCode", _wrap_csKeyEventHelper_GetCookedCode, METH_VARARGS, NULL},
	 { (char *)"csKeyEventHelper_GetEventType", _wrap_csKeyEventHelper_GetEventType, METH_VARARGS, NULL},
	 { (char *)"csKeyEventHelper_GetAutoRepeat", _wrap_csKeyEventHelper_GetAutoRepeat, METH_VARARGS, NULL},
	 { (char *)"csKeyEventHelper_GetCharacterType", _wrap_csKeyEventHelper_GetCharacterType, METH_VARARGS, NULL},
	 { (char *)"csKeyEventHelper_GetEventData", _wrap_csKeyEventHelper_GetEventData, METH_VARARGS, NULL},
	 { (char *)"csKeyEventHelper_GetModifiersBits", _wrap_csKeyEventHelper_GetModifiersBits, METH_VARARGS, NULL},
	 { (char *)"csKeyEventHelper_GetModifiers", _wrap_csKeyEventHelper_GetModifiers, METH_VARARGS, NULL},
	 { (char *)"new_csKeyEventHelper", _wrap_new_csKeyEventHelper, METH_VARARGS, NULL},
	 { (char *)"delete_csKeyEventHelper", _wrap_delete_csKeyEventHelper, METH_VARARGS, NULL},
	 { (char *)"csKeyEventHelper_swigregister", csKeyEventHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_NewEvent", _wrap_csMouseEventHelper_NewEvent, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetEventType", _wrap_csMouseEventHelper_GetEventType, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetNumber", _wrap_csMouseEventHelper_GetNumber, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetX", _wrap_csMouseEventHelper_GetX, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetY", _wrap_csMouseEventHelper_GetY, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetAxis", _wrap_csMouseEventHelper_GetAxis, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetNumAxes", _wrap_csMouseEventHelper_GetNumAxes, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetButton", _wrap_csMouseEventHelper_GetButton, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetButtonState", _wrap_csMouseEventHelper_GetButtonState, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetButtonMask", _wrap_csMouseEventHelper_GetButtonMask, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetModifiers", _wrap_csMouseEventHelper_GetModifiers, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_GetEventData", _wrap_csMouseEventHelper_GetEventData, METH_VARARGS, NULL},
	 { (char *)"new_csMouseEventHelper", _wrap_new_csMouseEventHelper, METH_VARARGS, NULL},
	 { (char *)"delete_csMouseEventHelper", _wrap_delete_csMouseEventHelper, METH_VARARGS, NULL},
	 { (char *)"csMouseEventHelper_swigregister", csMouseEventHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_NewEvent", _wrap_csJoystickEventHelper_NewEvent, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_GetNumber", _wrap_csJoystickEventHelper_GetNumber, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_GetAxis", _wrap_csJoystickEventHelper_GetAxis, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_GetNumAxes", _wrap_csJoystickEventHelper_GetNumAxes, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_GetButton", _wrap_csJoystickEventHelper_GetButton, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_GetButtonState", _wrap_csJoystickEventHelper_GetButtonState, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_GetButtonMask", _wrap_csJoystickEventHelper_GetButtonMask, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_GetModifiers", _wrap_csJoystickEventHelper_GetModifiers, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_GetEventData", _wrap_csJoystickEventHelper_GetEventData, METH_VARARGS, NULL},
	 { (char *)"new_csJoystickEventHelper", _wrap_new_csJoystickEventHelper, METH_VARARGS, NULL},
	 { (char *)"delete_csJoystickEventHelper", _wrap_delete_csJoystickEventHelper, METH_VARARGS, NULL},
	 { (char *)"csJoystickEventHelper_swigregister", csJoystickEventHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"csInputEventHelper_GetButton", _wrap_csInputEventHelper_GetButton, METH_VARARGS, NULL},
	 { (char *)"csInputEventHelper_GetButtonState", _wrap_csInputEventHelper_GetButtonState, METH_VARARGS, NULL},
	 { (char *)"new_csInputEventHelper", _wrap_new_csInputEventHelper, METH_VARARGS, NULL},
	 { (char *)"delete_csInputEventHelper", _wrap_delete_csInputEventHelper, METH_VARARGS, NULL},
	 { (char *)"csInputEventHelper_swigregister", csInputEventHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"csCommandEventHelper_NewEvent", _wrap_csCommandEventHelper_NewEvent, METH_VARARGS, NULL},
	 { (char *)"csCommandEventHelper_GetCode", _wrap_csCommandEventHelper_GetCode, METH_VARARGS, NULL},
	 { (char *)"csCommandEventHelper_GetInfo", _wrap_csCommandEventHelper_GetInfo, METH_VARARGS, NULL},
	 { (char *)"csCommandEventHelper_GetEventData", _wrap_csCommandEventHelper_GetEventData, METH_VARARGS, NULL},
	 { (char *)"new_csCommandEventHelper", _wrap_new_csCommandEventHelper, METH_VARARGS, NULL},
	 { (char *)"delete_csCommandEventHelper", _wrap_delete_csCommandEventHelper, METH_VARARGS, NULL},
	 { (char *)"csCommandEventHelper_swigregister", csCommandEventHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"RegisterWeakListener", _wrap_RegisterWeakListener, METH_VARARGS, NULL},
	 { (char *)"RemoveWeakListener", _wrap_RemoveWeakListener, METH_VARARGS, NULL},
	 { (char *)"csKeyModifiers_modifiers_set", _wrap_csKeyModifiers_modifiers_set, METH_VARARGS, NULL},
	 { (char *)"csKeyModifiers_modifiers_get", _wrap_csKeyModifiers_modifiers_get, METH_VARARGS, NULL},
	 { (char *)"new_csKeyModifiers", _wrap_new_csKeyModifiers, METH_VARARGS, NULL},
	 { (char *)"delete_csKeyModifiers", _wrap_delete_csKeyModifiers, METH_VARARGS, NULL},
	 { (char *)"csKeyModifiers_swigregister", csKeyModifiers_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_Process", _wrap_iEventQueue_Process, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_Dispatch", _wrap_iEventQueue_Dispatch, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_Subscribe", _wrap_iEventQueue_Subscribe, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_Unsubscribe", _wrap_iEventQueue_Unsubscribe, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_RegisterListener", _wrap_iEventQueue_RegisterListener, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_RemoveListener", _wrap_iEventQueue_RemoveListener, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_CreateEventOutlet", _wrap_iEventQueue_CreateEventOutlet, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_GetEventOutlet", _wrap_iEventQueue_GetEventOutlet, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_GetEventCord", _wrap_iEventQueue_GetEventCord, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_CreateEvent", _wrap_iEventQueue_CreateEvent, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_CreateBroadcastEvent", _wrap_iEventQueue_CreateBroadcastEvent, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_Post", _wrap_iEventQueue_Post, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_Get", _wrap_iEventQueue_Get, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_Clear", _wrap_iEventQueue_Clear, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_IsEmpty", _wrap_iEventQueue_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_RemoveAllListeners", _wrap_iEventQueue_RemoveAllListeners, METH_VARARGS, NULL},
	 { (char *)"delete_iEventQueue", _wrap_delete_iEventQueue, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_scfGetVersion", _wrap_iEventQueue_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iEventQueue_swigregister", iEventQueue_swigregister, METH_VARARGS, NULL},
	 { (char *)"csHashCompute", _wrap_csHashCompute, METH_VARARGS, NULL},
	 { (char *)"new_csStrKey", _wrap_new_csStrKey, METH_VARARGS, NULL},
	 { (char *)"delete_csStrKey", _wrap_delete_csStrKey, METH_VARARGS, NULL},
	 { (char *)"csStrKey_assign", _wrap_csStrKey_assign, METH_VARARGS, NULL},
	 { (char *)"csStrKey_GetHash", _wrap_csStrKey_GetHash, METH_VARARGS, NULL},
	 { (char *)"csStrKey_swigregister", csStrKey_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEventNameRegistry_GetID", _wrap_iEventNameRegistry_GetID, METH_VARARGS, NULL},
	 { (char *)"iEventNameRegistry_GetString", _wrap_iEventNameRegistry_GetString, METH_VARARGS, NULL},
	 { (char *)"iEventNameRegistry_GetParentID", _wrap_iEventNameRegistry_GetParentID, METH_VARARGS, NULL},
	 { (char *)"iEventNameRegistry_IsImmediateChildOf", _wrap_iEventNameRegistry_IsImmediateChildOf, METH_VARARGS, NULL},
	 { (char *)"iEventNameRegistry_IsKindOf", _wrap_iEventNameRegistry_IsKindOf, METH_VARARGS, NULL},
	 { (char *)"delete_iEventNameRegistry", _wrap_delete_iEventNameRegistry, METH_VARARGS, NULL},
	 { (char *)"iEventNameRegistry_scfGetVersion", _wrap_iEventNameRegistry_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iEventNameRegistry_swigregister", iEventNameRegistry_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_csEventNameRegistry", _wrap_delete_csEventNameRegistry, METH_VARARGS, NULL},
	 { (char *)"csEventNameRegistry_GetString", _wrap_csEventNameRegistry_GetString, METH_VARARGS, NULL},
	 { (char *)"csEventNameRegistry_GetParentID", _wrap_csEventNameRegistry_GetParentID, METH_VARARGS, NULL},
	 { (char *)"csEventNameRegistry_IsImmediateChildOf", _wrap_csEventNameRegistry_IsImmediateChildOf, METH_VARARGS, NULL},
	 { (char *)"csEventNameRegistry_GetRegistry", _wrap_csEventNameRegistry_GetRegistry, METH_VARARGS, NULL},
	 { (char *)"csEventNameRegistry_GetID", _wrap_csEventNameRegistry_GetID, METH_VARARGS, NULL},
	 { (char *)"csEventNameRegistry_IsKindOf", _wrap_csEventNameRegistry_IsKindOf, METH_VARARGS, NULL},
	 { (char *)"csEventNameRegistry_swigregister", csEventNameRegistry_swigregister, METH_VARARGS, NULL},
	 { (char *)"csevMouse", _wrap_csevMouse, METH_VARARGS, NULL},
	 { (char *)"csevMouseOp", _wrap_csevMouseOp, METH_VARARGS, NULL},
	 { (char *)"csevJoystick", _wrap_csevJoystick, METH_VARARGS, NULL},
	 { (char *)"csevJoystickOp", _wrap_csevJoystickOp, METH_VARARGS, NULL},
	 { (char *)"csevCanvasOp", _wrap_csevCanvasOp, METH_VARARGS, NULL},
	 { (char *)"csevPreProcess", _wrap_csevPreProcess, METH_VARARGS, NULL},
	 { (char *)"csevProcess", _wrap_csevProcess, METH_VARARGS, NULL},
	 { (char *)"csevPostProcess", _wrap_csevPostProcess, METH_VARARGS, NULL},
	 { (char *)"csevFinalProcess", _wrap_csevFinalProcess, METH_VARARGS, NULL},
	 { (char *)"iEventHandler_HandleEvent", _wrap_iEventHandler_HandleEvent, METH_VARARGS, NULL},
	 { (char *)"iEventHandler_GenericName", _wrap_iEventHandler_GenericName, METH_VARARGS, NULL},
	 { (char *)"iEventHandler_GenericID", _wrap_iEventHandler_GenericID, METH_VARARGS, NULL},
	 { (char *)"iEventHandler_GenericPrec", _wrap_iEventHandler_GenericPrec, METH_VARARGS, NULL},
	 { (char *)"iEventHandler_GenericSucc", _wrap_iEventHandler_GenericSucc, METH_VARARGS, NULL},
	 { (char *)"iEventHandler_InstancePrec", _wrap_iEventHandler_InstancePrec, METH_VARARGS, NULL},
	 { (char *)"iEventHandler_InstanceSucc", _wrap_iEventHandler_InstanceSucc, METH_VARARGS, NULL},
	 { (char *)"delete_iEventHandler", _wrap_delete_iEventHandler, METH_VARARGS, NULL},
	 { (char *)"iEventHandler_scfGetVersion", _wrap_iEventHandler_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iEventHandler_swigregister", iEventHandler_swigregister, METH_VARARGS, NULL},
	 { (char *)"iPluginIterator_HasNext", _wrap_iPluginIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iPluginIterator_Next", _wrap_iPluginIterator_Next, METH_VARARGS, NULL},
	 { (char *)"delete_iPluginIterator", _wrap_delete_iPluginIterator, METH_VARARGS, NULL},
	 { (char *)"iPluginIterator_swigregister", iPluginIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"iPluginManager_LoadPlugin", _wrap_iPluginManager_LoadPlugin, METH_VARARGS, NULL},
	 { (char *)"iPluginManager_QueryPlugin", _wrap_iPluginManager_QueryPlugin, METH_VARARGS, NULL},
	 { (char *)"iPluginManager_UnloadPlugin", _wrap_iPluginManager_UnloadPlugin, METH_VARARGS, NULL},
	 { (char *)"iPluginManager_RegisterPlugin", _wrap_iPluginManager_RegisterPlugin, METH_VARARGS, NULL},
	 { (char *)"iPluginManager_GetPlugins", _wrap_iPluginManager_GetPlugins, METH_VARARGS, NULL},
	 { (char *)"iPluginManager_Clear", _wrap_iPluginManager_Clear, METH_VARARGS, NULL},
	 { (char *)"iPluginManager_QueryOptions", _wrap_iPluginManager_QueryOptions, METH_VARARGS, NULL},
	 { (char *)"delete_iPluginManager", _wrap_delete_iPluginManager, METH_VARARGS, NULL},
	 { (char *)"iPluginManager_scfGetVersion", _wrap_iPluginManager_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iPluginManager_swigregister", iPluginManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"csLoadPluginAlways", _wrap_csLoadPluginAlways, METH_VARARGS, NULL},
	 { (char *)"iKeyComposer_HandleKey", _wrap_iKeyComposer_HandleKey, METH_VARARGS, NULL},
	 { (char *)"iKeyComposer_ResetState", _wrap_iKeyComposer_ResetState, METH_VARARGS, NULL},
	 { (char *)"delete_iKeyComposer", _wrap_delete_iKeyComposer, METH_VARARGS, NULL},
	 { (char *)"iKeyComposer_swigregister", iKeyComposer_swigregister, METH_VARARGS, NULL},
	 { (char *)"iKeyboardDriver_Reset", _wrap_iKeyboardDriver_Reset, METH_VARARGS, NULL},
	 { (char *)"iKeyboardDriver_DoKey", _wrap_iKeyboardDriver_DoKey, METH_VARARGS, NULL},
	 { (char *)"iKeyboardDriver_GetModifierState", _wrap_iKeyboardDriver_GetModifierState, METH_VARARGS, NULL},
	 { (char *)"iKeyboardDriver_CreateKeyComposer", _wrap_iKeyboardDriver_CreateKeyComposer, METH_VARARGS, NULL},
	 { (char *)"iKeyboardDriver_SynthesizeCooked", _wrap_iKeyboardDriver_SynthesizeCooked, METH_VARARGS, NULL},
	 { (char *)"delete_iKeyboardDriver", _wrap_delete_iKeyboardDriver, METH_VARARGS, NULL},
	 { (char *)"iKeyboardDriver_scfGetVersion", _wrap_iKeyboardDriver_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iKeyboardDriver_GetKeyState", _wrap_iKeyboardDriver_GetKeyState, METH_VARARGS, NULL},
	 { (char *)"iKeyboardDriver_swigregister", iKeyboardDriver_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_SetDoubleClickTime", _wrap_iMouseDriver_SetDoubleClickTime, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_Reset", _wrap_iMouseDriver_Reset, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_GetLastX", _wrap_iMouseDriver_GetLastX, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_GetLastY", _wrap_iMouseDriver_GetLastY, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_GetLast", _wrap_iMouseDriver_GetLast, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_GetLastButton", _wrap_iMouseDriver_GetLastButton, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_DoButton", _wrap_iMouseDriver_DoButton, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_DoMotion", _wrap_iMouseDriver_DoMotion, METH_VARARGS, NULL},
	 { (char *)"delete_iMouseDriver", _wrap_delete_iMouseDriver, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_scfGetVersion", _wrap_iMouseDriver_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMouseDriver_swigregister", iMouseDriver_swigregister, METH_VARARGS, NULL},
	 { (char *)"iJoystickDriver_Reset", _wrap_iJoystickDriver_Reset, METH_VARARGS, NULL},
	 { (char *)"iJoystickDriver_GetLastX", _wrap_iJoystickDriver_GetLastX, METH_VARARGS, NULL},
	 { (char *)"iJoystickDriver_GetLastY", _wrap_iJoystickDriver_GetLastY, METH_VARARGS, NULL},
	 { (char *)"iJoystickDriver_GetLast", _wrap_iJoystickDriver_GetLast, METH_VARARGS, NULL},
	 { (char *)"iJoystickDriver_GetLastButton", _wrap_iJoystickDriver_GetLastButton, METH_VARARGS, NULL},
	 { (char *)"iJoystickDriver_DoButton", _wrap_iJoystickDriver_DoButton, METH_VARARGS, NULL},
	 { (char *)"iJoystickDriver_DoMotion", _wrap_iJoystickDriver_DoMotion, METH_VARARGS, NULL},
	 { (char *)"delete_iJoystickDriver", _wrap_delete_iJoystickDriver, METH_VARARGS, NULL},
	 { (char *)"iJoystickDriver_swigregister", iJoystickDriver_swigregister, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_GetFileName", _wrap_iConfigFile_GetFileName, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_GetVFS", _wrap_iConfigFile_GetVFS, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_SetFileName", _wrap_iConfigFile_SetFileName, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_Load", _wrap_iConfigFile_Load, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_Save", _wrap_iConfigFile_Save, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_Clear", _wrap_iConfigFile_Clear, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_Enumerate", _wrap_iConfigFile_Enumerate, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_KeyExists", _wrap_iConfigFile_KeyExists, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_SubsectionExists", _wrap_iConfigFile_SubsectionExists, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_GetInt", _wrap_iConfigFile_GetInt, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_GetFloat", _wrap_iConfigFile_GetFloat, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_GetStr", _wrap_iConfigFile_GetStr, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_GetBool", _wrap_iConfigFile_GetBool, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_GetTuple", _wrap_iConfigFile_GetTuple, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_GetComment", _wrap_iConfigFile_GetComment, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_SetStr", _wrap_iConfigFile_SetStr, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_SetInt", _wrap_iConfigFile_SetInt, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_SetFloat", _wrap_iConfigFile_SetFloat, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_SetBool", _wrap_iConfigFile_SetBool, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_SetTuple", _wrap_iConfigFile_SetTuple, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_SetComment", _wrap_iConfigFile_SetComment, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_DeleteKey", _wrap_iConfigFile_DeleteKey, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_GetEOFComment", _wrap_iConfigFile_GetEOFComment, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_SetEOFComment", _wrap_iConfigFile_SetEOFComment, METH_VARARGS, NULL},
	 { (char *)"delete_iConfigFile", _wrap_delete_iConfigFile, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_scfGetVersion", _wrap_iConfigFile_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iConfigFile_swigregister", iConfigFile_swigregister, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_GetConfigFile", _wrap_iConfigIterator_GetConfigFile, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_GetSubsection", _wrap_iConfigIterator_GetSubsection, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_Rewind", _wrap_iConfigIterator_Rewind, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_Next", _wrap_iConfigIterator_Next, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_HasNext", _wrap_iConfigIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_GetKey", _wrap_iConfigIterator_GetKey, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_GetInt", _wrap_iConfigIterator_GetInt, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_GetFloat", _wrap_iConfigIterator_GetFloat, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_GetStr", _wrap_iConfigIterator_GetStr, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_GetBool", _wrap_iConfigIterator_GetBool, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_GetTuple", _wrap_iConfigIterator_GetTuple, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_GetComment", _wrap_iConfigIterator_GetComment, METH_VARARGS, NULL},
	 { (char *)"delete_iConfigIterator", _wrap_delete_iConfigIterator, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_scfGetVersion", _wrap_iConfigIterator_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iConfigIterator_swigregister", iConfigIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_AddDomain", _wrap_iConfigManager_AddDomain, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_RemoveDomain", _wrap_iConfigManager_RemoveDomain, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_LookupDomain", _wrap_iConfigManager_LookupDomain, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_SetDomainPriority", _wrap_iConfigManager_SetDomainPriority, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_GetDomainPriority", _wrap_iConfigManager_GetDomainPriority, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_SetDynamicDomain", _wrap_iConfigManager_SetDynamicDomain, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_GetDynamicDomain", _wrap_iConfigManager_GetDynamicDomain, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_SetDynamicDomainPriority", _wrap_iConfigManager_SetDynamicDomainPriority, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_GetDynamicDomainPriority", _wrap_iConfigManager_GetDynamicDomainPriority, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_FlushRemoved", _wrap_iConfigManager_FlushRemoved, METH_VARARGS, NULL},
	 { (char *)"delete_iConfigManager", _wrap_delete_iConfigManager, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_scfGetVersion", _wrap_iConfigManager_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iConfigManager_swigregister", iConfigManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"iStringArray_GetSize", _wrap_iStringArray_GetSize, METH_VARARGS, NULL},
	 { (char *)"iStringArray_Length", _wrap_iStringArray_Length, METH_VARARGS, NULL},
	 { (char *)"iStringArray_Push", _wrap_iStringArray_Push, METH_VARARGS, NULL},
	 { (char *)"iStringArray_Pop", _wrap_iStringArray_Pop, METH_VARARGS, NULL},
	 { (char *)"iStringArray_Get", _wrap_iStringArray_Get, METH_VARARGS, NULL},
	 { (char *)"iStringArray_Find", _wrap_iStringArray_Find, METH_VARARGS, NULL},
	 { (char *)"iStringArray_FindCaseInsensitive", _wrap_iStringArray_FindCaseInsensitive, METH_VARARGS, NULL},
	 { (char *)"iStringArray_FindSortedKey", _wrap_iStringArray_FindSortedKey, METH_VARARGS, NULL},
	 { (char *)"iStringArray_Contains", _wrap_iStringArray_Contains, METH_VARARGS, NULL},
	 { (char *)"iStringArray_Sort", _wrap_iStringArray_Sort, METH_VARARGS, NULL},
	 { (char *)"iStringArray_DeleteIndex", _wrap_iStringArray_DeleteIndex, METH_VARARGS, NULL},
	 { (char *)"iStringArray_Insert", _wrap_iStringArray_Insert, METH_VARARGS, NULL},
	 { (char *)"iStringArray_Empty", _wrap_iStringArray_Empty, METH_VARARGS, NULL},
	 { (char *)"iStringArray_DeleteAll", _wrap_iStringArray_DeleteAll, METH_VARARGS, NULL},
	 { (char *)"iStringArray_IsEmpty", _wrap_iStringArray_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"delete_iStringArray", _wrap_delete_iStringArray, METH_VARARGS, NULL},
	 { (char *)"iStringArray_scfGetVersion", _wrap_iStringArray_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iStringArray_swigregister", iStringArray_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttributeIterator_HasNext", _wrap_iDocumentAttributeIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttributeIterator_Next", _wrap_iDocumentAttributeIterator_Next, METH_VARARGS, NULL},
	 { (char *)"delete_iDocumentAttributeIterator", _wrap_delete_iDocumentAttributeIterator, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttributeIterator_swigregister", iDocumentAttributeIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_GetName", _wrap_iDocumentAttribute_GetName, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_GetValue", _wrap_iDocumentAttribute_GetValue, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_GetValueAsInt", _wrap_iDocumentAttribute_GetValueAsInt, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_GetValueAsFloat", _wrap_iDocumentAttribute_GetValueAsFloat, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_GetValueAsBool", _wrap_iDocumentAttribute_GetValueAsBool, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_SetName", _wrap_iDocumentAttribute_SetName, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_SetValue", _wrap_iDocumentAttribute_SetValue, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_SetValueAsInt", _wrap_iDocumentAttribute_SetValueAsInt, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_SetValueAsFloat", _wrap_iDocumentAttribute_SetValueAsFloat, METH_VARARGS, NULL},
	 { (char *)"delete_iDocumentAttribute", _wrap_delete_iDocumentAttribute, METH_VARARGS, NULL},
	 { (char *)"iDocumentAttribute_swigregister", iDocumentAttribute_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDocumentNodeIterator_HasNext", _wrap_iDocumentNodeIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iDocumentNodeIterator_Next", _wrap_iDocumentNodeIterator_Next, METH_VARARGS, NULL},
	 { (char *)"delete_iDocumentNodeIterator", _wrap_delete_iDocumentNodeIterator, METH_VARARGS, NULL},
	 { (char *)"iDocumentNodeIterator_swigregister", iDocumentNodeIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetType", _wrap_iDocumentNode_GetType, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_Equals", _wrap_iDocumentNode_Equals, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetValue", _wrap_iDocumentNode_GetValue, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_SetValue", _wrap_iDocumentNode_SetValue, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_SetValueAsInt", _wrap_iDocumentNode_SetValueAsInt, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_SetValueAsFloat", _wrap_iDocumentNode_SetValueAsFloat, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetParent", _wrap_iDocumentNode_GetParent, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetNodes", _wrap_iDocumentNode_GetNodes, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetNode", _wrap_iDocumentNode_GetNode, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_RemoveNode", _wrap_iDocumentNode_RemoveNode, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_RemoveNodes", _wrap_iDocumentNode_RemoveNodes, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_CreateNodeBefore", _wrap_iDocumentNode_CreateNodeBefore, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetContentsValue", _wrap_iDocumentNode_GetContentsValue, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetContentsValueAsInt", _wrap_iDocumentNode_GetContentsValueAsInt, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetContentsValueAsFloat", _wrap_iDocumentNode_GetContentsValueAsFloat, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetAttributes", _wrap_iDocumentNode_GetAttributes, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetAttribute", _wrap_iDocumentNode_GetAttribute, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetAttributeValue", _wrap_iDocumentNode_GetAttributeValue, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetAttributeValueAsInt", _wrap_iDocumentNode_GetAttributeValueAsInt, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetAttributeValueAsFloat", _wrap_iDocumentNode_GetAttributeValueAsFloat, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_GetAttributeValueAsBool", _wrap_iDocumentNode_GetAttributeValueAsBool, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_RemoveAttribute", _wrap_iDocumentNode_RemoveAttribute, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_RemoveAttributes", _wrap_iDocumentNode_RemoveAttributes, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_SetAttribute", _wrap_iDocumentNode_SetAttribute, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_SetAttributeAsInt", _wrap_iDocumentNode_SetAttributeAsInt, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_SetAttributeAsFloat", _wrap_iDocumentNode_SetAttributeAsFloat, METH_VARARGS, NULL},
	 { (char *)"delete_iDocumentNode", _wrap_delete_iDocumentNode, METH_VARARGS, NULL},
	 { (char *)"iDocumentNode_swigregister", iDocumentNode_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDocument_Clear", _wrap_iDocument_Clear, METH_VARARGS, NULL},
	 { (char *)"iDocument_CreateRoot", _wrap_iDocument_CreateRoot, METH_VARARGS, NULL},
	 { (char *)"iDocument_GetRoot", _wrap_iDocument_GetRoot, METH_VARARGS, NULL},
	 { (char *)"iDocument_Parse", _wrap_iDocument_Parse, METH_VARARGS, NULL},
	 { (char *)"iDocument_Write", _wrap_iDocument_Write, METH_VARARGS, NULL},
	 { (char *)"iDocument_Changeable", _wrap_iDocument_Changeable, METH_VARARGS, NULL},
	 { (char *)"delete_iDocument", _wrap_delete_iDocument, METH_VARARGS, NULL},
	 { (char *)"iDocument_scfGetVersion", _wrap_iDocument_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iDocument_swigregister", iDocument_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDocumentSystem_CreateDocument", _wrap_iDocumentSystem_CreateDocument, METH_VARARGS, NULL},
	 { (char *)"delete_iDocumentSystem", _wrap_delete_iDocumentSystem, METH_VARARGS, NULL},
	 { (char *)"iDocumentSystem_scfGetVersion", _wrap_iDocumentSystem_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iDocumentSystem_swigregister", iDocumentSystem_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csTinyDocumentSystem", _wrap_new_csTinyDocumentSystem, METH_VARARGS, NULL},
	 { (char *)"delete_csTinyDocumentSystem", _wrap_delete_csTinyDocumentSystem, METH_VARARGS, NULL},
	 { (char *)"csTinyDocumentSystem_CreateDocument", _wrap_csTinyDocumentSystem_CreateDocument, METH_VARARGS, NULL},
	 { (char *)"csTinyDocumentSystem_swigregister", csTinyDocumentSystem_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDataBuffer_GetSize", _wrap_iDataBuffer_GetSize, METH_VARARGS, NULL},
	 { (char *)"iDataBuffer_GetData", _wrap_iDataBuffer_GetData, METH_VARARGS, NULL},
	 { (char *)"iDataBuffer_asString", _wrap_iDataBuffer_asString, METH_VARARGS, NULL},
	 { (char *)"iDataBuffer_GetUint8", _wrap_iDataBuffer_GetUint8, METH_VARARGS, NULL},
	 { (char *)"delete_iDataBuffer", _wrap_delete_iDataBuffer, METH_VARARGS, NULL},
	 { (char *)"iDataBuffer_scfGetVersion", _wrap_iDataBuffer_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iDataBuffer_swigregister", iDataBuffer_swigregister, METH_VARARGS, NULL},
	 { (char *)"csPixelCoord_x_set", _wrap_csPixelCoord_x_set, METH_VARARGS, NULL},
	 { (char *)"csPixelCoord_x_get", _wrap_csPixelCoord_x_get, METH_VARARGS, NULL},
	 { (char *)"csPixelCoord_y_set", _wrap_csPixelCoord_y_set, METH_VARARGS, NULL},
	 { (char *)"csPixelCoord_y_get", _wrap_csPixelCoord_y_get, METH_VARARGS, NULL},
	 { (char *)"new_csPixelCoord", _wrap_new_csPixelCoord, METH_VARARGS, NULL},
	 { (char *)"delete_csPixelCoord", _wrap_delete_csPixelCoord, METH_VARARGS, NULL},
	 { (char *)"csPixelCoord_swigregister", csPixelCoord_swigregister, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_RedMask_set", _wrap_csPixelFormat_RedMask_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_RedMask_get", _wrap_csPixelFormat_RedMask_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_GreenMask_set", _wrap_csPixelFormat_GreenMask_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_GreenMask_get", _wrap_csPixelFormat_GreenMask_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_BlueMask_set", _wrap_csPixelFormat_BlueMask_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_BlueMask_get", _wrap_csPixelFormat_BlueMask_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_AlphaMask_set", _wrap_csPixelFormat_AlphaMask_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_AlphaMask_get", _wrap_csPixelFormat_AlphaMask_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_RedShift_set", _wrap_csPixelFormat_RedShift_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_RedShift_get", _wrap_csPixelFormat_RedShift_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_GreenShift_set", _wrap_csPixelFormat_GreenShift_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_GreenShift_get", _wrap_csPixelFormat_GreenShift_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_BlueShift_set", _wrap_csPixelFormat_BlueShift_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_BlueShift_get", _wrap_csPixelFormat_BlueShift_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_AlphaShift_set", _wrap_csPixelFormat_AlphaShift_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_AlphaShift_get", _wrap_csPixelFormat_AlphaShift_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_RedBits_set", _wrap_csPixelFormat_RedBits_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_RedBits_get", _wrap_csPixelFormat_RedBits_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_GreenBits_set", _wrap_csPixelFormat_GreenBits_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_GreenBits_get", _wrap_csPixelFormat_GreenBits_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_BlueBits_set", _wrap_csPixelFormat_BlueBits_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_BlueBits_get", _wrap_csPixelFormat_BlueBits_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_AlphaBits_set", _wrap_csPixelFormat_AlphaBits_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_AlphaBits_get", _wrap_csPixelFormat_AlphaBits_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_PalEntries_set", _wrap_csPixelFormat_PalEntries_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_PalEntries_get", _wrap_csPixelFormat_PalEntries_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_PixelBytes_set", _wrap_csPixelFormat_PixelBytes_set, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_PixelBytes_get", _wrap_csPixelFormat_PixelBytes_get, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_complete", _wrap_csPixelFormat_complete, METH_VARARGS, NULL},
	 { (char *)"new_csPixelFormat", _wrap_new_csPixelFormat, METH_VARARGS, NULL},
	 { (char *)"delete_csPixelFormat", _wrap_delete_csPixelFormat, METH_VARARGS, NULL},
	 { (char *)"csPixelFormat_swigregister", csPixelFormat_swigregister, METH_VARARGS, NULL},
	 { (char *)"csImageArea_x_set", _wrap_csImageArea_x_set, METH_VARARGS, NULL},
	 { (char *)"csImageArea_x_get", _wrap_csImageArea_x_get, METH_VARARGS, NULL},
	 { (char *)"csImageArea_y_set", _wrap_csImageArea_y_set, METH_VARARGS, NULL},
	 { (char *)"csImageArea_y_get", _wrap_csImageArea_y_get, METH_VARARGS, NULL},
	 { (char *)"csImageArea_w_set", _wrap_csImageArea_w_set, METH_VARARGS, NULL},
	 { (char *)"csImageArea_w_get", _wrap_csImageArea_w_get, METH_VARARGS, NULL},
	 { (char *)"csImageArea_h_set", _wrap_csImageArea_h_set, METH_VARARGS, NULL},
	 { (char *)"csImageArea_h_get", _wrap_csImageArea_h_get, METH_VARARGS, NULL},
	 { (char *)"csImageArea_data_set", _wrap_csImageArea_data_set, METH_VARARGS, NULL},
	 { (char *)"csImageArea_data_get", _wrap_csImageArea_data_get, METH_VARARGS, NULL},
	 { (char *)"new_csImageArea", _wrap_new_csImageArea, METH_VARARGS, NULL},
	 { (char *)"delete_csImageArea", _wrap_delete_csImageArea, METH_VARARGS, NULL},
	 { (char *)"csImageArea_swigregister", csImageArea_swigregister, METH_VARARGS, NULL},
	 { (char *)"iOffscreenCanvasCallback_FinishDraw", _wrap_iOffscreenCanvasCallback_FinishDraw, METH_VARARGS, NULL},
	 { (char *)"iOffscreenCanvasCallback_SetRGB", _wrap_iOffscreenCanvasCallback_SetRGB, METH_VARARGS, NULL},
	 { (char *)"delete_iOffscreenCanvasCallback", _wrap_delete_iOffscreenCanvasCallback, METH_VARARGS, NULL},
	 { (char *)"iOffscreenCanvasCallback_swigregister", iOffscreenCanvasCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_Open", _wrap_iGraphics2D_Open, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_Close", _wrap_iGraphics2D_Close, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetWidth", _wrap_iGraphics2D_GetWidth, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetHeight", _wrap_iGraphics2D_GetHeight, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetPage", _wrap_iGraphics2D_GetPage, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_DoubleBuffer", _wrap_iGraphics2D_DoubleBuffer, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetDoubleBufferState", _wrap_iGraphics2D_GetDoubleBufferState, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetPixelFormat", _wrap_iGraphics2D_GetPixelFormat, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetPixelBytes", _wrap_iGraphics2D_GetPixelBytes, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetPalEntryCount", _wrap_iGraphics2D_GetPalEntryCount, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetPalette", _wrap_iGraphics2D_GetPalette, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_SetRGB", _wrap_iGraphics2D_SetRGB, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_FindRGB", _wrap_iGraphics2D_FindRGB, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetRGB", _wrap_iGraphics2D_GetRGB, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetRGBA", _wrap_iGraphics2D_GetRGBA, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_SetClipRect", _wrap_iGraphics2D_SetClipRect, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetClipRect", _wrap_iGraphics2D_GetClipRect, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_BeginDraw", _wrap_iGraphics2D_BeginDraw, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_FinishDraw", _wrap_iGraphics2D_FinishDraw, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_Print", _wrap_iGraphics2D_Print, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_Clear", _wrap_iGraphics2D_Clear, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_ClearAll", _wrap_iGraphics2D_ClearAll, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_DrawLine", _wrap_iGraphics2D_DrawLine, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_DrawBox", _wrap_iGraphics2D_DrawBox, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_ClipLine", _wrap_iGraphics2D_ClipLine, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_DrawPixel", _wrap_iGraphics2D_DrawPixel, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_DrawPixels", _wrap_iGraphics2D_DrawPixels, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_Blit", _wrap_iGraphics2D_Blit, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetPixelAt", _wrap_iGraphics2D_GetPixelAt, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetPixel", _wrap_iGraphics2D_GetPixel, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_SaveArea", _wrap_iGraphics2D_SaveArea, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_RestoreArea", _wrap_iGraphics2D_RestoreArea, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_FreeArea", _wrap_iGraphics2D_FreeArea, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_WriteBaseline", _wrap_iGraphics2D_WriteBaseline, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_AllowResize", _wrap_iGraphics2D_AllowResize, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_Resize", _wrap_iGraphics2D_Resize, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetFontServer", _wrap_iGraphics2D_GetFontServer, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_PerformExtension", _wrap_iGraphics2D_PerformExtension, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_ScreenShot", _wrap_iGraphics2D_ScreenShot, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetNativeWindow", _wrap_iGraphics2D_GetNativeWindow, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetFullScreen", _wrap_iGraphics2D_GetFullScreen, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_SetFullScreen", _wrap_iGraphics2D_SetFullScreen, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_SetMousePosition", _wrap_iGraphics2D_SetMousePosition, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_SetMouseCursor", _wrap_iGraphics2D_SetMouseCursor, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_SetGamma", _wrap_iGraphics2D_SetGamma, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetGamma", _wrap_iGraphics2D_GetGamma, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_GetName", _wrap_iGraphics2D_GetName, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_CreateOffscreenCanvas", _wrap_iGraphics2D_CreateOffscreenCanvas, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_Write", _wrap_iGraphics2D_Write, METH_VARARGS, NULL},
	 { (char *)"delete_iGraphics2D", _wrap_delete_iGraphics2D, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_scfGetVersion", _wrap_iGraphics2D_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D__PerformExtension", _wrap_iGraphics2D__PerformExtension, METH_VARARGS, NULL},
	 { (char *)"iGraphics2D_swigregister", iGraphics2D_swigregister, METH_VARARGS, NULL},
	 { (char *)"csAlphaMode_autoAlphaMode_set", _wrap_csAlphaMode_autoAlphaMode_set, METH_VARARGS, NULL},
	 { (char *)"csAlphaMode_autoAlphaMode_get", _wrap_csAlphaMode_autoAlphaMode_get, METH_VARARGS, NULL},
	 { (char *)"new_csAlphaMode", _wrap_new_csAlphaMode, METH_VARARGS, NULL},
	 { (char *)"delete_csAlphaMode", _wrap_delete_csAlphaMode, METH_VARARGS, NULL},
	 { (char *)"csAlphaMode_swigregister", csAlphaMode_swigregister, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_minTexHeight_set", _wrap_csGraphics3DCaps_minTexHeight_set, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_minTexHeight_get", _wrap_csGraphics3DCaps_minTexHeight_get, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_minTexWidth_set", _wrap_csGraphics3DCaps_minTexWidth_set, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_minTexWidth_get", _wrap_csGraphics3DCaps_minTexWidth_get, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_maxTexHeight_set", _wrap_csGraphics3DCaps_maxTexHeight_set, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_maxTexHeight_get", _wrap_csGraphics3DCaps_maxTexHeight_get, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_maxTexWidth_set", _wrap_csGraphics3DCaps_maxTexWidth_set, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_maxTexWidth_get", _wrap_csGraphics3DCaps_maxTexWidth_get, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_SupportsPointSprites_set", _wrap_csGraphics3DCaps_SupportsPointSprites_set, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_SupportsPointSprites_get", _wrap_csGraphics3DCaps_SupportsPointSprites_get, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_DestinationAlpha_set", _wrap_csGraphics3DCaps_DestinationAlpha_set, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_DestinationAlpha_get", _wrap_csGraphics3DCaps_DestinationAlpha_get, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_StencilShadows_set", _wrap_csGraphics3DCaps_StencilShadows_set, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_StencilShadows_get", _wrap_csGraphics3DCaps_StencilShadows_get, METH_VARARGS, NULL},
	 { (char *)"new_csGraphics3DCaps", _wrap_new_csGraphics3DCaps, METH_VARARGS, NULL},
	 { (char *)"delete_csGraphics3DCaps", _wrap_delete_csGraphics3DCaps, METH_VARARGS, NULL},
	 { (char *)"csGraphics3DCaps_swigregister", csGraphics3DCaps_swigregister, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_meshtype_set", _wrap_csSimpleRenderMesh_meshtype_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_meshtype_get", _wrap_csSimpleRenderMesh_meshtype_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_indexCount_set", _wrap_csSimpleRenderMesh_indexCount_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_indexCount_get", _wrap_csSimpleRenderMesh_indexCount_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_indices_set", _wrap_csSimpleRenderMesh_indices_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_indices_get", _wrap_csSimpleRenderMesh_indices_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_vertexCount_set", _wrap_csSimpleRenderMesh_vertexCount_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_vertexCount_get", _wrap_csSimpleRenderMesh_vertexCount_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_vertices_set", _wrap_csSimpleRenderMesh_vertices_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_vertices_get", _wrap_csSimpleRenderMesh_vertices_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_texcoords_set", _wrap_csSimpleRenderMesh_texcoords_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_texcoords_get", _wrap_csSimpleRenderMesh_texcoords_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_colors_set", _wrap_csSimpleRenderMesh_colors_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_colors_get", _wrap_csSimpleRenderMesh_colors_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_texture_set", _wrap_csSimpleRenderMesh_texture_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_texture_get", _wrap_csSimpleRenderMesh_texture_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_shader_set", _wrap_csSimpleRenderMesh_shader_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_shader_get", _wrap_csSimpleRenderMesh_shader_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_dynDomain_set", _wrap_csSimpleRenderMesh_dynDomain_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_dynDomain_get", _wrap_csSimpleRenderMesh_dynDomain_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_alphaType_set", _wrap_csSimpleRenderMesh_alphaType_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_alphaType_get", _wrap_csSimpleRenderMesh_alphaType_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_z_buf_mode_set", _wrap_csSimpleRenderMesh_z_buf_mode_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_z_buf_mode_get", _wrap_csSimpleRenderMesh_z_buf_mode_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_mixmode_set", _wrap_csSimpleRenderMesh_mixmode_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_mixmode_get", _wrap_csSimpleRenderMesh_mixmode_get, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_object2world_set", _wrap_csSimpleRenderMesh_object2world_set, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_object2world_get", _wrap_csSimpleRenderMesh_object2world_get, METH_VARARGS, NULL},
	 { (char *)"new_csSimpleRenderMesh", _wrap_new_csSimpleRenderMesh, METH_VARARGS, NULL},
	 { (char *)"delete_csSimpleRenderMesh", _wrap_delete_csSimpleRenderMesh, METH_VARARGS, NULL},
	 { (char *)"csSimpleRenderMesh_swigregister", csSimpleRenderMesh_swigregister, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_Open", _wrap_iGraphics3D_Open, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_Close", _wrap_iGraphics3D_Close, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetDriver2D", _wrap_iGraphics3D_GetDriver2D, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetTextureManager", _wrap_iGraphics3D_GetTextureManager, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetDimensions", _wrap_iGraphics3D_SetDimensions, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetWidth", _wrap_iGraphics3D_GetWidth, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetHeight", _wrap_iGraphics3D_GetHeight, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetCaps", _wrap_iGraphics3D_GetCaps, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetPerspectiveCenter", _wrap_iGraphics3D_SetPerspectiveCenter, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetPerspectiveCenter", _wrap_iGraphics3D_GetPerspectiveCenter, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetPerspectiveAspect", _wrap_iGraphics3D_SetPerspectiveAspect, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetPerspectiveAspect", _wrap_iGraphics3D_GetPerspectiveAspect, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetRenderTarget", _wrap_iGraphics3D_SetRenderTarget, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetRenderTarget", _wrap_iGraphics3D_GetRenderTarget, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_BeginDraw", _wrap_iGraphics3D_BeginDraw, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_FinishDraw", _wrap_iGraphics3D_FinishDraw, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_Print", _wrap_iGraphics3D_Print, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_DrawMesh", _wrap_iGraphics3D_DrawMesh, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_DrawSimpleMesh", _wrap_iGraphics3D_DrawSimpleMesh, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_DrawPixmap", _wrap_iGraphics3D_DrawPixmap, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_DrawLine", _wrap_iGraphics3D_DrawLine, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_ActivateBuffers", _wrap_iGraphics3D_ActivateBuffers, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_DeactivateBuffers", _wrap_iGraphics3D_DeactivateBuffers, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetTextureState", _wrap_iGraphics3D_SetTextureState, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetClipper", _wrap_iGraphics3D_SetClipper, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetClipper", _wrap_iGraphics3D_GetClipper, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetClipType", _wrap_iGraphics3D_GetClipType, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetNearPlane", _wrap_iGraphics3D_SetNearPlane, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_ResetNearPlane", _wrap_iGraphics3D_ResetNearPlane, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetNearPlane", _wrap_iGraphics3D_GetNearPlane, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_HasNearPlane", _wrap_iGraphics3D_HasNearPlane, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetRenderState", _wrap_iGraphics3D_SetRenderState, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetRenderState", _wrap_iGraphics3D_GetRenderState, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetOption", _wrap_iGraphics3D_SetOption, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetWriteMask", _wrap_iGraphics3D_SetWriteMask, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetWriteMask", _wrap_iGraphics3D_GetWriteMask, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetZMode", _wrap_iGraphics3D_SetZMode, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetZMode", _wrap_iGraphics3D_GetZMode, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_EnableZOffset", _wrap_iGraphics3D_EnableZOffset, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_DisableZOffset", _wrap_iGraphics3D_DisableZOffset, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetShadowState", _wrap_iGraphics3D_SetShadowState, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetZBuffValue", _wrap_iGraphics3D_GetZBuffValue, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_OpenPortal", _wrap_iGraphics3D_OpenPortal, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_ClosePortal", _wrap_iGraphics3D_ClosePortal, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_CreateHalo", _wrap_iGraphics3D_CreateHalo, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_RemoveFromCache", _wrap_iGraphics3D_RemoveFromCache, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_SetWorldToCamera", _wrap_iGraphics3D_SetWorldToCamera, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_PerformExtension", _wrap_iGraphics3D_PerformExtension, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_GetWorldToCamera", _wrap_iGraphics3D_GetWorldToCamera, METH_VARARGS, NULL},
	 { (char *)"delete_iGraphics3D", _wrap_delete_iGraphics3D, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_scfGetVersion", _wrap_iGraphics3D_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iGraphics3D_swigregister", iGraphics3D_swigregister, METH_VARARGS, NULL},
	 { (char *)"iNativeWindowManager_Alert", _wrap_iNativeWindowManager_Alert, METH_VARARGS, NULL},
	 { (char *)"delete_iNativeWindowManager", _wrap_delete_iNativeWindowManager, METH_VARARGS, NULL},
	 { (char *)"iNativeWindowManager_swigregister", iNativeWindowManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"iNativeWindow_SetTitle", _wrap_iNativeWindow_SetTitle, METH_VARARGS, NULL},
	 { (char *)"delete_iNativeWindow", _wrap_delete_iNativeWindow, METH_VARARGS, NULL},
	 { (char *)"iNativeWindow_swigregister", iNativeWindow_swigregister, METH_VARARGS, NULL},
	 { (char *)"iFontDeleteNotify_BeforeDelete", _wrap_iFontDeleteNotify_BeforeDelete, METH_VARARGS, NULL},
	 { (char *)"delete_iFontDeleteNotify", _wrap_delete_iFontDeleteNotify, METH_VARARGS, NULL},
	 { (char *)"iFontDeleteNotify_swigregister", iFontDeleteNotify_swigregister, METH_VARARGS, NULL},
	 { (char *)"csBitmapMetrics_width_set", _wrap_csBitmapMetrics_width_set, METH_VARARGS, NULL},
	 { (char *)"csBitmapMetrics_width_get", _wrap_csBitmapMetrics_width_get, METH_VARARGS, NULL},
	 { (char *)"csBitmapMetrics_height_set", _wrap_csBitmapMetrics_height_set, METH_VARARGS, NULL},
	 { (char *)"csBitmapMetrics_height_get", _wrap_csBitmapMetrics_height_get, METH_VARARGS, NULL},
	 { (char *)"csBitmapMetrics_left_set", _wrap_csBitmapMetrics_left_set, METH_VARARGS, NULL},
	 { (char *)"csBitmapMetrics_left_get", _wrap_csBitmapMetrics_left_get, METH_VARARGS, NULL},
	 { (char *)"csBitmapMetrics_top_set", _wrap_csBitmapMetrics_top_set, METH_VARARGS, NULL},
	 { (char *)"csBitmapMetrics_top_get", _wrap_csBitmapMetrics_top_get, METH_VARARGS, NULL},
	 { (char *)"new_csBitmapMetrics", _wrap_new_csBitmapMetrics, METH_VARARGS, NULL},
	 { (char *)"delete_csBitmapMetrics", _wrap_delete_csBitmapMetrics, METH_VARARGS, NULL},
	 { (char *)"csBitmapMetrics_swigregister", csBitmapMetrics_swigregister, METH_VARARGS, NULL},
	 { (char *)"csGlyphMetrics_advance_set", _wrap_csGlyphMetrics_advance_set, METH_VARARGS, NULL},
	 { (char *)"csGlyphMetrics_advance_get", _wrap_csGlyphMetrics_advance_get, METH_VARARGS, NULL},
	 { (char *)"new_csGlyphMetrics", _wrap_new_csGlyphMetrics, METH_VARARGS, NULL},
	 { (char *)"delete_csGlyphMetrics", _wrap_delete_csGlyphMetrics, METH_VARARGS, NULL},
	 { (char *)"csGlyphMetrics_swigregister", csGlyphMetrics_swigregister, METH_VARARGS, NULL},
	 { (char *)"iFont_AddDeleteCallback", _wrap_iFont_AddDeleteCallback, METH_VARARGS, NULL},
	 { (char *)"iFont_RemoveDeleteCallback", _wrap_iFont_RemoveDeleteCallback, METH_VARARGS, NULL},
	 { (char *)"iFont_GetSize", _wrap_iFont_GetSize, METH_VARARGS, NULL},
	 { (char *)"iFont_GetMaxSize", _wrap_iFont_GetMaxSize, METH_VARARGS, NULL},
	 { (char *)"iFont_GetGlyphMetrics", _wrap_iFont_GetGlyphMetrics, METH_VARARGS, NULL},
	 { (char *)"iFont_GetGlyphBitmap", _wrap_iFont_GetGlyphBitmap, METH_VARARGS, NULL},
	 { (char *)"iFont_GetGlyphAlphaBitmap", _wrap_iFont_GetGlyphAlphaBitmap, METH_VARARGS, NULL},
	 { (char *)"iFont_GetDimensions", _wrap_iFont_GetDimensions, METH_VARARGS, NULL},
	 { (char *)"iFont_GetLength", _wrap_iFont_GetLength, METH_VARARGS, NULL},
	 { (char *)"iFont_GetDescent", _wrap_iFont_GetDescent, METH_VARARGS, NULL},
	 { (char *)"iFont_GetAscent", _wrap_iFont_GetAscent, METH_VARARGS, NULL},
	 { (char *)"iFont_HasGlyph", _wrap_iFont_HasGlyph, METH_VARARGS, NULL},
	 { (char *)"iFont_GetTextHeight", _wrap_iFont_GetTextHeight, METH_VARARGS, NULL},
	 { (char *)"iFont_GetUnderlinePosition", _wrap_iFont_GetUnderlinePosition, METH_VARARGS, NULL},
	 { (char *)"iFont_GetUnderlineThickness", _wrap_iFont_GetUnderlineThickness, METH_VARARGS, NULL},
	 { (char *)"delete_iFont", _wrap_delete_iFont, METH_VARARGS, NULL},
	 { (char *)"iFont_scfGetVersion", _wrap_iFont_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iFont_swigregister", iFont_swigregister, METH_VARARGS, NULL},
	 { (char *)"iFontServer_LoadFont", _wrap_iFontServer_LoadFont, METH_VARARGS, NULL},
	 { (char *)"iFontServer_SetWarnOnError", _wrap_iFontServer_SetWarnOnError, METH_VARARGS, NULL},
	 { (char *)"iFontServer_GetWarnOnError", _wrap_iFontServer_GetWarnOnError, METH_VARARGS, NULL},
	 { (char *)"delete_iFontServer", _wrap_delete_iFontServer, METH_VARARGS, NULL},
	 { (char *)"iFontServer_scfGetVersion", _wrap_iFontServer_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iFontServer_swigregister", iFontServer_swigregister, METH_VARARGS, NULL},
	 { (char *)"iHalo_GetWidth", _wrap_iHalo_GetWidth, METH_VARARGS, NULL},
	 { (char *)"iHalo_GetHeight", _wrap_iHalo_GetHeight, METH_VARARGS, NULL},
	 { (char *)"iHalo_SetColor", _wrap_iHalo_SetColor, METH_VARARGS, NULL},
	 { (char *)"iHalo_GetColor", _wrap_iHalo_GetColor, METH_VARARGS, NULL},
	 { (char *)"iHalo_Draw", _wrap_iHalo_Draw, METH_VARARGS, NULL},
	 { (char *)"delete_iHalo", _wrap_delete_iHalo, METH_VARARGS, NULL},
	 { (char *)"iHalo_scfGetVersion", _wrap_iHalo_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iHalo_swigregister", iHalo_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_iShaderVarStack", _wrap_delete_iShaderVarStack, METH_VARARGS, NULL},
	 { (char *)"iShaderVarStack_swigregister", iShaderVarStack_swigregister, METH_VARARGS, NULL},
	 { (char *)"csGetShaderVariableFromStack", _wrap_csGetShaderVariableFromStack, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_AddVariable", _wrap_iShaderVariableContext_AddVariable, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_GetVariable", _wrap_iShaderVariableContext_GetVariable, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_GetVariableAdd", _wrap_iShaderVariableContext_GetVariableAdd, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_GetShaderVariables", _wrap_iShaderVariableContext_GetShaderVariables, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_PushVariables", _wrap_iShaderVariableContext_PushVariables, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_IsEmpty", _wrap_iShaderVariableContext_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_ReplaceVariable", _wrap_iShaderVariableContext_ReplaceVariable, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_Clear", _wrap_iShaderVariableContext_Clear, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_RemoveVariable", _wrap_iShaderVariableContext_RemoveVariable, METH_VARARGS, NULL},
	 { (char *)"delete_iShaderVariableContext", _wrap_delete_iShaderVariableContext, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_scfGetVersion", _wrap_iShaderVariableContext_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iShaderVariableContext_swigregister", iShaderVariableContext_swigregister, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_RegisterShader", _wrap_iShaderManager_RegisterShader, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_UnregisterShader", _wrap_iShaderManager_UnregisterShader, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_GetShader", _wrap_iShaderManager_GetShader, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_GetShaders", _wrap_iShaderManager_GetShaders, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_RegisterCompiler", _wrap_iShaderManager_RegisterCompiler, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_GetCompiler", _wrap_iShaderManager_GetCompiler, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_GetShaderVariableStack", _wrap_iShaderManager_GetShaderVariableStack, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_SetTagOptions", _wrap_iShaderManager_SetTagOptions, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_GetTagOptions", _wrap_iShaderManager_GetTagOptions, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_GetTags", _wrap_iShaderManager_GetTags, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_SetActiveLights", _wrap_iShaderManager_SetActiveLights, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_GetActiveLights", _wrap_iShaderManager_GetActiveLights, METH_VARARGS, NULL},
	 { (char *)"delete_iShaderManager", _wrap_delete_iShaderManager, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_scfGetVersion", _wrap_iShaderManager_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iShaderManager_swigregister", iShaderManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"csShaderMetadata_description_set", _wrap_csShaderMetadata_description_set, METH_VARARGS, NULL},
	 { (char *)"csShaderMetadata_description_get", _wrap_csShaderMetadata_description_get, METH_VARARGS, NULL},
	 { (char *)"csShaderMetadata_numberOfLights_set", _wrap_csShaderMetadata_numberOfLights_set, METH_VARARGS, NULL},
	 { (char *)"csShaderMetadata_numberOfLights_get", _wrap_csShaderMetadata_numberOfLights_get, METH_VARARGS, NULL},
	 { (char *)"new_csShaderMetadata", _wrap_new_csShaderMetadata, METH_VARARGS, NULL},
	 { (char *)"delete_csShaderMetadata", _wrap_delete_csShaderMetadata, METH_VARARGS, NULL},
	 { (char *)"csShaderMetadata_swigregister", csShaderMetadata_swigregister, METH_VARARGS, NULL},
	 { (char *)"iShader_QueryObject", _wrap_iShader_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iShader_GetFileName", _wrap_iShader_GetFileName, METH_VARARGS, NULL},
	 { (char *)"iShader_SetFileName", _wrap_iShader_SetFileName, METH_VARARGS, NULL},
	 { (char *)"iShader_GetTicket", _wrap_iShader_GetTicket, METH_VARARGS, NULL},
	 { (char *)"iShader_GetNumberOfPasses", _wrap_iShader_GetNumberOfPasses, METH_VARARGS, NULL},
	 { (char *)"iShader_ActivatePass", _wrap_iShader_ActivatePass, METH_VARARGS, NULL},
	 { (char *)"iShader_SetupPass", _wrap_iShader_SetupPass, METH_VARARGS, NULL},
	 { (char *)"iShader_TeardownPass", _wrap_iShader_TeardownPass, METH_VARARGS, NULL},
	 { (char *)"iShader_DeactivatePass", _wrap_iShader_DeactivatePass, METH_VARARGS, NULL},
	 { (char *)"iShader_GetMetadata", _wrap_iShader_GetMetadata, METH_VARARGS, NULL},
	 { (char *)"delete_iShader", _wrap_delete_iShader, METH_VARARGS, NULL},
	 { (char *)"iShader_swigregister", iShader_swigregister, METH_VARARGS, NULL},
	 { (char *)"iShaderPriorityList_GetCount", _wrap_iShaderPriorityList_GetCount, METH_VARARGS, NULL},
	 { (char *)"iShaderPriorityList_GetPriority", _wrap_iShaderPriorityList_GetPriority, METH_VARARGS, NULL},
	 { (char *)"delete_iShaderPriorityList", _wrap_delete_iShaderPriorityList, METH_VARARGS, NULL},
	 { (char *)"iShaderPriorityList_swigregister", iShaderPriorityList_swigregister, METH_VARARGS, NULL},
	 { (char *)"iShaderCompiler_GetName", _wrap_iShaderCompiler_GetName, METH_VARARGS, NULL},
	 { (char *)"iShaderCompiler_CompileShader", _wrap_iShaderCompiler_CompileShader, METH_VARARGS, NULL},
	 { (char *)"iShaderCompiler_ValidateTemplate", _wrap_iShaderCompiler_ValidateTemplate, METH_VARARGS, NULL},
	 { (char *)"iShaderCompiler_IsTemplateToCompiler", _wrap_iShaderCompiler_IsTemplateToCompiler, METH_VARARGS, NULL},
	 { (char *)"iShaderCompiler_GetPriorities", _wrap_iShaderCompiler_GetPriorities, METH_VARARGS, NULL},
	 { (char *)"delete_iShaderCompiler", _wrap_delete_iShaderCompiler, METH_VARARGS, NULL},
	 { (char *)"iShaderCompiler_swigregister", iShaderCompiler_swigregister, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetFlags", _wrap_iTextureHandle_GetFlags, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_SetKeyColor", _wrap_iTextureHandle_SetKeyColor, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetKeyColorStatus", _wrap_iTextureHandle_GetKeyColorStatus, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetKeyColor", _wrap_iTextureHandle_GetKeyColor, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetRendererDimensions", _wrap_iTextureHandle_GetRendererDimensions, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetOriginalDimensions", _wrap_iTextureHandle_GetOriginalDimensions, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetTextureTarget", _wrap_iTextureHandle_GetTextureTarget, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_Blit", _wrap_iTextureHandle_Blit, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetImageName", _wrap_iTextureHandle_GetImageName, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetPrivateObject", _wrap_iTextureHandle_GetPrivateObject, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetAlphaMap", _wrap_iTextureHandle_GetAlphaMap, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetAlphaType", _wrap_iTextureHandle_GetAlphaType, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_Precache", _wrap_iTextureHandle_Precache, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_SetTextureClass", _wrap_iTextureHandle_SetTextureClass, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_GetTextureClass", _wrap_iTextureHandle_GetTextureClass, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_SetAlphaType", _wrap_iTextureHandle_SetAlphaType, METH_VARARGS, NULL},
	 { (char *)"delete_iTextureHandle", _wrap_delete_iTextureHandle, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_scfGetVersion", _wrap_iTextureHandle_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iTextureHandle_swigregister", iTextureHandle_swigregister, METH_VARARGS, NULL},
	 { (char *)"iRendererLightmap_GetSLMCoords", _wrap_iRendererLightmap_GetSLMCoords, METH_VARARGS, NULL},
	 { (char *)"iRendererLightmap_SetData", _wrap_iRendererLightmap_SetData, METH_VARARGS, NULL},
	 { (char *)"iRendererLightmap_SetLightCellSize", _wrap_iRendererLightmap_SetLightCellSize, METH_VARARGS, NULL},
	 { (char *)"delete_iRendererLightmap", _wrap_delete_iRendererLightmap, METH_VARARGS, NULL},
	 { (char *)"iRendererLightmap_swigregister", iRendererLightmap_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSuperLightmap_RegisterLightmap", _wrap_iSuperLightmap_RegisterLightmap, METH_VARARGS, NULL},
	 { (char *)"iSuperLightmap_Dump", _wrap_iSuperLightmap_Dump, METH_VARARGS, NULL},
	 { (char *)"iSuperLightmap_GetTexture", _wrap_iSuperLightmap_GetTexture, METH_VARARGS, NULL},
	 { (char *)"delete_iSuperLightmap", _wrap_delete_iSuperLightmap, METH_VARARGS, NULL},
	 { (char *)"iSuperLightmap_swigregister", iSuperLightmap_swigregister, METH_VARARGS, NULL},
	 { (char *)"iTextureManager_RegisterTexture", _wrap_iTextureManager_RegisterTexture, METH_VARARGS, NULL},
	 { (char *)"iTextureManager_GetTextureFormat", _wrap_iTextureManager_GetTextureFormat, METH_VARARGS, NULL},
	 { (char *)"iTextureManager_CreateSuperLightmap", _wrap_iTextureManager_CreateSuperLightmap, METH_VARARGS, NULL},
	 { (char *)"iTextureManager_GetMaxTextureSize", _wrap_iTextureManager_GetMaxTextureSize, METH_VARARGS, NULL},
	 { (char *)"delete_iTextureManager", _wrap_delete_iTextureManager, METH_VARARGS, NULL},
	 { (char *)"iTextureManager_scfGetVersion", _wrap_iTextureManager_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iTextureManager_swigregister", iTextureManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMaterial_SetShader", _wrap_iMaterial_SetShader, METH_VARARGS, NULL},
	 { (char *)"iMaterial_GetShader", _wrap_iMaterial_GetShader, METH_VARARGS, NULL},
	 { (char *)"iMaterial_GetShaders", _wrap_iMaterial_GetShaders, METH_VARARGS, NULL},
	 { (char *)"iMaterial_GetTexture", _wrap_iMaterial_GetTexture, METH_VARARGS, NULL},
	 { (char *)"iMaterial_GetFlatColor", _wrap_iMaterial_GetFlatColor, METH_VARARGS, NULL},
	 { (char *)"iMaterial_SetFlatColor", _wrap_iMaterial_SetFlatColor, METH_VARARGS, NULL},
	 { (char *)"delete_iMaterial", _wrap_delete_iMaterial, METH_VARARGS, NULL},
	 { (char *)"iMaterial_scfGetVersion", _wrap_iMaterial_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMaterial_swigregister", iMaterial_swigregister, METH_VARARGS, NULL},
	 { (char *)"iImage_GetImageData", _wrap_iImage_GetImageData, METH_VARARGS, NULL},
	 { (char *)"iImage_GetWidth", _wrap_iImage_GetWidth, METH_VARARGS, NULL},
	 { (char *)"iImage_GetHeight", _wrap_iImage_GetHeight, METH_VARARGS, NULL},
	 { (char *)"iImage_GetDepth", _wrap_iImage_GetDepth, METH_VARARGS, NULL},
	 { (char *)"iImage_SetName", _wrap_iImage_SetName, METH_VARARGS, NULL},
	 { (char *)"iImage_GetName", _wrap_iImage_GetName, METH_VARARGS, NULL},
	 { (char *)"iImage_GetFormat", _wrap_iImage_GetFormat, METH_VARARGS, NULL},
	 { (char *)"iImage_GetPalette", _wrap_iImage_GetPalette, METH_VARARGS, NULL},
	 { (char *)"iImage_GetAlpha", _wrap_iImage_GetAlpha, METH_VARARGS, NULL},
	 { (char *)"iImage_HasKeyColor", _wrap_iImage_HasKeyColor, METH_VARARGS, NULL},
	 { (char *)"iImage_HasKeycolor", _wrap_iImage_HasKeycolor, METH_VARARGS, NULL},
	 { (char *)"iImage_GetKeyColor", _wrap_iImage_GetKeyColor, METH_VARARGS, NULL},
	 { (char *)"iImage_GetKeycolor", _wrap_iImage_GetKeycolor, METH_VARARGS, NULL},
	 { (char *)"iImage_HasMipmaps", _wrap_iImage_HasMipmaps, METH_VARARGS, NULL},
	 { (char *)"iImage_GetMipmap", _wrap_iImage_GetMipmap, METH_VARARGS, NULL},
	 { (char *)"iImage_GetRawFormat", _wrap_iImage_GetRawFormat, METH_VARARGS, NULL},
	 { (char *)"iImage_GetRawData", _wrap_iImage_GetRawData, METH_VARARGS, NULL},
	 { (char *)"iImage_GetImageType", _wrap_iImage_GetImageType, METH_VARARGS, NULL},
	 { (char *)"iImage_HasSubImages", _wrap_iImage_HasSubImages, METH_VARARGS, NULL},
	 { (char *)"iImage_GetSubImage", _wrap_iImage_GetSubImage, METH_VARARGS, NULL},
	 { (char *)"delete_iImage", _wrap_delete_iImage, METH_VARARGS, NULL},
	 { (char *)"iImage_scfGetVersion", _wrap_iImage_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iImage_swigregister", iImage_swigregister, METH_VARARGS, NULL},
	 { (char *)"delete_csImageIOFileFormatDescriptions", _wrap_delete_csImageIOFileFormatDescriptions, METH_VARARGS, NULL},
	 { (char *)"new_csImageIOFileFormatDescriptions", _wrap_new_csImageIOFileFormatDescriptions, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_GetSize", _wrap_csImageIOFileFormatDescriptions_GetSize, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Length", _wrap_csImageIOFileFormatDescriptions_Length, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Get", _wrap_csImageIOFileFormatDescriptions_Get, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Put", _wrap_csImageIOFileFormatDescriptions_Put, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Push", _wrap_csImageIOFileFormatDescriptions_Push, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Pop", _wrap_csImageIOFileFormatDescriptions_Pop, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Top", _wrap_csImageIOFileFormatDescriptions_Top, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Insert", _wrap_csImageIOFileFormatDescriptions_Insert, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Contains", _wrap_csImageIOFileFormatDescriptions_Contains, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Truncate", _wrap_csImageIOFileFormatDescriptions_Truncate, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_Empty", _wrap_csImageIOFileFormatDescriptions_Empty, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_IsEmpty", _wrap_csImageIOFileFormatDescriptions_IsEmpty, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_SetMinimalCapacity", _wrap_csImageIOFileFormatDescriptions_SetMinimalCapacity, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_DeleteIndex", _wrap_csImageIOFileFormatDescriptions_DeleteIndex, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_DeleteIndexFast", _wrap_csImageIOFileFormatDescriptions_DeleteIndexFast, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_DeleteRange", _wrap_csImageIOFileFormatDescriptions_DeleteRange, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions___eq__", _wrap_csImageIOFileFormatDescriptions___eq__, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions___ne__", _wrap_csImageIOFileFormatDescriptions___ne__, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_GetAllocator", _wrap_csImageIOFileFormatDescriptions_GetAllocator, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescriptions_swigregister", csImageIOFileFormatDescriptions_swigregister, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescription_mime_get", _wrap_csImageIOFileFormatDescription_mime_get, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescription_subtype_get", _wrap_csImageIOFileFormatDescription_subtype_get, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescription_cap_set", _wrap_csImageIOFileFormatDescription_cap_set, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescription_cap_get", _wrap_csImageIOFileFormatDescription_cap_get, METH_VARARGS, NULL},
	 { (char *)"new_csImageIOFileFormatDescription", _wrap_new_csImageIOFileFormatDescription, METH_VARARGS, NULL},
	 { (char *)"delete_csImageIOFileFormatDescription", _wrap_delete_csImageIOFileFormatDescription, METH_VARARGS, NULL},
	 { (char *)"csImageIOFileFormatDescription_swigregister", csImageIOFileFormatDescription_swigregister, METH_VARARGS, NULL},
	 { (char *)"iImageIO_GetDescription", _wrap_iImageIO_GetDescription, METH_VARARGS, NULL},
	 { (char *)"iImageIO_Load", _wrap_iImageIO_Load, METH_VARARGS, NULL},
	 { (char *)"iImageIO_SetDithering", _wrap_iImageIO_SetDithering, METH_VARARGS, NULL},
	 { (char *)"iImageIO_Save", _wrap_iImageIO_Save, METH_VARARGS, NULL},
	 { (char *)"delete_iImageIO", _wrap_delete_iImageIO, METH_VARARGS, NULL},
	 { (char *)"iImageIO_scfGetVersion", _wrap_iImageIO_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iImageIO_swigregister", iImageIO_swigregister, METH_VARARGS, NULL},
	 { (char *)"iReporterListener_Report", _wrap_iReporterListener_Report, METH_VARARGS, NULL},
	 { (char *)"delete_iReporterListener", _wrap_delete_iReporterListener, METH_VARARGS, NULL},
	 { (char *)"iReporterListener_scfGetVersion", _wrap_iReporterListener_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iReporterListener_swigregister", iReporterListener_swigregister, METH_VARARGS, NULL},
	 { (char *)"iReporterIterator_HasNext", _wrap_iReporterIterator_HasNext, METH_VARARGS, NULL},
	 { (char *)"iReporterIterator_Next", _wrap_iReporterIterator_Next, METH_VARARGS, NULL},
	 { (char *)"iReporterIterator_GetMessageSeverity", _wrap_iReporterIterator_GetMessageSeverity, METH_VARARGS, NULL},
	 { (char *)"iReporterIterator_GetMessageId", _wrap_iReporterIterator_GetMessageId, METH_VARARGS, NULL},
	 { (char *)"iReporterIterator_GetMessageDescription", _wrap_iReporterIterator_GetMessageDescription, METH_VARARGS, NULL},
	 { (char *)"delete_iReporterIterator", _wrap_delete_iReporterIterator, METH_VARARGS, NULL},
	 { (char *)"iReporterIterator_scfGetVersion", _wrap_iReporterIterator_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iReporterIterator_swigregister", iReporterIterator_swigregister, METH_VARARGS, NULL},
	 { (char *)"iReporter_Report", _wrap_iReporter_Report, METH_VARARGS, NULL},
	 { (char *)"iReporter_Clear", _wrap_iReporter_Clear, METH_VARARGS, NULL},
	 { (char *)"iReporter_GetMessageIterator", _wrap_iReporter_GetMessageIterator, METH_VARARGS, NULL},
	 { (char *)"iReporter_AddReporterListener", _wrap_iReporter_AddReporterListener, METH_VARARGS, NULL},
	 { (char *)"iReporter_RemoveReporterListener", _wrap_iReporter_RemoveReporterListener, METH_VARARGS, NULL},
	 { (char *)"iReporter_FindReporterListener", _wrap_iReporter_FindReporterListener, METH_VARARGS, NULL},
	 { (char *)"iReporter_ReportError", _wrap_iReporter_ReportError, METH_VARARGS, NULL},
	 { (char *)"iReporter_ReportWarning", _wrap_iReporter_ReportWarning, METH_VARARGS, NULL},
	 { (char *)"iReporter_ReportNotify", _wrap_iReporter_ReportNotify, METH_VARARGS, NULL},
	 { (char *)"iReporter_ReportBug", _wrap_iReporter_ReportBug, METH_VARARGS, NULL},
	 { (char *)"iReporter_ReportDebug", _wrap_iReporter_ReportDebug, METH_VARARGS, NULL},
	 { (char *)"delete_iReporter", _wrap_delete_iReporter, METH_VARARGS, NULL},
	 { (char *)"iReporter_scfGetVersion", _wrap_iReporter_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iReporter_swigregister", iReporter_swigregister, METH_VARARGS, NULL},
	 { (char *)"csReporterHelper_Report", _wrap_csReporterHelper_Report, METH_VARARGS, NULL},
	 { (char *)"new_csReporterHelper", _wrap_new_csReporterHelper, METH_VARARGS, NULL},
	 { (char *)"delete_csReporterHelper", _wrap_delete_csReporterHelper, METH_VARARGS, NULL},
	 { (char *)"csReporterHelper_swigregister", csReporterHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"iConsoleWatcher_ConsoleVisibilityChanged", _wrap_iConsoleWatcher_ConsoleVisibilityChanged, METH_VARARGS, NULL},
	 { (char *)"delete_iConsoleWatcher", _wrap_delete_iConsoleWatcher, METH_VARARGS, NULL},
	 { (char *)"iConsoleWatcher_swigregister", iConsoleWatcher_swigregister, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_PutText", _wrap_iConsoleOutput_PutText, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_GetLine", _wrap_iConsoleOutput_GetLine, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_Draw2D", _wrap_iConsoleOutput_Draw2D, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_Draw3D", _wrap_iConsoleOutput_Draw3D, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_Clear", _wrap_iConsoleOutput_Clear, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_SetBufferSize", _wrap_iConsoleOutput_SetBufferSize, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_GetTransparency", _wrap_iConsoleOutput_GetTransparency, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_SetTransparency", _wrap_iConsoleOutput_SetTransparency, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_GetFont", _wrap_iConsoleOutput_GetFont, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_SetFont", _wrap_iConsoleOutput_SetFont, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_GetTopLine", _wrap_iConsoleOutput_GetTopLine, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_ScrollTo", _wrap_iConsoleOutput_ScrollTo, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_GetCursorStyle", _wrap_iConsoleOutput_GetCursorStyle, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_SetCursorStyle", _wrap_iConsoleOutput_SetCursorStyle, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_SetVisible", _wrap_iConsoleOutput_SetVisible, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_GetVisible", _wrap_iConsoleOutput_GetVisible, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_AutoUpdate", _wrap_iConsoleOutput_AutoUpdate, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_SetCursorPos", _wrap_iConsoleOutput_SetCursorPos, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_GetMaxLineWidth", _wrap_iConsoleOutput_GetMaxLineWidth, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_RegisterWatcher", _wrap_iConsoleOutput_RegisterWatcher, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_PerformExtension", _wrap_iConsoleOutput_PerformExtension, METH_VARARGS, NULL},
	 { (char *)"delete_iConsoleOutput", _wrap_delete_iConsoleOutput, METH_VARARGS, NULL},
	 { (char *)"iConsoleOutput_swigregister", iConsoleOutput_swigregister, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_SetOutputConsole", _wrap_iStandardReporterListener_SetOutputConsole, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_SetNativeWindowManager", _wrap_iStandardReporterListener_SetNativeWindowManager, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_SetReporter", _wrap_iStandardReporterListener_SetReporter, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_SetDebugFile", _wrap_iStandardReporterListener_SetDebugFile, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_SetDefaults", _wrap_iStandardReporterListener_SetDefaults, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_SetMessageDestination", _wrap_iStandardReporterListener_SetMessageDestination, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_RemoveMessages", _wrap_iStandardReporterListener_RemoveMessages, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_ShowMessageID", _wrap_iStandardReporterListener_ShowMessageID, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_GetDebugFile", _wrap_iStandardReporterListener_GetDebugFile, METH_VARARGS, NULL},
	 { (char *)"delete_iStandardReporterListener", _wrap_delete_iStandardReporterListener, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_scfGetVersion", _wrap_iStandardReporterListener_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iStandardReporterListener_swigregister", iStandardReporterListener_swigregister, METH_VARARGS, NULL},
	 { (char *)"iView_GetEngine", _wrap_iView_GetEngine, METH_VARARGS, NULL},
	 { (char *)"iView_SetEngine", _wrap_iView_SetEngine, METH_VARARGS, NULL},
	 { (char *)"iView_GetCamera", _wrap_iView_GetCamera, METH_VARARGS, NULL},
	 { (char *)"iView_SetCamera", _wrap_iView_SetCamera, METH_VARARGS, NULL},
	 { (char *)"iView_GetContext", _wrap_iView_GetContext, METH_VARARGS, NULL},
	 { (char *)"iView_SetContext", _wrap_iView_SetContext, METH_VARARGS, NULL},
	 { (char *)"iView_SetRectangle", _wrap_iView_SetRectangle, METH_VARARGS, NULL},
	 { (char *)"iView_ClearView", _wrap_iView_ClearView, METH_VARARGS, NULL},
	 { (char *)"iView_AddViewVertex", _wrap_iView_AddViewVertex, METH_VARARGS, NULL},
	 { (char *)"iView_RestrictClipperToScreen", _wrap_iView_RestrictClipperToScreen, METH_VARARGS, NULL},
	 { (char *)"iView_UpdateClipper", _wrap_iView_UpdateClipper, METH_VARARGS, NULL},
	 { (char *)"iView_GetClipper", _wrap_iView_GetClipper, METH_VARARGS, NULL},
	 { (char *)"iView_Draw", _wrap_iView_Draw, METH_VARARGS, NULL},
	 { (char *)"iView_SetAutoResize", _wrap_iView_SetAutoResize, METH_VARARGS, NULL},
	 { (char *)"delete_iView", _wrap_delete_iView, METH_VARARGS, NULL},
	 { (char *)"iView_scfGetVersion", _wrap_iView_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iView_swigregister", iView_swigregister, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_a1_set", _wrap_csCollisionPair_a1_set, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_a1_get", _wrap_csCollisionPair_a1_get, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_b1_set", _wrap_csCollisionPair_b1_set, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_b1_get", _wrap_csCollisionPair_b1_get, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_c1_set", _wrap_csCollisionPair_c1_set, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_c1_get", _wrap_csCollisionPair_c1_get, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_a2_set", _wrap_csCollisionPair_a2_set, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_a2_get", _wrap_csCollisionPair_a2_get, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_b2_set", _wrap_csCollisionPair_b2_set, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_b2_get", _wrap_csCollisionPair_b2_get, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_c2_set", _wrap_csCollisionPair_c2_set, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_c2_get", _wrap_csCollisionPair_c2_get, METH_VARARGS, NULL},
	 { (char *)"new_csCollisionPair", _wrap_new_csCollisionPair, METH_VARARGS, NULL},
	 { (char *)"delete_csCollisionPair", _wrap_delete_csCollisionPair, METH_VARARGS, NULL},
	 { (char *)"csCollisionPair_swigregister", csCollisionPair_swigregister, METH_VARARGS, NULL},
	 { (char *)"csIntersectingTriangle_a_set", _wrap_csIntersectingTriangle_a_set, METH_VARARGS, NULL},
	 { (char *)"csIntersectingTriangle_a_get", _wrap_csIntersectingTriangle_a_get, METH_VARARGS, NULL},
	 { (char *)"csIntersectingTriangle_b_set", _wrap_csIntersectingTriangle_b_set, METH_VARARGS, NULL},
	 { (char *)"csIntersectingTriangle_b_get", _wrap_csIntersectingTriangle_b_get, METH_VARARGS, NULL},
	 { (char *)"csIntersectingTriangle_c_set", _wrap_csIntersectingTriangle_c_set, METH_VARARGS, NULL},
	 { (char *)"csIntersectingTriangle_c_get", _wrap_csIntersectingTriangle_c_get, METH_VARARGS, NULL},
	 { (char *)"new_csIntersectingTriangle", _wrap_new_csIntersectingTriangle, METH_VARARGS, NULL},
	 { (char *)"delete_csIntersectingTriangle", _wrap_delete_csIntersectingTriangle, METH_VARARGS, NULL},
	 { (char *)"csIntersectingTriangle_swigregister", csIntersectingTriangle_swigregister, METH_VARARGS, NULL},
	 { (char *)"iCollider_GetColliderType", _wrap_iCollider_GetColliderType, METH_VARARGS, NULL},
	 { (char *)"delete_iCollider", _wrap_delete_iCollider, METH_VARARGS, NULL},
	 { (char *)"iCollider_scfGetVersion", _wrap_iCollider_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iCollider_swigregister", iCollider_swigregister, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_CreateCollider", _wrap_iCollideSystem_CreateCollider, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_Collide", _wrap_iCollideSystem_Collide, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_GetCollisionPairs", _wrap_iCollideSystem_GetCollisionPairs, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_GetCollisionPairCount", _wrap_iCollideSystem_GetCollisionPairCount, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_ResetCollisionPairs", _wrap_iCollideSystem_ResetCollisionPairs, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_CollideRay", _wrap_iCollideSystem_CollideRay, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_CollideSegment", _wrap_iCollideSystem_CollideSegment, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_GetIntersectingTriangles", _wrap_iCollideSystem_GetIntersectingTriangles, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_SetOneHitOnly", _wrap_iCollideSystem_SetOneHitOnly, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_GetOneHitOnly", _wrap_iCollideSystem_GetOneHitOnly, METH_VARARGS, NULL},
	 { (char *)"delete_iCollideSystem", _wrap_delete_iCollideSystem, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_scfGetVersion", _wrap_iCollideSystem_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_GetCollisionPairByIndex", _wrap_iCollideSystem_GetCollisionPairByIndex, METH_VARARGS, NULL},
	 { (char *)"iCollideSystem_swigregister", iCollideSystem_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDynamics_CreateSystem", _wrap_iDynamics_CreateSystem, METH_VARARGS, NULL},
	 { (char *)"iDynamics_RemoveSystem", _wrap_iDynamics_RemoveSystem, METH_VARARGS, NULL},
	 { (char *)"iDynamics_RemoveSystems", _wrap_iDynamics_RemoveSystems, METH_VARARGS, NULL},
	 { (char *)"iDynamics_FindSystem", _wrap_iDynamics_FindSystem, METH_VARARGS, NULL},
	 { (char *)"iDynamics_Step", _wrap_iDynamics_Step, METH_VARARGS, NULL},
	 { (char *)"delete_iDynamics", _wrap_delete_iDynamics, METH_VARARGS, NULL},
	 { (char *)"iDynamics_scfGetVersion", _wrap_iDynamics_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iDynamics_swigregister", iDynamics_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_QueryObject", _wrap_iDynamicSystem_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_SetGravity", _wrap_iDynamicSystem_SetGravity, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_GetGravity", _wrap_iDynamicSystem_GetGravity, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_SetLinearDampener", _wrap_iDynamicSystem_SetLinearDampener, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_GetLinearDampener", _wrap_iDynamicSystem_GetLinearDampener, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_SetRollingDampener", _wrap_iDynamicSystem_SetRollingDampener, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_GetRollingDampener", _wrap_iDynamicSystem_GetRollingDampener, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_EnableAutoDisable", _wrap_iDynamicSystem_EnableAutoDisable, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_AutoDisableEnabled", _wrap_iDynamicSystem_AutoDisableEnabled, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_SetAutoDisableParams", _wrap_iDynamicSystem_SetAutoDisableParams, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_Step", _wrap_iDynamicSystem_Step, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_CreateBody", _wrap_iDynamicSystem_CreateBody, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_RemoveBody", _wrap_iDynamicSystem_RemoveBody, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_FindBody", _wrap_iDynamicSystem_FindBody, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_GetBody", _wrap_iDynamicSystem_GetBody, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_GetBodysCount", _wrap_iDynamicSystem_GetBodysCount, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_CreateGroup", _wrap_iDynamicSystem_CreateGroup, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_RemoveGroup", _wrap_iDynamicSystem_RemoveGroup, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_CreateJoint", _wrap_iDynamicSystem_CreateJoint, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_RemoveJoint", _wrap_iDynamicSystem_RemoveJoint, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_GetDefaultMoveCallback", _wrap_iDynamicSystem_GetDefaultMoveCallback, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_AttachColliderMesh", _wrap_iDynamicSystem_AttachColliderMesh, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_AttachColliderCylinder", _wrap_iDynamicSystem_AttachColliderCylinder, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_AttachColliderBox", _wrap_iDynamicSystem_AttachColliderBox, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_AttachColliderSphere", _wrap_iDynamicSystem_AttachColliderSphere, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_AttachColliderPlane", _wrap_iDynamicSystem_AttachColliderPlane, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_DestroyColliders", _wrap_iDynamicSystem_DestroyColliders, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_DestroyCollider", _wrap_iDynamicSystem_DestroyCollider, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_AttachCollider", _wrap_iDynamicSystem_AttachCollider, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_CreateCollider", _wrap_iDynamicSystem_CreateCollider, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_GetCollider", _wrap_iDynamicSystem_GetCollider, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_GetColliderCount", _wrap_iDynamicSystem_GetColliderCount, METH_VARARGS, NULL},
	 { (char *)"delete_iDynamicSystem", _wrap_delete_iDynamicSystem, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_scfGetVersion", _wrap_iDynamicSystem_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iDynamicSystem_swigregister", iDynamicSystem_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDynamicsMoveCallback_Execute", _wrap_iDynamicsMoveCallback_Execute, METH_VARARGS, NULL},
	 { (char *)"delete_iDynamicsMoveCallback", _wrap_delete_iDynamicsMoveCallback, METH_VARARGS, NULL},
	 { (char *)"iDynamicsMoveCallback_swigregister", iDynamicsMoveCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDynamicsCollisionCallback_Execute", _wrap_iDynamicsCollisionCallback_Execute, METH_VARARGS, NULL},
	 { (char *)"delete_iDynamicsCollisionCallback", _wrap_delete_iDynamicsCollisionCallback, METH_VARARGS, NULL},
	 { (char *)"iDynamicsCollisionCallback_swigregister", iDynamicsCollisionCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iBodyGroup_AddBody", _wrap_iBodyGroup_AddBody, METH_VARARGS, NULL},
	 { (char *)"iBodyGroup_RemoveBody", _wrap_iBodyGroup_RemoveBody, METH_VARARGS, NULL},
	 { (char *)"iBodyGroup_BodyInGroup", _wrap_iBodyGroup_BodyInGroup, METH_VARARGS, NULL},
	 { (char *)"delete_iBodyGroup", _wrap_delete_iBodyGroup, METH_VARARGS, NULL},
	 { (char *)"iBodyGroup_scfGetVersion", _wrap_iBodyGroup_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iBodyGroup_swigregister", iBodyGroup_swigregister, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_QueryObject", _wrap_iRigidBody_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_MakeStatic", _wrap_iRigidBody_MakeStatic, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_MakeDynamic", _wrap_iRigidBody_MakeDynamic, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_IsStatic", _wrap_iRigidBody_IsStatic, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_Disable", _wrap_iRigidBody_Disable, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_Enable", _wrap_iRigidBody_Enable, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_IsEnabled", _wrap_iRigidBody_IsEnabled, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetGroup", _wrap_iRigidBody_GetGroup, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AttachColliderMesh", _wrap_iRigidBody_AttachColliderMesh, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AttachColliderCylinder", _wrap_iRigidBody_AttachColliderCylinder, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AttachColliderBox", _wrap_iRigidBody_AttachColliderBox, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AttachColliderSphere", _wrap_iRigidBody_AttachColliderSphere, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AttachColliderPlane", _wrap_iRigidBody_AttachColliderPlane, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AttachCollider", _wrap_iRigidBody_AttachCollider, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_DestroyColliders", _wrap_iRigidBody_DestroyColliders, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_DestroyCollider", _wrap_iRigidBody_DestroyCollider, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_SetPosition", _wrap_iRigidBody_SetPosition, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetPosition", _wrap_iRigidBody_GetPosition, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_SetOrientation", _wrap_iRigidBody_SetOrientation, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetOrientation", _wrap_iRigidBody_GetOrientation, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_SetTransform", _wrap_iRigidBody_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetTransform", _wrap_iRigidBody_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_SetLinearVelocity", _wrap_iRigidBody_SetLinearVelocity, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetLinearVelocity", _wrap_iRigidBody_GetLinearVelocity, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_SetAngularVelocity", _wrap_iRigidBody_SetAngularVelocity, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetAngularVelocity", _wrap_iRigidBody_GetAngularVelocity, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_SetProperties", _wrap_iRigidBody_SetProperties, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetProperties", _wrap_iRigidBody_GetProperties, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetMass", _wrap_iRigidBody_GetMass, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetCenter", _wrap_iRigidBody_GetCenter, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetInertia", _wrap_iRigidBody_GetInertia, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AdjustTotalMass", _wrap_iRigidBody_AdjustTotalMass, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AddForce", _wrap_iRigidBody_AddForce, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AddTorque", _wrap_iRigidBody_AddTorque, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AddRelForce", _wrap_iRigidBody_AddRelForce, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AddRelTorque", _wrap_iRigidBody_AddRelTorque, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AddForceAtPos", _wrap_iRigidBody_AddForceAtPos, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AddForceAtRelPos", _wrap_iRigidBody_AddForceAtRelPos, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AddRelForceAtPos", _wrap_iRigidBody_AddRelForceAtPos, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AddRelForceAtRelPos", _wrap_iRigidBody_AddRelForceAtRelPos, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetForce", _wrap_iRigidBody_GetForce, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetTorque", _wrap_iRigidBody_GetTorque, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AttachMesh", _wrap_iRigidBody_AttachMesh, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetAttachedMesh", _wrap_iRigidBody_GetAttachedMesh, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AttachLight", _wrap_iRigidBody_AttachLight, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetAttachedLight", _wrap_iRigidBody_GetAttachedLight, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_AttachCamera", _wrap_iRigidBody_AttachCamera, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetAttachedCamera", _wrap_iRigidBody_GetAttachedCamera, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_SetMoveCallback", _wrap_iRigidBody_SetMoveCallback, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_SetCollisionCallback", _wrap_iRigidBody_SetCollisionCallback, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_Collision", _wrap_iRigidBody_Collision, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_Update", _wrap_iRigidBody_Update, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetCollider", _wrap_iRigidBody_GetCollider, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_GetColliderCount", _wrap_iRigidBody_GetColliderCount, METH_VARARGS, NULL},
	 { (char *)"delete_iRigidBody", _wrap_delete_iRigidBody, METH_VARARGS, NULL},
	 { (char *)"iRigidBody_swigregister", iRigidBody_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDynamicsColliderCollisionCallback_Execute", _wrap_iDynamicsColliderCollisionCallback_Execute, METH_VARARGS, NULL},
	 { (char *)"delete_iDynamicsColliderCollisionCallback", _wrap_delete_iDynamicsColliderCollisionCallback, METH_VARARGS, NULL},
	 { (char *)"iDynamicsColliderCollisionCallback_swigregister", iDynamicsColliderCollisionCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_CreateSphereGeometry", _wrap_iDynamicsSystemCollider_CreateSphereGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_CreatePlaneGeometry", _wrap_iDynamicsSystemCollider_CreatePlaneGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_CreateMeshGeometry", _wrap_iDynamicsSystemCollider_CreateMeshGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_CreateBoxGeometry", _wrap_iDynamicsSystemCollider_CreateBoxGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_CreateCCylinderGeometry", _wrap_iDynamicsSystemCollider_CreateCCylinderGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_SetCollisionCallback", _wrap_iDynamicsSystemCollider_SetCollisionCallback, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_SetFriction", _wrap_iDynamicsSystemCollider_SetFriction, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_SetSoftness", _wrap_iDynamicsSystemCollider_SetSoftness, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_SetDensity", _wrap_iDynamicsSystemCollider_SetDensity, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_SetElasticity", _wrap_iDynamicsSystemCollider_SetElasticity, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetFriction", _wrap_iDynamicsSystemCollider_GetFriction, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetSoftness", _wrap_iDynamicsSystemCollider_GetSoftness, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetDensity", _wrap_iDynamicsSystemCollider_GetDensity, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetElasticity", _wrap_iDynamicsSystemCollider_GetElasticity, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_FillWithColliderGeometry", _wrap_iDynamicsSystemCollider_FillWithColliderGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetGeometryType", _wrap_iDynamicsSystemCollider_GetGeometryType, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetTransform", _wrap_iDynamicsSystemCollider_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetLocalTransform", _wrap_iDynamicsSystemCollider_GetLocalTransform, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_SetTransform", _wrap_iDynamicsSystemCollider_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetBoxGeometry", _wrap_iDynamicsSystemCollider_GetBoxGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetSphereGeometry", _wrap_iDynamicsSystemCollider_GetSphereGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetPlaneGeometry", _wrap_iDynamicsSystemCollider_GetPlaneGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_GetCylinderGeometry", _wrap_iDynamicsSystemCollider_GetCylinderGeometry, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_MakeStatic", _wrap_iDynamicsSystemCollider_MakeStatic, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_MakeDynamic", _wrap_iDynamicsSystemCollider_MakeDynamic, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_IsStatic", _wrap_iDynamicsSystemCollider_IsStatic, METH_VARARGS, NULL},
	 { (char *)"delete_iDynamicsSystemCollider", _wrap_delete_iDynamicsSystemCollider, METH_VARARGS, NULL},
	 { (char *)"iDynamicsSystemCollider_swigregister", iDynamicsSystemCollider_swigregister, METH_VARARGS, NULL},
	 { (char *)"iJoint_Attach", _wrap_iJoint_Attach, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetAttachedBody", _wrap_iJoint_GetAttachedBody, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetTransform", _wrap_iJoint_SetTransform, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetTransform", _wrap_iJoint_GetTransform, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetTransConstraints", _wrap_iJoint_SetTransConstraints, METH_VARARGS, NULL},
	 { (char *)"iJoint_IsXTransConstrained", _wrap_iJoint_IsXTransConstrained, METH_VARARGS, NULL},
	 { (char *)"iJoint_IsYTransConstrained", _wrap_iJoint_IsYTransConstrained, METH_VARARGS, NULL},
	 { (char *)"iJoint_IsZTransConstrained", _wrap_iJoint_IsZTransConstrained, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetMinimumDistance", _wrap_iJoint_SetMinimumDistance, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetMinimumDistance", _wrap_iJoint_GetMinimumDistance, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetMaximumDistance", _wrap_iJoint_SetMaximumDistance, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetMaximumDistance", _wrap_iJoint_GetMaximumDistance, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetRotConstraints", _wrap_iJoint_SetRotConstraints, METH_VARARGS, NULL},
	 { (char *)"iJoint_IsXRotConstrained", _wrap_iJoint_IsXRotConstrained, METH_VARARGS, NULL},
	 { (char *)"iJoint_IsYRotConstrained", _wrap_iJoint_IsYRotConstrained, METH_VARARGS, NULL},
	 { (char *)"iJoint_IsZRotConstrained", _wrap_iJoint_IsZRotConstrained, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetMinimumAngle", _wrap_iJoint_SetMinimumAngle, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetMinimumAngle", _wrap_iJoint_GetMinimumAngle, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetMaximumAngle", _wrap_iJoint_SetMaximumAngle, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetMaximumAngle", _wrap_iJoint_GetMaximumAngle, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetBounce", _wrap_iJoint_SetBounce, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetBounce", _wrap_iJoint_GetBounce, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetDesiredVelocity", _wrap_iJoint_SetDesiredVelocity, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetDesiredVelocity", _wrap_iJoint_GetDesiredVelocity, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetMaxForce", _wrap_iJoint_SetMaxForce, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetMaxForce", _wrap_iJoint_GetMaxForce, METH_VARARGS, NULL},
	 { (char *)"iJoint_SetAngularConstraintAxis", _wrap_iJoint_SetAngularConstraintAxis, METH_VARARGS, NULL},
	 { (char *)"iJoint_GetAngularConstraintAxis", _wrap_iJoint_GetAngularConstraintAxis, METH_VARARGS, NULL},
	 { (char *)"delete_iJoint", _wrap_delete_iJoint, METH_VARARGS, NULL},
	 { (char *)"iJoint_scfGetVersion", _wrap_iJoint_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iJoint_swigregister", iJoint_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEFrameUpdateCallback_Execute", _wrap_iODEFrameUpdateCallback_Execute, METH_VARARGS, NULL},
	 { (char *)"delete_iODEFrameUpdateCallback", _wrap_delete_iODEFrameUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iODEFrameUpdateCallback_swigregister", iODEFrameUpdateCallback_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_SetGlobalERP", _wrap_iODEDynamicState_SetGlobalERP, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_GlobalERP", _wrap_iODEDynamicState_GlobalERP, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_SetGlobalCFM", _wrap_iODEDynamicState_SetGlobalCFM, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_GlobalCFM", _wrap_iODEDynamicState_GlobalCFM, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_EnableStepFast", _wrap_iODEDynamicState_EnableStepFast, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_StepFastEnabled", _wrap_iODEDynamicState_StepFastEnabled, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_SetStepFastIterations", _wrap_iODEDynamicState_SetStepFastIterations, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_StepFastIterations", _wrap_iODEDynamicState_StepFastIterations, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_EnableQuickStep", _wrap_iODEDynamicState_EnableQuickStep, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_QuickStepEnabled", _wrap_iODEDynamicState_QuickStepEnabled, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_SetQuickStepIterations", _wrap_iODEDynamicState_SetQuickStepIterations, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_QuickStepIterations", _wrap_iODEDynamicState_QuickStepIterations, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_EnableFrameRate", _wrap_iODEDynamicState_EnableFrameRate, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_FrameRateEnabled", _wrap_iODEDynamicState_FrameRateEnabled, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_SetFrameRate", _wrap_iODEDynamicState_SetFrameRate, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_FrameRate", _wrap_iODEDynamicState_FrameRate, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_SetFrameLimit", _wrap_iODEDynamicState_SetFrameLimit, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_FrameLimit", _wrap_iODEDynamicState_FrameLimit, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_AddFrameUpdateCallback", _wrap_iODEDynamicState_AddFrameUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_RemoveFrameUpdateCallback", _wrap_iODEDynamicState_RemoveFrameUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_EnableEventProcessing", _wrap_iODEDynamicState_EnableEventProcessing, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_EventProcessingEnabled", _wrap_iODEDynamicState_EventProcessingEnabled, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_EnableFastObjects", _wrap_iODEDynamicState_EnableFastObjects, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_FastObjectsEnabled", _wrap_iODEDynamicState_FastObjectsEnabled, METH_VARARGS, NULL},
	 { (char *)"delete_iODEDynamicState", _wrap_delete_iODEDynamicState, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_scfGetVersion", _wrap_iODEDynamicState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicState_swigregister", iODEDynamicState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_SetERP", _wrap_iODEDynamicSystemState_SetERP, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_ERP", _wrap_iODEDynamicSystemState_ERP, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_SetCFM", _wrap_iODEDynamicSystemState_SetCFM, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_CFM", _wrap_iODEDynamicSystemState_CFM, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_EnableStepFast", _wrap_iODEDynamicSystemState_EnableStepFast, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_StepFastEnabled", _wrap_iODEDynamicSystemState_StepFastEnabled, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_SetStepFastIterations", _wrap_iODEDynamicSystemState_SetStepFastIterations, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_StepFastIterations", _wrap_iODEDynamicSystemState_StepFastIterations, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_EnableQuickStep", _wrap_iODEDynamicSystemState_EnableQuickStep, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_QuickStepEnabled", _wrap_iODEDynamicSystemState_QuickStepEnabled, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_SetQuickStepIterations", _wrap_iODEDynamicSystemState_SetQuickStepIterations, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_QuickStepIterations", _wrap_iODEDynamicSystemState_QuickStepIterations, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_EnableAutoDisable", _wrap_iODEDynamicSystemState_EnableAutoDisable, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_AutoDisableEnabled", _wrap_iODEDynamicSystemState_AutoDisableEnabled, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_SetAutoDisableParams", _wrap_iODEDynamicSystemState_SetAutoDisableParams, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_EnableFrameRate", _wrap_iODEDynamicSystemState_EnableFrameRate, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_FrameRateEnabled", _wrap_iODEDynamicSystemState_FrameRateEnabled, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_SetFrameRate", _wrap_iODEDynamicSystemState_SetFrameRate, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_FrameRate", _wrap_iODEDynamicSystemState_FrameRate, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_SetFrameLimit", _wrap_iODEDynamicSystemState_SetFrameLimit, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_FrameLimit", _wrap_iODEDynamicSystemState_FrameLimit, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_AddFrameUpdateCallback", _wrap_iODEDynamicSystemState_AddFrameUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_RemoveFrameUpdateCallback", _wrap_iODEDynamicSystemState_RemoveFrameUpdateCallback, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_EnableFastObjects", _wrap_iODEDynamicSystemState_EnableFastObjects, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_FastObjectsEnabled", _wrap_iODEDynamicSystemState_FastObjectsEnabled, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_CreateBallJoint", _wrap_iODEDynamicSystemState_CreateBallJoint, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_CreateHingeJoint", _wrap_iODEDynamicSystemState_CreateHingeJoint, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_CreateHinge2Joint", _wrap_iODEDynamicSystemState_CreateHinge2Joint, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_CreateAMotorJoint", _wrap_iODEDynamicSystemState_CreateAMotorJoint, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_CreateUniversalJoint", _wrap_iODEDynamicSystemState_CreateUniversalJoint, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_CreateSliderJoint", _wrap_iODEDynamicSystemState_CreateSliderJoint, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_RemoveJoint", _wrap_iODEDynamicSystemState_RemoveJoint, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_SetContactMaxCorrectingVel", _wrap_iODEDynamicSystemState_SetContactMaxCorrectingVel, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_GetContactMaxCorrectingVel", _wrap_iODEDynamicSystemState_GetContactMaxCorrectingVel, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_SetContactSurfaceLayer", _wrap_iODEDynamicSystemState_SetContactSurfaceLayer, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_GetContactSurfaceLayer", _wrap_iODEDynamicSystemState_GetContactSurfaceLayer, METH_VARARGS, NULL},
	 { (char *)"delete_iODEDynamicSystemState", _wrap_delete_iODEDynamicSystemState, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_scfGetVersion", _wrap_iODEDynamicSystemState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iODEDynamicSystemState_swigregister", iODEDynamicSystemState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetType", _wrap_iODEJointState_GetType, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetLoStop", _wrap_iODEJointState_SetLoStop, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetHiStop", _wrap_iODEJointState_SetHiStop, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetVel", _wrap_iODEJointState_SetVel, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetFMax", _wrap_iODEJointState_SetFMax, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetFudgeFactor", _wrap_iODEJointState_SetFudgeFactor, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetBounce", _wrap_iODEJointState_SetBounce, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetCFM", _wrap_iODEJointState_SetCFM, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetStopERP", _wrap_iODEJointState_SetStopERP, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetStopCFM", _wrap_iODEJointState_SetStopCFM, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetSuspensionERP", _wrap_iODEJointState_SetSuspensionERP, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_SetSuspensionCFM", _wrap_iODEJointState_SetSuspensionCFM, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetLoStop", _wrap_iODEJointState_GetLoStop, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetHiStop", _wrap_iODEJointState_GetHiStop, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetVel", _wrap_iODEJointState_GetVel, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetMaxForce", _wrap_iODEJointState_GetMaxForce, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetFudgeFactor", _wrap_iODEJointState_GetFudgeFactor, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetBounce", _wrap_iODEJointState_GetBounce, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetCFM", _wrap_iODEJointState_GetCFM, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetStopERP", _wrap_iODEJointState_GetStopERP, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetStopCFM", _wrap_iODEJointState_GetStopCFM, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetSuspensionERP", _wrap_iODEJointState_GetSuspensionERP, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_GetSuspensionCFM", _wrap_iODEJointState_GetSuspensionCFM, METH_VARARGS, NULL},
	 { (char *)"delete_iODEJointState", _wrap_delete_iODEJointState, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_scfGetVersion", _wrap_iODEJointState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iODEJointState_swigregister", iODEJointState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetLoStop", _wrap_iODEGeneralJointState_SetLoStop, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetHiStop", _wrap_iODEGeneralJointState_SetHiStop, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetVel", _wrap_iODEGeneralJointState_SetVel, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetFMax", _wrap_iODEGeneralJointState_SetFMax, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetFudgeFactor", _wrap_iODEGeneralJointState_SetFudgeFactor, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetBounce", _wrap_iODEGeneralJointState_SetBounce, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetCFM", _wrap_iODEGeneralJointState_SetCFM, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetStopERP", _wrap_iODEGeneralJointState_SetStopERP, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetStopCFM", _wrap_iODEGeneralJointState_SetStopCFM, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetSuspensionERP", _wrap_iODEGeneralJointState_SetSuspensionERP, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_SetSuspensionCFM", _wrap_iODEGeneralJointState_SetSuspensionCFM, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetLoStop", _wrap_iODEGeneralJointState_GetLoStop, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetHiStop", _wrap_iODEGeneralJointState_GetHiStop, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetVel", _wrap_iODEGeneralJointState_GetVel, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetFMax", _wrap_iODEGeneralJointState_GetFMax, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetFudgeFactor", _wrap_iODEGeneralJointState_GetFudgeFactor, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetBounce", _wrap_iODEGeneralJointState_GetBounce, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetCFM", _wrap_iODEGeneralJointState_GetCFM, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetStopERP", _wrap_iODEGeneralJointState_GetStopERP, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetStopCFM", _wrap_iODEGeneralJointState_GetStopCFM, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetSuspensionERP", _wrap_iODEGeneralJointState_GetSuspensionERP, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetSuspensionCFM", _wrap_iODEGeneralJointState_GetSuspensionCFM, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_Attach", _wrap_iODEGeneralJointState_Attach, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetAttachedBody", _wrap_iODEGeneralJointState_GetAttachedBody, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetFeedbackForce1", _wrap_iODEGeneralJointState_GetFeedbackForce1, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetFeedbackTorque1", _wrap_iODEGeneralJointState_GetFeedbackTorque1, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetFeedbackForce2", _wrap_iODEGeneralJointState_GetFeedbackForce2, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_GetFeedbackTorque2", _wrap_iODEGeneralJointState_GetFeedbackTorque2, METH_VARARGS, NULL},
	 { (char *)"delete_iODEGeneralJointState", _wrap_delete_iODEGeneralJointState, METH_VARARGS, NULL},
	 { (char *)"iODEGeneralJointState_swigregister", iODEGeneralJointState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODESliderJoint_SetSliderAxis", _wrap_iODESliderJoint_SetSliderAxis, METH_VARARGS, NULL},
	 { (char *)"iODESliderJoint_GetSliderAxis", _wrap_iODESliderJoint_GetSliderAxis, METH_VARARGS, NULL},
	 { (char *)"iODESliderJoint_GetSliderPosition", _wrap_iODESliderJoint_GetSliderPosition, METH_VARARGS, NULL},
	 { (char *)"iODESliderJoint_GetSliderPositionRate", _wrap_iODESliderJoint_GetSliderPositionRate, METH_VARARGS, NULL},
	 { (char *)"delete_iODESliderJoint", _wrap_delete_iODESliderJoint, METH_VARARGS, NULL},
	 { (char *)"iODESliderJoint_scfGetVersion", _wrap_iODESliderJoint_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iODESliderJoint_swigregister", iODESliderJoint_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEUniversalJoint_SetUniversalAnchor", _wrap_iODEUniversalJoint_SetUniversalAnchor, METH_VARARGS, NULL},
	 { (char *)"iODEUniversalJoint_SetUniversalAxis1", _wrap_iODEUniversalJoint_SetUniversalAxis1, METH_VARARGS, NULL},
	 { (char *)"iODEUniversalJoint_SetUniversalAxis2", _wrap_iODEUniversalJoint_SetUniversalAxis2, METH_VARARGS, NULL},
	 { (char *)"iODEUniversalJoint_GetUniversalAnchor1", _wrap_iODEUniversalJoint_GetUniversalAnchor1, METH_VARARGS, NULL},
	 { (char *)"iODEUniversalJoint_GetUniversalAnchor2", _wrap_iODEUniversalJoint_GetUniversalAnchor2, METH_VARARGS, NULL},
	 { (char *)"iODEUniversalJoint_GetUniversalAxis1", _wrap_iODEUniversalJoint_GetUniversalAxis1, METH_VARARGS, NULL},
	 { (char *)"iODEUniversalJoint_GetUniversalAxis2", _wrap_iODEUniversalJoint_GetUniversalAxis2, METH_VARARGS, NULL},
	 { (char *)"delete_iODEUniversalJoint", _wrap_delete_iODEUniversalJoint, METH_VARARGS, NULL},
	 { (char *)"iODEUniversalJoint_scfGetVersion", _wrap_iODEUniversalJoint_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iODEUniversalJoint_swigregister", iODEUniversalJoint_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_SetAMotorMode", _wrap_iODEAMotorJoint_SetAMotorMode, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_GetAMotorMode", _wrap_iODEAMotorJoint_GetAMotorMode, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_SetAMotorNumAxes", _wrap_iODEAMotorJoint_SetAMotorNumAxes, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_GetAMotorNumAxes", _wrap_iODEAMotorJoint_GetAMotorNumAxes, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_SetAMotorAxis", _wrap_iODEAMotorJoint_SetAMotorAxis, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_GetAMotorAxis", _wrap_iODEAMotorJoint_GetAMotorAxis, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_GetAMotorAxisRelOrientation", _wrap_iODEAMotorJoint_GetAMotorAxisRelOrientation, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_SetAMotorAngle", _wrap_iODEAMotorJoint_SetAMotorAngle, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_GetAMotorAngle", _wrap_iODEAMotorJoint_GetAMotorAngle, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_GetAMotorAngleRate", _wrap_iODEAMotorJoint_GetAMotorAngleRate, METH_VARARGS, NULL},
	 { (char *)"delete_iODEAMotorJoint", _wrap_delete_iODEAMotorJoint, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_scfGetVersion", _wrap_iODEAMotorJoint_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iODEAMotorJoint_swigregister", iODEAMotorJoint_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_SetHingeAnchor", _wrap_iODEHinge2Joint_SetHingeAnchor, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_SetHingeAxis1", _wrap_iODEHinge2Joint_SetHingeAxis1, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_SetHingeAxis2", _wrap_iODEHinge2Joint_SetHingeAxis2, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_GetHingeAnchor1", _wrap_iODEHinge2Joint_GetHingeAnchor1, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_GetHingeAnchor2", _wrap_iODEHinge2Joint_GetHingeAnchor2, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_GetHingeAxis1", _wrap_iODEHinge2Joint_GetHingeAxis1, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_GetHingeAxis2", _wrap_iODEHinge2Joint_GetHingeAxis2, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_GetHingeAngle", _wrap_iODEHinge2Joint_GetHingeAngle, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_GetHingeAngleRate1", _wrap_iODEHinge2Joint_GetHingeAngleRate1, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_GetHingeAngleRate2", _wrap_iODEHinge2Joint_GetHingeAngleRate2, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_GetAnchorError", _wrap_iODEHinge2Joint_GetAnchorError, METH_VARARGS, NULL},
	 { (char *)"delete_iODEHinge2Joint", _wrap_delete_iODEHinge2Joint, METH_VARARGS, NULL},
	 { (char *)"iODEHinge2Joint_swigregister", iODEHinge2Joint_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_SetHingeAnchor", _wrap_iODEHingeJoint_SetHingeAnchor, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_SetHingeAxis", _wrap_iODEHingeJoint_SetHingeAxis, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_GetHingeAnchor1", _wrap_iODEHingeJoint_GetHingeAnchor1, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_GetHingeAnchor2", _wrap_iODEHingeJoint_GetHingeAnchor2, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_GetHingeAxis", _wrap_iODEHingeJoint_GetHingeAxis, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_GetHingeAngle", _wrap_iODEHingeJoint_GetHingeAngle, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_GetHingeAngleRate", _wrap_iODEHingeJoint_GetHingeAngleRate, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_GetAnchorError", _wrap_iODEHingeJoint_GetAnchorError, METH_VARARGS, NULL},
	 { (char *)"delete_iODEHingeJoint", _wrap_delete_iODEHingeJoint, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_scfGetVersion", _wrap_iODEHingeJoint_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iODEHingeJoint_swigregister", iODEHingeJoint_swigregister, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_SetBallAnchor", _wrap_iODEBallJoint_SetBallAnchor, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_GetBallAnchor1", _wrap_iODEBallJoint_GetBallAnchor1, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_GetBallAnchor2", _wrap_iODEBallJoint_GetBallAnchor2, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_GetAnchorError", _wrap_iODEBallJoint_GetAnchorError, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_Attach", _wrap_iODEBallJoint_Attach, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_GetAttachedBody", _wrap_iODEBallJoint_GetAttachedBody, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_GetFeedbackForce1", _wrap_iODEBallJoint_GetFeedbackForce1, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_GetFeedbackTorque1", _wrap_iODEBallJoint_GetFeedbackTorque1, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_GetFeedbackForce2", _wrap_iODEBallJoint_GetFeedbackForce2, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_GetFeedbackTorque2", _wrap_iODEBallJoint_GetFeedbackTorque2, METH_VARARGS, NULL},
	 { (char *)"delete_iODEBallJoint", _wrap_delete_iODEBallJoint, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_scfGetVersion", _wrap_iODEBallJoint_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iODEBallJoint_swigregister", iODEBallJoint_swigregister, METH_VARARGS, NULL},
	 { (char *)"iParameterESM_GetValue", _wrap_iParameterESM_GetValue, METH_VARARGS, NULL},
	 { (char *)"iParameterESM_IsConstant", _wrap_iParameterESM_IsConstant, METH_VARARGS, NULL},
	 { (char *)"delete_iParameterESM", _wrap_delete_iParameterESM, METH_VARARGS, NULL},
	 { (char *)"iParameterESM_swigregister", iParameterESM_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceParameters_GetParameterCount", _wrap_iEngineSequenceParameters_GetParameterCount, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceParameters_GetParameter", _wrap_iEngineSequenceParameters_GetParameter, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceParameters_GetParameterIdx", _wrap_iEngineSequenceParameters_GetParameterIdx, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceParameters_GetParameterName", _wrap_iEngineSequenceParameters_GetParameterName, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceParameters_AddParameter", _wrap_iEngineSequenceParameters_AddParameter, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceParameters_SetParameter", _wrap_iEngineSequenceParameters_SetParameter, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceParameters_CreateParameterESM", _wrap_iEngineSequenceParameters_CreateParameterESM, METH_VARARGS, NULL},
	 { (char *)"delete_iEngineSequenceParameters", _wrap_delete_iEngineSequenceParameters, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceParameters_swigregister", iEngineSequenceParameters_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_QueryObject", _wrap_iSequenceWrapper_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_GetSequence", _wrap_iSequenceWrapper_GetSequence, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_CreateBaseParameterBlock", _wrap_iSequenceWrapper_CreateBaseParameterBlock, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_GetBaseParameterBlock", _wrap_iSequenceWrapper_GetBaseParameterBlock, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_CreateParameterBlock", _wrap_iSequenceWrapper_CreateParameterBlock, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationSetVariable", _wrap_iSequenceWrapper_AddOperationSetVariable, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationSetMaterial", _wrap_iSequenceWrapper_AddOperationSetMaterial, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationSetPolygonMaterial", _wrap_iSequenceWrapper_AddOperationSetPolygonMaterial, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationSetLight", _wrap_iSequenceWrapper_AddOperationSetLight, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationFadeLight", _wrap_iSequenceWrapper_AddOperationFadeLight, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationSetAmbient", _wrap_iSequenceWrapper_AddOperationSetAmbient, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationFadeAmbient", _wrap_iSequenceWrapper_AddOperationFadeAmbient, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationRandomDelay", _wrap_iSequenceWrapper_AddOperationRandomDelay, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationSetMeshColor", _wrap_iSequenceWrapper_AddOperationSetMeshColor, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationFadeMeshColor", _wrap_iSequenceWrapper_AddOperationFadeMeshColor, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationSetFog", _wrap_iSequenceWrapper_AddOperationSetFog, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationFadeFog", _wrap_iSequenceWrapper_AddOperationFadeFog, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationRotateDuration", _wrap_iSequenceWrapper_AddOperationRotateDuration, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationMoveDuration", _wrap_iSequenceWrapper_AddOperationMoveDuration, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationTriggerState", _wrap_iSequenceWrapper_AddOperationTriggerState, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationCheckTrigger", _wrap_iSequenceWrapper_AddOperationCheckTrigger, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_AddOperationTestTrigger", _wrap_iSequenceWrapper_AddOperationTestTrigger, METH_VARARGS, NULL},
	 { (char *)"delete_iSequenceWrapper", _wrap_delete_iSequenceWrapper, METH_VARARGS, NULL},
	 { (char *)"iSequenceWrapper_swigregister", iSequenceWrapper_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_QueryObject", _wrap_iSequenceTrigger_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_AddConditionInSector", _wrap_iSequenceTrigger_AddConditionInSector, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_AddConditionSectorVisible", _wrap_iSequenceTrigger_AddConditionSectorVisible, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_AddConditionMeshClick", _wrap_iSequenceTrigger_AddConditionMeshClick, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_AddConditionLightChange", _wrap_iSequenceTrigger_AddConditionLightChange, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_AddConditionManual", _wrap_iSequenceTrigger_AddConditionManual, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_SetEnabled", _wrap_iSequenceTrigger_SetEnabled, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_IsEnabled", _wrap_iSequenceTrigger_IsEnabled, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_ClearConditions", _wrap_iSequenceTrigger_ClearConditions, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_Trigger", _wrap_iSequenceTrigger_Trigger, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_SetParameters", _wrap_iSequenceTrigger_SetParameters, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_GetParameters", _wrap_iSequenceTrigger_GetParameters, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_FireSequence", _wrap_iSequenceTrigger_FireSequence, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_GetFiredSequence", _wrap_iSequenceTrigger_GetFiredSequence, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_TestConditions", _wrap_iSequenceTrigger_TestConditions, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_CheckState", _wrap_iSequenceTrigger_CheckState, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_ForceFire", _wrap_iSequenceTrigger_ForceFire, METH_VARARGS, NULL},
	 { (char *)"delete_iSequenceTrigger", _wrap_delete_iSequenceTrigger, METH_VARARGS, NULL},
	 { (char *)"iSequenceTrigger_swigregister", iSequenceTrigger_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSequenceTimedOperation_Do", _wrap_iSequenceTimedOperation_Do, METH_VARARGS, NULL},
	 { (char *)"delete_iSequenceTimedOperation", _wrap_delete_iSequenceTimedOperation, METH_VARARGS, NULL},
	 { (char *)"iSequenceTimedOperation_swigregister", iSequenceTimedOperation_swigregister, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_GetSequenceManager", _wrap_iEngineSequenceManager_GetSequenceManager, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_CreateParameterESM", _wrap_iEngineSequenceManager_CreateParameterESM, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_CreateTrigger", _wrap_iEngineSequenceManager_CreateTrigger, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_RemoveTrigger", _wrap_iEngineSequenceManager_RemoveTrigger, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_RemoveTriggers", _wrap_iEngineSequenceManager_RemoveTriggers, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_GetTriggerCount", _wrap_iEngineSequenceManager_GetTriggerCount, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_GetTrigger", _wrap_iEngineSequenceManager_GetTrigger, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_FindTriggerByName", _wrap_iEngineSequenceManager_FindTriggerByName, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_FireTriggerByName", _wrap_iEngineSequenceManager_FireTriggerByName, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_CreateSequence", _wrap_iEngineSequenceManager_CreateSequence, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_RemoveSequence", _wrap_iEngineSequenceManager_RemoveSequence, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_RemoveSequences", _wrap_iEngineSequenceManager_RemoveSequences, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_GetSequenceCount", _wrap_iEngineSequenceManager_GetSequenceCount, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_GetSequence", _wrap_iEngineSequenceManager_GetSequence, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_FindSequenceByName", _wrap_iEngineSequenceManager_FindSequenceByName, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_RunSequenceByName", _wrap_iEngineSequenceManager_RunSequenceByName, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_FireTimedOperation", _wrap_iEngineSequenceManager_FireTimedOperation, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_DestroyTimedOperations", _wrap_iEngineSequenceManager_DestroyTimedOperations, METH_VARARGS, NULL},
	 { (char *)"delete_iEngineSequenceManager", _wrap_delete_iEngineSequenceManager, METH_VARARGS, NULL},
	 { (char *)"iEngineSequenceManager_swigregister", iEngineSequenceManager_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMovieRecorder_Start", _wrap_iMovieRecorder_Start, METH_VARARGS, NULL},
	 { (char *)"iMovieRecorder_Stop", _wrap_iMovieRecorder_Stop, METH_VARARGS, NULL},
	 { (char *)"iMovieRecorder_IsRecording", _wrap_iMovieRecorder_IsRecording, METH_VARARGS, NULL},
	 { (char *)"iMovieRecorder_Pause", _wrap_iMovieRecorder_Pause, METH_VARARGS, NULL},
	 { (char *)"iMovieRecorder_UnPause", _wrap_iMovieRecorder_UnPause, METH_VARARGS, NULL},
	 { (char *)"iMovieRecorder_IsPaused", _wrap_iMovieRecorder_IsPaused, METH_VARARGS, NULL},
	 { (char *)"delete_iMovieRecorder", _wrap_delete_iMovieRecorder, METH_VARARGS, NULL},
	 { (char *)"iMovieRecorder_scfGetVersion", _wrap_iMovieRecorder_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMovieRecorder_swigregister", iMovieRecorder_swigregister, METH_VARARGS, NULL},
	 { (char *)"iMapNode_QueryObject", _wrap_iMapNode_QueryObject, METH_VARARGS, NULL},
	 { (char *)"iMapNode_SetPosition", _wrap_iMapNode_SetPosition, METH_VARARGS, NULL},
	 { (char *)"iMapNode_GetPosition", _wrap_iMapNode_GetPosition, METH_VARARGS, NULL},
	 { (char *)"iMapNode_SetXVector", _wrap_iMapNode_SetXVector, METH_VARARGS, NULL},
	 { (char *)"iMapNode_GetXVector", _wrap_iMapNode_GetXVector, METH_VARARGS, NULL},
	 { (char *)"iMapNode_SetYVector", _wrap_iMapNode_SetYVector, METH_VARARGS, NULL},
	 { (char *)"iMapNode_GetYVector", _wrap_iMapNode_GetYVector, METH_VARARGS, NULL},
	 { (char *)"iMapNode_SetZVector", _wrap_iMapNode_SetZVector, METH_VARARGS, NULL},
	 { (char *)"iMapNode_GetZVector", _wrap_iMapNode_GetZVector, METH_VARARGS, NULL},
	 { (char *)"iMapNode_SetSector", _wrap_iMapNode_SetSector, METH_VARARGS, NULL},
	 { (char *)"iMapNode_GetSector", _wrap_iMapNode_GetSector, METH_VARARGS, NULL},
	 { (char *)"delete_iMapNode", _wrap_delete_iMapNode, METH_VARARGS, NULL},
	 { (char *)"iMapNode_scfGetVersion", _wrap_iMapNode_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iMapNode_swigregister", iMapNode_swigregister, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_IsType", _wrap_iScriptObject_IsType, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_GetPointer", _wrap_iScriptObject_GetPointer, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_SetPointer", _wrap_iScriptObject_SetPointer, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_IntCall", _wrap_iScriptObject_IntCall, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_FloatCall", _wrap_iScriptObject_FloatCall, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_DoubleCall", _wrap_iScriptObject_DoubleCall, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_Call", _wrap_iScriptObject_Call, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_ObjectCall", _wrap_iScriptObject_ObjectCall, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_SetInt", _wrap_iScriptObject_SetInt, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_SetFloat", _wrap_iScriptObject_SetFloat, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_SetDouble", _wrap_iScriptObject_SetDouble, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_SetString", _wrap_iScriptObject_SetString, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_Set", _wrap_iScriptObject_Set, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_SetTruth", _wrap_iScriptObject_SetTruth, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_GetFloat", _wrap_iScriptObject_GetFloat, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_Get", _wrap_iScriptObject_Get, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_GetTruth", _wrap_iScriptObject_GetTruth, METH_VARARGS, NULL},
	 { (char *)"delete_iScriptObject", _wrap_delete_iScriptObject, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_scfGetVersion", _wrap_iScriptObject_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iScriptObject_swigregister", iScriptObject_swigregister, METH_VARARGS, NULL},
	 { (char *)"iScript_Initialize", _wrap_iScript_Initialize, METH_VARARGS, NULL},
	 { (char *)"iScript_RunText", _wrap_iScript_RunText, METH_VARARGS, NULL},
	 { (char *)"iScript_LoadModule", _wrap_iScript_LoadModule, METH_VARARGS, NULL},
	 { (char *)"iScript_IntCall", _wrap_iScript_IntCall, METH_VARARGS, NULL},
	 { (char *)"iScript_FloatCall", _wrap_iScript_FloatCall, METH_VARARGS, NULL},
	 { (char *)"iScript_DoubleCall", _wrap_iScript_DoubleCall, METH_VARARGS, NULL},
	 { (char *)"iScript_Call", _wrap_iScript_Call, METH_VARARGS, NULL},
	 { (char *)"iScript_ObjectCall", _wrap_iScript_ObjectCall, METH_VARARGS, NULL},
	 { (char *)"iScript_NewObject", _wrap_iScript_NewObject, METH_VARARGS, NULL},
	 { (char *)"iScript_StoreInt", _wrap_iScript_StoreInt, METH_VARARGS, NULL},
	 { (char *)"iScript_StoreFloat", _wrap_iScript_StoreFloat, METH_VARARGS, NULL},
	 { (char *)"iScript_StoreDouble", _wrap_iScript_StoreDouble, METH_VARARGS, NULL},
	 { (char *)"iScript_StoreString", _wrap_iScript_StoreString, METH_VARARGS, NULL},
	 { (char *)"iScript_Store", _wrap_iScript_Store, METH_VARARGS, NULL},
	 { (char *)"iScript_SetTruth", _wrap_iScript_SetTruth, METH_VARARGS, NULL},
	 { (char *)"iScript_RetrieveFloat", _wrap_iScript_RetrieveFloat, METH_VARARGS, NULL},
	 { (char *)"iScript_Retrieve", _wrap_iScript_Retrieve, METH_VARARGS, NULL},
	 { (char *)"iScript_GetTruth", _wrap_iScript_GetTruth, METH_VARARGS, NULL},
	 { (char *)"iScript_Remove", _wrap_iScript_Remove, METH_VARARGS, NULL},
	 { (char *)"delete_iScript", _wrap_delete_iScript, METH_VARARGS, NULL},
	 { (char *)"iScript_scfGetVersion", _wrap_iScript_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iScript_swigregister", iScript_swigregister, METH_VARARGS, NULL},
	 { (char *)"iSimpleFormerState_SetHeightmap", _wrap_iSimpleFormerState_SetHeightmap, METH_VARARGS, NULL},
	 { (char *)"iSimpleFormerState_SetScale", _wrap_iSimpleFormerState_SetScale, METH_VARARGS, NULL},
	 { (char *)"iSimpleFormerState_SetOffset", _wrap_iSimpleFormerState_SetOffset, METH_VARARGS, NULL},
	 { (char *)"iSimpleFormerState_SetIntegerMap", _wrap_iSimpleFormerState_SetIntegerMap, METH_VARARGS, NULL},
	 { (char *)"iSimpleFormerState_SetFloatMap", _wrap_iSimpleFormerState_SetFloatMap, METH_VARARGS, NULL},
	 { (char *)"iSimpleFormerState_GetFloatMap", _wrap_iSimpleFormerState_GetFloatMap, METH_VARARGS, NULL},
	 { (char *)"iSimpleFormerState_SetMaterialScale", _wrap_iSimpleFormerState_SetMaterialScale, METH_VARARGS, NULL},
	 { (char *)"delete_iSimpleFormerState", _wrap_delete_iSimpleFormerState, METH_VARARGS, NULL},
	 { (char *)"iSimpleFormerState_scfGetVersion", _wrap_iSimpleFormerState_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iSimpleFormerState_swigregister", iSimpleFormerState_swigregister, METH_VARARGS, NULL},
	 { (char *)"iTerraFormer_GetSampler", _wrap_iTerraFormer_GetSampler, METH_VARARGS, NULL},
	 { (char *)"iTerraFormer_GetIntegerMapSize", _wrap_iTerraFormer_GetIntegerMapSize, METH_VARARGS, NULL},
	 { (char *)"iTerraFormer_SampleFloat", _wrap_iTerraFormer_SampleFloat, METH_VARARGS, NULL},
	 { (char *)"iTerraFormer_SampleVector2", _wrap_iTerraFormer_SampleVector2, METH_VARARGS, NULL},
	 { (char *)"iTerraFormer_SampleVector3", _wrap_iTerraFormer_SampleVector3, METH_VARARGS, NULL},
	 { (char *)"iTerraFormer_SampleInteger", _wrap_iTerraFormer_SampleInteger, METH_VARARGS, NULL},
	 { (char *)"iTerraFormer_QueryObject", _wrap_iTerraFormer_QueryObject, METH_VARARGS, NULL},
	 { (char *)"delete_iTerraFormer", _wrap_delete_iTerraFormer, METH_VARARGS, NULL},
	 { (char *)"iTerraFormer_scfGetVersion", _wrap_iTerraFormer_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iTerraFormer_swigregister", iTerraFormer_swigregister, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_SampleFloat", _wrap_iTerraSampler_SampleFloat, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_SampleVector2", _wrap_iTerraSampler_SampleVector2, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_SampleVector3", _wrap_iTerraSampler_SampleVector3, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_SampleInteger", _wrap_iTerraSampler_SampleInteger, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_GetMaterialPalette", _wrap_iTerraSampler_GetMaterialPalette, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_GetRegion", _wrap_iTerraSampler_GetRegion, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_GetResolution", _wrap_iTerraSampler_GetResolution, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_GetVersion", _wrap_iTerraSampler_GetVersion, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_Cleanup", _wrap_iTerraSampler_Cleanup, METH_VARARGS, NULL},
	 { (char *)"delete_iTerraSampler", _wrap_delete_iTerraSampler, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_scfGetVersion", _wrap_iTerraSampler_scfGetVersion, METH_VARARGS, NULL},
	 { (char *)"iTerraSampler_swigregister", iTerraSampler_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csObject", _wrap_new_csObject, METH_VARARGS, NULL},
	 { (char *)"delete_csObject", _wrap_delete_csObject, METH_VARARGS, NULL},
	 { (char *)"csObject_SetName", _wrap_csObject_SetName, METH_VARARGS, NULL},
	 { (char *)"csObject_GetName", _wrap_csObject_GetName, METH_VARARGS, NULL},
	 { (char *)"csObject_GetID", _wrap_csObject_GetID, METH_VARARGS, NULL},
	 { (char *)"csObject_SetObjectParent", _wrap_csObject_SetObjectParent, METH_VARARGS, NULL},
	 { (char *)"csObject_GetObjectParent", _wrap_csObject_GetObjectParent, METH_VARARGS, NULL},
	 { (char *)"csObject_ObjAdd", _wrap_csObject_ObjAdd, METH_VARARGS, NULL},
	 { (char *)"csObject_ObjRemove", _wrap_csObject_ObjRemove, METH_VARARGS, NULL},
	 { (char *)"csObject_ObjRemoveAll", _wrap_csObject_ObjRemoveAll, METH_VARARGS, NULL},
	 { (char *)"csObject_ObjAddChildren", _wrap_csObject_ObjAddChildren, METH_VARARGS, NULL},
	 { (char *)"csObject_GetChild", _wrap_csObject_GetChild, METH_VARARGS, NULL},
	 { (char *)"csObject_GetIterator", _wrap_csObject_GetIterator, METH_VARARGS, NULL},
	 { (char *)"csObject_AddNameChangeListener", _wrap_csObject_AddNameChangeListener, METH_VARARGS, NULL},
	 { (char *)"csObject_RemoveNameChangeListener", _wrap_csObject_RemoveNameChangeListener, METH_VARARGS, NULL},
	 { (char *)"csObject_ObjReleaseOld", _wrap_csObject_ObjReleaseOld, METH_VARARGS, NULL},
	 { (char *)"csObject_swigregister", csObject_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csColliderWrapper", _wrap_new_csColliderWrapper, METH_VARARGS, NULL},
	 { (char *)"delete_csColliderWrapper", _wrap_delete_csColliderWrapper, METH_VARARGS, NULL},
	 { (char *)"csColliderWrapper_GetCollider", _wrap_csColliderWrapper_GetCollider, METH_VARARGS, NULL},
	 { (char *)"csColliderWrapper_GetCollideSystem", _wrap_csColliderWrapper_GetCollideSystem, METH_VARARGS, NULL},
	 { (char *)"csColliderWrapper_Collide", _wrap_csColliderWrapper_Collide, METH_VARARGS, NULL},
	 { (char *)"csColliderWrapper_GetColliderWrapper", _wrap_csColliderWrapper_GetColliderWrapper, METH_VARARGS, NULL},
	 { (char *)"csColliderWrapper_swigregister", csColliderWrapper_swigregister, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_closest_tri_set", _wrap_csTraceBeamResult_closest_tri_set, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_closest_tri_get", _wrap_csTraceBeamResult_closest_tri_get, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_closest_isect_set", _wrap_csTraceBeamResult_closest_isect_set, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_closest_isect_get", _wrap_csTraceBeamResult_closest_isect_get, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_closest_mesh_set", _wrap_csTraceBeamResult_closest_mesh_set, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_closest_mesh_get", _wrap_csTraceBeamResult_closest_mesh_get, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_sqdistance_set", _wrap_csTraceBeamResult_sqdistance_set, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_sqdistance_get", _wrap_csTraceBeamResult_sqdistance_get, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_end_sector_set", _wrap_csTraceBeamResult_end_sector_set, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_end_sector_get", _wrap_csTraceBeamResult_end_sector_get, METH_VARARGS, NULL},
	 { (char *)"new_csTraceBeamResult", _wrap_new_csTraceBeamResult, METH_VARARGS, NULL},
	 { (char *)"delete_csTraceBeamResult", _wrap_delete_csTraceBeamResult, METH_VARARGS, NULL},
	 { (char *)"csTraceBeamResult_swigregister", csTraceBeamResult_swigregister, METH_VARARGS, NULL},
	 { (char *)"csColliderHelper_InitializeCollisionWrapper", _wrap_csColliderHelper_InitializeCollisionWrapper, METH_VARARGS, NULL},
	 { (char *)"csColliderHelper_InitializeCollisionWrappers", _wrap_csColliderHelper_InitializeCollisionWrappers, METH_VARARGS, NULL},
	 { (char *)"csColliderHelper_CollideArray", _wrap_csColliderHelper_CollideArray, METH_VARARGS, NULL},
	 { (char *)"csColliderHelper_CollidePath", _wrap_csColliderHelper_CollidePath, METH_VARARGS, NULL},
	 { (char *)"csColliderHelper_TraceBeam", _wrap_csColliderHelper_TraceBeam, METH_VARARGS, NULL},
	 { (char *)"new_csColliderHelper", _wrap_new_csColliderHelper, METH_VARARGS, NULL},
	 { (char *)"delete_csColliderHelper", _wrap_delete_csColliderHelper, METH_VARARGS, NULL},
	 { (char *)"csColliderHelper_swigregister", csColliderHelper_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csColliderActor", _wrap_new_csColliderActor, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_SetCollideSystem", _wrap_csColliderActor_SetCollideSystem, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_SetEngine", _wrap_csColliderActor_SetEngine, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_InitializeColliders", _wrap_csColliderActor_InitializeColliders, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_SetCamera", _wrap_csColliderActor_SetCamera, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_SetGravity", _wrap_csColliderActor_SetGravity, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_GetGravity", _wrap_csColliderActor_GetGravity, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_IsOnGround", _wrap_csColliderActor_IsOnGround, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_SetOnGround", _wrap_csColliderActor_SetOnGround, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_HasCD", _wrap_csColliderActor_HasCD, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_SetCD", _wrap_csColliderActor_SetCD, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_CheckRevertMove", _wrap_csColliderActor_CheckRevertMove, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_EnableHitMeshes", _wrap_csColliderActor_EnableHitMeshes, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_CheckHitMeshes", _wrap_csColliderActor_CheckHitMeshes, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_GetHitMeshes", _wrap_csColliderActor_GetHitMeshes, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_Move", _wrap_csColliderActor_Move, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_GetRotation", _wrap_csColliderActor_GetRotation, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_SetRotation", _wrap_csColliderActor_SetRotation, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_AdjustForCollisions", _wrap_csColliderActor_AdjustForCollisions, METH_VARARGS, NULL},
	 { (char *)"delete_csColliderActor", _wrap_delete_csColliderActor, METH_VARARGS, NULL},
	 { (char *)"csColliderActor_swigregister", csColliderActor_swigregister, METH_VARARGS, NULL},
	 { (char *)"new_csView", _wrap_new_csView, METH_VARARGS, NULL},
	 { (char *)"delete_csView", _wrap_delete_csView, METH_VARARGS, NULL},
	 { (char *)"csView_GetEngine", _wrap_csView_GetEngine, METH_VARARGS, NULL},
	 { (char *)"csView_SetEngine", _wrap_csView_SetEngine, METH_VARARGS, NULL},
	 { (char *)"csView_GetCamera", _wrap_csView_GetCamera, METH_VARARGS, NULL},
	 { (char *)"csView_SetCamera", _wrap_csView_SetCamera, METH_VARARGS, NULL},
	 { (char *)"csView_GetContext", _wrap_csView_GetContext, METH_VARARGS, NULL},
	 { (char *)"csView_SetContext", _wrap_csView_SetContext, METH_VARARGS, NULL},
	 { (char *)"csView_SetRectangle", _wrap_csView_SetRectangle, METH_VARARGS, NULL},
	 { (char *)"csView_ClearView", _wrap_csView_ClearView, METH_VARARGS, NULL},
	 { (char *)"csView_AddViewVertex", _wrap_csView_AddViewVertex, METH_VARARGS, NULL},
	 { (char *)"csView_RestrictClipperToScreen", _wrap_csView_RestrictClipperToScreen, METH_VARARGS, NULL},
	 { (char *)"csView_SetAutoResize", _wrap_csView_SetAutoResize, METH_VARARGS, NULL},
	 { (char *)"csView_UpdateClipper", _wrap_csView_UpdateClipper, METH_VARARGS, NULL},
	 { (char *)"csView_GetClipper", _wrap_csView_GetClipper, METH_VARARGS, NULL},
	 { (char *)"csView_Draw", _wrap_csView_Draw, METH_VARARGS, NULL},
	 { (char *)"csView_swigregister", csView_swigregister, METH_VARARGS, NULL},
	 { (char *)"csfxInterference", _wrap_csfxInterference, METH_VARARGS, NULL},
	 { (char *)"csfxFadeOut", _wrap_csfxFadeOut, METH_VARARGS, NULL},
	 { (char *)"csfxFadeTo", _wrap_csfxFadeTo, METH_VARARGS, NULL},
	 { (char *)"csfxFadeToColor", _wrap_csfxFadeToColor, METH_VARARGS, NULL},
	 { (char *)"csfxGreenScreen", _wrap_csfxGreenScreen, METH_VARARGS, NULL},
	 { (char *)"csfxRedScreen", _wrap_csfxRedScreen, METH_VARARGS, NULL},
	 { (char *)"csfxBlueScreen", _wrap_csfxBlueScreen, METH_VARARGS, NULL},
	 { (char *)"csfxWhiteOut", _wrap_csfxWhiteOut, METH_VARARGS, NULL},
	 { (char *)"csfxShadeVert", _wrap_csfxShadeVert, METH_VARARGS, NULL},
	 { (char *)"csfxScreenDPFX", _wrap_csfxScreenDPFX, METH_VARARGS, NULL},
	 { (char *)"csfxScreenDPFXPartial", _wrap_csfxScreenDPFXPartial, METH_VARARGS, NULL},
	 { (char *)"new_csPixmap", _wrap_new_csPixmap, METH_VARARGS, NULL},
	 { (char *)"delete_csPixmap", _wrap_delete_csPixmap, METH_VARARGS, NULL},
	 { (char *)"csPixmap_SetTextureHandle", _wrap_csPixmap_SetTextureHandle, METH_VARARGS, NULL},
	 { (char *)"csPixmap_SetTextureRectangle", _wrap_csPixmap_SetTextureRectangle, METH_VARARGS, NULL},
	 { (char *)"csPixmap_DrawScaled", _wrap_csPixmap_DrawScaled, METH_VARARGS, NULL},
	 { (char *)"csPixmap_DrawTiled", _wrap_csPixmap_DrawTiled, METH_VARARGS, NULL},
	 { (char *)"csPixmap_Width", _wrap_csPixmap_Width, METH_VARARGS, NULL},
	 { (char *)"csPixmap_Height", _wrap_csPixmap_Height, METH_VARARGS, NULL},
	 { (char *)"csPixmap_Advance", _wrap_csPixmap_Advance, METH_VARARGS, NULL},
	 { (char *)"csPixmap_GetTextureHandle", _wrap_csPixmap_GetTextureHandle, METH_VARARGS, NULL},
	 { (char *)"csPixmap_swigregister", csPixmap_swigregister, METH_VARARGS, NULL},
	 { (char *)"CS_IS_KEYBOARD_EVENT", _wrap_CS_IS_KEYBOARD_EVENT, METH_VARARGS, NULL},
	 { (char *)"CS_IS_MOUSE_EVENT", _wrap_CS_IS_MOUSE_EVENT, METH_VARARGS, NULL},
	 { (char *)"CS_IS_JOYSTICK_EVENT", _wrap_CS_IS_JOYSTICK_EVENT, METH_VARARGS, NULL},
	 { (char *)"CS_IS_INPUT_EVENT", _wrap_CS_IS_INPUT_EVENT, METH_VARARGS, NULL},
	 { (char *)"csevAllEvents", _wrap_csevAllEvents, METH_VARARGS, NULL},
	 { (char *)"csevFrame", _wrap_csevFrame, METH_VARARGS, NULL},
	 { (char *)"csevInput", _wrap_csevInput, METH_VARARGS, NULL},
	 { (char *)"csevQuit", _wrap_csevQuit, METH_VARARGS, NULL},
	 { (char *)"csevKeyboardEvent", _wrap_csevKeyboardEvent, METH_VARARGS, NULL},
	 { (char *)"csevKeyboardDown", _wrap_csevKeyboardDown, METH_VARARGS, NULL},
	 { (char *)"csevKeyboardUp", _wrap_csevKeyboardUp, METH_VARARGS, NULL},
	 { (char *)"csevMouseEvent", _wrap_csevMouseEvent, METH_VARARGS, NULL},
	 { (char *)"csevMouseButton", _wrap_csevMouseButton, METH_VARARGS, NULL},
	 { (char *)"csevMouseUp", _wrap_csevMouseUp, METH_VARARGS, NULL},
	 { (char *)"csevMouseDown", _wrap_csevMouseDown, METH_VARARGS, NULL},
	 { (char *)"csevMouseClick", _wrap_csevMouseClick, METH_VARARGS, NULL},
	 { (char *)"csevMouseDoubleClick", _wrap_csevMouseDoubleClick, METH_VARARGS, NULL},
	 { (char *)"csevMouseMove", _wrap_csevMouseMove, METH_VARARGS, NULL},
	 { (char *)"csevJoystickEvent", _wrap_csevJoystickEvent, METH_VARARGS, NULL},
	 { (char *)"CS_QUERY_REGISTRY_TAG", _wrap_CS_QUERY_REGISTRY_TAG, METH_VARARGS, NULL},
	 { (char *)"CS_LOAD_PLUGIN_ALWAYS", _wrap_CS_LOAD_PLUGIN_ALWAYS, METH_VARARGS, NULL},
	 { (char *)"CS_FX_SETALPHA", _wrap_CS_FX_SETALPHA, METH_VARARGS, NULL},
	 { (char *)"CS_FX_SETALPHA_INT", _wrap_CS_FX_SETALPHA_INT, METH_VARARGS, NULL},
	 { (char *)"CS_QUERY_REGISTRY", _wrap_CS_QUERY_REGISTRY, METH_VARARGS, NULL},
	 { (char *)"CS_QUERY_REGISTRY_TAG_INTERFACE", _wrap_CS_QUERY_REGISTRY_TAG_INTERFACE, METH_VARARGS, NULL},
	 { (char *)"SCF_QUERY_INTERFACE", _wrap_SCF_QUERY_INTERFACE, METH_VARARGS, NULL},
	 { (char *)"SCF_QUERY_INTERFACE_SAFE", _wrap_SCF_QUERY_INTERFACE_SAFE, METH_VARARGS, NULL},
	 { (char *)"CS_QUERY_PLUGIN_CLASS", _wrap_CS_QUERY_PLUGIN_CLASS, METH_VARARGS, NULL},
	 { (char *)"CS_LOAD_PLUGIN", _wrap_CS_LOAD_PLUGIN, METH_VARARGS, NULL},
	 { (char *)"CS_GET_CHILD_OBJECT", _wrap_CS_GET_CHILD_OBJECT, METH_VARARGS, NULL},
	 { (char *)"CS_GET_NAMED_CHILD_OBJECT", _wrap_CS_GET_NAMED_CHILD_OBJECT, METH_VARARGS, NULL},
	 { (char *)"CS_GET_FIRST_NAMED_CHILD_OBJECT", _wrap_CS_GET_FIRST_NAMED_CHILD_OBJECT, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_scfRefCount_set", _wrap__csPyEventHandler_scfRefCount_set, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_scfRefCount_get", _wrap__csPyEventHandler_scfRefCount_get, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_scfWeakRefOwners_set", _wrap__csPyEventHandler_scfWeakRefOwners_set, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_scfWeakRefOwners_get", _wrap__csPyEventHandler_scfWeakRefOwners_get, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_scfRemoveRefOwners", _wrap__csPyEventHandler_scfRemoveRefOwners, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_scfParent_set", _wrap__csPyEventHandler_scfParent_set, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_scfParent_get", _wrap__csPyEventHandler_scfParent_get, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_IncRef", _wrap__csPyEventHandler_IncRef, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_DecRef", _wrap__csPyEventHandler_DecRef, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_GetRefCount", _wrap__csPyEventHandler_GetRefCount, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_AddRefOwner", _wrap__csPyEventHandler_AddRefOwner, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_RemoveRefOwner", _wrap__csPyEventHandler_RemoveRefOwner, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_QueryInterface", _wrap__csPyEventHandler_QueryInterface, METH_VARARGS, NULL},
	 { (char *)"new__csPyEventHandler", _wrap_new__csPyEventHandler, METH_VARARGS, NULL},
	 { (char *)"delete__csPyEventHandler", _wrap_delete__csPyEventHandler, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_HandleEvent", _wrap__csPyEventHandler_HandleEvent, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_StaticHandlerName", _wrap__csPyEventHandler_StaticHandlerName, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_StaticID", _wrap__csPyEventHandler_StaticID, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_GenericName", _wrap__csPyEventHandler_GenericName, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_GenericID", _wrap__csPyEventHandler_GenericID, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_GenericPrec", _wrap__csPyEventHandler_GenericPrec, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_GenericSucc", _wrap__csPyEventHandler_GenericSucc, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_InstancePrec", _wrap__csPyEventHandler_InstancePrec, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_InstanceSucc", _wrap__csPyEventHandler_InstanceSucc, METH_VARARGS, NULL},
	 { (char *)"_csPyEventHandler_swigregister", _csPyEventHandler_swigregister, METH_VARARGS, NULL},
	 { NULL, NULL, 0, NULL }
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static void *_p__csPyEventHandlerTo_p_iEventHandler(void *x) {
    return (void *)((iEventHandler *)  ((_csPyEventHandler *) x));
}
static void *_p_csStringFastT36_tTo_p_csStringBase(void *x) {
    return (void *)((csStringBase *)  ((csStringFast<36 > *) x));
}
static void *_p_csStringTo_p_csStringBase(void *x) {
    return (void *)((csStringBase *) (csStringFast<36 > *) ((csString *) x));
}
static void *_p_csShaderVariableTo_p_csRefCount(void *x) {
    return (void *)((csRefCount *)  ((csShaderVariable *) x));
}
static void *_p_p_iAwsRGBKeyTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsKey *) ((iAwsRGBKey **) x));
}
static void *_p_p_iEventTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEvent **) x));
}
static void *_p_p_iRendererLightmapTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iRendererLightmap **) x));
}
static void *_p_p_iSuperLightmapTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSuperLightmap **) x));
}
static void *_p_p_iConsoleOutputTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iConsoleOutput **) x));
}
static void *_p_p_iTerrainObjectStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iTerrainObjectState **) x));
}
static void *_p_p_iClipper2DTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iClipper2D **) x));
}
static void *_p_p_iParticleEffectorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iParticleEffector **) x));
}
static void *_p_p_iDebugHelperTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDebugHelper **) x));
}
static void *_p_p_iODEDynamicStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iODEDynamicState **) x));
}
static void *_p_p_iMaterialEngineTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMaterialEngine **) x));
}
static void *_p_p_iDocumentAttributeTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDocumentAttribute **) x));
}
static void *_p_p_iImageIOTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iImageIO **) x));
}
static void *_p_p_iODEHingeJointTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iODEGeneralJointState *) ((iODEHingeJoint **) x));
}
static void *_p_p_iLoaderStatusTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iLoaderStatus **) x));
}
static void *_p_p_iImageTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iImage **) x));
}
static void *_p_p_iODEBallJointTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iODEBallJoint **) x));
}
static void *_p_p_iTextureHandleTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iTextureHandle **) x));
}
static void *_p_p_iGeneralMeshStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iGeneralMeshCommonState *) ((iGeneralMeshState **) x));
}
static void *_p_p_iDynamicsTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDynamics **) x));
}
static void *_p_p_iParameterESMTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iParameterESM **) x));
}
static void *_p_p_iSndSysSoftwareOutputFilterTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysSoftwareOutputFilter **) x));
}
static void *_p_p_iAwsIntKeyTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsKey *) ((iAwsIntKey **) x));
}
static void *_p_p_iParticleBuiltinEmitterCylinderTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterCylinder **) x));
}
static void *_p_p_iSaverTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSaver **) x));
}
static void *_p_p_iODEDynamicSystemStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iODEDynamicSystemState **) x));
}
static void *_p_p_iMeshListTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshList **) x));
}
static void *_p_p_iEventPlugTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEventPlug **) x));
}
static void *_p_p_iParticleBuiltinEmitterBoxTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterBox **) x));
}
static void *_p_p_iODEJointStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iODEJointState **) x));
}
static void *_p_p_iODEGeneralJointStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iODEGeneralJointState **) x));
}
static void *_p_p_iTextureWrapperTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iTextureWrapper **) x));
}
static void *_p_p_iMaterialWrapperTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMaterialWrapper **) x));
}
static void *_p_p_iMeshWrapperTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshWrapper **) x));
}
static void *_p_p_iMeshFactoryWrapperTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshFactoryWrapper **) x));
}
static void *_p_p_iStringTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iString **) x));
}
static void *_p_p_iSndSysWrapperTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysWrapper **) x));
}
static void *_p_p_iSequenceWrapperTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSequenceWrapper **) x));
}
static void *_p_p_iEngineTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEngine **) x));
}
static void *_p_p_iConsoleWatcherTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iConsoleWatcher **) x));
}
static void *_p_p_iMaterialTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iShaderVariableContext *) ((iMaterial **) x));
}
static void *_p_p_iSimpleFormerStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSimpleFormerState **) x));
}
static void *_p_p_iSprite2DUVAnimationTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSprite2DUVAnimation **) x));
}
static void *_p_p_iPolygonMeshTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iPolygonMesh **) x));
}
static void *_p_p_iTerrainFactoryStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iTerrainFactoryState **) x));
}
static void *_p_p_iThingFactoryStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iThingFactoryState **) x));
}
static void *_p_p_iSpriteCal3DFactoryStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSpriteCal3DFactoryState **) x));
}
static void *_p_p_iSprite3DFactoryStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSprite3DFactoryState **) x));
}
static void *_p_p_iSprite2DFactoryStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSprite2DFactoryState **) x));
}
static void *_p_p_iGeneralFactoryStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iGeneralMeshCommonState *) ((iGeneralFactoryState **) x));
}
static void *_p_p_iSCFTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSCF **) x));
}
static void *_p_p_iParticleEmitterTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iParticleEmitter **) x));
}
static void *_p_p_iDocumentTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDocument **) x));
}
static void *_p_p_iGraphics2DTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iGraphics2D **) x));
}
static void *_p_p_iShaderPriorityListTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iShaderPriorityList **) x));
}
static void *_p_p_iSndSysSourceSoftware3DTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iSndSysSource *)(iSndSysSourceSoftware *) ((iSndSysSourceSoftware3D **) x));
}
static void *_p_p_iMeshObjectTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshObject **) x));
}
static void *_p_p_iSkeletonGraveyardTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonGraveyard **) x));
}
static void *_p_p_iDataBufferTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDataBuffer **) x));
}
static void *_p_p_iScriptObjectTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iScriptObject **) x));
}
static void *_p_p_iSequenceTimedOperationTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSequenceTimedOperation **) x));
}
static void *_p_p_iFontServerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iFontServer **) x));
}
static void *_p_p_scfImplementation1TcsPath_iPath_tTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iPath *) ((scfImplementation1<csPath,iPath > **) x));
}
static void *_p_p_iStringArrayTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iStringArray **) x));
}
static void *_p_p_iReporterTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iReporter **) x));
}
static void *_p_p_iPathTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iPath **) x));
}
static void *_p_p_iVisibilityObjectIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iVisibilityObjectIterator **) x));
}
static void *_p_p_iLightIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iLightIterator **) x));
}
static void *_p_p_iSectorIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSectorIterator **) x));
}
static void *_p_p_iMeshWrapperIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshWrapperIterator **) x));
}
static void *_p_p_iObjectIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iObjectIterator **) x));
}
static void *_p_p_iObjectRegistryIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iObjectRegistryIterator **) x));
}
static void *_p_p_iEventAttributeIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEventAttributeIterator **) x));
}
static void *_p_p_iPluginIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iPluginIterator **) x));
}
static void *_p_p_iConfigIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iConfigIterator **) x));
}
static void *_p_p_iDocumentAttributeIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDocumentAttributeIterator **) x));
}
static void *_p_p_iDocumentNodeIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDocumentNodeIterator **) x));
}
static void *_p_p_iReporterIteratorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iReporterIterator **) x));
}
static void *_p_p_iMapNodeTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMapNode **) x));
}
static void *_p_p_iGenMeshAnimationControlTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iGenMeshAnimationControl **) x));
}
static void *_p_p_iObjectRegistryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iObjectRegistry **) x));
}
static void *_p_p_iEventNameRegistryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEventNameRegistry **) x));
}
static void *_p_p_iSndSysListenerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysListener **) x));
}
static void *_p_p_iVisibilityCullerListenerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iVisibilityCullerListener **) x));
}
static void *_p_p_iObjectModelListenerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iObjectModelListener **) x));
}
static void *_p_p_iCameraSectorListenerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iCameraSectorListener **) x));
}
static void *_p_p_iMovableListenerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMovableListener **) x));
}
static void *_p_p_iObjectNameChangeListenerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iObjectNameChangeListener **) x));
}
static void *_p_p_iDocumentSystemTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDocumentSystem **) x));
}
static void *_p_p_iReporterListenerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iReporterListener **) x));
}
static void *_p_p_iStandardReporterListenerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iStandardReporterListener **) x));
}
static void *_p_p_iSprite2DUVAnimationFrameTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSprite2DUVAnimationFrame **) x));
}
static void *_p_p_iSndSysSourceSoftwareTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iSndSysSource *) ((iSndSysSourceSoftware **) x));
}
static void *_p_p_iSndSysRendererSoftwareTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysRendererSoftware **) x));
}
static void *_p_p_iTerraFormerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iTerraFormer **) x));
}
static void *_p_p_iSkeletonTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeleton **) x));
}
static void *_p_p_iSectorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSector **) x));
}
static void *_p_p_iSequenceTriggerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSequenceTrigger **) x));
}
static void *_p_p_iPortalContainerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iPortalContainer **) x));
}
static void *_p_p_iAwsKeyContainerTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsKey *) ((iAwsKeyContainer **) x));
}
static void *_p_p_iODESliderJointTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iODEGeneralJointState *) ((iODESliderJoint **) x));
}
static void *_p_p_iODEAMotorJointTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iODEGeneralJointState *) ((iODEAMotorJoint **) x));
}
static void *_p_p_iODEHinge2JointTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iODEGeneralJointState *) ((iODEHinge2Joint **) x));
}
static void *_p_p_iRegionListTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iRegionList **) x));
}
static void *_p_p_iCameraPositionListTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iCameraPositionList **) x));
}
static void *_p_p_iSpriteActionTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSpriteAction **) x));
}
static void *_p_p_iLightListTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iLightList **) x));
}
static void *_p_p_iMeshObjectDrawCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshObjectDrawCallback **) x));
}
static void *_p_p_iSkeletonUpdateCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonUpdateCallback **) x));
}
static void *_p_p_iSkeletonScriptCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonScriptCallback **) x));
}
static void *_p_p_iSkeletonBoneUpdateCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonBoneUpdateCallback **) x));
}
static void *_p_p_iPortalCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iPortalCallback **) x));
}
static void *_p_p_iLightCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iLightCallback **) x));
}
static void *_p_p_iSectorCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSectorCallback **) x));
}
static void *_p_p_iSectorMeshCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSectorMeshCallback **) x));
}
static void *_p_p_iLightVisibleCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iLightVisibleCallback **) x));
}
static void *_p_p_iEngineFrameCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEngineFrameCallback **) x));
}
static void *_p_p_iEngineSectorCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEngineSectorCallback **) x));
}
static void *_p_p_iTextureCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iTextureCallback **) x));
}
static void *_p_p_iMeshDrawCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshDrawCallback **) x));
}
static void *_p_p_iVisibilityObjectTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iVisibilityObject **) x));
}
static void *_p_p_iSndSysStreamCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysStreamCallback **) x));
}
static void *_p_p_iSndSysRendererCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysRendererCallback **) x));
}
static void *_p_p_iObjectTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iObject **) x));
}
static void *_p_p_iOffscreenCanvasCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iOffscreenCanvasCallback **) x));
}
static void *_p_p_iDynamicsMoveCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDynamicsMoveCallback **) x));
}
static void *_p_p_iDynamicsCollisionCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDynamicsCollisionCallback **) x));
}
static void *_p_p_iDynamicsColliderCollisionCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDynamicsColliderCollisionCallback **) x));
}
static void *_p_p_iODEFrameUpdateCallbackTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iODEFrameUpdateCallback **) x));
}
static void *_p_p_iCameraTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iCamera **) x));
}
static void *_p_p_iCommandLineParserTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iCommandLineParser **) x));
}
static void *_p_p_iMeshFactoryListTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshFactoryList **) x));
}
static void *_p_p_iMeshObjectTypeTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshObjectType **) x));
}
static void *_p_p_iVirtualClockTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iVirtualClock **) x));
}
static void *_p_p_iGraphics3DTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iGraphics3D **) x));
}
static void *_p_p_iMovieRecorderTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMovieRecorder **) x));
}
static void *_p_p_iSprite2DStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iSprite2DFactoryState *) ((iSprite2DState **) x));
}
static void *_p_p_iParticleBuiltinEmitterSphereTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterSphere **) x));
}
static void *_p_p_iThingEnvironmentTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iThingEnvironment **) x));
}
static void *_p_p_iMovableTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMovable **) x));
}
static void *_p_p_iSceneNodeArrayTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iArrayReadOnly<iSceneNode * > *) ((iSceneNodeArray **) x));
}
static void *_p_p_iSectorListTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSectorList **) x));
}
static void *_p_p_iShaderVariableContextTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iShaderVariableContext **) x));
}
static void *_p_p_iParticleSystemTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleSystemBase *) ((iParticleSystem **) x));
}
static void *_p_p_iSndSysSoftwareFilter3DTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysSoftwareFilter3D **) x));
}
static void *_p_p_iCollideSystemTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iCollideSystem **) x));
}
static void *_p_p_iDynamicSystemTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDynamicSystem **) x));
}
static void *_p_p_csPathTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iPath *)(scfImplementation1<csPath,iPath > *) ((csPath **) x));
}
static void *_p_p_iShaderCompilerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iShaderCompiler **) x));
}
static void *_p_p_iLightingProcessDataTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iLightingProcessData **) x));
}
static void *_p_p_iCameraPositionTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iCameraPosition **) x));
}
static void *_p_p_iBinaryLoaderPluginTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iBinaryLoaderPlugin **) x));
}
static void *_p_p_iLoaderPluginTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iLoaderPlugin **) x));
}
static void *_p_p_iHaloTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iHalo **) x));
}
static void *_p_p_iSpriteCal3DSocketTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iSpriteSocket *) ((iSpriteCal3DSocket **) x));
}
static void *_p_p_iSkeletonSocketTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonSocket **) x));
}
static void *_p_p_iSndSysStreamTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysStream **) x));
}
static void *_p_p_iVisibilityCullerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iVisibilityCuller **) x));
}
static void *_p_p_iGeneralMeshCommonStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iGeneralMeshCommonState **) x));
}
static void *_p_p_iConfigFileTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iConfigFile **) x));
}
static void *_p_p_iEventQueueTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEventQueue **) x));
}
static void *_p_p_iRigidBodyTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iRigidBody **) x));
}
static void *_p_p_iAwsComponentNodeTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsKey *)(iAwsKeyContainer *) ((iAwsComponentNode **) x));
}
static void *_p_p_iEventOutletTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEventOutlet **) x));
}
static void *_p_p_iDocumentNodeTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDocumentNode **) x));
}
static void *_p_p_iSpriteCal3DStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSpriteCal3DState **) x));
}
static void *_p_p_iSprite3DStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSprite3DState **) x));
}
static void *_p_p_iKeyboardDriverTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iKeyboardDriver **) x));
}
static void *_p_p_iBodyGroupTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iBodyGroup **) x));
}
static void *_p_p_iFrustumViewTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iFrustumView **) x));
}
static void *_p_p_iAnimTimeUpdateHandlerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAnimTimeUpdateHandler **) x));
}
static void *_p_p_iEventHandlerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEventHandler **) x));
}
static void *_p_p__csPyEventHandlerTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iEventHandler *) ((_csPyEventHandler **) x));
}
static void *_p_p_iPortalTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iPortal **) x));
}
static void *_p_p_iAwsTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAws **) x));
}
static void *_p_p_iEngineSequenceParametersTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEngineSequenceParameters **) x));
}
static void *_p_p_iAwsKeyTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsKey **) x));
}
static void *_p_p_iArrayChangeAllTcsSprite2DVertex_tTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iArrayReadOnly<csSprite2DVertex > *)(iArrayChangeElements<csSprite2DVertex > *) ((iArrayChangeAll<csSprite2DVertex > **) x));
}
static void *_p_p_iArrayChangeElementsTcsSprite2DVertex_tTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iArrayReadOnly<csSprite2DVertex > *) ((iArrayChangeElements<csSprite2DVertex > **) x));
}
static void *_p_p_iArrayReadOnlyTcsSprite2DVertex_tTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iArrayReadOnly<csSprite2DVertex > **) x));
}
static void *_p_p_iGenMeshAnimationControlTypeTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iGenMeshAnimationControlType **) x));
}
static void *_p_p_iFileTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iFile **) x));
}
static void *_p_p_iKeyComposerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iKeyComposer **) x));
}
static void *_p_p_iMaterialListTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMaterialList **) x));
}
static void *_p_p_iAwsRectKeyTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsKey *) ((iAwsRectKey **) x));
}
static void *_p_p_iParticleBuiltinEffectorVelocityFieldTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleEffector *) ((iParticleBuiltinEffectorVelocityField **) x));
}
static void *_p_p_iLightingProcessInfoTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iFrustumViewUserdata *) ((iLightingProcessInfo **) x));
}
static void *_p_p_iSpriteSocketTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSpriteSocket **) x));
}
static void *_p_p_iParticleBuiltinEmitterBaseTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleEmitter *) ((iParticleBuiltinEmitterBase **) x));
}
static void *_p_p_iParticleBuiltinEmitterConeTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterCone **) x));
}
static void *_p_p_iSndSysRendererTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysRenderer **) x));
}
static void *_p_p_iAwsComponentTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsSource *) ((iAwsComponent **) x));
}
static void *_p_p_iComponentTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iComponent **) x));
}
static void *_p_p_iAwsStringKeyTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsKey *) ((iAwsStringKey **) x));
}
static void *_p_p_iGenMeshSkeletonControlStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iGenMeshSkeletonControlState **) x));
}
static void *_p_p_iAwsSourceTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsSource **) x));
}
static void *_p_p_iSndSysSourceTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysSource **) x));
}
static void *_p_p_iParticleBuiltinEffectorForceTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleEffector *) ((iParticleBuiltinEffectorForce **) x));
}
static void *_p_p_iVFSTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iVFS **) x));
}
static void *_p_p_iParticleBuiltinEffectorFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iParticleBuiltinEffectorFactory **) x));
}
static void *_p_p_iParticleBuiltinEmitterFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iParticleBuiltinEmitterFactory **) x));
}
static void *_p_p_iParticleSystemFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleSystemBase *) ((iParticleSystemFactory **) x));
}
static void *_p_p_iMeshObjectFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMeshObjectFactory **) x));
}
static void *_p_p_iSkeletonFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonFactory **) x));
}
static void *_p_p_iSkeletonSocketFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonSocketFactory **) x));
}
static void *_p_p_iSkeletonBoneFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonBoneFactory **) x));
}
static void *_p_p_iGenMeshAnimationControlFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iGenMeshAnimationControlFactory **) x));
}
static void *_p_p_iAwsConnectionNodeFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsConnectionNodeFactory **) x));
}
static void *_p_p_iAwsKeyFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsKeyFactory **) x));
}
static void *_p_p_iAwsComponentFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsComponentFactory **) x));
}
static void *_p_p_iFactoryTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iFactory **) x));
}
static void *_p_p_iSndSysSoftwareDriverTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysSoftwareDriver **) x));
}
static void *_p_p_iMouseDriverTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMouseDriver **) x));
}
static void *_p_p_iJoystickDriverTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iJoystickDriver **) x));
}
static void *_p_p_iSndSysLoaderTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysLoader **) x));
}
static void *_p_p_iLoaderTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iLoader **) x));
}
static void *_p_p_iFrustumViewUserdataTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iFrustumViewUserdata **) x));
}
static void *_p_p_iAwsSinkTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsSink **) x));
}
static void *_p_p_iShaderTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iShaderVariableContext *) ((iShader **) x));
}
static void *_p_p_iTextureListTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iTextureList **) x));
}
static void *_p_p_iNativeWindowTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iNativeWindow **) x));
}
static void *_p_p_iParticleSystemBaseTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iParticleSystemBase **) x));
}
static void *_p_p_iSpriteFrameTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSpriteFrame **) x));
}
static void *_p_p_iSkeletonScriptTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonScript **) x));
}
static void *_p_p_iFontDeleteNotifyTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iFontDeleteNotify **) x));
}
static void *_p_p_iThingStateTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iThingState **) x));
}
static void *_p_p_iAwsFloatKeyTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsKey *) ((iAwsFloatKey **) x));
}
static void *_p_p_iJointTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iJoint **) x));
}
static void *_p_p_iShaderVariableAccessorTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iShaderVariableAccessor **) x));
}
static void *_p_p_iFontTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iFont **) x));
}
static void *_p_p_iTerraSamplerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iTerraSampler **) x));
}
static void *_p_p_iArrayReadOnlyTcsShaderVariable_p_tTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iArrayReadOnly<csShaderVariable * > **) x));
}
static void *_p_p_iArrayChangeElementsTcsShaderVariable_p_tTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iArrayReadOnly<csShaderVariable * > *) ((iArrayChangeElements<csShaderVariable * > **) x));
}
static void *_p_p_iArrayChangeAllTcsShaderVariable_p_tTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iArrayReadOnly<csShaderVariable * > *)(iArrayChangeElements<csShaderVariable * > *) ((iArrayChangeAll<csShaderVariable * > **) x));
}
static void *_p_p_iSkeletonBoneTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonBone **) x));
}
static void *_p_p_iAwsSlotTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsSlot **) x));
}
static void *_p_p_iArrayReadOnlyTiSceneNode_p_tTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iArrayReadOnly<iSceneNode * > **) x));
}
static void *_p_p_iSceneNodeTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSceneNode **) x));
}
static void *_p_p_iLightTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iLight **) x));
}
static void *_p_p_iSkeletonScriptKeyFrameTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonScriptKeyFrame **) x));
}
static void *_p_p_iParticleBuiltinEffectorLinColorTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iParticleEffector *) ((iParticleBuiltinEffectorLinColor **) x));
}
static void *_p_p_iShaderVarStackTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iArrayReadOnly<csShaderVariable * > *)(iArrayChangeElements<csShaderVariable * > *)(iArrayChangeAll<csShaderVariable * > *) ((iShaderVarStack **) x));
}
static void *_p_p_iViewTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iView **) x));
}
static void *_p_p_iGeneralMeshSubMeshTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iGeneralMeshSubMesh **) x));
}
static void *_p_p_iColliderTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iCollider **) x));
}
static void *_p_p_iDynamicsSystemColliderTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iDynamicsSystemCollider **) x));
}
static void *_p_p_iODEUniversalJointTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iODEGeneralJointState *) ((iODEUniversalJoint **) x));
}
static void *_p_p_iPolygonHandleTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iPolygonHandle **) x));
}
static void *_p_p_iObjectModelTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iObjectModel **) x));
}
static void *_p_p_iAwsConnectionKeyTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsKey *) ((iAwsConnectionKey **) x));
}
static void *_p_p_iSkeletonBoneRagdollInfoTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSkeletonBoneRagdollInfo **) x));
}
static void *_p_p_iMissingLoaderDataTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iMissingLoaderData **) x));
}
static void *_p_p_iRegionTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iRegion **) x));
}
static void *_p_p_iStringSetTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iStringSet **) x));
}
static void *_p_p_iColoredVerticesTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iArrayReadOnly<csSprite2DVertex > *)(iArrayChangeElements<csSprite2DVertex > *)(iArrayChangeAll<csSprite2DVertex > *) ((iColoredVertices **) x));
}
static void *_p_p_iAwsLayoutManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsLayoutManager **) x));
}
static void *_p_p_iAwsSinkManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsSinkManager **) x));
}
static void *_p_p_iAwsPrefManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iAwsPrefManager **) x));
}
static void *_p_p_iSndSysManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysManager **) x));
}
static void *_p_p_iCacheManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iCacheManager **) x));
}
static void *_p_p_iPluginManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iPluginManager **) x));
}
static void *_p_p_iConfigManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iConfigFile *) ((iConfigManager **) x));
}
static void *_p_p_iNativeWindowManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iNativeWindowManager **) x));
}
static void *_p_p_iShaderManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iShaderVariableContext *) ((iShaderManager **) x));
}
static void *_p_p_iTextureManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iTextureManager **) x));
}
static void *_p_p_iEngineSequenceManagerTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEngineSequenceManager **) x));
}
static void *_p_p_iAwsPointKeyTo_p_p_iBase(void *x) {
    return (void *)((iBase **) (iAwsKey *) ((iAwsPointKey **) x));
}
static void *_p_p_iScriptTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iScript **) x));
}
static void *_p_p_iSndSysDataTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iSndSysData **) x));
}
static void *_p_p_iEventCordTo_p_p_iBase(void *x) {
    return (void *)((iBase **)  ((iEventCord **) x));
}
static void *_p_iAwsRGBKeyTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsKey *) ((iAwsRGBKey *) x));
}
static void *_p_iEventTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEvent *) x));
}
static void *_p_iRendererLightmapTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iRendererLightmap *) x));
}
static void *_p_iSuperLightmapTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSuperLightmap *) x));
}
static void *_p_iConsoleOutputTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iConsoleOutput *) x));
}
static void *_p_iTerrainObjectStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iTerrainObjectState *) x));
}
static void *_p_iClipper2DTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iClipper2D *) x));
}
static void *_p_iParticleEffectorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iParticleEffector *) x));
}
static void *_p_iDebugHelperTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDebugHelper *) x));
}
static void *_p_iODEDynamicStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iODEDynamicState *) x));
}
static void *_p_iMaterialEngineTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMaterialEngine *) x));
}
static void *_p_iDocumentAttributeTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDocumentAttribute *) x));
}
static void *_p_iImageIOTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iImageIO *) x));
}
static void *_p_iODEHingeJointTo_p_iBase(void *x) {
    return (void *)((iBase *) (iODEGeneralJointState *) ((iODEHingeJoint *) x));
}
static void *_p_iLoaderStatusTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iLoaderStatus *) x));
}
static void *_p_iImageTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iImage *) x));
}
static void *_p_iODEBallJointTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iODEBallJoint *) x));
}
static void *_p_iTextureHandleTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iTextureHandle *) x));
}
static void *_p_iGeneralMeshStateTo_p_iBase(void *x) {
    return (void *)((iBase *) (iGeneralMeshCommonState *) ((iGeneralMeshState *) x));
}
static void *_p_iDynamicsTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDynamics *) x));
}
static void *_p_iParameterESMTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iParameterESM *) x));
}
static void *_p_iSndSysSoftwareOutputFilterTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysSoftwareOutputFilter *) x));
}
static void *_p_iAwsIntKeyTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsKey *) ((iAwsIntKey *) x));
}
static void *_p_iParticleBuiltinEmitterCylinderTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterCylinder *) x));
}
static void *_p_iSaverTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSaver *) x));
}
static void *_p_iODEDynamicSystemStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iODEDynamicSystemState *) x));
}
static void *_p_iMeshListTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshList *) x));
}
static void *_p_iEventPlugTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEventPlug *) x));
}
static void *_p_iParticleBuiltinEmitterBoxTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterBox *) x));
}
static void *_p_iODEJointStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iODEJointState *) x));
}
static void *_p_iODEGeneralJointStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iODEGeneralJointState *) x));
}
static void *_p_iTextureWrapperTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iTextureWrapper *) x));
}
static void *_p_iMaterialWrapperTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMaterialWrapper *) x));
}
static void *_p_iMeshWrapperTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshWrapper *) x));
}
static void *_p_iMeshFactoryWrapperTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshFactoryWrapper *) x));
}
static void *_p_iStringTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iString *) x));
}
static void *_p_iSndSysWrapperTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysWrapper *) x));
}
static void *_p_iSequenceWrapperTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSequenceWrapper *) x));
}
static void *_p_iEngineTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEngine *) x));
}
static void *_p_iConsoleWatcherTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iConsoleWatcher *) x));
}
static void *_p_iMaterialTo_p_iBase(void *x) {
    return (void *)((iBase *) (iShaderVariableContext *) ((iMaterial *) x));
}
static void *_p_iSimpleFormerStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSimpleFormerState *) x));
}
static void *_p_iSprite2DUVAnimationTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSprite2DUVAnimation *) x));
}
static void *_p_iPolygonMeshTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iPolygonMesh *) x));
}
static void *_p_iTerrainFactoryStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iTerrainFactoryState *) x));
}
static void *_p_iThingFactoryStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iThingFactoryState *) x));
}
static void *_p_iSpriteCal3DFactoryStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSpriteCal3DFactoryState *) x));
}
static void *_p_iSprite3DFactoryStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSprite3DFactoryState *) x));
}
static void *_p_iSprite2DFactoryStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSprite2DFactoryState *) x));
}
static void *_p_iGeneralFactoryStateTo_p_iBase(void *x) {
    return (void *)((iBase *) (iGeneralMeshCommonState *) ((iGeneralFactoryState *) x));
}
static void *_p_iSCFTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSCF *) x));
}
static void *_p_iParticleEmitterTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iParticleEmitter *) x));
}
static void *_p_iDocumentTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDocument *) x));
}
static void *_p_iGraphics2DTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iGraphics2D *) x));
}
static void *_p_iShaderPriorityListTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iShaderPriorityList *) x));
}
static void *_p_iSndSysSourceSoftware3DTo_p_iBase(void *x) {
    return (void *)((iBase *) (iSndSysSource *)(iSndSysSourceSoftware *) ((iSndSysSourceSoftware3D *) x));
}
static void *_p_iMeshObjectTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshObject *) x));
}
static void *_p_iSkeletonGraveyardTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonGraveyard *) x));
}
static void *_p_iDataBufferTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDataBuffer *) x));
}
static void *_p_iScriptObjectTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iScriptObject *) x));
}
static void *_p_iSequenceTimedOperationTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSequenceTimedOperation *) x));
}
static void *_p_iFontServerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iFontServer *) x));
}
static void *_p_scfImplementation1TcsPath_iPath_tTo_p_iBase(void *x) {
    return (void *)((iBase *) (iPath *) ((scfImplementation1<csPath,iPath > *) x));
}
static void *_p_iStringArrayTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iStringArray *) x));
}
static void *_p_iReporterTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iReporter *) x));
}
static void *_p_iPathTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iPath *) x));
}
static void *_p_iVisibilityObjectIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iVisibilityObjectIterator *) x));
}
static void *_p_iLightIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iLightIterator *) x));
}
static void *_p_iSectorIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSectorIterator *) x));
}
static void *_p_iMeshWrapperIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshWrapperIterator *) x));
}
static void *_p_iObjectIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iObjectIterator *) x));
}
static void *_p_iObjectRegistryIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iObjectRegistryIterator *) x));
}
static void *_p_iEventAttributeIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEventAttributeIterator *) x));
}
static void *_p_iPluginIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iPluginIterator *) x));
}
static void *_p_iConfigIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iConfigIterator *) x));
}
static void *_p_iDocumentAttributeIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDocumentAttributeIterator *) x));
}
static void *_p_iDocumentNodeIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDocumentNodeIterator *) x));
}
static void *_p_iReporterIteratorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iReporterIterator *) x));
}
static void *_p_iMapNodeTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMapNode *) x));
}
static void *_p_iGenMeshAnimationControlTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iGenMeshAnimationControl *) x));
}
static void *_p_iObjectRegistryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iObjectRegistry *) x));
}
static void *_p_iEventNameRegistryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEventNameRegistry *) x));
}
static void *_p_iSndSysListenerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysListener *) x));
}
static void *_p_iVisibilityCullerListenerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iVisibilityCullerListener *) x));
}
static void *_p_iObjectModelListenerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iObjectModelListener *) x));
}
static void *_p_iCameraSectorListenerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iCameraSectorListener *) x));
}
static void *_p_iMovableListenerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMovableListener *) x));
}
static void *_p_iObjectNameChangeListenerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iObjectNameChangeListener *) x));
}
static void *_p_iDocumentSystemTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDocumentSystem *) x));
}
static void *_p_iReporterListenerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iReporterListener *) x));
}
static void *_p_iStandardReporterListenerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iStandardReporterListener *) x));
}
static void *_p_iSprite2DUVAnimationFrameTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSprite2DUVAnimationFrame *) x));
}
static void *_p_iSndSysSourceSoftwareTo_p_iBase(void *x) {
    return (void *)((iBase *) (iSndSysSource *) ((iSndSysSourceSoftware *) x));
}
static void *_p_iSndSysRendererSoftwareTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysRendererSoftware *) x));
}
static void *_p_iTerraFormerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iTerraFormer *) x));
}
static void *_p_iSkeletonTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeleton *) x));
}
static void *_p_iSectorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSector *) x));
}
static void *_p_iSequenceTriggerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSequenceTrigger *) x));
}
static void *_p_iPortalContainerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iPortalContainer *) x));
}
static void *_p_iAwsKeyContainerTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsKey *) ((iAwsKeyContainer *) x));
}
static void *_p_iODESliderJointTo_p_iBase(void *x) {
    return (void *)((iBase *) (iODEGeneralJointState *) ((iODESliderJoint *) x));
}
static void *_p_iODEAMotorJointTo_p_iBase(void *x) {
    return (void *)((iBase *) (iODEGeneralJointState *) ((iODEAMotorJoint *) x));
}
static void *_p_iODEHinge2JointTo_p_iBase(void *x) {
    return (void *)((iBase *) (iODEGeneralJointState *) ((iODEHinge2Joint *) x));
}
static void *_p_iRegionListTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iRegionList *) x));
}
static void *_p_iCameraPositionListTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iCameraPositionList *) x));
}
static void *_p_iSpriteActionTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSpriteAction *) x));
}
static void *_p_iLightListTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iLightList *) x));
}
static void *_p_iMeshObjectDrawCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshObjectDrawCallback *) x));
}
static void *_p_iSkeletonUpdateCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonUpdateCallback *) x));
}
static void *_p_iSkeletonScriptCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonScriptCallback *) x));
}
static void *_p_iSkeletonBoneUpdateCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonBoneUpdateCallback *) x));
}
static void *_p_iPortalCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iPortalCallback *) x));
}
static void *_p_iLightCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iLightCallback *) x));
}
static void *_p_iSectorCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSectorCallback *) x));
}
static void *_p_iSectorMeshCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSectorMeshCallback *) x));
}
static void *_p_iLightVisibleCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iLightVisibleCallback *) x));
}
static void *_p_iEngineFrameCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEngineFrameCallback *) x));
}
static void *_p_iEngineSectorCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEngineSectorCallback *) x));
}
static void *_p_iTextureCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iTextureCallback *) x));
}
static void *_p_iMeshDrawCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshDrawCallback *) x));
}
static void *_p_iVisibilityObjectTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iVisibilityObject *) x));
}
static void *_p_iSndSysStreamCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysStreamCallback *) x));
}
static void *_p_iSndSysRendererCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysRendererCallback *) x));
}
static void *_p_iObjectTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iObject *) x));
}
static void *_p_iOffscreenCanvasCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iOffscreenCanvasCallback *) x));
}
static void *_p_iDynamicsMoveCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDynamicsMoveCallback *) x));
}
static void *_p_iDynamicsCollisionCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDynamicsCollisionCallback *) x));
}
static void *_p_iDynamicsColliderCollisionCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDynamicsColliderCollisionCallback *) x));
}
static void *_p_iODEFrameUpdateCallbackTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iODEFrameUpdateCallback *) x));
}
static void *_p_iCameraTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iCamera *) x));
}
static void *_p_iCommandLineParserTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iCommandLineParser *) x));
}
static void *_p_iMeshFactoryListTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshFactoryList *) x));
}
static void *_p_iMeshObjectTypeTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshObjectType *) x));
}
static void *_p_iVirtualClockTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iVirtualClock *) x));
}
static void *_p_iGraphics3DTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iGraphics3D *) x));
}
static void *_p_iMovieRecorderTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMovieRecorder *) x));
}
static void *_p_iSprite2DStateTo_p_iBase(void *x) {
    return (void *)((iBase *) (iSprite2DFactoryState *) ((iSprite2DState *) x));
}
static void *_p_iParticleBuiltinEmitterSphereTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterSphere *) x));
}
static void *_p_iThingEnvironmentTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iThingEnvironment *) x));
}
static void *_p_iMovableTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMovable *) x));
}
static void *_p_iSceneNodeArrayTo_p_iBase(void *x) {
    return (void *)((iBase *) (iArrayReadOnly<iSceneNode * > *) ((iSceneNodeArray *) x));
}
static void *_p_iSectorListTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSectorList *) x));
}
static void *_p_iShaderVariableContextTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iShaderVariableContext *) x));
}
static void *_p_iParticleSystemTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleSystemBase *) ((iParticleSystem *) x));
}
static void *_p_iSndSysSoftwareFilter3DTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysSoftwareFilter3D *) x));
}
static void *_p_iCollideSystemTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iCollideSystem *) x));
}
static void *_p_iDynamicSystemTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDynamicSystem *) x));
}
static void *_p_csPathTo_p_iBase(void *x) {
    return (void *)((iBase *) (iPath *)(scfImplementation1<csPath,iPath > *) ((csPath *) x));
}
static void *_p_iShaderCompilerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iShaderCompiler *) x));
}
static void *_p_iLightingProcessDataTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iLightingProcessData *) x));
}
static void *_p_iCameraPositionTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iCameraPosition *) x));
}
static void *_p_iBinaryLoaderPluginTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iBinaryLoaderPlugin *) x));
}
static void *_p_iLoaderPluginTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iLoaderPlugin *) x));
}
static void *_p_iHaloTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iHalo *) x));
}
static void *_p_iSpriteCal3DSocketTo_p_iBase(void *x) {
    return (void *)((iBase *) (iSpriteSocket *) ((iSpriteCal3DSocket *) x));
}
static void *_p_iSkeletonSocketTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonSocket *) x));
}
static void *_p_iSndSysStreamTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysStream *) x));
}
static void *_p_iVisibilityCullerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iVisibilityCuller *) x));
}
static void *_p_iGeneralMeshCommonStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iGeneralMeshCommonState *) x));
}
static void *_p_iConfigFileTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iConfigFile *) x));
}
static void *_p_iEventQueueTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEventQueue *) x));
}
static void *_p_iRigidBodyTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iRigidBody *) x));
}
static void *_p_iAwsComponentNodeTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsKey *)(iAwsKeyContainer *) ((iAwsComponentNode *) x));
}
static void *_p_iEventOutletTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEventOutlet *) x));
}
static void *_p_iDocumentNodeTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDocumentNode *) x));
}
static void *_p_iSpriteCal3DStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSpriteCal3DState *) x));
}
static void *_p_iSprite3DStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSprite3DState *) x));
}
static void *_p_iKeyboardDriverTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iKeyboardDriver *) x));
}
static void *_p_iBodyGroupTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iBodyGroup *) x));
}
static void *_p_iFrustumViewTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iFrustumView *) x));
}
static void *_p_iAnimTimeUpdateHandlerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAnimTimeUpdateHandler *) x));
}
static void *_p_iEventHandlerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEventHandler *) x));
}
static void *_p__csPyEventHandlerTo_p_iBase(void *x) {
    return (void *)((iBase *) (iEventHandler *) ((_csPyEventHandler *) x));
}
static void *_p_iPortalTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iPortal *) x));
}
static void *_p_iAwsTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAws *) x));
}
static void *_p_iEngineSequenceParametersTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEngineSequenceParameters *) x));
}
static void *_p_iAwsKeyTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsKey *) x));
}
static void *_p_iArrayChangeAllTcsSprite2DVertex_tTo_p_iBase(void *x) {
    return (void *)((iBase *) (iArrayReadOnly<csSprite2DVertex > *)(iArrayChangeElements<csSprite2DVertex > *) ((iArrayChangeAll<csSprite2DVertex > *) x));
}
static void *_p_iArrayChangeElementsTcsSprite2DVertex_tTo_p_iBase(void *x) {
    return (void *)((iBase *) (iArrayReadOnly<csSprite2DVertex > *) ((iArrayChangeElements<csSprite2DVertex > *) x));
}
static void *_p_iArrayReadOnlyTcsSprite2DVertex_tTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iArrayReadOnly<csSprite2DVertex > *) x));
}
static void *_p_iGenMeshAnimationControlTypeTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iGenMeshAnimationControlType *) x));
}
static void *_p_iFileTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iFile *) x));
}
static void *_p_iKeyComposerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iKeyComposer *) x));
}
static void *_p_iMaterialListTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMaterialList *) x));
}
static void *_p_iAwsRectKeyTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsKey *) ((iAwsRectKey *) x));
}
static void *_p_iParticleBuiltinEffectorVelocityFieldTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleEffector *) ((iParticleBuiltinEffectorVelocityField *) x));
}
static void *_p_iLightingProcessInfoTo_p_iBase(void *x) {
    return (void *)((iBase *) (iFrustumViewUserdata *) ((iLightingProcessInfo *) x));
}
static void *_p_iSpriteSocketTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSpriteSocket *) x));
}
static void *_p_iParticleBuiltinEmitterBaseTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleEmitter *) ((iParticleBuiltinEmitterBase *) x));
}
static void *_p_iParticleBuiltinEmitterConeTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterCone *) x));
}
static void *_p_iSndSysRendererTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysRenderer *) x));
}
static void *_p_iAwsComponentTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsSource *) ((iAwsComponent *) x));
}
static void *_p_iComponentTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iComponent *) x));
}
static void *_p_iAwsStringKeyTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsKey *) ((iAwsStringKey *) x));
}
static void *_p_iGenMeshSkeletonControlStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iGenMeshSkeletonControlState *) x));
}
static void *_p_iAwsSourceTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsSource *) x));
}
static void *_p_iSndSysSourceTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysSource *) x));
}
static void *_p_iParticleBuiltinEffectorForceTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleEffector *) ((iParticleBuiltinEffectorForce *) x));
}
static void *_p_iVFSTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iVFS *) x));
}
static void *_p_iParticleBuiltinEffectorFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iParticleBuiltinEffectorFactory *) x));
}
static void *_p_iParticleBuiltinEmitterFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iParticleBuiltinEmitterFactory *) x));
}
static void *_p_iParticleSystemFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleSystemBase *) ((iParticleSystemFactory *) x));
}
static void *_p_iMeshObjectFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMeshObjectFactory *) x));
}
static void *_p_iSkeletonFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonFactory *) x));
}
static void *_p_iSkeletonSocketFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonSocketFactory *) x));
}
static void *_p_iSkeletonBoneFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonBoneFactory *) x));
}
static void *_p_iGenMeshAnimationControlFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iGenMeshAnimationControlFactory *) x));
}
static void *_p_iAwsConnectionNodeFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsConnectionNodeFactory *) x));
}
static void *_p_iAwsKeyFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsKeyFactory *) x));
}
static void *_p_iAwsComponentFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsComponentFactory *) x));
}
static void *_p_iFactoryTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iFactory *) x));
}
static void *_p_iSndSysSoftwareDriverTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysSoftwareDriver *) x));
}
static void *_p_iMouseDriverTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMouseDriver *) x));
}
static void *_p_iJoystickDriverTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iJoystickDriver *) x));
}
static void *_p_iSndSysLoaderTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysLoader *) x));
}
static void *_p_iLoaderTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iLoader *) x));
}
static void *_p_iFrustumViewUserdataTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iFrustumViewUserdata *) x));
}
static void *_p_iAwsSinkTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsSink *) x));
}
static void *_p_iShaderTo_p_iBase(void *x) {
    return (void *)((iBase *) (iShaderVariableContext *) ((iShader *) x));
}
static void *_p_iTextureListTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iTextureList *) x));
}
static void *_p_iNativeWindowTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iNativeWindow *) x));
}
static void *_p_iParticleSystemBaseTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iParticleSystemBase *) x));
}
static void *_p_iSpriteFrameTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSpriteFrame *) x));
}
static void *_p_iSkeletonScriptTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonScript *) x));
}
static void *_p_iFontDeleteNotifyTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iFontDeleteNotify *) x));
}
static void *_p_iThingStateTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iThingState *) x));
}
static void *_p_iAwsFloatKeyTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsKey *) ((iAwsFloatKey *) x));
}
static void *_p_iJointTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iJoint *) x));
}
static void *_p_iShaderVariableAccessorTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iShaderVariableAccessor *) x));
}
static void *_p_iFontTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iFont *) x));
}
static void *_p_iTerraSamplerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iTerraSampler *) x));
}
static void *_p_iArrayReadOnlyTcsShaderVariable_p_tTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iArrayReadOnly<csShaderVariable * > *) x));
}
static void *_p_iArrayChangeElementsTcsShaderVariable_p_tTo_p_iBase(void *x) {
    return (void *)((iBase *) (iArrayReadOnly<csShaderVariable * > *) ((iArrayChangeElements<csShaderVariable * > *) x));
}
static void *_p_iArrayChangeAllTcsShaderVariable_p_tTo_p_iBase(void *x) {
    return (void *)((iBase *) (iArrayReadOnly<csShaderVariable * > *)(iArrayChangeElements<csShaderVariable * > *) ((iArrayChangeAll<csShaderVariable * > *) x));
}
static void *_p_iSkeletonBoneTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonBone *) x));
}
static void *_p_iAwsSlotTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsSlot *) x));
}
static void *_p_iArrayReadOnlyTiSceneNode_p_tTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iArrayReadOnly<iSceneNode * > *) x));
}
static void *_p_iSceneNodeTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSceneNode *) x));
}
static void *_p_iLightTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iLight *) x));
}
static void *_p_iSkeletonScriptKeyFrameTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonScriptKeyFrame *) x));
}
static void *_p_iParticleBuiltinEffectorLinColorTo_p_iBase(void *x) {
    return (void *)((iBase *) (iParticleEffector *) ((iParticleBuiltinEffectorLinColor *) x));
}
static void *_p_iShaderVarStackTo_p_iBase(void *x) {
    return (void *)((iBase *) (iArrayReadOnly<csShaderVariable * > *)(iArrayChangeElements<csShaderVariable * > *)(iArrayChangeAll<csShaderVariable * > *) ((iShaderVarStack *) x));
}
static void *_p_iViewTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iView *) x));
}
static void *_p_iGeneralMeshSubMeshTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iGeneralMeshSubMesh *) x));
}
static void *_p_iColliderTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iCollider *) x));
}
static void *_p_iDynamicsSystemColliderTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iDynamicsSystemCollider *) x));
}
static void *_p_iODEUniversalJointTo_p_iBase(void *x) {
    return (void *)((iBase *) (iODEGeneralJointState *) ((iODEUniversalJoint *) x));
}
static void *_p_iPolygonHandleTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iPolygonHandle *) x));
}
static void *_p_iObjectModelTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iObjectModel *) x));
}
static void *_p_iAwsConnectionKeyTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsKey *) ((iAwsConnectionKey *) x));
}
static void *_p_iSkeletonBoneRagdollInfoTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSkeletonBoneRagdollInfo *) x));
}
static void *_p_iMissingLoaderDataTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iMissingLoaderData *) x));
}
static void *_p_iRegionTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iRegion *) x));
}
static void *_p_iStringSetTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iStringSet *) x));
}
static void *_p_iColoredVerticesTo_p_iBase(void *x) {
    return (void *)((iBase *) (iArrayReadOnly<csSprite2DVertex > *)(iArrayChangeElements<csSprite2DVertex > *)(iArrayChangeAll<csSprite2DVertex > *) ((iColoredVertices *) x));
}
static void *_p_iAwsLayoutManagerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsLayoutManager *) x));
}
static void *_p_iAwsSinkManagerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsSinkManager *) x));
}
static void *_p_iAwsPrefManagerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iAwsPrefManager *) x));
}
static void *_p_iSndSysManagerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysManager *) x));
}
static void *_p_iCacheManagerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iCacheManager *) x));
}
static void *_p_iPluginManagerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iPluginManager *) x));
}
static void *_p_iConfigManagerTo_p_iBase(void *x) {
    return (void *)((iBase *) (iConfigFile *) ((iConfigManager *) x));
}
static void *_p_iNativeWindowManagerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iNativeWindowManager *) x));
}
static void *_p_iShaderManagerTo_p_iBase(void *x) {
    return (void *)((iBase *) (iShaderVariableContext *) ((iShaderManager *) x));
}
static void *_p_iTextureManagerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iTextureManager *) x));
}
static void *_p_iEngineSequenceManagerTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEngineSequenceManager *) x));
}
static void *_p_iAwsPointKeyTo_p_iBase(void *x) {
    return (void *)((iBase *) (iAwsKey *) ((iAwsPointKey *) x));
}
static void *_p_iScriptTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iScript *) x));
}
static void *_p_iSndSysDataTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iSndSysData *) x));
}
static void *_p_iEventCordTo_p_iBase(void *x) {
    return (void *)((iBase *)  ((iEventCord *) x));
}
static void *_p_f_p_iBase__p_iAwsRGBKeyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsKey *) ((iAwsRGBKey *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEventTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEvent *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iRendererLightmapTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iRendererLightmap *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSuperLightmapTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSuperLightmap *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iConsoleOutputTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iConsoleOutput *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iTerrainObjectStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iTerrainObjectState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iClipper2DTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iClipper2D *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleEffectorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iParticleEffector *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDebugHelperTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDebugHelper *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEDynamicStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iODEDynamicState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMaterialEngineTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMaterialEngine *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDocumentAttributeTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDocumentAttribute *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iImageIOTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iImageIO *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEHingeJointTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iODEGeneralJointState *) ((iODEHingeJoint *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLoaderStatusTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iLoaderStatus *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iImageTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iImage *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEBallJointTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iODEBallJoint *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iTextureHandleTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iTextureHandle *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGeneralMeshStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iGeneralMeshCommonState *) ((iGeneralMeshState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDynamicsTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDynamics *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParameterESMTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iParameterESM *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysSoftwareOutputFilterTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysSoftwareOutputFilter *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsIntKeyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsKey *) ((iAwsIntKey *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEmitterCylinderTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterCylinder *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSaverTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSaver *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEDynamicSystemStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iODEDynamicSystemState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshListTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshList *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEventPlugTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEventPlug *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEmitterBoxTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterBox *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEJointStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iODEJointState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEGeneralJointStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iODEGeneralJointState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iTextureWrapperTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iTextureWrapper *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMaterialWrapperTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMaterialWrapper *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshWrapperTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshWrapper *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshFactoryWrapperTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshFactoryWrapper *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iStringTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iString *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysWrapperTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysWrapper *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSequenceWrapperTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSequenceWrapper *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEngineTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEngine *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iConsoleWatcherTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iConsoleWatcher *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMaterialTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iShaderVariableContext *) ((iMaterial *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSimpleFormerStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSimpleFormerState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSprite2DUVAnimationTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSprite2DUVAnimation *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iPolygonMeshTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iPolygonMesh *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iTerrainFactoryStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iTerrainFactoryState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iThingFactoryStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iThingFactoryState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSpriteCal3DFactoryStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSpriteCal3DFactoryState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSprite3DFactoryStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSprite3DFactoryState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSprite2DFactoryStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSprite2DFactoryState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGeneralFactoryStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iGeneralMeshCommonState *) ((iGeneralFactoryState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSCFTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSCF *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleEmitterTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iParticleEmitter *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDocumentTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDocument *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGraphics2DTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iGraphics2D *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iShaderPriorityListTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iShaderPriorityList *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysSourceSoftware3DTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iSndSysSource *)(iSndSysSourceSoftware *) ((iSndSysSourceSoftware3D *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshObjectTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshObject *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonGraveyardTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonGraveyard *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDataBufferTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDataBuffer *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iScriptObjectTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iScriptObject *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSequenceTimedOperationTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSequenceTimedOperation *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iFontServerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iFontServer *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_scfImplementation1TcsPath_iPath_tTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iPath *) ((scfImplementation1<csPath,iPath > *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iStringArrayTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iStringArray *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iReporterTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iReporter *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iPathTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iPath *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iVisibilityObjectIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iVisibilityObjectIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLightIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iLightIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSectorIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSectorIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshWrapperIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshWrapperIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iObjectIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iObjectIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iObjectRegistryIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iObjectRegistryIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEventAttributeIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEventAttributeIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iPluginIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iPluginIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iConfigIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iConfigIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDocumentAttributeIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDocumentAttributeIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDocumentNodeIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDocumentNodeIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iReporterIteratorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iReporterIterator *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMapNodeTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMapNode *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGenMeshAnimationControlTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iGenMeshAnimationControl *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iObjectRegistryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iObjectRegistry *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEventNameRegistryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEventNameRegistry *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysListenerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysListener *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iVisibilityCullerListenerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iVisibilityCullerListener *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iObjectModelListenerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iObjectModelListener *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iCameraSectorListenerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iCameraSectorListener *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMovableListenerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMovableListener *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iObjectNameChangeListenerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iObjectNameChangeListener *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDocumentSystemTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDocumentSystem *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iReporterListenerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iReporterListener *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iStandardReporterListenerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iStandardReporterListener *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSprite2DUVAnimationFrameTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSprite2DUVAnimationFrame *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysSourceSoftwareTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iSndSysSource *) ((iSndSysSourceSoftware *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysRendererSoftwareTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysRendererSoftware *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iTerraFormerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iTerraFormer *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeleton *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSectorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSector *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSequenceTriggerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSequenceTrigger *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iPortalContainerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iPortalContainer *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsKeyContainerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsKey *) ((iAwsKeyContainer *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODESliderJointTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iODEGeneralJointState *) ((iODESliderJoint *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEAMotorJointTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iODEGeneralJointState *) ((iODEAMotorJoint *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEHinge2JointTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iODEGeneralJointState *) ((iODEHinge2Joint *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iRegionListTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iRegionList *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iCameraPositionListTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iCameraPositionList *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSpriteActionTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSpriteAction *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLightListTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iLightList *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshObjectDrawCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshObjectDrawCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonUpdateCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonUpdateCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonScriptCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonScriptCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonBoneUpdateCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonBoneUpdateCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iPortalCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iPortalCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLightCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iLightCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSectorCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSectorCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSectorMeshCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSectorMeshCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLightVisibleCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iLightVisibleCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEngineFrameCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEngineFrameCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEngineSectorCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEngineSectorCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iTextureCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iTextureCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshDrawCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshDrawCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iVisibilityObjectTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iVisibilityObject *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysStreamCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysStreamCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysRendererCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysRendererCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iObjectTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iObject *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iOffscreenCanvasCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iOffscreenCanvasCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDynamicsMoveCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDynamicsMoveCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDynamicsCollisionCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDynamicsCollisionCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDynamicsColliderCollisionCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDynamicsColliderCollisionCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEFrameUpdateCallbackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iODEFrameUpdateCallback *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iCameraTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iCamera *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iCommandLineParserTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iCommandLineParser *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshFactoryListTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshFactoryList *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshObjectTypeTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshObjectType *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iVirtualClockTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iVirtualClock *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGraphics3DTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iGraphics3D *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMovieRecorderTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMovieRecorder *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSprite2DStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iSprite2DFactoryState *) ((iSprite2DState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEmitterSphereTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterSphere *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iThingEnvironmentTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iThingEnvironment *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMovableTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMovable *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSceneNodeArrayTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iArrayReadOnly<iSceneNode * > *) ((iSceneNodeArray *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSectorListTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSectorList *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iShaderVariableContextTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iShaderVariableContext *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleSystemTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleSystemBase *) ((iParticleSystem *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysSoftwareFilter3DTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysSoftwareFilter3D *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iCollideSystemTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iCollideSystem *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDynamicSystemTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDynamicSystem *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_csPathTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iPath *)(scfImplementation1<csPath,iPath > *) ((csPath *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iShaderCompilerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iShaderCompiler *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLightingProcessDataTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iLightingProcessData *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iCameraPositionTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iCameraPosition *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iBinaryLoaderPluginTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iBinaryLoaderPlugin *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLoaderPluginTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iLoaderPlugin *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iHaloTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iHalo *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSpriteCal3DSocketTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iSpriteSocket *) ((iSpriteCal3DSocket *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonSocketTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonSocket *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysStreamTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysStream *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iVisibilityCullerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iVisibilityCuller *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGeneralMeshCommonStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iGeneralMeshCommonState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iConfigFileTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iConfigFile *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEventQueueTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEventQueue *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iRigidBodyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iRigidBody *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsComponentNodeTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsKey *)(iAwsKeyContainer *) ((iAwsComponentNode *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEventOutletTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEventOutlet *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDocumentNodeTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDocumentNode *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSpriteCal3DStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSpriteCal3DState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSprite3DStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSprite3DState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iKeyboardDriverTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iKeyboardDriver *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iBodyGroupTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iBodyGroup *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iFrustumViewTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iFrustumView *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAnimTimeUpdateHandlerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAnimTimeUpdateHandler *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEventHandlerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEventHandler *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p__csPyEventHandlerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iEventHandler *) ((_csPyEventHandler *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iPortalTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iPortal *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAws *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEngineSequenceParametersTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEngineSequenceParameters *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsKeyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsKey *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_tTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iArrayReadOnly<csSprite2DVertex > *)(iArrayChangeElements<csSprite2DVertex > *) ((iArrayChangeAll<csSprite2DVertex > *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_tTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iArrayReadOnly<csSprite2DVertex > *) ((iArrayChangeElements<csSprite2DVertex > *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_tTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iArrayReadOnly<csSprite2DVertex > *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGenMeshAnimationControlTypeTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iGenMeshAnimationControlType *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iFileTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iFile *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iKeyComposerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iKeyComposer *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMaterialListTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMaterialList *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsRectKeyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsKey *) ((iAwsRectKey *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEffectorVelocityFieldTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleEffector *) ((iParticleBuiltinEffectorVelocityField *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLightingProcessInfoTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iFrustumViewUserdata *) ((iLightingProcessInfo *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSpriteSocketTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSpriteSocket *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEmitterBaseTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleEmitter *) ((iParticleBuiltinEmitterBase *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEmitterConeTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleEmitter *)(iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterCone *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysRendererTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysRenderer *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsComponentTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsSource *) ((iAwsComponent *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iComponentTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iComponent *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsStringKeyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsKey *) ((iAwsStringKey *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGenMeshSkeletonControlStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iGenMeshSkeletonControlState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsSourceTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsSource *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysSourceTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysSource *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEffectorForceTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleEffector *) ((iParticleBuiltinEffectorForce *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iVFSTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iVFS *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEffectorFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iParticleBuiltinEffectorFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEmitterFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iParticleBuiltinEmitterFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleSystemFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleSystemBase *) ((iParticleSystemFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMeshObjectFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMeshObjectFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonSocketFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonSocketFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonBoneFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonBoneFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGenMeshAnimationControlFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iGenMeshAnimationControlFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsConnectionNodeFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsConnectionNodeFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsKeyFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsKeyFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsComponentFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsComponentFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iFactoryTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iFactory *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysSoftwareDriverTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysSoftwareDriver *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMouseDriverTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMouseDriver *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iJoystickDriverTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iJoystickDriver *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysLoaderTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysLoader *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLoaderTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iLoader *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iFrustumViewUserdataTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iFrustumViewUserdata *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsSinkTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsSink *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iShaderTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iShaderVariableContext *) ((iShader *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iTextureListTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iTextureList *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iNativeWindowTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iNativeWindow *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleSystemBaseTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iParticleSystemBase *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSpriteFrameTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSpriteFrame *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonScriptTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonScript *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iFontDeleteNotifyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iFontDeleteNotify *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iThingStateTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iThingState *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsFloatKeyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsKey *) ((iAwsFloatKey *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iJointTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iJoint *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iShaderVariableAccessorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iShaderVariableAccessor *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iFontTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iFont *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iTerraSamplerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iTerraSampler *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_tTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iArrayReadOnly<csShaderVariable * > *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_tTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iArrayReadOnly<csShaderVariable * > *) ((iArrayChangeElements<csShaderVariable * > *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_tTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iArrayReadOnly<csShaderVariable * > *)(iArrayChangeElements<csShaderVariable * > *) ((iArrayChangeAll<csShaderVariable * > *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonBoneTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonBone *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsSlotTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsSlot *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_tTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iArrayReadOnly<iSceneNode * > *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSceneNodeTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSceneNode *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iLightTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iLight *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonScriptKeyFrameTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonScriptKeyFrame *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iParticleBuiltinEffectorLinColorTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iParticleEffector *) ((iParticleBuiltinEffectorLinColor *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iShaderVarStackTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iArrayReadOnly<csShaderVariable * > *)(iArrayChangeElements<csShaderVariable * > *)(iArrayChangeAll<csShaderVariable * > *) ((iShaderVarStack *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iViewTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iView *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iGeneralMeshSubMeshTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iGeneralMeshSubMesh *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iColliderTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iCollider *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iDynamicsSystemColliderTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iDynamicsSystemCollider *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iODEUniversalJointTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iODEGeneralJointState *) ((iODEUniversalJoint *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iPolygonHandleTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iPolygonHandle *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iObjectModelTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iObjectModel *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsConnectionKeyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsKey *) ((iAwsConnectionKey *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSkeletonBoneRagdollInfoTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSkeletonBoneRagdollInfo *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iMissingLoaderDataTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iMissingLoaderData *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iRegionTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iRegion *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iStringSetTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iStringSet *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iColoredVerticesTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iArrayReadOnly<csSprite2DVertex > *)(iArrayChangeElements<csSprite2DVertex > *)(iArrayChangeAll<csSprite2DVertex > *) ((iColoredVertices *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsLayoutManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsLayoutManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsSinkManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsSinkManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsPrefManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iAwsPrefManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iCacheManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iCacheManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iPluginManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iPluginManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iConfigManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iConfigFile *) ((iConfigManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iNativeWindowManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iNativeWindowManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iShaderManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iShaderVariableContext *) ((iShaderManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iTextureManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iTextureManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEngineSequenceManagerTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEngineSequenceManager *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iAwsPointKeyTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *)) (iAwsKey *) ((iAwsPointKey *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iScriptTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iScript *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iSndSysDataTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iSndSysData *(*)(iBase *)) x));
}
static void *_p_f_p_iBase__p_iEventCordTo_p_f_p_iBase__p_iBase(void *x) {
    return (void *)((iBase *(*)(iBase *))  ((iEventCord *(*)(iBase *)) x));
}
static void *_p_csPathTo_p_scfImplementation1TcsPath_iPath_t(void *x) {
    return (void *)((scfImplementation1<csPath,iPath > *)  ((csPath *) x));
}
static void *_p_iSprite2DStateTo_p_iSprite2DFactoryState(void *x) {
    return (void *)((iSprite2DFactoryState *)  ((iSprite2DState *) x));
}
static void *_p_iODEUniversalJointTo_p_iODEGeneralJointState(void *x) {
    return (void *)((iODEGeneralJointState *)  ((iODEUniversalJoint *) x));
}
static void *_p_iODEHingeJointTo_p_iODEGeneralJointState(void *x) {
    return (void *)((iODEGeneralJointState *)  ((iODEHingeJoint *) x));
}
static void *_p_iODESliderJointTo_p_iODEGeneralJointState(void *x) {
    return (void *)((iODEGeneralJointState *)  ((iODESliderJoint *) x));
}
static void *_p_iODEAMotorJointTo_p_iODEGeneralJointState(void *x) {
    return (void *)((iODEGeneralJointState *)  ((iODEAMotorJoint *) x));
}
static void *_p_iODEHinge2JointTo_p_iODEGeneralJointState(void *x) {
    return (void *)((iODEGeneralJointState *)  ((iODEHinge2Joint *) x));
}
static void *_p_iShaderVarStackTo_p_iArrayChangeElementsTcsShaderVariable_p_t(void *x) {
    return (void *)((iArrayChangeElements<csShaderVariable * > *) (iArrayChangeAll<csShaderVariable * > *) ((iShaderVarStack *) x));
}
static void *_p_iArrayChangeAllTcsShaderVariable_p_tTo_p_iArrayChangeElementsTcsShaderVariable_p_t(void *x) {
    return (void *)((iArrayChangeElements<csShaderVariable * > *)  ((iArrayChangeAll<csShaderVariable * > *) x));
}
static void *_p_iShaderVarStackTo_p_iArrayReadOnlyTcsShaderVariable_p_t(void *x) {
    return (void *)((iArrayReadOnly<csShaderVariable * > *) (iArrayChangeElements<csShaderVariable * > *)(iArrayChangeAll<csShaderVariable * > *) ((iShaderVarStack *) x));
}
static void *_p_iArrayChangeElementsTcsShaderVariable_p_tTo_p_iArrayReadOnlyTcsShaderVariable_p_t(void *x) {
    return (void *)((iArrayReadOnly<csShaderVariable * > *)  ((iArrayChangeElements<csShaderVariable * > *) x));
}
static void *_p_iArrayChangeAllTcsShaderVariable_p_tTo_p_iArrayReadOnlyTcsShaderVariable_p_t(void *x) {
    return (void *)((iArrayReadOnly<csShaderVariable * > *) (iArrayChangeElements<csShaderVariable * > *) ((iArrayChangeAll<csShaderVariable * > *) x));
}
static void *_p_iShaderVarStackTo_p_iArrayChangeAllTcsShaderVariable_p_t(void *x) {
    return (void *)((iArrayChangeAll<csShaderVariable * > *)  ((iShaderVarStack *) x));
}
static void *_p_iLightingProcessInfoTo_p_iFrustumViewUserdata(void *x) {
    return (void *)((iFrustumViewUserdata *)  ((iLightingProcessInfo *) x));
}
static void *_p_iShaderManagerTo_p_iShaderVariableContext(void *x) {
    return (void *)((iShaderVariableContext *)  ((iShaderManager *) x));
}
static void *_p_iShaderTo_p_iShaderVariableContext(void *x) {
    return (void *)((iShaderVariableContext *)  ((iShader *) x));
}
static void *_p_iMaterialTo_p_iShaderVariableContext(void *x) {
    return (void *)((iShaderVariableContext *)  ((iMaterial *) x));
}
static void *_p_iGeneralMeshStateTo_p_iGeneralMeshCommonState(void *x) {
    return (void *)((iGeneralMeshCommonState *)  ((iGeneralMeshState *) x));
}
static void *_p_iGeneralFactoryStateTo_p_iGeneralMeshCommonState(void *x) {
    return (void *)((iGeneralMeshCommonState *)  ((iGeneralFactoryState *) x));
}
static void *_p_csXRotMatrix3To_p_csMatrix3(void *x) {
    return (void *)((csMatrix3 *)  ((csXRotMatrix3 *) x));
}
static void *_p_csYRotMatrix3To_p_csMatrix3(void *x) {
    return (void *)((csMatrix3 *)  ((csYRotMatrix3 *) x));
}
static void *_p_csZRotMatrix3To_p_csMatrix3(void *x) {
    return (void *)((csMatrix3 *)  ((csZRotMatrix3 *) x));
}
static void *_p_csXScaleMatrix3To_p_csMatrix3(void *x) {
    return (void *)((csMatrix3 *)  ((csXScaleMatrix3 *) x));
}
static void *_p_csYScaleMatrix3To_p_csMatrix3(void *x) {
    return (void *)((csMatrix3 *)  ((csYScaleMatrix3 *) x));
}
static void *_p_csZScaleMatrix3To_p_csMatrix3(void *x) {
    return (void *)((csMatrix3 *)  ((csZScaleMatrix3 *) x));
}
static void *_p_iParticleBuiltinEffectorVelocityFieldTo_p_iParticleEffector(void *x) {
    return (void *)((iParticleEffector *)  ((iParticleBuiltinEffectorVelocityField *) x));
}
static void *_p_iParticleBuiltinEffectorForceTo_p_iParticleEffector(void *x) {
    return (void *)((iParticleEffector *)  ((iParticleBuiltinEffectorForce *) x));
}
static void *_p_iParticleBuiltinEffectorLinColorTo_p_iParticleEffector(void *x) {
    return (void *)((iParticleEffector *)  ((iParticleBuiltinEffectorLinColor *) x));
}
static void *_p_iParticleSystemTo_p_iParticleSystemBase(void *x) {
    return (void *)((iParticleSystemBase *)  ((iParticleSystem *) x));
}
static void *_p_iParticleSystemFactoryTo_p_iParticleSystemBase(void *x) {
    return (void *)((iParticleSystemBase *)  ((iParticleSystemFactory *) x));
}
static void *_p_iSndSysSourceSoftware3DTo_p_iSndSysSourceSoftware(void *x) {
    return (void *)((iSndSysSourceSoftware *)  ((iSndSysSourceSoftware3D *) x));
}
static void *_p_csColor4To_p_csColor(void *x) {
    return (void *)((csColor *)  ((csColor4 *) x));
}
static void *_p_csBSplineTo_p_csSpline(void *x) {
    return (void *)((csSpline *)  ((csBSpline *) x));
}
static void *_p_csCubicSplineTo_p_csSpline(void *x) {
    return (void *)((csSpline *)  ((csCubicSpline *) x));
}
static void *_p_csCatmullRomSplineTo_p_csSpline(void *x) {
    return (void *)((csSpline *) (csBSpline *) ((csCatmullRomSpline *) x));
}
static void *_p_iColoredVerticesTo_p_iArrayChangeAllTcsSprite2DVertex_t(void *x) {
    return (void *)((iArrayChangeAll<csSprite2DVertex > *)  ((iColoredVertices *) x));
}
static void *_p_iArrayChangeAllTcsSprite2DVertex_tTo_p_iArrayChangeElementsTcsSprite2DVertex_t(void *x) {
    return (void *)((iArrayChangeElements<csSprite2DVertex > *)  ((iArrayChangeAll<csSprite2DVertex > *) x));
}
static void *_p_iColoredVerticesTo_p_iArrayChangeElementsTcsSprite2DVertex_t(void *x) {
    return (void *)((iArrayChangeElements<csSprite2DVertex > *) (iArrayChangeAll<csSprite2DVertex > *) ((iColoredVertices *) x));
}
static void *_p_iArrayChangeElementsTcsSprite2DVertex_tTo_p_iArrayReadOnlyTcsSprite2DVertex_t(void *x) {
    return (void *)((iArrayReadOnly<csSprite2DVertex > *)  ((iArrayChangeElements<csSprite2DVertex > *) x));
}
static void *_p_iArrayChangeAllTcsSprite2DVertex_tTo_p_iArrayReadOnlyTcsSprite2DVertex_t(void *x) {
    return (void *)((iArrayReadOnly<csSprite2DVertex > *) (iArrayChangeElements<csSprite2DVertex > *) ((iArrayChangeAll<csSprite2DVertex > *) x));
}
static void *_p_iColoredVerticesTo_p_iArrayReadOnlyTcsSprite2DVertex_t(void *x) {
    return (void *)((iArrayReadOnly<csSprite2DVertex > *) (iArrayChangeElements<csSprite2DVertex > *)(iArrayChangeAll<csSprite2DVertex > *) ((iColoredVertices *) x));
}
static void *_p_iSceneNodeArrayTo_p_iArrayReadOnlyTiSceneNode_p_t(void *x) {
    return (void *)((iArrayReadOnly<iSceneNode * > *)  ((iSceneNodeArray *) x));
}
static void *_p_csCatmullRomSplineTo_p_csBSpline(void *x) {
    return (void *)((csBSpline *)  ((csCatmullRomSpline *) x));
}
static void *_p_iConfigManagerTo_p_iConfigFile(void *x) {
    return (void *)((iConfigFile *)  ((iConfigManager *) x));
}
static void *_p_iAwsComponentNodeTo_p_iAwsKeyContainer(void *x) {
    return (void *)((iAwsKeyContainer *)  ((iAwsComponentNode *) x));
}
static void *_p_csStringTo_p_csStringFastT36_t(void *x) {
    return (void *)((csStringFast<36 > *)  ((csString *) x));
}
static void *_p_csArrayCapacityDefaultTo_p_csArrayCapacityLinearTcsArrayThresholdVariable_t(void *x) {
    return (void *)((csArrayCapacityLinear<csArrayThresholdVariable > *)  ((csArrayCapacityDefault *) x));
}
static void *_p_iAwsRectKeyTo_p_iAwsKey(void *x) {
    return (void *)((iAwsKey *)  ((iAwsRectKey *) x));
}
static void *_p_iAwsConnectionKeyTo_p_iAwsKey(void *x) {
    return (void *)((iAwsKey *)  ((iAwsConnectionKey *) x));
}
static void *_p_iAwsPointKeyTo_p_iAwsKey(void *x) {
    return (void *)((iAwsKey *)  ((iAwsPointKey *) x));
}
static void *_p_iAwsIntKeyTo_p_iAwsKey(void *x) {
    return (void *)((iAwsKey *)  ((iAwsIntKey *) x));
}
static void *_p_iAwsStringKeyTo_p_iAwsKey(void *x) {
    return (void *)((iAwsKey *)  ((iAwsStringKey *) x));
}
static void *_p_iAwsRGBKeyTo_p_iAwsKey(void *x) {
    return (void *)((iAwsKey *)  ((iAwsRGBKey *) x));
}
static void *_p_iAwsKeyContainerTo_p_iAwsKey(void *x) {
    return (void *)((iAwsKey *)  ((iAwsKeyContainer *) x));
}
static void *_p_iAwsComponentNodeTo_p_iAwsKey(void *x) {
    return (void *)((iAwsKey *) (iAwsKeyContainer *) ((iAwsComponentNode *) x));
}
static void *_p_iAwsFloatKeyTo_p_iAwsKey(void *x) {
    return (void *)((iAwsKey *)  ((iAwsFloatKey *) x));
}
static void *_p_iParticleBuiltinEmitterConeTo_p_iParticleBuiltinEmitterBase(void *x) {
    return (void *)((iParticleBuiltinEmitterBase *)  ((iParticleBuiltinEmitterCone *) x));
}
static void *_p_iParticleBuiltinEmitterBoxTo_p_iParticleBuiltinEmitterBase(void *x) {
    return (void *)((iParticleBuiltinEmitterBase *)  ((iParticleBuiltinEmitterBox *) x));
}
static void *_p_iParticleBuiltinEmitterSphereTo_p_iParticleBuiltinEmitterBase(void *x) {
    return (void *)((iParticleBuiltinEmitterBase *)  ((iParticleBuiltinEmitterSphere *) x));
}
static void *_p_iParticleBuiltinEmitterCylinderTo_p_iParticleBuiltinEmitterBase(void *x) {
    return (void *)((iParticleBuiltinEmitterBase *)  ((iParticleBuiltinEmitterCylinder *) x));
}
static void *_p_iSndSysSourceSoftware3DTo_p_iSndSysSource(void *x) {
    return (void *)((iSndSysSource *) (iSndSysSourceSoftware *) ((iSndSysSourceSoftware3D *) x));
}
static void *_p_iSndSysSourceSoftwareTo_p_iSndSysSource(void *x) {
    return (void *)((iSndSysSource *)  ((iSndSysSourceSoftware *) x));
}
static void *_p_iAwsComponentTo_p_iAwsSource(void *x) {
    return (void *)((iAwsSource *)  ((iAwsComponent *) x));
}
static void *_p_csSimplePixmapTo_p_csPixmap(void *x) {
    return (void *)((csPixmap *)  ((csSimplePixmap *) x));
}
static void *_p_csArrayCapacityDefaultTo_p_csArrayThresholdVariable(void *x) {
    return (void *)((csArrayThresholdVariable *) (csArrayCapacityLinear<csArrayThresholdVariable > *) ((csArrayCapacityDefault *) x));
}
static void *_p_csArrayCapacityLinearTcsArrayThresholdVariable_tTo_p_csArrayThresholdVariable(void *x) {
    return (void *)((csArrayThresholdVariable *)  ((csArrayCapacityLinear<csArrayThresholdVariable > *) x));
}
static void *_p_iSpriteCal3DSocketTo_p_iSpriteSocket(void *x) {
    return (void *)((iSpriteSocket *)  ((iSpriteCal3DSocket *) x));
}
static void *_p_csTriangleTo_p_CS__TriangleTTint_t(void *x) {
    return (void *)((CS::TriangleT<int > *)  ((csTriangle *) x));
}
static void *_p_csPathTo_p_iPath(void *x) {
    return (void *)((iPath *) (scfImplementation1<csPath,iPath > *) ((csPath *) x));
}
static void *_p_scfImplementation1TcsPath_iPath_tTo_p_iPath(void *x) {
    return (void *)((iPath *)  ((scfImplementation1<csPath,iPath > *) x));
}
static void *_p_csVector3ArrayTo_p_csPoly3D(void *x) {
    return (void *)((csPoly3D *)  ((csVector3Array *) x));
}
static void *_p_csOrthoTransformTo_p_csReversibleTransform(void *x) {
    return (void *)((csReversibleTransform *)  ((csOrthoTransform *) x));
}
static void *_p_csReversibleTransformTo_p_csTransform(void *x) {
    return (void *)((csTransform *)  ((csReversibleTransform *) x));
}
static void *_p_csOrthoTransformTo_p_csTransform(void *x) {
    return (void *)((csTransform *) (csReversibleTransform *) ((csOrthoTransform *) x));
}
static void *_p_p_csOrthoTransformTo_p_p_csReversibleTransform(void *x) {
    return (void *)((csReversibleTransform **)  ((csOrthoTransform **) x));
}
static void *_p_iParticleBuiltinEmitterBaseTo_p_iParticleEmitter(void *x) {
    return (void *)((iParticleEmitter *)  ((iParticleBuiltinEmitterBase *) x));
}
static void *_p_iParticleBuiltinEmitterConeTo_p_iParticleEmitter(void *x) {
    return (void *)((iParticleEmitter *) (iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterCone *) x));
}
static void *_p_iParticleBuiltinEmitterBoxTo_p_iParticleEmitter(void *x) {
    return (void *)((iParticleEmitter *) (iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterBox *) x));
}
static void *_p_iParticleBuiltinEmitterSphereTo_p_iParticleEmitter(void *x) {
    return (void *)((iParticleEmitter *) (iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterSphere *) x));
}
static void *_p_iParticleBuiltinEmitterCylinderTo_p_iParticleEmitter(void *x) {
    return (void *)((iParticleEmitter *) (iParticleBuiltinEmitterBase *) ((iParticleBuiltinEmitterCylinder *) x));
}
static swig_type_info _swigt__p_AllocatorType = {"_p_AllocatorType", "AllocatorType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CS__Memory__AllocatorMalloc = {"_p_CS__Memory__AllocatorMalloc", "CS::Memory::AllocatorMalloc *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CS__TriangleTTint_t = {"_p_CS__TriangleTTint_t", "CS::TriangleT<int > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CalAnimationCallback = {"_p_CalAnimationCallback", "CalAnimationCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CalCoreModel = {"_p_CalCoreModel", "CalCoreModel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CalModel = {"_p_CalModel", "CalModel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CapacityHandlerType = {"_p_CapacityHandlerType", "CapacityHandlerType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_ContainedType = {"_p_ContainedType", "ContainedType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_ElementHandlerType = {"_p_ElementHandlerType", "ElementHandlerType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FileFormatDescription = {"_p_FileFormatDescription", "FileFormatDescription *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_HashType = {"_p_HashType", "HashType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_SndSysFilterLocation = {"_p_SndSysFilterLocation", "enum SndSysFilterLocation *|SndSysFilterLocation *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_ThisType = {"_p_ThisType", "ThisType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_ValueType = {"_p_ValueType", "ValueType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__csKeyCharType = {"_p__csKeyCharType", "enum _csKeyCharType *|csKeyCharType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__csKeyEventType = {"_p__csKeyEventType", "enum _csKeyEventType *|csKeyEventType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__csKeyModifierNumType = {"_p__csKeyModifierNumType", "enum _csKeyModifierNumType *|csKeyModifierNumType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__csKeyModifierType = {"_p__csKeyModifierType", "enum _csKeyModifierType *|csKeyModifierType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__csKeyModifiers = {"_p__csKeyModifiers", "_csKeyModifiers *|csKeyModifiers *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__csMouseCursorID = {"_p__csMouseCursorID", "enum _csMouseCursorID *|csMouseCursorID *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__csMouseEventType = {"_p__csMouseEventType", "enum _csMouseEventType *|csMouseEventType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__csPyEventHandler = {"_p__csPyEventHandler", "_csPyEventHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_awsConnectionNode = {"_p_awsConnectionNode", "awsConnectionNode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_basetype = {"_p_basetype", "basetype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csAlphaMode = {"_p_csAlphaMode", "csAlphaMode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayCapacityDefault = {"_p_csArrayCapacityDefault", "csArrayCapacityDefault *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayCapacityLinearTcsArrayThresholdVariable_t = {"_p_csArrayCapacityLinearTcsArrayThresholdVariable_t", "csArrayCapacityLinear<csArrayThresholdVariable > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<char > *|csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<csArray<char > > *|csArray<csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault >,csArrayElementHandler<csArray<char,csArrayElementHandler<char >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<csImageIOFileFormatDescription const *,csArrayElementHandler<csImageIOFileFormatDescription const * >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *|csImageIOFileFormatDescriptions *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTcsIntersectingTriangle_csArrayElementHandlerTcsIntersectingTriangle_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTcsIntersectingTriangle_csArrayElementHandlerTcsIntersectingTriangle_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<csIntersectingTriangle > *|csArray<csIntersectingTriangle,csArrayElementHandler<csIntersectingTriangle >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<csPluginRequest > *|csArray<csPluginRequest,csArrayElementHandler<csPluginRequest >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTcsShaderVariable_p_csArrayElementHandlerTcsShaderVariable_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTcsShaderVariable_p_csArrayElementHandlerTcsShaderVariable_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<csShaderVariable *,csArrayElementHandler<csShaderVariable * >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *|csShaderVarStack *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<csVector2 > *|csArray<csVector2,csArrayElementHandler<csVector2 >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<csVector3 > *|csArray<csVector3,csArrayElementHandler<csVector3 >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayThresholdVariable = {"_p_csArrayThresholdVariable", "csArrayThresholdVariable *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTiImage_p_csArrayElementHandlerTiImage_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTiImage_p_csArrayElementHandlerTiImage_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<iImage * > *|csArray<iImage *,csArrayElementHandler<iImage * >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTiLight_p_csArrayElementHandlerTiLight_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTiLight_p_csArrayElementHandlerTiLight_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<iLight * > *|csArray<iLight *,csArrayElementHandler<iLight * >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<iMaterialWrapper * > *|csArray<iMaterialWrapper *,csArrayElementHandler<iMaterialWrapper * >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csArrayTvoid_pp_csArrayElementHandlerTvoid_pp_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t = {"_p_csArrayTvoid_pp_csArrayElementHandlerTvoid_pp_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t", "csArray<void ** > *|csArray<void **,csArrayElementHandler<void ** >,CS::Memory::AllocatorMalloc,csArrayCapacityDefault > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csBSpline = {"_p_csBSpline", "csBSpline *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csBitmapMetrics = {"_p_csBitmapMetrics", "csBitmapMetrics *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csBox2 = {"_p_csBox2", "csBox2 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csBox3 = {"_p_csBox3", "csBox3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csCatmullRomSpline = {"_p_csCatmullRomSpline", "csCatmullRomSpline *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csColliderActor = {"_p_csColliderActor", "csColliderActor *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csColliderHelper = {"_p_csColliderHelper", "csColliderHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csColliderWrapper = {"_p_csColliderWrapper", "csColliderWrapper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csCollisionPair = {"_p_csCollisionPair", "csCollisionPair *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csColor = {"_p_csColor", "csColor *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csColor4 = {"_p_csColor4", "csColor4 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csCommandEventData = {"_p_csCommandEventData", "csCommandEventData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csCommandEventHelper = {"_p_csCommandEventHelper", "csCommandEventHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csCommandLineHelper = {"_p_csCommandLineHelper", "csCommandLineHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csCompressVertex = {"_p_csCompressVertex", "csCompressVertex *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csCoreRenderMesh = {"_p_csCoreRenderMesh", "csCoreRenderMesh *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csCubicSpline = {"_p_csCubicSpline", "csCubicSpline *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csDVector3 = {"_p_csDVector3", "csDVector3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csEllipsoid = {"_p_csEllipsoid", "csEllipsoid *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csEvent = {"_p_csEvent", "csEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csEventNameRegistry = {"_p_csEventNameRegistry", "csEventNameRegistry *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csFileTime = {"_p_csFileTime", "csFileTime *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csFlags = {"_p_csFlags", "csFlags *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csFog = {"_p_csFog", "csFog *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csFrustum = {"_p_csFrustum", "csFrustum *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csFrustumContext = {"_p_csFrustumContext", "csFrustumContext *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csGeomDebugHelper = {"_p_csGeomDebugHelper", "csGeomDebugHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csGlyphMetrics = {"_p_csGlyphMetrics", "csGlyphMetrics *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csGraphics3DCaps = {"_p_csGraphics3DCaps", "csGraphics3DCaps *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csHandlerID = {"_p_csHandlerID", "csHandlerID *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csHashTcsRefTiShader_t_unsigned_long_CS__Memory__AllocatorMalloc_t = {"_p_csHashTcsRefTiShader_t_unsigned_long_CS__Memory__AllocatorMalloc_t", "csHash<csRef<iShader >,unsigned long > *|csHash<csRef<iShader >,csStringID > *|csHash<csRef<iShader >,unsigned long,CS::Memory::AllocatorMalloc > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csHitBeamResult = {"_p_csHitBeamResult", "csHitBeamResult *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csImageArea = {"_p_csImageArea", "csImageArea *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csImageIOFileFormatDescription = {"_p_csImageIOFileFormatDescription", "csImageIOFileFormatDescription *|iImageIO::FileFormatDescription *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csInitializer = {"_p_csInitializer", "csInitializer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csInputEventHelper = {"_p_csInputEventHelper", "csInputEventHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csIntersect2 = {"_p_csIntersect2", "csIntersect2 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csIntersect3 = {"_p_csIntersect3", "csIntersect3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csIntersectingTriangle = {"_p_csIntersectingTriangle", "csIntersectingTriangle *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csJoystickEventData = {"_p_csJoystickEventData", "csJoystickEventData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csJoystickEventHelper = {"_p_csJoystickEventHelper", "csJoystickEventHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csKeyEventData = {"_p_csKeyEventData", "csKeyEventData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csKeyEventHelper = {"_p_csKeyEventHelper", "csKeyEventHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csListenerProperties = {"_p_csListenerProperties", "csListenerProperties *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csMath2 = {"_p_csMath2", "csMath2 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csMath3 = {"_p_csMath3", "csMath3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csMatrix2 = {"_p_csMatrix2", "csMatrix2 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csMatrix3 = {"_p_csMatrix3", "csMatrix3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csMeshedPolygon = {"_p_csMeshedPolygon", "csMeshedPolygon *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csMouseEventData = {"_p_csMouseEventData", "csMouseEventData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csMouseEventHelper = {"_p_csMouseEventHelper", "csMouseEventHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csOBB = {"_p_csOBB", "csOBB *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csObject = {"_p_csObject", "csObject *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csOrthoTransform = {"_p_csOrthoTransform", "csOrthoTransform *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csParticle = {"_p_csParticle", "csParticle *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csParticleAux = {"_p_csParticleAux", "csParticleAux *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csParticleBuffer = {"_p_csParticleBuffer", "csParticleBuffer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPath = {"_p_csPath", "csPath *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPixelCoord = {"_p_csPixelCoord", "csPixelCoord *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPixelFormat = {"_p_csPixelFormat", "csPixelFormat *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPixmap = {"_p_csPixmap", "csPixmap *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPlane2 = {"_p_csPlane2", "csPlane2 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPlane3 = {"_p_csPlane3", "csPlane3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPluginRequest = {"_p_csPluginRequest", "csPluginRequest *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPoly2D = {"_p_csPoly2D", "csPoly2D *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPoly2DFactory = {"_p_csPoly2DFactory", "csPoly2DFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPoly3D = {"_p_csPoly3D", "csPoly3D *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPolygonMesh = {"_p_csPolygonMesh", "csPolygonMesh *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPolygonMeshBox = {"_p_csPolygonMeshBox", "csPolygonMeshBox *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPolygonRange = {"_p_csPolygonRange", "csPolygonRange *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTcsFrustum_t = {"_p_csPtrTcsFrustum_t", "csPtr<csFrustum > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiBase_t = {"_p_csPtrTiBase_t", "csPtr<iBase > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiEngineSequenceParameters_t = {"_p_csPtrTiEngineSequenceParameters_t", "csPtr<iEngineSequenceParameters > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiEventOutlet_t = {"_p_csPtrTiEventOutlet_t", "csPtr<iEventOutlet > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiGenMeshAnimationControlFactory_t = {"_p_csPtrTiGenMeshAnimationControlFactory_t", "csPtr<iGenMeshAnimationControlFactory > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiGenMeshAnimationControl_t = {"_p_csPtrTiGenMeshAnimationControl_t", "csPtr<iGenMeshAnimationControl > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiKeyComposer_t = {"_p_csPtrTiKeyComposer_t", "csPtr<iKeyComposer > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiLightIterator_t = {"_p_csPtrTiLightIterator_t", "csPtr<iLightIterator > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiLightingProcessData_t = {"_p_csPtrTiLightingProcessData_t", "csPtr<iLightingProcessData > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiLoaderContext_t = {"_p_csPtrTiLoaderContext_t", "csPtr<iLoaderContext > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiLoaderStatus_t = {"_p_csPtrTiLoaderStatus_t", "csPtr<iLoaderStatus > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiODEHinge2Joint_t = {"_p_csPtrTiODEHinge2Joint_t", "csPtr<iODEHinge2Joint > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiObjectIterator_t = {"_p_csPtrTiObjectIterator_t", "csPtr<iObjectIterator > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiObjectRegistryIterator_t = {"_p_csPtrTiObjectRegistryIterator_t", "csPtr<iObjectRegistryIterator > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiObjectWatcher_t = {"_p_csPtrTiObjectWatcher_t", "csPtr<iObjectWatcher > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiParameterESM_t = {"_p_csPtrTiParameterESM_t", "csPtr<iParameterESM > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiParticleBuiltinEffectorVelocityField_t = {"_p_csPtrTiParticleBuiltinEffectorVelocityField_t", "csPtr<iParticleBuiltinEffectorVelocityField > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiPluginIterator_t = {"_p_csPtrTiPluginIterator_t", "csPtr<iPluginIterator > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiPolygonHandle_t = {"_p_csPtrTiPolygonHandle_t", "csPtr<iPolygonHandle > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiRendererLightmap_t = {"_p_csPtrTiRendererLightmap_t", "csPtr<iRendererLightmap > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiRigidBody_t = {"_p_csPtrTiRigidBody_t", "csPtr<iRigidBody > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiSectorIterator_t = {"_p_csPtrTiSectorIterator_t", "csPtr<iSectorIterator > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiSequenceTrigger_t = {"_p_csPtrTiSequenceTrigger_t", "csPtr<iSequenceTrigger > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiSequenceWrapper_t = {"_p_csPtrTiSequenceWrapper_t", "csPtr<iSequenceWrapper > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiShaderPriorityList_t = {"_p_csPtrTiShaderPriorityList_t", "csPtr<iShaderPriorityList > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiShader_t = {"_p_csPtrTiShader_t", "csPtr<iShader > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiShadowBlockList_t = {"_p_csPtrTiShadowBlockList_t", "csPtr<iShadowBlockList > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiSuperLightmap_t = {"_p_csPtrTiSuperLightmap_t", "csPtr<iSuperLightmap > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csPtrTiVisibilityObjectIterator_t = {"_p_csPtrTiVisibilityObjectIterator_t", "csPtr<iVisibilityObjectIterator > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csQuaternion = {"_p_csQuaternion", "csQuaternion *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRGBcolor = {"_p_csRGBcolor", "csRGBcolor *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRGBpixel = {"_p_csRGBpixel", "csRGBpixel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRandomGen = {"_p_csRandomGen", "csRandomGen *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRect = {"_p_csRect", "csRect *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRectRegion = {"_p_csRectRegion", "csRectRegion *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefArrayTcsShaderVariable_t = {"_p_csRefArrayTcsShaderVariable_t", "csRefArray<csShaderVariable > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefArrayTiAwsKey_t = {"_p_csRefArrayTiAwsKey_t", "csRefArray<iAwsKey > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefArrayTiObject_t = {"_p_csRefArrayTiObject_t", "csRefArray<iObject > *|csObjectContainer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefArrayTiSceneNode_t = {"_p_csRefArrayTiSceneNode_t", "csRefArray<iSceneNode > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefArrayTiShader_t = {"_p_csRefArrayTiShader_t", "csRefArray<iShader > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefCount = {"_p_csRefCount", "csRefCount *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiBase_t = {"_p_csRefTiBase_t", "csRef<iBase > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiDocumentAttributeIterator_t = {"_p_csRefTiDocumentAttributeIterator_t", "csRef<iDocumentAttributeIterator > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiDocumentAttribute_t = {"_p_csRefTiDocumentAttribute_t", "csRef<iDocumentAttribute > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiDocumentNodeIterator_t = {"_p_csRefTiDocumentNodeIterator_t", "csRef<iDocumentNodeIterator > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiDocumentNode_t = {"_p_csRefTiDocumentNode_t", "csRef<iDocumentNode > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiDynamicsSystemCollider_t = {"_p_csRefTiDynamicsSystemCollider_t", "csRef<iDynamicsSystemCollider > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiEventAttributeIterator_t = {"_p_csRefTiEventAttributeIterator_t", "csRef<iEventAttributeIterator > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiEventHandlerRegistry_t = {"_p_csRefTiEventHandlerRegistry_t", "csRef<iEventHandlerRegistry > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiEventHandler_t = {"_p_csRefTiEventHandler_t", "csRef<iEventHandler > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiEventNameRegistry_t = {"_p_csRefTiEventNameRegistry_t", "csRef<iEventNameRegistry > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiEvent_t = {"_p_csRefTiEvent_t", "csRef<iEvent > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiGeneralFactoryState_t = {"_p_csRefTiGeneralFactoryState_t", "csRef<iGeneralFactoryState > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiImage_t = {"_p_csRefTiImage_t", "csRef<iImage > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiRenderBuffer_t = {"_p_csRefTiRenderBuffer_t", "csRef<iRenderBuffer > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiRigidBody_t = {"_p_csRefTiRigidBody_t", "csRef<iRigidBody > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiScriptObject_t = {"_p_csRefTiScriptObject_t", "csRef<iScriptObject > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRefTiString_t = {"_p_csRefTiString_t", "csRef<iString > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRenderBufferHolder = {"_p_csRenderBufferHolder", "csRenderBufferHolder *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRenderBufferName = {"_p_csRenderBufferName", "csRenderBufferName *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRenderMesh = {"_p_csRenderMesh", "csRenderMesh *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRenderMeshList = {"_p_csRenderMeshList", "csRenderMeshList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csRenderMeshModes = {"_p_csRenderMeshModes", "csRenderMeshModes *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csReporterHelper = {"_p_csReporterHelper", "csReporterHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csReversibleTransform = {"_p_csReversibleTransform", "csReversibleTransform *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csScreenBoxResult = {"_p_csScreenBoxResult", "csScreenBoxResult *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSectorHitBeamResult = {"_p_csSectorHitBeamResult", "csSectorHitBeamResult *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSegment2 = {"_p_csSegment2", "csSegment2 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSegment3 = {"_p_csSegment3", "csSegment3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSetTcsPtrKeyTiMeshWrapper_t_CS__Memory__AllocatorMalloc_t = {"_p_csSetTcsPtrKeyTiMeshWrapper_t_CS__Memory__AllocatorMalloc_t", "csSet<csPtrKey<iMeshWrapper > > *|csSet<csPtrKey<iMeshWrapper >,CS::Memory::AllocatorMalloc > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t = {"_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t", "csSet<csStringID > *|csSet<csStringID,CS::Memory::AllocatorMalloc > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csShaderMetadata = {"_p_csShaderMetadata", "csShaderMetadata *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csShaderTagPresence = {"_p_csShaderTagPresence", "enum csShaderTagPresence *|csShaderTagPresence *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csShaderVariable = {"_p_csShaderVariable", "csShaderVariable *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSimplePixmap = {"_p_csSimplePixmap", "csSimplePixmap *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSimpleRenderMesh = {"_p_csSimpleRenderMesh", "csSimpleRenderMesh *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSndSysRendererSoftware = {"_p_csSndSysRendererSoftware", "csSndSysRendererSoftware *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSndSysSoundFormat = {"_p_csSndSysSoundFormat", "csSndSysSoundFormat *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSourceParameters3D = {"_p_csSourceParameters3D", "csSourceParameters3D *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSphere = {"_p_csSphere", "csSphere *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSpline = {"_p_csSpline", "csSpline *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSprite2DVertex = {"_p_csSprite2DVertex", "csSprite2DVertex *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSpriteCal3DActiveAnim = {"_p_csSpriteCal3DActiveAnim", "csSpriteCal3DActiveAnim *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csSquaredDist = {"_p_csSquaredDist", "csSquaredDist *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csStrKey = {"_p_csStrKey", "csStrKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csString = {"_p_csString", "csString *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csStringArray = {"_p_csStringArray", "csStringArray *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csStringBase = {"_p_csStringBase", "csStringBase *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csStringFastT36_t = {"_p_csStringFastT36_t", "csStringFast<36 > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csStringSet = {"_p_csStringSet", "csStringSet *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csTinyDocumentSystem = {"_p_csTinyDocumentSystem", "csTinyDocumentSystem *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csTraceBeamResult = {"_p_csTraceBeamResult", "csTraceBeamResult *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csTransform = {"_p_csTransform", "csTransform *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csTriangle = {"_p_csTriangle", "csTriangle *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csVector2 = {"_p_csVector2", "csVector2 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csVector3 = {"_p_csVector3", "csVector3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csVector3Array = {"_p_csVector3Array", "csVector3Array *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csVector4 = {"_p_csVector4", "csVector4 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csVertexAttrib = {"_p_csVertexAttrib", "enum csVertexAttrib *|csVertexAttrib *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csVertexStatus = {"_p_csVertexStatus", "csVertexStatus *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csView = {"_p_csView", "csView *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csWrapPtr = {"_p_csWrapPtr", "csWrapPtr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csXRotMatrix3 = {"_p_csXRotMatrix3", "csXRotMatrix3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csXScaleMatrix3 = {"_p_csXScaleMatrix3", "csXScaleMatrix3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csYRotMatrix3 = {"_p_csYRotMatrix3", "csYRotMatrix3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csYScaleMatrix3 = {"_p_csYScaleMatrix3", "csYScaleMatrix3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csZRotMatrix3 = {"_p_csZRotMatrix3", "csZRotMatrix3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_csZScaleMatrix3 = {"_p_csZScaleMatrix3", "csZScaleMatrix3 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iBase = {"_p_f_p_iBase__p_iBase", "iBase *(*)(iBase *)|scfFactoryFunc", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsRGBKey = {"_p_f_p_iBase__p_iAwsRGBKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iRendererLightmap = {"_p_f_p_iBase__p_iRendererLightmap", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSuperLightmap = {"_p_f_p_iBase__p_iSuperLightmap", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iConsoleOutput = {"_p_f_p_iBase__p_iConsoleOutput", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iTerrainObjectState = {"_p_f_p_iBase__p_iTerrainObjectState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iClipper2D = {"_p_f_p_iBase__p_iClipper2D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleEffector = {"_p_f_p_iBase__p_iParticleEffector", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDebugHelper = {"_p_f_p_iBase__p_iDebugHelper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEDynamicState = {"_p_f_p_iBase__p_iODEDynamicState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDocumentAttribute = {"_p_f_p_iBase__p_iDocumentAttribute", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEHingeJoint = {"_p_f_p_iBase__p_iODEHingeJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMaterialEngine = {"_p_f_p_iBase__p_iMaterialEngine", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iImageIO = {"_p_f_p_iBase__p_iImageIO", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iPath = {"_p_f_p_iBase__p_iPath", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSCF = {"_p_f_p_iBase__p_iSCF", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLoaderStatus = {"_p_f_p_iBase__p_iLoaderStatus", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEBallJoint = {"_p_f_p_iBase__p_iODEBallJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iTextureHandle = {"_p_f_p_iBase__p_iTextureHandle", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGeneralMeshState = {"_p_f_p_iBase__p_iGeneralMeshState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDynamics = {"_p_f_p_iBase__p_iDynamics", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParameterESM = {"_p_f_p_iBase__p_iParameterESM", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysSoftwareOutputFilter = {"_p_f_p_iBase__p_iSndSysSoftwareOutputFilter", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsIntKey = {"_p_f_p_iBase__p_iAwsIntKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEmitterCylinder = {"_p_f_p_iBase__p_iParticleBuiltinEmitterCylinder", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEDynamicSystemState = {"_p_f_p_iBase__p_iODEDynamicSystemState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshList = {"_p_f_p_iBase__p_iMeshList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEventPlug = {"_p_f_p_iBase__p_iEventPlug", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEmitterBox = {"_p_f_p_iBase__p_iParticleBuiltinEmitterBox", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_t = {"_p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEJointState = {"_p_f_p_iBase__p_iODEJointState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEGeneralJointState = {"_p_f_p_iBase__p_iODEGeneralJointState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_t = {"_p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMaterialWrapper = {"_p_f_p_iBase__p_iMaterialWrapper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iTextureWrapper = {"_p_f_p_iBase__p_iTextureWrapper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshWrapper = {"_p_f_p_iBase__p_iMeshWrapper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshFactoryWrapper = {"_p_f_p_iBase__p_iMeshFactoryWrapper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysWrapper = {"_p_f_p_iBase__p_iSndSysWrapper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSequenceWrapper = {"_p_f_p_iBase__p_iSequenceWrapper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iString = {"_p_f_p_iBase__p_iString", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iConsoleWatcher = {"_p_f_p_iBase__p_iConsoleWatcher", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEngine = {"_p_f_p_iBase__p_iEngine", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSimpleFormerState = {"_p_f_p_iBase__p_iSimpleFormerState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMaterial = {"_p_f_p_iBase__p_iMaterial", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSprite2DUVAnimation = {"_p_f_p_iBase__p_iSprite2DUVAnimation", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t = {"_p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iPolygonMesh = {"_p_f_p_iBase__p_iPolygonMesh", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iTerrainFactoryState = {"_p_f_p_iBase__p_iTerrainFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iThingFactoryState = {"_p_f_p_iBase__p_iThingFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSpriteCal3DFactoryState = {"_p_f_p_iBase__p_iSpriteCal3DFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSprite3DFactoryState = {"_p_f_p_iBase__p_iSprite3DFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSprite2DFactoryState = {"_p_f_p_iBase__p_iSprite2DFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGeneralFactoryState = {"_p_f_p_iBase__p_iGeneralFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleEmitter = {"_p_f_p_iBase__p_iParticleEmitter", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGraphics2D = {"_p_f_p_iBase__p_iGraphics2D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDocument = {"_p_f_p_iBase__p_iDocument", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iShaderPriorityList = {"_p_f_p_iBase__p_iShaderPriorityList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysSourceSoftware3D = {"_p_f_p_iBase__p_iSndSysSourceSoftware3D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDataBuffer = {"_p_f_p_iBase__p_iDataBuffer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshObject = {"_p_f_p_iBase__p_iMeshObject", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iScriptObject = {"_p_f_p_iBase__p_iScriptObject", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonGraveyard = {"_p_f_p_iBase__p_iSkeletonGraveyard", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSequenceTimedOperation = {"_p_f_p_iBase__p_iSequenceTimedOperation", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iHalo = {"_p_f_p_iBase__p_iHalo", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iFontServer = {"_p_f_p_iBase__p_iFontServer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iStringArray = {"_p_f_p_iBase__p_iStringArray", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iReporter = {"_p_f_p_iBase__p_iReporter", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_t = {"_p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEventAttributeIterator = {"_p_f_p_iBase__p_iEventAttributeIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iObjectRegistryIterator = {"_p_f_p_iBase__p_iObjectRegistryIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iObjectIterator = {"_p_f_p_iBase__p_iObjectIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshWrapperIterator = {"_p_f_p_iBase__p_iMeshWrapperIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSectorIterator = {"_p_f_p_iBase__p_iSectorIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iReporterIterator = {"_p_f_p_iBase__p_iReporterIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDocumentNodeIterator = {"_p_f_p_iBase__p_iDocumentNodeIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDocumentAttributeIterator = {"_p_f_p_iBase__p_iDocumentAttributeIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iConfigIterator = {"_p_f_p_iBase__p_iConfigIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iPluginIterator = {"_p_f_p_iBase__p_iPluginIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iVisibilityObjectIterator = {"_p_f_p_iBase__p_iVisibilityObjectIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLightIterator = {"_p_f_p_iBase__p_iLightIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMapNode = {"_p_f_p_iBase__p_iMapNode", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGenMeshAnimationControl = {"_p_f_p_iBase__p_iGenMeshAnimationControl", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iObjectRegistry = {"_p_f_p_iBase__p_iObjectRegistry", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEventNameRegistry = {"_p_f_p_iBase__p_iEventNameRegistry", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysListener = {"_p_f_p_iBase__p_iSndSysListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iVisibilityCullerListener = {"_p_f_p_iBase__p_iVisibilityCullerListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iObjectModelListener = {"_p_f_p_iBase__p_iObjectModelListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iCameraSectorListener = {"_p_f_p_iBase__p_iCameraSectorListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMovableListener = {"_p_f_p_iBase__p_iMovableListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iObjectNameChangeListener = {"_p_f_p_iBase__p_iObjectNameChangeListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iReporterListener = {"_p_f_p_iBase__p_iReporterListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iStandardReporterListener = {"_p_f_p_iBase__p_iStandardReporterListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDocumentSystem = {"_p_f_p_iBase__p_iDocumentSystem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_csPath = {"_p_f_p_iBase__p_csPath", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysSourceSoftware = {"_p_f_p_iBase__p_iSndSysSourceSoftware", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysRendererSoftware = {"_p_f_p_iBase__p_iSndSysRendererSoftware", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSprite2DUVAnimationFrame = {"_p_f_p_iBase__p_iSprite2DUVAnimationFrame", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iTerraFormer = {"_p_f_p_iBase__p_iTerraFormer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeleton = {"_p_f_p_iBase__p_iSkeleton", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSector = {"_p_f_p_iBase__p_iSector", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSequenceTrigger = {"_p_f_p_iBase__p_iSequenceTrigger", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iPortalContainer = {"_p_f_p_iBase__p_iPortalContainer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsKeyContainer = {"_p_f_p_iBase__p_iAwsKeyContainer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODESliderJoint = {"_p_f_p_iBase__p_iODESliderJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEAMotorJoint = {"_p_f_p_iBase__p_iODEAMotorJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEHinge2Joint = {"_p_f_p_iBase__p_iODEHinge2Joint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iRegionList = {"_p_f_p_iBase__p_iRegionList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iCameraPositionList = {"_p_f_p_iBase__p_iCameraPositionList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEffectorVelocityField = {"_p_f_p_iBase__p_iParticleBuiltinEffectorVelocityField", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSpriteAction = {"_p_f_p_iBase__p_iSpriteAction", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLightList = {"_p_f_p_iBase__p_iLightList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iFile = {"_p_f_p_iBase__p_iFile", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshObjectDrawCallback = {"_p_f_p_iBase__p_iMeshObjectDrawCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonUpdateCallback = {"_p_f_p_iBase__p_iSkeletonUpdateCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonScriptCallback = {"_p_f_p_iBase__p_iSkeletonScriptCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonBoneUpdateCallback = {"_p_f_p_iBase__p_iSkeletonBoneUpdateCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iPortalCallback = {"_p_f_p_iBase__p_iPortalCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLightCallback = {"_p_f_p_iBase__p_iLightCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSectorCallback = {"_p_f_p_iBase__p_iSectorCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSectorMeshCallback = {"_p_f_p_iBase__p_iSectorMeshCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLightVisibleCallback = {"_p_f_p_iBase__p_iLightVisibleCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEngineFrameCallback = {"_p_f_p_iBase__p_iEngineFrameCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEngineSectorCallback = {"_p_f_p_iBase__p_iEngineSectorCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iTextureCallback = {"_p_f_p_iBase__p_iTextureCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshDrawCallback = {"_p_f_p_iBase__p_iMeshDrawCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysStreamCallback = {"_p_f_p_iBase__p_iSndSysStreamCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysRendererCallback = {"_p_f_p_iBase__p_iSndSysRendererCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iOffscreenCanvasCallback = {"_p_f_p_iBase__p_iOffscreenCanvasCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDynamicsMoveCallback = {"_p_f_p_iBase__p_iDynamicsMoveCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDynamicsCollisionCallback = {"_p_f_p_iBase__p_iDynamicsCollisionCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDynamicsColliderCollisionCallback = {"_p_f_p_iBase__p_iDynamicsColliderCollisionCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEFrameUpdateCallback = {"_p_f_p_iBase__p_iODEFrameUpdateCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iVisibilityObject = {"_p_f_p_iBase__p_iVisibilityObject", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iObject = {"_p_f_p_iBase__p_iObject", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iCamera = {"_p_f_p_iBase__p_iCamera", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iCommandLineParser = {"_p_f_p_iBase__p_iCommandLineParser", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshFactoryList = {"_p_f_p_iBase__p_iMeshFactoryList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGraphics3D = {"_p_f_p_iBase__p_iGraphics3D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iVirtualClock = {"_p_f_p_iBase__p_iVirtualClock", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshObjectType = {"_p_f_p_iBase__p_iMeshObjectType", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMovieRecorder = {"_p_f_p_iBase__p_iMovieRecorder", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSprite2DState = {"_p_f_p_iBase__p_iSprite2DState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEmitterSphere = {"_p_f_p_iBase__p_iParticleBuiltinEmitterSphere", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iThingEnvironment = {"_p_f_p_iBase__p_iThingEnvironment", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMovable = {"_p_f_p_iBase__p_iMovable", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAws = {"_p_f_p_iBase__p_iAws", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSceneNodeArray = {"_p_f_p_iBase__p_iSceneNodeArray", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iShaderVariableContext = {"_p_f_p_iBase__p_iShaderVariableContext", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSectorList = {"_p_f_p_iBase__p_iSectorList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleSystem = {"_p_f_p_iBase__p_iParticleSystem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iCollideSystem = {"_p_f_p_iBase__p_iCollideSystem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDynamicSystem = {"_p_f_p_iBase__p_iDynamicSystem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysSoftwareFilter3D = {"_p_f_p_iBase__p_iSndSysSoftwareFilter3D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iShaderCompiler = {"_p_f_p_iBase__p_iShaderCompiler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLightingProcessData = {"_p_f_p_iBase__p_iLightingProcessData", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iCameraPosition = {"_p_f_p_iBase__p_iCameraPosition", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iBinaryLoaderPlugin = {"_p_f_p_iBase__p_iBinaryLoaderPlugin", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLoaderPlugin = {"_p_f_p_iBase__p_iLoaderPlugin", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonSocket = {"_p_f_p_iBase__p_iSkeletonSocket", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSpriteCal3DSocket = {"_p_f_p_iBase__p_iSpriteCal3DSocket", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysStream = {"_p_f_p_iBase__p_iSndSysStream", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iVisibilityCuller = {"_p_f_p_iBase__p_iVisibilityCuller", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGeneralMeshCommonState = {"_p_f_p_iBase__p_iGeneralMeshCommonState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iConfigFile = {"_p_f_p_iBase__p_iConfigFile", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEventQueue = {"_p_f_p_iBase__p_iEventQueue", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iVFS = {"_p_f_p_iBase__p_iVFS", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iRigidBody = {"_p_f_p_iBase__p_iRigidBody", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsComponentNode = {"_p_f_p_iBase__p_iAwsComponentNode", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEventOutlet = {"_p_f_p_iBase__p_iEventOutlet", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDocumentNode = {"_p_f_p_iBase__p_iDocumentNode", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_t = {"_p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_t = {"_p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iFont = {"_p_f_p_iBase__p_iFont", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSpriteCal3DState = {"_p_f_p_iBase__p_iSpriteCal3DState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSprite3DState = {"_p_f_p_iBase__p_iSprite3DState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iKeyboardDriver = {"_p_f_p_iBase__p_iKeyboardDriver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iBodyGroup = {"_p_f_p_iBase__p_iBodyGroup", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iFrustumView = {"_p_f_p_iBase__p_iFrustumView", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAnimTimeUpdateHandler = {"_p_f_p_iBase__p_iAnimTimeUpdateHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEventHandler = {"_p_f_p_iBase__p_iEventHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p__csPyEventHandler = {"_p_f_p_iBase__p__csPyEventHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iPortal = {"_p_f_p_iBase__p_iPortal", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEngineSequenceParameters = {"_p_f_p_iBase__p_iEngineSequenceParameters", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsKey = {"_p_f_p_iBase__p_iAwsKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iView = {"_p_f_p_iBase__p_iView", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGenMeshAnimationControlType = {"_p_f_p_iBase__p_iGenMeshAnimationControlType", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iKeyComposer = {"_p_f_p_iBase__p_iKeyComposer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_t = {"_p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMaterialList = {"_p_f_p_iBase__p_iMaterialList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsRectKey = {"_p_f_p_iBase__p_iAwsRectKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLightingProcessInfo = {"_p_f_p_iBase__p_iLightingProcessInfo", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iJoint = {"_p_f_p_iBase__p_iJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSpriteSocket = {"_p_f_p_iBase__p_iSpriteSocket", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEmitterBase = {"_p_f_p_iBase__p_iParticleBuiltinEmitterBase", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEmitterCone = {"_p_f_p_iBase__p_iParticleBuiltinEmitterCone", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysRenderer = {"_p_f_p_iBase__p_iSndSysRenderer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsComponent = {"_p_f_p_iBase__p_iAwsComponent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iComponent = {"_p_f_p_iBase__p_iComponent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLight = {"_p_f_p_iBase__p_iLight", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsStringKey = {"_p_f_p_iBase__p_iAwsStringKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGenMeshSkeletonControlState = {"_p_f_p_iBase__p_iGenMeshSkeletonControlState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsSource = {"_p_f_p_iBase__p_iAwsSource", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysSource = {"_p_f_p_iBase__p_iSndSysSource", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEffectorForce = {"_p_f_p_iBase__p_iParticleBuiltinEffectorForce", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEffectorFactory = {"_p_f_p_iBase__p_iParticleBuiltinEffectorFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEmitterFactory = {"_p_f_p_iBase__p_iParticleBuiltinEmitterFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleSystemFactory = {"_p_f_p_iBase__p_iParticleSystemFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMeshObjectFactory = {"_p_f_p_iBase__p_iMeshObjectFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonFactory = {"_p_f_p_iBase__p_iSkeletonFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonSocketFactory = {"_p_f_p_iBase__p_iSkeletonSocketFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonBoneFactory = {"_p_f_p_iBase__p_iSkeletonBoneFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGenMeshAnimationControlFactory = {"_p_f_p_iBase__p_iGenMeshAnimationControlFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsConnectionNodeFactory = {"_p_f_p_iBase__p_iAwsConnectionNodeFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsKeyFactory = {"_p_f_p_iBase__p_iAwsKeyFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsComponentFactory = {"_p_f_p_iBase__p_iAwsComponentFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iFactory = {"_p_f_p_iBase__p_iFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysSoftwareDriver = {"_p_f_p_iBase__p_iSndSysSoftwareDriver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMouseDriver = {"_p_f_p_iBase__p_iMouseDriver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iJoystickDriver = {"_p_f_p_iBase__p_iJoystickDriver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_t = {"_p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysLoader = {"_p_f_p_iBase__p_iSndSysLoader", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iLoader = {"_p_f_p_iBase__p_iLoader", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iFrustumViewUserdata = {"_p_f_p_iBase__p_iFrustumViewUserdata", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsSink = {"_p_f_p_iBase__p_iAwsSink", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iShader = {"_p_f_p_iBase__p_iShader", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iTextureList = {"_p_f_p_iBase__p_iTextureList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iNativeWindow = {"_p_f_p_iBase__p_iNativeWindow", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleSystemBase = {"_p_f_p_iBase__p_iParticleSystemBase", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSpriteFrame = {"_p_f_p_iBase__p_iSpriteFrame", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonScript = {"_p_f_p_iBase__p_iSkeletonScript", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iFontDeleteNotify = {"_p_f_p_iBase__p_iFontDeleteNotify", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iThingState = {"_p_f_p_iBase__p_iThingState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsFloatKey = {"_p_f_p_iBase__p_iAwsFloatKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iShaderVariableAccessor = {"_p_f_p_iBase__p_iShaderVariableAccessor", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iTerraSampler = {"_p_f_p_iBase__p_iTerraSampler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEvent = {"_p_f_p_iBase__p_iEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonBone = {"_p_f_p_iBase__p_iSkeletonBone", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsSlot = {"_p_f_p_iBase__p_iAwsSlot", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSceneNode = {"_p_f_p_iBase__p_iSceneNode", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonScriptKeyFrame = {"_p_f_p_iBase__p_iSkeletonScriptKeyFrame", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iParticleBuiltinEffectorLinColor = {"_p_f_p_iBase__p_iParticleBuiltinEffectorLinColor", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iShaderVarStack = {"_p_f_p_iBase__p_iShaderVarStack", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iGeneralMeshSubMesh = {"_p_f_p_iBase__p_iGeneralMeshSubMesh", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iImage = {"_p_f_p_iBase__p_iImage", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iCollider = {"_p_f_p_iBase__p_iCollider", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iDynamicsSystemCollider = {"_p_f_p_iBase__p_iDynamicsSystemCollider", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iODEUniversalJoint = {"_p_f_p_iBase__p_iODEUniversalJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iPolygonHandle = {"_p_f_p_iBase__p_iPolygonHandle", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iObjectModel = {"_p_f_p_iBase__p_iObjectModel", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsConnectionKey = {"_p_f_p_iBase__p_iAwsConnectionKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSkeletonBoneRagdollInfo = {"_p_f_p_iBase__p_iSkeletonBoneRagdollInfo", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iMissingLoaderData = {"_p_f_p_iBase__p_iMissingLoaderData", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iRegion = {"_p_f_p_iBase__p_iRegion", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iStringSet = {"_p_f_p_iBase__p_iStringSet", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iColoredVertices = {"_p_f_p_iBase__p_iColoredVertices", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsLayoutManager = {"_p_f_p_iBase__p_iAwsLayoutManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsSinkManager = {"_p_f_p_iBase__p_iAwsSinkManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsPrefManager = {"_p_f_p_iBase__p_iAwsPrefManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysManager = {"_p_f_p_iBase__p_iSndSysManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iCacheManager = {"_p_f_p_iBase__p_iCacheManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iPluginManager = {"_p_f_p_iBase__p_iPluginManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iConfigManager = {"_p_f_p_iBase__p_iConfigManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iNativeWindowManager = {"_p_f_p_iBase__p_iNativeWindowManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iShaderManager = {"_p_f_p_iBase__p_iShaderManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iTextureManager = {"_p_f_p_iBase__p_iTextureManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEngineSequenceManager = {"_p_f_p_iBase__p_iEngineSequenceManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iAwsPointKey = {"_p_f_p_iBase__p_iAwsPointKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iScript = {"_p_f_p_iBase__p_iScript", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSaver = {"_p_f_p_iBase__p_iSaver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iSndSysData = {"_p_f_p_iBase__p_iSndSysData", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iBase__p_iEventCord = {"_p_f_p_iBase__p_iEventCord", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_f_p_iMeshWrapper_p_iFrustumView_bool__void = {"_p_f_p_iMeshWrapper_p_iFrustumView_bool__void", "void (*)(iMeshWrapper *,iFrustumView *,bool)|csFrustumViewObjectFunc *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_unsigned_long_int_p_iAwsSource__void = {"_p_f_unsigned_long_int_p_iAwsSource__void", "void (*)(unsigned long,int,iAwsSource *)|void (*)(unsigned long,intptr_t,iAwsSource *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_unsigned_long_p_void_p_iAwsSource__void = {"_p_f_unsigned_long_p_void_p_iAwsSource__void", "void (*)(unsigned long,void *,iAwsSource *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAnimTimeUpdateHandler = {"_p_iAnimTimeUpdateHandler", "iAnimTimeUpdateHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iArrayChangeAllTcsShaderVariable_p_t = {"_p_iArrayChangeAllTcsShaderVariable_p_t", "iArrayChangeAll<csShaderVariable * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iArrayChangeAllTcsSprite2DVertex_t = {"_p_iArrayChangeAllTcsSprite2DVertex_t", "iArrayChangeAll<csSprite2DVertex > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iArrayChangeElementsTcsShaderVariable_p_t = {"_p_iArrayChangeElementsTcsShaderVariable_p_t", "iArrayChangeElements<csShaderVariable * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iArrayChangeElementsTcsSprite2DVertex_t = {"_p_iArrayChangeElementsTcsSprite2DVertex_t", "iArrayChangeElements<csSprite2DVertex > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iArrayReadOnlyTcsShaderVariable_p_t = {"_p_iArrayReadOnlyTcsShaderVariable_p_t", "iArrayReadOnly<csShaderVariable * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iArrayReadOnlyTcsSprite2DVertex_t = {"_p_iArrayReadOnlyTcsSprite2DVertex_t", "iArrayReadOnly<csSprite2DVertex > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iArrayReadOnlyTiSceneNode_p_t = {"_p_iArrayReadOnlyTiSceneNode_p_t", "iArrayReadOnly<iSceneNode * > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAws = {"_p_iAws", "iAws *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsCanvas = {"_p_iAwsCanvas", "iAwsCanvas *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsComponent = {"_p_iAwsComponent", "iAwsComponent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsComponentFactory = {"_p_iAwsComponentFactory", "iAwsComponentFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsComponentNode = {"_p_iAwsComponentNode", "iAwsComponentNode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsConnectionKey = {"_p_iAwsConnectionKey", "iAwsConnectionKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsConnectionNodeFactory = {"_p_iAwsConnectionNodeFactory", "iAwsConnectionNodeFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsFloatKey = {"_p_iAwsFloatKey", "iAwsFloatKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsIntKey = {"_p_iAwsIntKey", "iAwsIntKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsKey = {"_p_iAwsKey", "iAwsKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsKeyContainer = {"_p_iAwsKeyContainer", "iAwsKeyContainer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsKeyFactory = {"_p_iAwsKeyFactory", "iAwsKeyFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsLayoutManager = {"_p_iAwsLayoutManager", "iAwsLayoutManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsParmList = {"_p_iAwsParmList", "iAwsParmList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsPointKey = {"_p_iAwsPointKey", "iAwsPointKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsPrefManager = {"_p_iAwsPrefManager", "iAwsPrefManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsRGBKey = {"_p_iAwsRGBKey", "iAwsRGBKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsRGBKey__RGB = {"_p_iAwsRGBKey__RGB", "iAwsRGBKey::RGB *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsRectKey = {"_p_iAwsRectKey", "iAwsRectKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsSink = {"_p_iAwsSink", "iAwsSink *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsSinkManager = {"_p_iAwsSinkManager", "iAwsSinkManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsSlot = {"_p_iAwsSlot", "iAwsSlot *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsSource = {"_p_iAwsSource", "iAwsSource *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iAwsStringKey = {"_p_iAwsStringKey", "iAwsStringKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iBase = {"_p_iBase", "iBase *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iBaseHalo = {"_p_iBaseHalo", "iBaseHalo *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iBinaryLoaderPlugin = {"_p_iBinaryLoaderPlugin", "iBinaryLoaderPlugin *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iBodyGroup = {"_p_iBodyGroup", "iBodyGroup *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCacheManager = {"_p_iCacheManager", "iCacheManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCamera = {"_p_iCamera", "iCamera *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCameraPosition = {"_p_iCameraPosition", "iCameraPosition *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCameraPositionList = {"_p_iCameraPositionList", "iCameraPositionList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCameraSectorListener = {"_p_iCameraSectorListener", "iCameraSectorListener *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iClipper2D = {"_p_iClipper2D", "iClipper2D *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCollection = {"_p_iCollection", "iCollection *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCollectionList = {"_p_iCollectionList", "iCollectionList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCollideSystem = {"_p_iCollideSystem", "iCollideSystem *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCollider = {"_p_iCollider", "iCollider *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iColoredVertices = {"_p_iColoredVertices", "iColoredVertices *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCommandLineParser = {"_p_iCommandLineParser", "iCommandLineParser *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iComponent = {"_p_iComponent", "iComponent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iConfigFile = {"_p_iConfigFile", "iConfigFile *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iConfigIterator = {"_p_iConfigIterator", "iConfigIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iConfigManager = {"_p_iConfigManager", "iConfigManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iConsoleOutput = {"_p_iConsoleOutput", "iConsoleOutput *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iConsoleWatcher = {"_p_iConsoleWatcher", "iConsoleWatcher *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iCrossHalo = {"_p_iCrossHalo", "iCrossHalo *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDataBuffer = {"_p_iDataBuffer", "iDataBuffer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDebugHelper = {"_p_iDebugHelper", "iDebugHelper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDocument = {"_p_iDocument", "iDocument *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDocumentAttribute = {"_p_iDocumentAttribute", "iDocumentAttribute *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDocumentAttributeIterator = {"_p_iDocumentAttributeIterator", "iDocumentAttributeIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDocumentNode = {"_p_iDocumentNode", "iDocumentNode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDocumentNodeIterator = {"_p_iDocumentNodeIterator", "iDocumentNodeIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDocumentSystem = {"_p_iDocumentSystem", "iDocumentSystem *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDynamicSystem = {"_p_iDynamicSystem", "iDynamicSystem *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDynamics = {"_p_iDynamics", "iDynamics *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDynamicsColliderCollisionCallback = {"_p_iDynamicsColliderCollisionCallback", "iDynamicsColliderCollisionCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDynamicsCollisionCallback = {"_p_iDynamicsCollisionCallback", "iDynamicsCollisionCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDynamicsMoveCallback = {"_p_iDynamicsMoveCallback", "iDynamicsMoveCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iDynamicsSystemCollider = {"_p_iDynamicsSystemCollider", "iDynamicsSystemCollider *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEngine = {"_p_iEngine", "iEngine *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEngineFrameCallback = {"_p_iEngineFrameCallback", "iEngineFrameCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEngineSectorCallback = {"_p_iEngineSectorCallback", "iEngineSectorCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEngineSequenceManager = {"_p_iEngineSequenceManager", "iEngineSequenceManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEngineSequenceParameters = {"_p_iEngineSequenceParameters", "iEngineSequenceParameters *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEvent = {"_p_iEvent", "iEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEventAttributeIterator = {"_p_iEventAttributeIterator", "iEventAttributeIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEventCord = {"_p_iEventCord", "iEventCord *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEventHandler = {"_p_iEventHandler", "iEventHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEventNameRegistry = {"_p_iEventNameRegistry", "iEventNameRegistry *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEventOutlet = {"_p_iEventOutlet", "iEventOutlet *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEventPlug = {"_p_iEventPlug", "iEventPlug *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iEventQueue = {"_p_iEventQueue", "iEventQueue *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iFactory = {"_p_iFactory", "iFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iFile = {"_p_iFile", "iFile *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iFlareHalo = {"_p_iFlareHalo", "iFlareHalo *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iFont = {"_p_iFont", "iFont *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iFontDeleteNotify = {"_p_iFontDeleteNotify", "iFontDeleteNotify *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iFontServer = {"_p_iFontServer", "iFontServer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iFrustumView = {"_p_iFrustumView", "iFrustumView *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iFrustumViewUserdata = {"_p_iFrustumViewUserdata", "iFrustumViewUserdata *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGenMeshAnimationControl = {"_p_iGenMeshAnimationControl", "iGenMeshAnimationControl *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGenMeshAnimationControlFactory = {"_p_iGenMeshAnimationControlFactory", "iGenMeshAnimationControlFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGenMeshAnimationControlType = {"_p_iGenMeshAnimationControlType", "iGenMeshAnimationControlType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGenMeshSkeletonControlState = {"_p_iGenMeshSkeletonControlState", "iGenMeshSkeletonControlState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGeneralFactoryState = {"_p_iGeneralFactoryState", "iGeneralFactoryState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGeneralMeshCommonState = {"_p_iGeneralMeshCommonState", "iGeneralMeshCommonState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGeneralMeshState = {"_p_iGeneralMeshState", "iGeneralMeshState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGeneralMeshSubMesh = {"_p_iGeneralMeshSubMesh", "iGeneralMeshSubMesh *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGraphics2D = {"_p_iGraphics2D", "iGraphics2D *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iGraphics3D = {"_p_iGraphics3D", "iGraphics3D *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iHalo = {"_p_iHalo", "iHalo *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iImage = {"_p_iImage", "iImage *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iImageIO = {"_p_iImageIO", "iImageIO *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iJoint = {"_p_iJoint", "iJoint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iJoystickDriver = {"_p_iJoystickDriver", "iJoystickDriver *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iKeyComposer = {"_p_iKeyComposer", "iKeyComposer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iKeyboardDriver = {"_p_iKeyboardDriver", "iKeyboardDriver *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLODControl = {"_p_iLODControl", "iLODControl *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLight = {"_p_iLight", "iLight *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLightCallback = {"_p_iLightCallback", "iLightCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLightIterator = {"_p_iLightIterator", "iLightIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLightList = {"_p_iLightList", "iLightList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLightVisibleCallback = {"_p_iLightVisibleCallback", "iLightVisibleCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLightingInfo = {"_p_iLightingInfo", "iLightingInfo *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLightingProcessData = {"_p_iLightingProcessData", "iLightingProcessData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLightingProcessInfo = {"_p_iLightingProcessInfo", "iLightingProcessInfo *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLoader = {"_p_iLoader", "iLoader *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLoaderContext = {"_p_iLoaderContext", "iLoaderContext *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLoaderPlugin = {"_p_iLoaderPlugin", "iLoaderPlugin *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iLoaderStatus = {"_p_iLoaderStatus", "iLoaderStatus *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMapNode = {"_p_iMapNode", "iMapNode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMaterial = {"_p_iMaterial", "iMaterial *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMaterialEngine = {"_p_iMaterialEngine", "iMaterialEngine *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMaterialList = {"_p_iMaterialList", "iMaterialList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMaterialWrapper = {"_p_iMaterialWrapper", "iMaterialWrapper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshDrawCallback = {"_p_iMeshDrawCallback", "iMeshDrawCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshFactoryList = {"_p_iMeshFactoryList", "iMeshFactoryList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshFactoryWrapper = {"_p_iMeshFactoryWrapper", "iMeshFactoryWrapper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshGenerator = {"_p_iMeshGenerator", "iMeshGenerator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshList = {"_p_iMeshList", "iMeshList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshObject = {"_p_iMeshObject", "iMeshObject *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshObjectDrawCallback = {"_p_iMeshObjectDrawCallback", "iMeshObjectDrawCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshObjectFactory = {"_p_iMeshObjectFactory", "iMeshObjectFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshObjectType = {"_p_iMeshObjectType", "iMeshObjectType *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshWrapper = {"_p_iMeshWrapper", "iMeshWrapper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMeshWrapperIterator = {"_p_iMeshWrapperIterator", "iMeshWrapperIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMissingLoaderData = {"_p_iMissingLoaderData", "iMissingLoaderData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMouseDriver = {"_p_iMouseDriver", "iMouseDriver *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMovable = {"_p_iMovable", "iMovable *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMovableListener = {"_p_iMovableListener", "iMovableListener *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iMovieRecorder = {"_p_iMovieRecorder", "iMovieRecorder *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iNativeWindow = {"_p_iNativeWindow", "iNativeWindow *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iNativeWindowManager = {"_p_iNativeWindowManager", "iNativeWindowManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iNovaHalo = {"_p_iNovaHalo", "iNovaHalo *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEAMotorJoint = {"_p_iODEAMotorJoint", "iODEAMotorJoint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEBallJoint = {"_p_iODEBallJoint", "iODEBallJoint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEDynamicState = {"_p_iODEDynamicState", "iODEDynamicState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEDynamicSystemState = {"_p_iODEDynamicSystemState", "iODEDynamicSystemState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEFrameUpdateCallback = {"_p_iODEFrameUpdateCallback", "iODEFrameUpdateCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEGeneralJointState = {"_p_iODEGeneralJointState", "iODEGeneralJointState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEHinge2Joint = {"_p_iODEHinge2Joint", "iODEHinge2Joint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEHingeJoint = {"_p_iODEHingeJoint", "iODEHingeJoint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEJointState = {"_p_iODEJointState", "iODEJointState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODESliderJoint = {"_p_iODESliderJoint", "iODESliderJoint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iODEUniversalJoint = {"_p_iODEUniversalJoint", "iODEUniversalJoint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iObject = {"_p_iObject", "iObject *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iObjectIterator = {"_p_iObjectIterator", "iObjectIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iObjectModel = {"_p_iObjectModel", "iObjectModel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iObjectModelListener = {"_p_iObjectModelListener", "iObjectModelListener *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iObjectNameChangeListener = {"_p_iObjectNameChangeListener", "iObjectNameChangeListener *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iObjectRegistry = {"_p_iObjectRegistry", "iObjectRegistry *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iObjectRegistryIterator = {"_p_iObjectRegistryIterator", "iObjectRegistryIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iOffscreenCanvasCallback = {"_p_iOffscreenCanvasCallback", "iOffscreenCanvasCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParameterESM = {"_p_iParameterESM", "iParameterESM *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEffectorFactory = {"_p_iParticleBuiltinEffectorFactory", "iParticleBuiltinEffectorFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEffectorForce = {"_p_iParticleBuiltinEffectorForce", "iParticleBuiltinEffectorForce *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEffectorLinColor = {"_p_iParticleBuiltinEffectorLinColor", "iParticleBuiltinEffectorLinColor *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEffectorVelocityField = {"_p_iParticleBuiltinEffectorVelocityField", "iParticleBuiltinEffectorVelocityField *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEmitterBase = {"_p_iParticleBuiltinEmitterBase", "iParticleBuiltinEmitterBase *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEmitterBox = {"_p_iParticleBuiltinEmitterBox", "iParticleBuiltinEmitterBox *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEmitterCone = {"_p_iParticleBuiltinEmitterCone", "iParticleBuiltinEmitterCone *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEmitterCylinder = {"_p_iParticleBuiltinEmitterCylinder", "iParticleBuiltinEmitterCylinder *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEmitterFactory = {"_p_iParticleBuiltinEmitterFactory", "iParticleBuiltinEmitterFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleBuiltinEmitterSphere = {"_p_iParticleBuiltinEmitterSphere", "iParticleBuiltinEmitterSphere *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleEffector = {"_p_iParticleEffector", "iParticleEffector *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleEmitter = {"_p_iParticleEmitter", "iParticleEmitter *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleSystem = {"_p_iParticleSystem", "iParticleSystem *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleSystemBase = {"_p_iParticleSystemBase", "iParticleSystemBase *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iParticleSystemFactory = {"_p_iParticleSystemFactory", "iParticleSystemFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iPath = {"_p_iPath", "iPath *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iPluginIterator = {"_p_iPluginIterator", "iPluginIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iPluginManager = {"_p_iPluginManager", "iPluginManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iPolygonHandle = {"_p_iPolygonHandle", "iPolygonHandle *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iPolygonMesh = {"_p_iPolygonMesh", "iPolygonMesh *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iPortal = {"_p_iPortal", "iPortal *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iPortalCallback = {"_p_iPortalCallback", "iPortalCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iPortalContainer = {"_p_iPortalContainer", "iPortalContainer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iProgressMeter = {"_p_iProgressMeter", "iProgressMeter *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iRegion = {"_p_iRegion", "iRegion *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iRegionList = {"_p_iRegionList", "iRegionList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iRenderBuffer = {"_p_iRenderBuffer", "iRenderBuffer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iRenderLoop = {"_p_iRenderLoop", "iRenderLoop *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iRenderLoopManager = {"_p_iRenderLoopManager", "iRenderLoopManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iRenderView = {"_p_iRenderView", "iRenderView *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iRendererLightmap = {"_p_iRendererLightmap", "iRendererLightmap *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iReporter = {"_p_iReporter", "iReporter *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iReporterIterator = {"_p_iReporterIterator", "iReporterIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iReporterListener = {"_p_iReporterListener", "iReporterListener *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iRigidBody = {"_p_iRigidBody", "iRigidBody *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSCF = {"_p_iSCF", "iSCF *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSaver = {"_p_iSaver", "iSaver *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSceneNode = {"_p_iSceneNode", "iSceneNode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSceneNodeArray = {"_p_iSceneNodeArray", "iSceneNodeArray *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iScript = {"_p_iScript", "iScript *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iScriptObject = {"_p_iScriptObject", "iScriptObject *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSector = {"_p_iSector", "iSector *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSectorCallback = {"_p_iSectorCallback", "iSectorCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSectorIterator = {"_p_iSectorIterator", "iSectorIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSectorList = {"_p_iSectorList", "iSectorList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSectorMeshCallback = {"_p_iSectorMeshCallback", "iSectorMeshCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSequence = {"_p_iSequence", "iSequence *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSequenceManager = {"_p_iSequenceManager", "iSequenceManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSequenceTimedOperation = {"_p_iSequenceTimedOperation", "iSequenceTimedOperation *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSequenceTrigger = {"_p_iSequenceTrigger", "iSequenceTrigger *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSequenceWrapper = {"_p_iSequenceWrapper", "iSequenceWrapper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShader = {"_p_iShader", "iShader *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShaderCompiler = {"_p_iShaderCompiler", "iShaderCompiler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShaderManager = {"_p_iShaderManager", "iShaderManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShaderPriorityList = {"_p_iShaderPriorityList", "iShaderPriorityList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShaderVarStack = {"_p_iShaderVarStack", "iShaderVarStack *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShaderVariableAccessor = {"_p_iShaderVariableAccessor", "iShaderVariableAccessor *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShaderVariableContext = {"_p_iShaderVariableContext", "iShaderVariableContext *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShadowBlockList = {"_p_iShadowBlockList", "iShadowBlockList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShadowCaster = {"_p_iShadowCaster", "iShadowCaster *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iShadowReceiver = {"_p_iShadowReceiver", "iShadowReceiver *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSharedVariable = {"_p_iSharedVariable", "iSharedVariable *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSharedVariableList = {"_p_iSharedVariableList", "iSharedVariableList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSimpleFormerState = {"_p_iSimpleFormerState", "iSimpleFormerState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeleton = {"_p_iSkeleton", "iSkeleton *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonBone = {"_p_iSkeletonBone", "iSkeletonBone *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonBoneFactory = {"_p_iSkeletonBoneFactory", "iSkeletonBoneFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonBoneRagdollInfo = {"_p_iSkeletonBoneRagdollInfo", "iSkeletonBoneRagdollInfo *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonBoneUpdateCallback = {"_p_iSkeletonBoneUpdateCallback", "iSkeletonBoneUpdateCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonFactory = {"_p_iSkeletonFactory", "iSkeletonFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonGraveyard = {"_p_iSkeletonGraveyard", "iSkeletonGraveyard *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonScript = {"_p_iSkeletonScript", "iSkeletonScript *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonScriptCallback = {"_p_iSkeletonScriptCallback", "iSkeletonScriptCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonScriptKeyFrame = {"_p_iSkeletonScriptKeyFrame", "iSkeletonScriptKeyFrame *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonSocket = {"_p_iSkeletonSocket", "iSkeletonSocket *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonSocketFactory = {"_p_iSkeletonSocketFactory", "iSkeletonSocketFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSkeletonUpdateCallback = {"_p_iSkeletonUpdateCallback", "iSkeletonUpdateCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysData = {"_p_iSndSysData", "iSndSysData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysListener = {"_p_iSndSysListener", "iSndSysListener *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysLoader = {"_p_iSndSysLoader", "iSndSysLoader *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysManager = {"_p_iSndSysManager", "iSndSysManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysRenderer = {"_p_iSndSysRenderer", "iSndSysRenderer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysRendererCallback = {"_p_iSndSysRendererCallback", "iSndSysRendererCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysRendererSoftware = {"_p_iSndSysRendererSoftware", "iSndSysRendererSoftware *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysSoftwareDriver = {"_p_iSndSysSoftwareDriver", "iSndSysSoftwareDriver *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysSoftwareFilter3D = {"_p_iSndSysSoftwareFilter3D", "iSndSysSoftwareFilter3D *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysSoftwareFilter3DProperties = {"_p_iSndSysSoftwareFilter3DProperties", "iSndSysSoftwareFilter3DProperties *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysSoftwareOutputFilter = {"_p_iSndSysSoftwareOutputFilter", "iSndSysSoftwareOutputFilter *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysSource = {"_p_iSndSysSource", "iSndSysSource *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysSourceSoftware = {"_p_iSndSysSourceSoftware", "iSndSysSourceSoftware *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysSourceSoftware3D = {"_p_iSndSysSourceSoftware3D", "iSndSysSourceSoftware3D *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysStream = {"_p_iSndSysStream", "iSndSysStream *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysStreamCallback = {"_p_iSndSysStreamCallback", "iSndSysStreamCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSndSysWrapper = {"_p_iSndSysWrapper", "iSndSysWrapper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSprite2DFactoryState = {"_p_iSprite2DFactoryState", "iSprite2DFactoryState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSprite2DState = {"_p_iSprite2DState", "iSprite2DState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSprite2DUVAnimation = {"_p_iSprite2DUVAnimation", "iSprite2DUVAnimation *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSprite2DUVAnimationFrame = {"_p_iSprite2DUVAnimationFrame", "iSprite2DUVAnimationFrame *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSprite3DFactoryState = {"_p_iSprite3DFactoryState", "iSprite3DFactoryState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSprite3DState = {"_p_iSprite3DState", "iSprite3DState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSpriteAction = {"_p_iSpriteAction", "iSpriteAction *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSpriteCal3DFactoryState = {"_p_iSpriteCal3DFactoryState", "iSpriteCal3DFactoryState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSpriteCal3DSocket = {"_p_iSpriteCal3DSocket", "iSpriteCal3DSocket *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSpriteCal3DState = {"_p_iSpriteCal3DState", "iSpriteCal3DState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSpriteFrame = {"_p_iSpriteFrame", "iSpriteFrame *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSpriteSocket = {"_p_iSpriteSocket", "iSpriteSocket *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iStandardReporterListener = {"_p_iStandardReporterListener", "iStandardReporterListener *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iStreamSource = {"_p_iStreamSource", "iStreamSource *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iString = {"_p_iString", "iString *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iStringArray = {"_p_iStringArray", "iStringArray *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iStringSet = {"_p_iStringSet", "iStringSet *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iSuperLightmap = {"_p_iSuperLightmap", "iSuperLightmap *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iTerraFormer = {"_p_iTerraFormer", "iTerraFormer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iTerraSampler = {"_p_iTerraSampler", "iTerraSampler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iTerrainFactoryState = {"_p_iTerrainFactoryState", "iTerrainFactoryState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iTerrainObjectState = {"_p_iTerrainObjectState", "iTerrainObjectState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iTextureCallback = {"_p_iTextureCallback", "iTextureCallback *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iTextureHandle = {"_p_iTextureHandle", "iTextureHandle *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iTextureList = {"_p_iTextureList", "iTextureList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iTextureManager = {"_p_iTextureManager", "iTextureManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iTextureWrapper = {"_p_iTextureWrapper", "iTextureWrapper *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iThingEnvironment = {"_p_iThingEnvironment", "iThingEnvironment *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iThingFactoryState = {"_p_iThingFactoryState", "iThingFactoryState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iThingState = {"_p_iThingState", "iThingState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iVFS = {"_p_iVFS", "iVFS *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iVerbosityManager = {"_p_iVerbosityManager", "iVerbosityManager *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iView = {"_p_iView", "iView *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iVirtualClock = {"_p_iVirtualClock", "iVirtualClock *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iVisibilityCuller = {"_p_iVisibilityCuller", "iVisibilityCuller *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iVisibilityCullerListener = {"_p_iVisibilityCullerListener", "iVisibilityCullerListener *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iVisibilityObject = {"_p_iVisibilityObject", "iVisibilityObject *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_iVisibilityObjectIterator = {"_p_iVisibilityObjectIterator", "iVisibilityObjectIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int16_t = {"_p_int16_t", "int16_t *|int16 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int32_t = {"_p_int32_t", "int32_t *|int32 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int64_t = {"_p_int64_t", "int64_t *|int64 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int8_t = {"_p_int8_t", "int8_t *|int8 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int_least64_t = {"_p_int_least64_t", "int_least64_t *|longlong *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_csImageIOFileFormatDescription = {"_p_p_csImageIOFileFormatDescription", "csImageIOFileFormatDescription **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_csRenderMesh = {"_p_p_csRenderMesh", "csRenderMesh **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_csReversibleTransform = {"_p_p_csReversibleTransform", "csReversibleTransform **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_csOrthoTransform = {"_p_p_csOrthoTransform", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_csShaderVariable = {"_p_p_csShaderVariable", "csShaderVariable **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_csVector3 = {"_p_p_csVector3", "csVector3 **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iBase = {"_p_p_iBase", "iBase **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iAwsRGBKey = {"_p_p_iAwsRGBKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iRendererLightmap = {"_p_p_iRendererLightmap", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSuperLightmap = {"_p_p_iSuperLightmap", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iConsoleOutput = {"_p_p_iConsoleOutput", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iTerrainObjectState = {"_p_p_iTerrainObjectState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iClipper2D = {"_p_p_iClipper2D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleEffector = {"_p_p_iParticleEffector", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDebugHelper = {"_p_p_iDebugHelper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEDynamicState = {"_p_p_iODEDynamicState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDocumentAttribute = {"_p_p_iDocumentAttribute", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEHingeJoint = {"_p_p_iODEHingeJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMaterialEngine = {"_p_p_iMaterialEngine", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iImageIO = {"_p_p_iImageIO", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iPath = {"_p_p_iPath", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSCF = {"_p_p_iSCF", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iLoaderStatus = {"_p_p_iLoaderStatus", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEBallJoint = {"_p_p_iODEBallJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGeneralMeshState = {"_p_p_iGeneralMeshState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDynamics = {"_p_p_iDynamics", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParameterESM = {"_p_p_iParameterESM", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysSoftwareOutputFilter = {"_p_p_iSndSysSoftwareOutputFilter", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iArrayChangeAllTcsShaderVariable_p_t = {"_p_p_iArrayChangeAllTcsShaderVariable_p_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iArrayChangeElementsTcsShaderVariable_p_t = {"_p_p_iArrayChangeElementsTcsShaderVariable_p_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iArrayReadOnlyTcsShaderVariable_p_t = {"_p_p_iArrayReadOnlyTcsShaderVariable_p_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsIntKey = {"_p_p_iAwsIntKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEmitterCylinder = {"_p_p_iParticleBuiltinEmitterCylinder", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEDynamicSystemState = {"_p_p_iODEDynamicSystemState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMeshList = {"_p_p_iMeshList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEventPlug = {"_p_p_iEventPlug", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEmitterBox = {"_p_p_iParticleBuiltinEmitterBox", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEJointState = {"_p_p_iODEJointState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEGeneralJointState = {"_p_p_iODEGeneralJointState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMeshFactoryWrapper = {"_p_p_iMeshFactoryWrapper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysWrapper = {"_p_p_iSndSysWrapper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSequenceWrapper = {"_p_p_iSequenceWrapper", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iConsoleWatcher = {"_p_p_iConsoleWatcher", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEngine = {"_p_p_iEngine", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSimpleFormerState = {"_p_p_iSimpleFormerState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMaterial = {"_p_p_iMaterial", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSprite2DUVAnimation = {"_p_p_iSprite2DUVAnimation", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_scfImplementation1TcsPath_iPath_t = {"_p_p_scfImplementation1TcsPath_iPath_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iPolygonMesh = {"_p_p_iPolygonMesh", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iTerrainFactoryState = {"_p_p_iTerrainFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iThingFactoryState = {"_p_p_iThingFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSpriteCal3DFactoryState = {"_p_p_iSpriteCal3DFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSprite3DFactoryState = {"_p_p_iSprite3DFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSprite2DFactoryState = {"_p_p_iSprite2DFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGeneralFactoryState = {"_p_p_iGeneralFactoryState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleEmitter = {"_p_p_iParticleEmitter", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGraphics2D = {"_p_p_iGraphics2D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDocument = {"_p_p_iDocument", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iShaderPriorityList = {"_p_p_iShaderPriorityList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysSourceSoftware3D = {"_p_p_iSndSysSourceSoftware3D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDataBuffer = {"_p_p_iDataBuffer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMeshObject = {"_p_p_iMeshObject", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iScriptObject = {"_p_p_iScriptObject", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonGraveyard = {"_p_p_iSkeletonGraveyard", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSequenceTimedOperation = {"_p_p_iSequenceTimedOperation", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iHalo = {"_p_p_iHalo", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iFontServer = {"_p_p_iFontServer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iStringArray = {"_p_p_iStringArray", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iReporter = {"_p_p_iReporter", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEventAttributeIterator = {"_p_p_iEventAttributeIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iObjectRegistryIterator = {"_p_p_iObjectRegistryIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iObjectIterator = {"_p_p_iObjectIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMeshWrapperIterator = {"_p_p_iMeshWrapperIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSectorIterator = {"_p_p_iSectorIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iLightIterator = {"_p_p_iLightIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iReporterIterator = {"_p_p_iReporterIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDocumentNodeIterator = {"_p_p_iDocumentNodeIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDocumentAttributeIterator = {"_p_p_iDocumentAttributeIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iConfigIterator = {"_p_p_iConfigIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iPluginIterator = {"_p_p_iPluginIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iVisibilityObjectIterator = {"_p_p_iVisibilityObjectIterator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMapNode = {"_p_p_iMapNode", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGenMeshAnimationControl = {"_p_p_iGenMeshAnimationControl", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iObjectRegistry = {"_p_p_iObjectRegistry", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEventNameRegistry = {"_p_p_iEventNameRegistry", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysListener = {"_p_p_iSndSysListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iVisibilityCullerListener = {"_p_p_iVisibilityCullerListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iObjectModelListener = {"_p_p_iObjectModelListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iCameraSectorListener = {"_p_p_iCameraSectorListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMovableListener = {"_p_p_iMovableListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iObjectNameChangeListener = {"_p_p_iObjectNameChangeListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iReporterListener = {"_p_p_iReporterListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iStandardReporterListener = {"_p_p_iStandardReporterListener", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDocumentSystem = {"_p_p_iDocumentSystem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_csPath = {"_p_p_csPath", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysSourceSoftware = {"_p_p_iSndSysSourceSoftware", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysRendererSoftware = {"_p_p_iSndSysRendererSoftware", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSprite2DUVAnimationFrame = {"_p_p_iSprite2DUVAnimationFrame", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iTerraFormer = {"_p_p_iTerraFormer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeleton = {"_p_p_iSkeleton", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSequenceTrigger = {"_p_p_iSequenceTrigger", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iPortalContainer = {"_p_p_iPortalContainer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsKeyContainer = {"_p_p_iAwsKeyContainer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODESliderJoint = {"_p_p_iODESliderJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEAMotorJoint = {"_p_p_iODEAMotorJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEHinge2Joint = {"_p_p_iODEHinge2Joint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iRegionList = {"_p_p_iRegionList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iCameraPositionList = {"_p_p_iCameraPositionList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSpriteAction = {"_p_p_iSpriteAction", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iLightList = {"_p_p_iLightList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iFile = {"_p_p_iFile", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMeshObjectDrawCallback = {"_p_p_iMeshObjectDrawCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonUpdateCallback = {"_p_p_iSkeletonUpdateCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonScriptCallback = {"_p_p_iSkeletonScriptCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonBoneUpdateCallback = {"_p_p_iSkeletonBoneUpdateCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iPortalCallback = {"_p_p_iPortalCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iLightCallback = {"_p_p_iLightCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSectorCallback = {"_p_p_iSectorCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSectorMeshCallback = {"_p_p_iSectorMeshCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iLightVisibleCallback = {"_p_p_iLightVisibleCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEngineFrameCallback = {"_p_p_iEngineFrameCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEngineSectorCallback = {"_p_p_iEngineSectorCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iTextureCallback = {"_p_p_iTextureCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMeshDrawCallback = {"_p_p_iMeshDrawCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysStreamCallback = {"_p_p_iSndSysStreamCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysRendererCallback = {"_p_p_iSndSysRendererCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iOffscreenCanvasCallback = {"_p_p_iOffscreenCanvasCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDynamicsMoveCallback = {"_p_p_iDynamicsMoveCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDynamicsCollisionCallback = {"_p_p_iDynamicsCollisionCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDynamicsColliderCollisionCallback = {"_p_p_iDynamicsColliderCollisionCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEFrameUpdateCallback = {"_p_p_iODEFrameUpdateCallback", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iVisibilityObject = {"_p_p_iVisibilityObject", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iObject = {"_p_p_iObject", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iCamera = {"_p_p_iCamera", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iCommandLineParser = {"_p_p_iCommandLineParser", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMeshFactoryList = {"_p_p_iMeshFactoryList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGraphics3D = {"_p_p_iGraphics3D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iVirtualClock = {"_p_p_iVirtualClock", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMeshObjectType = {"_p_p_iMeshObjectType", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMovieRecorder = {"_p_p_iMovieRecorder", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSprite2DState = {"_p_p_iSprite2DState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEmitterSphere = {"_p_p_iParticleBuiltinEmitterSphere", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iThingEnvironment = {"_p_p_iThingEnvironment", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMovable = {"_p_p_iMovable", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAws = {"_p_p_iAws", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSceneNodeArray = {"_p_p_iSceneNodeArray", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iShaderVariableContext = {"_p_p_iShaderVariableContext", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSectorList = {"_p_p_iSectorList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleSystem = {"_p_p_iParticleSystem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iCollideSystem = {"_p_p_iCollideSystem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDynamicSystem = {"_p_p_iDynamicSystem", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysSoftwareFilter3D = {"_p_p_iSndSysSoftwareFilter3D", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iShaderCompiler = {"_p_p_iShaderCompiler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iLightingProcessData = {"_p_p_iLightingProcessData", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iCameraPosition = {"_p_p_iCameraPosition", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iBinaryLoaderPlugin = {"_p_p_iBinaryLoaderPlugin", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iLoaderPlugin = {"_p_p_iLoaderPlugin", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonSocket = {"_p_p_iSkeletonSocket", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSpriteCal3DSocket = {"_p_p_iSpriteCal3DSocket", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysStream = {"_p_p_iSndSysStream", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iVisibilityCuller = {"_p_p_iVisibilityCuller", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGeneralMeshCommonState = {"_p_p_iGeneralMeshCommonState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iConfigFile = {"_p_p_iConfigFile", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEventQueue = {"_p_p_iEventQueue", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iVFS = {"_p_p_iVFS", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iRigidBody = {"_p_p_iRigidBody", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsComponentNode = {"_p_p_iAwsComponentNode", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEventOutlet = {"_p_p_iEventOutlet", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDocumentNode = {"_p_p_iDocumentNode", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iArrayChangeAllTcsSprite2DVertex_t = {"_p_p_iArrayChangeAllTcsSprite2DVertex_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iArrayChangeElementsTcsSprite2DVertex_t = {"_p_p_iArrayChangeElementsTcsSprite2DVertex_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iArrayReadOnlyTcsSprite2DVertex_t = {"_p_p_iArrayReadOnlyTcsSprite2DVertex_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iFont = {"_p_p_iFont", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSpriteCal3DState = {"_p_p_iSpriteCal3DState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSprite3DState = {"_p_p_iSprite3DState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iKeyboardDriver = {"_p_p_iKeyboardDriver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iBodyGroup = {"_p_p_iBodyGroup", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iFrustumView = {"_p_p_iFrustumView", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAnimTimeUpdateHandler = {"_p_p_iAnimTimeUpdateHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEventHandler = {"_p_p_iEventHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p__csPyEventHandler = {"_p_p__csPyEventHandler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEngineSequenceParameters = {"_p_p_iEngineSequenceParameters", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsKey = {"_p_p_iAwsKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iView = {"_p_p_iView", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGenMeshAnimationControlType = {"_p_p_iGenMeshAnimationControlType", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iKeyComposer = {"_p_p_iKeyComposer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iArrayReadOnlyTiSceneNode_p_t = {"_p_p_iArrayReadOnlyTiSceneNode_p_t", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMaterialList = {"_p_p_iMaterialList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsRectKey = {"_p_p_iAwsRectKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEffectorVelocityField = {"_p_p_iParticleBuiltinEffectorVelocityField", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iLightingProcessInfo = {"_p_p_iLightingProcessInfo", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iJoint = {"_p_p_iJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSpriteSocket = {"_p_p_iSpriteSocket", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEmitterBase = {"_p_p_iParticleBuiltinEmitterBase", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEmitterCone = {"_p_p_iParticleBuiltinEmitterCone", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysRenderer = {"_p_p_iSndSysRenderer", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsComponent = {"_p_p_iAwsComponent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iComponent = {"_p_p_iComponent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsStringKey = {"_p_p_iAwsStringKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGenMeshSkeletonControlState = {"_p_p_iGenMeshSkeletonControlState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsSource = {"_p_p_iAwsSource", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysSource = {"_p_p_iSndSysSource", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEffectorForce = {"_p_p_iParticleBuiltinEffectorForce", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEffectorFactory = {"_p_p_iParticleBuiltinEffectorFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEmitterFactory = {"_p_p_iParticleBuiltinEmitterFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleSystemFactory = {"_p_p_iParticleSystemFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMeshObjectFactory = {"_p_p_iMeshObjectFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonFactory = {"_p_p_iSkeletonFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonSocketFactory = {"_p_p_iSkeletonSocketFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonBoneFactory = {"_p_p_iSkeletonBoneFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGenMeshAnimationControlFactory = {"_p_p_iGenMeshAnimationControlFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsConnectionNodeFactory = {"_p_p_iAwsConnectionNodeFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsKeyFactory = {"_p_p_iAwsKeyFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsComponentFactory = {"_p_p_iAwsComponentFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iFactory = {"_p_p_iFactory", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysSoftwareDriver = {"_p_p_iSndSysSoftwareDriver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMouseDriver = {"_p_p_iMouseDriver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iJoystickDriver = {"_p_p_iJoystickDriver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysLoader = {"_p_p_iSndSysLoader", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iLoader = {"_p_p_iLoader", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iFrustumViewUserdata = {"_p_p_iFrustumViewUserdata", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsSink = {"_p_p_iAwsSink", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iShader = {"_p_p_iShader", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iTextureList = {"_p_p_iTextureList", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iNativeWindow = {"_p_p_iNativeWindow", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleSystemBase = {"_p_p_iParticleSystemBase", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSpriteFrame = {"_p_p_iSpriteFrame", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonScript = {"_p_p_iSkeletonScript", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iFontDeleteNotify = {"_p_p_iFontDeleteNotify", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iThingState = {"_p_p_iThingState", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsFloatKey = {"_p_p_iAwsFloatKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iShaderVariableAccessor = {"_p_p_iShaderVariableAccessor", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iTerraSampler = {"_p_p_iTerraSampler", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEvent = {"_p_p_iEvent", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonBone = {"_p_p_iSkeletonBone", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsSlot = {"_p_p_iAwsSlot", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonScriptKeyFrame = {"_p_p_iSkeletonScriptKeyFrame", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iParticleBuiltinEffectorLinColor = {"_p_p_iParticleBuiltinEffectorLinColor", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iShaderVarStack = {"_p_p_iShaderVarStack", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iGeneralMeshSubMesh = {"_p_p_iGeneralMeshSubMesh", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iImage = {"_p_p_iImage", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iDynamicsSystemCollider = {"_p_p_iDynamicsSystemCollider", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iODEUniversalJoint = {"_p_p_iODEUniversalJoint", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iPolygonHandle = {"_p_p_iPolygonHandle", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iObjectModel = {"_p_p_iObjectModel", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsConnectionKey = {"_p_p_iAwsConnectionKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSkeletonBoneRagdollInfo = {"_p_p_iSkeletonBoneRagdollInfo", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iMissingLoaderData = {"_p_p_iMissingLoaderData", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iRegion = {"_p_p_iRegion", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iStringSet = {"_p_p_iStringSet", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iColoredVertices = {"_p_p_iColoredVertices", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsLayoutManager = {"_p_p_iAwsLayoutManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsSinkManager = {"_p_p_iAwsSinkManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsPrefManager = {"_p_p_iAwsPrefManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysManager = {"_p_p_iSndSysManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iCacheManager = {"_p_p_iCacheManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iPluginManager = {"_p_p_iPluginManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iConfigManager = {"_p_p_iConfigManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iNativeWindowManager = {"_p_p_iNativeWindowManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iShaderManager = {"_p_p_iShaderManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iTextureManager = {"_p_p_iTextureManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEngineSequenceManager = {"_p_p_iEngineSequenceManager", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iAwsPointKey = {"_p_p_iAwsPointKey", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iScript = {"_p_p_iScript", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSaver = {"_p_p_iSaver", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iSndSysData = {"_p_p_iSndSysData", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iEventCord = {"_p_p_iEventCord", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_p_iCollider = {"_p_p_iCollider", "iCollider **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iLight = {"_p_p_iLight", "iLight **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iMaterialWrapper = {"_p_p_iMaterialWrapper", "iMaterialWrapper **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iMeshWrapper = {"_p_p_iMeshWrapper", "iMeshWrapper **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iPortal = {"_p_p_iPortal", "iPortal **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iRenderBuffer = {"_p_p_iRenderBuffer", "iRenderBuffer **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iSceneNode = {"_p_p_iSceneNode", "iSceneNode **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iSector = {"_p_p_iSector", "iSector **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iString = {"_p_p_iString", "iString **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iTextureHandle = {"_p_p_iTextureHandle", "iTextureHandle **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_iTextureWrapper = {"_p_p_iTextureWrapper", "iTextureWrapper **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_scfImplementation1TcsPath_iPath_t = {"_p_scfImplementation1TcsPath_iPath_t", "scfImplementation1<csPath,iPath > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_uint16_t = {"_p_uint16_t", "uint16_t *|uint16 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_uint32_t = {"_p_uint32_t", "uint32_t *|uint32 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_uint64_t = {"_p_uint64_t", "uint64_t *|uint64 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_uint8_t = {"_p_uint8_t", "uint8_t *|uint8 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_uint_least64_t = {"_p_uint_least64_t", "uint_least64_t *|ulonglong *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|uint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|csEventID *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_utf32_char = {"_p_utf32_char", "utf32_char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wchar_t = {"_p_wchar_t", "wchar_t *", 0, 0, (void*)0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_AllocatorType,
  &_swigt__p_CS__Memory__AllocatorMalloc,
  &_swigt__p_CS__TriangleTTint_t,
  &_swigt__p_CalAnimationCallback,
  &_swigt__p_CalCoreModel,
  &_swigt__p_CalModel,
  &_swigt__p_CapacityHandlerType,
  &_swigt__p_ContainedType,
  &_swigt__p_ElementHandlerType,
  &_swigt__p_FILE,
  &_swigt__p_FileFormatDescription,
  &_swigt__p_HashType,
  &_swigt__p_SndSysFilterLocation,
  &_swigt__p_ThisType,
  &_swigt__p_ValueType,
  &_swigt__p__csKeyCharType,
  &_swigt__p__csKeyEventType,
  &_swigt__p__csKeyModifierNumType,
  &_swigt__p__csKeyModifierType,
  &_swigt__p__csKeyModifiers,
  &_swigt__p__csMouseCursorID,
  &_swigt__p__csMouseEventType,
  &_swigt__p__csPyEventHandler,
  &_swigt__p_awsConnectionNode,
  &_swigt__p_basetype,
  &_swigt__p_bool,
  &_swigt__p_char,
  &_swigt__p_csAlphaMode,
  &_swigt__p_csArrayCapacityDefault,
  &_swigt__p_csArrayCapacityLinearTcsArrayThresholdVariable_t,
  &_swigt__p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTcsIntersectingTriangle_csArrayElementHandlerTcsIntersectingTriangle_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTcsShaderVariable_p_csArrayElementHandlerTcsShaderVariable_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayThresholdVariable,
  &_swigt__p_csArrayTiImage_p_csArrayElementHandlerTiImage_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTiLight_p_csArrayElementHandlerTiLight_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csArrayTvoid_pp_csArrayElementHandlerTvoid_pp_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  &_swigt__p_csBSpline,
  &_swigt__p_csBitmapMetrics,
  &_swigt__p_csBox2,
  &_swigt__p_csBox3,
  &_swigt__p_csCatmullRomSpline,
  &_swigt__p_csColliderActor,
  &_swigt__p_csColliderHelper,
  &_swigt__p_csColliderWrapper,
  &_swigt__p_csCollisionPair,
  &_swigt__p_csColor,
  &_swigt__p_csColor4,
  &_swigt__p_csCommandEventData,
  &_swigt__p_csCommandEventHelper,
  &_swigt__p_csCommandLineHelper,
  &_swigt__p_csCompressVertex,
  &_swigt__p_csCoreRenderMesh,
  &_swigt__p_csCubicSpline,
  &_swigt__p_csDVector3,
  &_swigt__p_csEllipsoid,
  &_swigt__p_csEvent,
  &_swigt__p_csEventNameRegistry,
  &_swigt__p_csFileTime,
  &_swigt__p_csFlags,
  &_swigt__p_csFog,
  &_swigt__p_csFrustum,
  &_swigt__p_csFrustumContext,
  &_swigt__p_csGeomDebugHelper,
  &_swigt__p_csGlyphMetrics,
  &_swigt__p_csGraphics3DCaps,
  &_swigt__p_csHandlerID,
  &_swigt__p_csHashTcsRefTiShader_t_unsigned_long_CS__Memory__AllocatorMalloc_t,
  &_swigt__p_csHitBeamResult,
  &_swigt__p_csImageArea,
  &_swigt__p_csImageIOFileFormatDescription,
  &_swigt__p_csInitializer,
  &_swigt__p_csInputEventHelper,
  &_swigt__p_csIntersect2,
  &_swigt__p_csIntersect3,
  &_swigt__p_csIntersectingTriangle,
  &_swigt__p_csJoystickEventData,
  &_swigt__p_csJoystickEventHelper,
  &_swigt__p_csKeyEventData,
  &_swigt__p_csKeyEventHelper,
  &_swigt__p_csListenerProperties,
  &_swigt__p_csMath2,
  &_swigt__p_csMath3,
  &_swigt__p_csMatrix2,
  &_swigt__p_csMatrix3,
  &_swigt__p_csMeshedPolygon,
  &_swigt__p_csMouseEventData,
  &_swigt__p_csMouseEventHelper,
  &_swigt__p_csOBB,
  &_swigt__p_csObject,
  &_swigt__p_csOrthoTransform,
  &_swigt__p_csParticle,
  &_swigt__p_csParticleAux,
  &_swigt__p_csParticleBuffer,
  &_swigt__p_csPath,
  &_swigt__p_csPixelCoord,
  &_swigt__p_csPixelFormat,
  &_swigt__p_csPixmap,
  &_swigt__p_csPlane2,
  &_swigt__p_csPlane3,
  &_swigt__p_csPluginRequest,
  &_swigt__p_csPoly2D,
  &_swigt__p_csPoly2DFactory,
  &_swigt__p_csPoly3D,
  &_swigt__p_csPolygonMesh,
  &_swigt__p_csPolygonMeshBox,
  &_swigt__p_csPolygonRange,
  &_swigt__p_csPtrTcsFrustum_t,
  &_swigt__p_csPtrTiBase_t,
  &_swigt__p_csPtrTiEngineSequenceParameters_t,
  &_swigt__p_csPtrTiEventOutlet_t,
  &_swigt__p_csPtrTiGenMeshAnimationControlFactory_t,
  &_swigt__p_csPtrTiGenMeshAnimationControl_t,
  &_swigt__p_csPtrTiKeyComposer_t,
  &_swigt__p_csPtrTiLightIterator_t,
  &_swigt__p_csPtrTiLightingProcessData_t,
  &_swigt__p_csPtrTiLoaderContext_t,
  &_swigt__p_csPtrTiLoaderStatus_t,
  &_swigt__p_csPtrTiODEHinge2Joint_t,
  &_swigt__p_csPtrTiObjectIterator_t,
  &_swigt__p_csPtrTiObjectRegistryIterator_t,
  &_swigt__p_csPtrTiObjectWatcher_t,
  &_swigt__p_csPtrTiParameterESM_t,
  &_swigt__p_csPtrTiParticleBuiltinEffectorVelocityField_t,
  &_swigt__p_csPtrTiPluginIterator_t,
  &_swigt__p_csPtrTiPolygonHandle_t,
  &_swigt__p_csPtrTiRendererLightmap_t,
  &_swigt__p_csPtrTiRigidBody_t,
  &_swigt__p_csPtrTiSectorIterator_t,
  &_swigt__p_csPtrTiSequenceTrigger_t,
  &_swigt__p_csPtrTiSequenceWrapper_t,
  &_swigt__p_csPtrTiShaderPriorityList_t,
  &_swigt__p_csPtrTiShader_t,
  &_swigt__p_csPtrTiShadowBlockList_t,
  &_swigt__p_csPtrTiSuperLightmap_t,
  &_swigt__p_csPtrTiVisibilityObjectIterator_t,
  &_swigt__p_csQuaternion,
  &_swigt__p_csRGBcolor,
  &_swigt__p_csRGBpixel,
  &_swigt__p_csRandomGen,
  &_swigt__p_csRect,
  &_swigt__p_csRectRegion,
  &_swigt__p_csRefArrayTcsShaderVariable_t,
  &_swigt__p_csRefArrayTiAwsKey_t,
  &_swigt__p_csRefArrayTiObject_t,
  &_swigt__p_csRefArrayTiSceneNode_t,
  &_swigt__p_csRefArrayTiShader_t,
  &_swigt__p_csRefCount,
  &_swigt__p_csRefTiBase_t,
  &_swigt__p_csRefTiDocumentAttributeIterator_t,
  &_swigt__p_csRefTiDocumentAttribute_t,
  &_swigt__p_csRefTiDocumentNodeIterator_t,
  &_swigt__p_csRefTiDocumentNode_t,
  &_swigt__p_csRefTiDynamicsSystemCollider_t,
  &_swigt__p_csRefTiEventAttributeIterator_t,
  &_swigt__p_csRefTiEventHandlerRegistry_t,
  &_swigt__p_csRefTiEventHandler_t,
  &_swigt__p_csRefTiEventNameRegistry_t,
  &_swigt__p_csRefTiEvent_t,
  &_swigt__p_csRefTiGeneralFactoryState_t,
  &_swigt__p_csRefTiImage_t,
  &_swigt__p_csRefTiRenderBuffer_t,
  &_swigt__p_csRefTiRigidBody_t,
  &_swigt__p_csRefTiScriptObject_t,
  &_swigt__p_csRefTiString_t,
  &_swigt__p_csRenderBufferHolder,
  &_swigt__p_csRenderBufferName,
  &_swigt__p_csRenderMesh,
  &_swigt__p_csRenderMeshList,
  &_swigt__p_csRenderMeshModes,
  &_swigt__p_csReporterHelper,
  &_swigt__p_csReversibleTransform,
  &_swigt__p_csScreenBoxResult,
  &_swigt__p_csSectorHitBeamResult,
  &_swigt__p_csSegment2,
  &_swigt__p_csSegment3,
  &_swigt__p_csSetTcsPtrKeyTiMeshWrapper_t_CS__Memory__AllocatorMalloc_t,
  &_swigt__p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t,
  &_swigt__p_csShaderMetadata,
  &_swigt__p_csShaderTagPresence,
  &_swigt__p_csShaderVariable,
  &_swigt__p_csSimplePixmap,
  &_swigt__p_csSimpleRenderMesh,
  &_swigt__p_csSndSysRendererSoftware,
  &_swigt__p_csSndSysSoundFormat,
  &_swigt__p_csSourceParameters3D,
  &_swigt__p_csSphere,
  &_swigt__p_csSpline,
  &_swigt__p_csSprite2DVertex,
  &_swigt__p_csSpriteCal3DActiveAnim,
  &_swigt__p_csSquaredDist,
  &_swigt__p_csStrKey,
  &_swigt__p_csString,
  &_swigt__p_csStringArray,
  &_swigt__p_csStringBase,
  &_swigt__p_csStringFastT36_t,
  &_swigt__p_csStringSet,
  &_swigt__p_csTinyDocumentSystem,
  &_swigt__p_csTraceBeamResult,
  &_swigt__p_csTransform,
  &_swigt__p_csTriangle,
  &_swigt__p_csVector2,
  &_swigt__p_csVector3,
  &_swigt__p_csVector3Array,
  &_swigt__p_csVector4,
  &_swigt__p_csVertexAttrib,
  &_swigt__p_csVertexStatus,
  &_swigt__p_csView,
  &_swigt__p_csWrapPtr,
  &_swigt__p_csXRotMatrix3,
  &_swigt__p_csXScaleMatrix3,
  &_swigt__p_csYRotMatrix3,
  &_swigt__p_csYScaleMatrix3,
  &_swigt__p_csZRotMatrix3,
  &_swigt__p_csZScaleMatrix3,
  &_swigt__p_double,
  &_swigt__p_f_p_iBase__p__csPyEventHandler,
  &_swigt__p_f_p_iBase__p_csPath,
  &_swigt__p_f_p_iBase__p_iAnimTimeUpdateHandler,
  &_swigt__p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_t,
  &_swigt__p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_t,
  &_swigt__p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_t,
  &_swigt__p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_t,
  &_swigt__p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_t,
  &_swigt__p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_t,
  &_swigt__p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_t,
  &_swigt__p_f_p_iBase__p_iAws,
  &_swigt__p_f_p_iBase__p_iAwsComponent,
  &_swigt__p_f_p_iBase__p_iAwsComponentFactory,
  &_swigt__p_f_p_iBase__p_iAwsComponentNode,
  &_swigt__p_f_p_iBase__p_iAwsConnectionKey,
  &_swigt__p_f_p_iBase__p_iAwsConnectionNodeFactory,
  &_swigt__p_f_p_iBase__p_iAwsFloatKey,
  &_swigt__p_f_p_iBase__p_iAwsIntKey,
  &_swigt__p_f_p_iBase__p_iAwsKey,
  &_swigt__p_f_p_iBase__p_iAwsKeyContainer,
  &_swigt__p_f_p_iBase__p_iAwsKeyFactory,
  &_swigt__p_f_p_iBase__p_iAwsLayoutManager,
  &_swigt__p_f_p_iBase__p_iAwsPointKey,
  &_swigt__p_f_p_iBase__p_iAwsPrefManager,
  &_swigt__p_f_p_iBase__p_iAwsRGBKey,
  &_swigt__p_f_p_iBase__p_iAwsRectKey,
  &_swigt__p_f_p_iBase__p_iAwsSink,
  &_swigt__p_f_p_iBase__p_iAwsSinkManager,
  &_swigt__p_f_p_iBase__p_iAwsSlot,
  &_swigt__p_f_p_iBase__p_iAwsSource,
  &_swigt__p_f_p_iBase__p_iAwsStringKey,
  &_swigt__p_f_p_iBase__p_iBase,
  &_swigt__p_f_p_iBase__p_iBinaryLoaderPlugin,
  &_swigt__p_f_p_iBase__p_iBodyGroup,
  &_swigt__p_f_p_iBase__p_iCacheManager,
  &_swigt__p_f_p_iBase__p_iCamera,
  &_swigt__p_f_p_iBase__p_iCameraPosition,
  &_swigt__p_f_p_iBase__p_iCameraPositionList,
  &_swigt__p_f_p_iBase__p_iCameraSectorListener,
  &_swigt__p_f_p_iBase__p_iClipper2D,
  &_swigt__p_f_p_iBase__p_iCollideSystem,
  &_swigt__p_f_p_iBase__p_iCollider,
  &_swigt__p_f_p_iBase__p_iColoredVertices,
  &_swigt__p_f_p_iBase__p_iCommandLineParser,
  &_swigt__p_f_p_iBase__p_iComponent,
  &_swigt__p_f_p_iBase__p_iConfigFile,
  &_swigt__p_f_p_iBase__p_iConfigIterator,
  &_swigt__p_f_p_iBase__p_iConfigManager,
  &_swigt__p_f_p_iBase__p_iConsoleOutput,
  &_swigt__p_f_p_iBase__p_iConsoleWatcher,
  &_swigt__p_f_p_iBase__p_iDataBuffer,
  &_swigt__p_f_p_iBase__p_iDebugHelper,
  &_swigt__p_f_p_iBase__p_iDocument,
  &_swigt__p_f_p_iBase__p_iDocumentAttribute,
  &_swigt__p_f_p_iBase__p_iDocumentAttributeIterator,
  &_swigt__p_f_p_iBase__p_iDocumentNode,
  &_swigt__p_f_p_iBase__p_iDocumentNodeIterator,
  &_swigt__p_f_p_iBase__p_iDocumentSystem,
  &_swigt__p_f_p_iBase__p_iDynamicSystem,
  &_swigt__p_f_p_iBase__p_iDynamics,
  &_swigt__p_f_p_iBase__p_iDynamicsColliderCollisionCallback,
  &_swigt__p_f_p_iBase__p_iDynamicsCollisionCallback,
  &_swigt__p_f_p_iBase__p_iDynamicsMoveCallback,
  &_swigt__p_f_p_iBase__p_iDynamicsSystemCollider,
  &_swigt__p_f_p_iBase__p_iEngine,
  &_swigt__p_f_p_iBase__p_iEngineFrameCallback,
  &_swigt__p_f_p_iBase__p_iEngineSectorCallback,
  &_swigt__p_f_p_iBase__p_iEngineSequenceManager,
  &_swigt__p_f_p_iBase__p_iEngineSequenceParameters,
  &_swigt__p_f_p_iBase__p_iEvent,
  &_swigt__p_f_p_iBase__p_iEventAttributeIterator,
  &_swigt__p_f_p_iBase__p_iEventCord,
  &_swigt__p_f_p_iBase__p_iEventHandler,
  &_swigt__p_f_p_iBase__p_iEventNameRegistry,
  &_swigt__p_f_p_iBase__p_iEventOutlet,
  &_swigt__p_f_p_iBase__p_iEventPlug,
  &_swigt__p_f_p_iBase__p_iEventQueue,
  &_swigt__p_f_p_iBase__p_iFactory,
  &_swigt__p_f_p_iBase__p_iFile,
  &_swigt__p_f_p_iBase__p_iFont,
  &_swigt__p_f_p_iBase__p_iFontDeleteNotify,
  &_swigt__p_f_p_iBase__p_iFontServer,
  &_swigt__p_f_p_iBase__p_iFrustumView,
  &_swigt__p_f_p_iBase__p_iFrustumViewUserdata,
  &_swigt__p_f_p_iBase__p_iGenMeshAnimationControl,
  &_swigt__p_f_p_iBase__p_iGenMeshAnimationControlFactory,
  &_swigt__p_f_p_iBase__p_iGenMeshAnimationControlType,
  &_swigt__p_f_p_iBase__p_iGenMeshSkeletonControlState,
  &_swigt__p_f_p_iBase__p_iGeneralFactoryState,
  &_swigt__p_f_p_iBase__p_iGeneralMeshCommonState,
  &_swigt__p_f_p_iBase__p_iGeneralMeshState,
  &_swigt__p_f_p_iBase__p_iGeneralMeshSubMesh,
  &_swigt__p_f_p_iBase__p_iGraphics2D,
  &_swigt__p_f_p_iBase__p_iGraphics3D,
  &_swigt__p_f_p_iBase__p_iHalo,
  &_swigt__p_f_p_iBase__p_iImage,
  &_swigt__p_f_p_iBase__p_iImageIO,
  &_swigt__p_f_p_iBase__p_iJoint,
  &_swigt__p_f_p_iBase__p_iJoystickDriver,
  &_swigt__p_f_p_iBase__p_iKeyComposer,
  &_swigt__p_f_p_iBase__p_iKeyboardDriver,
  &_swigt__p_f_p_iBase__p_iLight,
  &_swigt__p_f_p_iBase__p_iLightCallback,
  &_swigt__p_f_p_iBase__p_iLightIterator,
  &_swigt__p_f_p_iBase__p_iLightList,
  &_swigt__p_f_p_iBase__p_iLightVisibleCallback,
  &_swigt__p_f_p_iBase__p_iLightingProcessData,
  &_swigt__p_f_p_iBase__p_iLightingProcessInfo,
  &_swigt__p_f_p_iBase__p_iLoader,
  &_swigt__p_f_p_iBase__p_iLoaderPlugin,
  &_swigt__p_f_p_iBase__p_iLoaderStatus,
  &_swigt__p_f_p_iBase__p_iMapNode,
  &_swigt__p_f_p_iBase__p_iMaterial,
  &_swigt__p_f_p_iBase__p_iMaterialEngine,
  &_swigt__p_f_p_iBase__p_iMaterialList,
  &_swigt__p_f_p_iBase__p_iMaterialWrapper,
  &_swigt__p_f_p_iBase__p_iMeshDrawCallback,
  &_swigt__p_f_p_iBase__p_iMeshFactoryList,
  &_swigt__p_f_p_iBase__p_iMeshFactoryWrapper,
  &_swigt__p_f_p_iBase__p_iMeshList,
  &_swigt__p_f_p_iBase__p_iMeshObject,
  &_swigt__p_f_p_iBase__p_iMeshObjectDrawCallback,
  &_swigt__p_f_p_iBase__p_iMeshObjectFactory,
  &_swigt__p_f_p_iBase__p_iMeshObjectType,
  &_swigt__p_f_p_iBase__p_iMeshWrapper,
  &_swigt__p_f_p_iBase__p_iMeshWrapperIterator,
  &_swigt__p_f_p_iBase__p_iMissingLoaderData,
  &_swigt__p_f_p_iBase__p_iMouseDriver,
  &_swigt__p_f_p_iBase__p_iMovable,
  &_swigt__p_f_p_iBase__p_iMovableListener,
  &_swigt__p_f_p_iBase__p_iMovieRecorder,
  &_swigt__p_f_p_iBase__p_iNativeWindow,
  &_swigt__p_f_p_iBase__p_iNativeWindowManager,
  &_swigt__p_f_p_iBase__p_iODEAMotorJoint,
  &_swigt__p_f_p_iBase__p_iODEBallJoint,
  &_swigt__p_f_p_iBase__p_iODEDynamicState,
  &_swigt__p_f_p_iBase__p_iODEDynamicSystemState,
  &_swigt__p_f_p_iBase__p_iODEFrameUpdateCallback,
  &_swigt__p_f_p_iBase__p_iODEGeneralJointState,
  &_swigt__p_f_p_iBase__p_iODEHinge2Joint,
  &_swigt__p_f_p_iBase__p_iODEHingeJoint,
  &_swigt__p_f_p_iBase__p_iODEJointState,
  &_swigt__p_f_p_iBase__p_iODESliderJoint,
  &_swigt__p_f_p_iBase__p_iODEUniversalJoint,
  &_swigt__p_f_p_iBase__p_iObject,
  &_swigt__p_f_p_iBase__p_iObjectIterator,
  &_swigt__p_f_p_iBase__p_iObjectModel,
  &_swigt__p_f_p_iBase__p_iObjectModelListener,
  &_swigt__p_f_p_iBase__p_iObjectNameChangeListener,
  &_swigt__p_f_p_iBase__p_iObjectRegistry,
  &_swigt__p_f_p_iBase__p_iObjectRegistryIterator,
  &_swigt__p_f_p_iBase__p_iOffscreenCanvasCallback,
  &_swigt__p_f_p_iBase__p_iParameterESM,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorFactory,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorForce,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorLinColor,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorVelocityField,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterBase,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterBox,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterCone,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterCylinder,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterFactory,
  &_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterSphere,
  &_swigt__p_f_p_iBase__p_iParticleEffector,
  &_swigt__p_f_p_iBase__p_iParticleEmitter,
  &_swigt__p_f_p_iBase__p_iParticleSystem,
  &_swigt__p_f_p_iBase__p_iParticleSystemBase,
  &_swigt__p_f_p_iBase__p_iParticleSystemFactory,
  &_swigt__p_f_p_iBase__p_iPath,
  &_swigt__p_f_p_iBase__p_iPluginIterator,
  &_swigt__p_f_p_iBase__p_iPluginManager,
  &_swigt__p_f_p_iBase__p_iPolygonHandle,
  &_swigt__p_f_p_iBase__p_iPolygonMesh,
  &_swigt__p_f_p_iBase__p_iPortal,
  &_swigt__p_f_p_iBase__p_iPortalCallback,
  &_swigt__p_f_p_iBase__p_iPortalContainer,
  &_swigt__p_f_p_iBase__p_iRegion,
  &_swigt__p_f_p_iBase__p_iRegionList,
  &_swigt__p_f_p_iBase__p_iRendererLightmap,
  &_swigt__p_f_p_iBase__p_iReporter,
  &_swigt__p_f_p_iBase__p_iReporterIterator,
  &_swigt__p_f_p_iBase__p_iReporterListener,
  &_swigt__p_f_p_iBase__p_iRigidBody,
  &_swigt__p_f_p_iBase__p_iSCF,
  &_swigt__p_f_p_iBase__p_iSaver,
  &_swigt__p_f_p_iBase__p_iSceneNode,
  &_swigt__p_f_p_iBase__p_iSceneNodeArray,
  &_swigt__p_f_p_iBase__p_iScript,
  &_swigt__p_f_p_iBase__p_iScriptObject,
  &_swigt__p_f_p_iBase__p_iSector,
  &_swigt__p_f_p_iBase__p_iSectorCallback,
  &_swigt__p_f_p_iBase__p_iSectorIterator,
  &_swigt__p_f_p_iBase__p_iSectorList,
  &_swigt__p_f_p_iBase__p_iSectorMeshCallback,
  &_swigt__p_f_p_iBase__p_iSequenceTimedOperation,
  &_swigt__p_f_p_iBase__p_iSequenceTrigger,
  &_swigt__p_f_p_iBase__p_iSequenceWrapper,
  &_swigt__p_f_p_iBase__p_iShader,
  &_swigt__p_f_p_iBase__p_iShaderCompiler,
  &_swigt__p_f_p_iBase__p_iShaderManager,
  &_swigt__p_f_p_iBase__p_iShaderPriorityList,
  &_swigt__p_f_p_iBase__p_iShaderVarStack,
  &_swigt__p_f_p_iBase__p_iShaderVariableAccessor,
  &_swigt__p_f_p_iBase__p_iShaderVariableContext,
  &_swigt__p_f_p_iBase__p_iSimpleFormerState,
  &_swigt__p_f_p_iBase__p_iSkeleton,
  &_swigt__p_f_p_iBase__p_iSkeletonBone,
  &_swigt__p_f_p_iBase__p_iSkeletonBoneFactory,
  &_swigt__p_f_p_iBase__p_iSkeletonBoneRagdollInfo,
  &_swigt__p_f_p_iBase__p_iSkeletonBoneUpdateCallback,
  &_swigt__p_f_p_iBase__p_iSkeletonFactory,
  &_swigt__p_f_p_iBase__p_iSkeletonGraveyard,
  &_swigt__p_f_p_iBase__p_iSkeletonScript,
  &_swigt__p_f_p_iBase__p_iSkeletonScriptCallback,
  &_swigt__p_f_p_iBase__p_iSkeletonScriptKeyFrame,
  &_swigt__p_f_p_iBase__p_iSkeletonSocket,
  &_swigt__p_f_p_iBase__p_iSkeletonSocketFactory,
  &_swigt__p_f_p_iBase__p_iSkeletonUpdateCallback,
  &_swigt__p_f_p_iBase__p_iSndSysData,
  &_swigt__p_f_p_iBase__p_iSndSysListener,
  &_swigt__p_f_p_iBase__p_iSndSysLoader,
  &_swigt__p_f_p_iBase__p_iSndSysManager,
  &_swigt__p_f_p_iBase__p_iSndSysRenderer,
  &_swigt__p_f_p_iBase__p_iSndSysRendererCallback,
  &_swigt__p_f_p_iBase__p_iSndSysRendererSoftware,
  &_swigt__p_f_p_iBase__p_iSndSysSoftwareDriver,
  &_swigt__p_f_p_iBase__p_iSndSysSoftwareFilter3D,
  &_swigt__p_f_p_iBase__p_iSndSysSoftwareOutputFilter,
  &_swigt__p_f_p_iBase__p_iSndSysSource,
  &_swigt__p_f_p_iBase__p_iSndSysSourceSoftware,
  &_swigt__p_f_p_iBase__p_iSndSysSourceSoftware3D,
  &_swigt__p_f_p_iBase__p_iSndSysStream,
  &_swigt__p_f_p_iBase__p_iSndSysStreamCallback,
  &_swigt__p_f_p_iBase__p_iSndSysWrapper,
  &_swigt__p_f_p_iBase__p_iSprite2DFactoryState,
  &_swigt__p_f_p_iBase__p_iSprite2DState,
  &_swigt__p_f_p_iBase__p_iSprite2DUVAnimation,
  &_swigt__p_f_p_iBase__p_iSprite2DUVAnimationFrame,
  &_swigt__p_f_p_iBase__p_iSprite3DFactoryState,
  &_swigt__p_f_p_iBase__p_iSprite3DState,
  &_swigt__p_f_p_iBase__p_iSpriteAction,
  &_swigt__p_f_p_iBase__p_iSpriteCal3DFactoryState,
  &_swigt__p_f_p_iBase__p_iSpriteCal3DSocket,
  &_swigt__p_f_p_iBase__p_iSpriteCal3DState,
  &_swigt__p_f_p_iBase__p_iSpriteFrame,
  &_swigt__p_f_p_iBase__p_iSpriteSocket,
  &_swigt__p_f_p_iBase__p_iStandardReporterListener,
  &_swigt__p_f_p_iBase__p_iString,
  &_swigt__p_f_p_iBase__p_iStringArray,
  &_swigt__p_f_p_iBase__p_iStringSet,
  &_swigt__p_f_p_iBase__p_iSuperLightmap,
  &_swigt__p_f_p_iBase__p_iTerraFormer,
  &_swigt__p_f_p_iBase__p_iTerraSampler,
  &_swigt__p_f_p_iBase__p_iTerrainFactoryState,
  &_swigt__p_f_p_iBase__p_iTerrainObjectState,
  &_swigt__p_f_p_iBase__p_iTextureCallback,
  &_swigt__p_f_p_iBase__p_iTextureHandle,
  &_swigt__p_f_p_iBase__p_iTextureList,
  &_swigt__p_f_p_iBase__p_iTextureManager,
  &_swigt__p_f_p_iBase__p_iTextureWrapper,
  &_swigt__p_f_p_iBase__p_iThingEnvironment,
  &_swigt__p_f_p_iBase__p_iThingFactoryState,
  &_swigt__p_f_p_iBase__p_iThingState,
  &_swigt__p_f_p_iBase__p_iVFS,
  &_swigt__p_f_p_iBase__p_iView,
  &_swigt__p_f_p_iBase__p_iVirtualClock,
  &_swigt__p_f_p_iBase__p_iVisibilityCuller,
  &_swigt__p_f_p_iBase__p_iVisibilityCullerListener,
  &_swigt__p_f_p_iBase__p_iVisibilityObject,
  &_swigt__p_f_p_iBase__p_iVisibilityObjectIterator,
  &_swigt__p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t,
  &_swigt__p_f_p_iMeshWrapper_p_iFrustumView_bool__void,
  &_swigt__p_f_unsigned_long_int_p_iAwsSource__void,
  &_swigt__p_f_unsigned_long_p_void_p_iAwsSource__void,
  &_swigt__p_float,
  &_swigt__p_iAnimTimeUpdateHandler,
  &_swigt__p_iArrayChangeAllTcsShaderVariable_p_t,
  &_swigt__p_iArrayChangeAllTcsSprite2DVertex_t,
  &_swigt__p_iArrayChangeElementsTcsShaderVariable_p_t,
  &_swigt__p_iArrayChangeElementsTcsSprite2DVertex_t,
  &_swigt__p_iArrayReadOnlyTcsShaderVariable_p_t,
  &_swigt__p_iArrayReadOnlyTcsSprite2DVertex_t,
  &_swigt__p_iArrayReadOnlyTiSceneNode_p_t,
  &_swigt__p_iAws,
  &_swigt__p_iAwsCanvas,
  &_swigt__p_iAwsComponent,
  &_swigt__p_iAwsComponentFactory,
  &_swigt__p_iAwsComponentNode,
  &_swigt__p_iAwsConnectionKey,
  &_swigt__p_iAwsConnectionNodeFactory,
  &_swigt__p_iAwsFloatKey,
  &_swigt__p_iAwsIntKey,
  &_swigt__p_iAwsKey,
  &_swigt__p_iAwsKeyContainer,
  &_swigt__p_iAwsKeyFactory,
  &_swigt__p_iAwsLayoutManager,
  &_swigt__p_iAwsParmList,
  &_swigt__p_iAwsPointKey,
  &_swigt__p_iAwsPrefManager,
  &_swigt__p_iAwsRGBKey,
  &_swigt__p_iAwsRGBKey__RGB,
  &_swigt__p_iAwsRectKey,
  &_swigt__p_iAwsSink,
  &_swigt__p_iAwsSinkManager,
  &_swigt__p_iAwsSlot,
  &_swigt__p_iAwsSource,
  &_swigt__p_iAwsStringKey,
  &_swigt__p_iBase,
  &_swigt__p_iBaseHalo,
  &_swigt__p_iBinaryLoaderPlugin,
  &_swigt__p_iBodyGroup,
  &_swigt__p_iCacheManager,
  &_swigt__p_iCamera,
  &_swigt__p_iCameraPosition,
  &_swigt__p_iCameraPositionList,
  &_swigt__p_iCameraSectorListener,
  &_swigt__p_iClipper2D,
  &_swigt__p_iCollection,
  &_swigt__p_iCollectionList,
  &_swigt__p_iCollideSystem,
  &_swigt__p_iCollider,
  &_swigt__p_iColoredVertices,
  &_swigt__p_iCommandLineParser,
  &_swigt__p_iComponent,
  &_swigt__p_iConfigFile,
  &_swigt__p_iConfigIterator,
  &_swigt__p_iConfigManager,
  &_swigt__p_iConsoleOutput,
  &_swigt__p_iConsoleWatcher,
  &_swigt__p_iCrossHalo,
  &_swigt__p_iDataBuffer,
  &_swigt__p_iDebugHelper,
  &_swigt__p_iDocument,
  &_swigt__p_iDocumentAttribute,
  &_swigt__p_iDocumentAttributeIterator,
  &_swigt__p_iDocumentNode,
  &_swigt__p_iDocumentNodeIterator,
  &_swigt__p_iDocumentSystem,
  &_swigt__p_iDynamicSystem,
  &_swigt__p_iDynamics,
  &_swigt__p_iDynamicsColliderCollisionCallback,
  &_swigt__p_iDynamicsCollisionCallback,
  &_swigt__p_iDynamicsMoveCallback,
  &_swigt__p_iDynamicsSystemCollider,
  &_swigt__p_iEngine,
  &_swigt__p_iEngineFrameCallback,
  &_swigt__p_iEngineSectorCallback,
  &_swigt__p_iEngineSequenceManager,
  &_swigt__p_iEngineSequenceParameters,
  &_swigt__p_iEvent,
  &_swigt__p_iEventAttributeIterator,
  &_swigt__p_iEventCord,
  &_swigt__p_iEventHandler,
  &_swigt__p_iEventNameRegistry,
  &_swigt__p_iEventOutlet,
  &_swigt__p_iEventPlug,
  &_swigt__p_iEventQueue,
  &_swigt__p_iFactory,
  &_swigt__p_iFile,
  &_swigt__p_iFlareHalo,
  &_swigt__p_iFont,
  &_swigt__p_iFontDeleteNotify,
  &_swigt__p_iFontServer,
  &_swigt__p_iFrustumView,
  &_swigt__p_iFrustumViewUserdata,
  &_swigt__p_iGenMeshAnimationControl,
  &_swigt__p_iGenMeshAnimationControlFactory,
  &_swigt__p_iGenMeshAnimationControlType,
  &_swigt__p_iGenMeshSkeletonControlState,
  &_swigt__p_iGeneralFactoryState,
  &_swigt__p_iGeneralMeshCommonState,
  &_swigt__p_iGeneralMeshState,
  &_swigt__p_iGeneralMeshSubMesh,
  &_swigt__p_iGraphics2D,
  &_swigt__p_iGraphics3D,
  &_swigt__p_iHalo,
  &_swigt__p_iImage,
  &_swigt__p_iImageIO,
  &_swigt__p_iJoint,
  &_swigt__p_iJoystickDriver,
  &_swigt__p_iKeyComposer,
  &_swigt__p_iKeyboardDriver,
  &_swigt__p_iLODControl,
  &_swigt__p_iLight,
  &_swigt__p_iLightCallback,
  &_swigt__p_iLightIterator,
  &_swigt__p_iLightList,
  &_swigt__p_iLightVisibleCallback,
  &_swigt__p_iLightingInfo,
  &_swigt__p_iLightingProcessData,
  &_swigt__p_iLightingProcessInfo,
  &_swigt__p_iLoader,
  &_swigt__p_iLoaderContext,
  &_swigt__p_iLoaderPlugin,
  &_swigt__p_iLoaderStatus,
  &_swigt__p_iMapNode,
  &_swigt__p_iMaterial,
  &_swigt__p_iMaterialEngine,
  &_swigt__p_iMaterialList,
  &_swigt__p_iMaterialWrapper,
  &_swigt__p_iMeshDrawCallback,
  &_swigt__p_iMeshFactoryList,
  &_swigt__p_iMeshFactoryWrapper,
  &_swigt__p_iMeshGenerator,
  &_swigt__p_iMeshList,
  &_swigt__p_iMeshObject,
  &_swigt__p_iMeshObjectDrawCallback,
  &_swigt__p_iMeshObjectFactory,
  &_swigt__p_iMeshObjectType,
  &_swigt__p_iMeshWrapper,
  &_swigt__p_iMeshWrapperIterator,
  &_swigt__p_iMissingLoaderData,
  &_swigt__p_iMouseDriver,
  &_swigt__p_iMovable,
  &_swigt__p_iMovableListener,
  &_swigt__p_iMovieRecorder,
  &_swigt__p_iNativeWindow,
  &_swigt__p_iNativeWindowManager,
  &_swigt__p_iNovaHalo,
  &_swigt__p_iODEAMotorJoint,
  &_swigt__p_iODEBallJoint,
  &_swigt__p_iODEDynamicState,
  &_swigt__p_iODEDynamicSystemState,
  &_swigt__p_iODEFrameUpdateCallback,
  &_swigt__p_iODEGeneralJointState,
  &_swigt__p_iODEHinge2Joint,
  &_swigt__p_iODEHingeJoint,
  &_swigt__p_iODEJointState,
  &_swigt__p_iODESliderJoint,
  &_swigt__p_iODEUniversalJoint,
  &_swigt__p_iObject,
  &_swigt__p_iObjectIterator,
  &_swigt__p_iObjectModel,
  &_swigt__p_iObjectModelListener,
  &_swigt__p_iObjectNameChangeListener,
  &_swigt__p_iObjectRegistry,
  &_swigt__p_iObjectRegistryIterator,
  &_swigt__p_iOffscreenCanvasCallback,
  &_swigt__p_iParameterESM,
  &_swigt__p_iParticleBuiltinEffectorFactory,
  &_swigt__p_iParticleBuiltinEffectorForce,
  &_swigt__p_iParticleBuiltinEffectorLinColor,
  &_swigt__p_iParticleBuiltinEffectorVelocityField,
  &_swigt__p_iParticleBuiltinEmitterBase,
  &_swigt__p_iParticleBuiltinEmitterBox,
  &_swigt__p_iParticleBuiltinEmitterCone,
  &_swigt__p_iParticleBuiltinEmitterCylinder,
  &_swigt__p_iParticleBuiltinEmitterFactory,
  &_swigt__p_iParticleBuiltinEmitterSphere,
  &_swigt__p_iParticleEffector,
  &_swigt__p_iParticleEmitter,
  &_swigt__p_iParticleSystem,
  &_swigt__p_iParticleSystemBase,
  &_swigt__p_iParticleSystemFactory,
  &_swigt__p_iPath,
  &_swigt__p_iPluginIterator,
  &_swigt__p_iPluginManager,
  &_swigt__p_iPolygonHandle,
  &_swigt__p_iPolygonMesh,
  &_swigt__p_iPortal,
  &_swigt__p_iPortalCallback,
  &_swigt__p_iPortalContainer,
  &_swigt__p_iProgressMeter,
  &_swigt__p_iRegion,
  &_swigt__p_iRegionList,
  &_swigt__p_iRenderBuffer,
  &_swigt__p_iRenderLoop,
  &_swigt__p_iRenderLoopManager,
  &_swigt__p_iRenderView,
  &_swigt__p_iRendererLightmap,
  &_swigt__p_iReporter,
  &_swigt__p_iReporterIterator,
  &_swigt__p_iReporterListener,
  &_swigt__p_iRigidBody,
  &_swigt__p_iSCF,
  &_swigt__p_iSaver,
  &_swigt__p_iSceneNode,
  &_swigt__p_iSceneNodeArray,
  &_swigt__p_iScript,
  &_swigt__p_iScriptObject,
  &_swigt__p_iSector,
  &_swigt__p_iSectorCallback,
  &_swigt__p_iSectorIterator,
  &_swigt__p_iSectorList,
  &_swigt__p_iSectorMeshCallback,
  &_swigt__p_iSequence,
  &_swigt__p_iSequenceManager,
  &_swigt__p_iSequenceTimedOperation,
  &_swigt__p_iSequenceTrigger,
  &_swigt__p_iSequenceWrapper,
  &_swigt__p_iShader,
  &_swigt__p_iShaderCompiler,
  &_swigt__p_iShaderManager,
  &_swigt__p_iShaderPriorityList,
  &_swigt__p_iShaderVarStack,
  &_swigt__p_iShaderVariableAccessor,
  &_swigt__p_iShaderVariableContext,
  &_swigt__p_iShadowBlockList,
  &_swigt__p_iShadowCaster,
  &_swigt__p_iShadowReceiver,
  &_swigt__p_iSharedVariable,
  &_swigt__p_iSharedVariableList,
  &_swigt__p_iSimpleFormerState,
  &_swigt__p_iSkeleton,
  &_swigt__p_iSkeletonBone,
  &_swigt__p_iSkeletonBoneFactory,
  &_swigt__p_iSkeletonBoneRagdollInfo,
  &_swigt__p_iSkeletonBoneUpdateCallback,
  &_swigt__p_iSkeletonFactory,
  &_swigt__p_iSkeletonGraveyard,
  &_swigt__p_iSkeletonScript,
  &_swigt__p_iSkeletonScriptCallback,
  &_swigt__p_iSkeletonScriptKeyFrame,
  &_swigt__p_iSkeletonSocket,
  &_swigt__p_iSkeletonSocketFactory,
  &_swigt__p_iSkeletonUpdateCallback,
  &_swigt__p_iSndSysData,
  &_swigt__p_iSndSysListener,
  &_swigt__p_iSndSysLoader,
  &_swigt__p_iSndSysManager,
  &_swigt__p_iSndSysRenderer,
  &_swigt__p_iSndSysRendererCallback,
  &_swigt__p_iSndSysRendererSoftware,
  &_swigt__p_iSndSysSoftwareDriver,
  &_swigt__p_iSndSysSoftwareFilter3D,
  &_swigt__p_iSndSysSoftwareFilter3DProperties,
  &_swigt__p_iSndSysSoftwareOutputFilter,
  &_swigt__p_iSndSysSource,
  &_swigt__p_iSndSysSourceSoftware,
  &_swigt__p_iSndSysSourceSoftware3D,
  &_swigt__p_iSndSysStream,
  &_swigt__p_iSndSysStreamCallback,
  &_swigt__p_iSndSysWrapper,
  &_swigt__p_iSprite2DFactoryState,
  &_swigt__p_iSprite2DState,
  &_swigt__p_iSprite2DUVAnimation,
  &_swigt__p_iSprite2DUVAnimationFrame,
  &_swigt__p_iSprite3DFactoryState,
  &_swigt__p_iSprite3DState,
  &_swigt__p_iSpriteAction,
  &_swigt__p_iSpriteCal3DFactoryState,
  &_swigt__p_iSpriteCal3DSocket,
  &_swigt__p_iSpriteCal3DState,
  &_swigt__p_iSpriteFrame,
  &_swigt__p_iSpriteSocket,
  &_swigt__p_iStandardReporterListener,
  &_swigt__p_iStreamSource,
  &_swigt__p_iString,
  &_swigt__p_iStringArray,
  &_swigt__p_iStringSet,
  &_swigt__p_iSuperLightmap,
  &_swigt__p_iTerraFormer,
  &_swigt__p_iTerraSampler,
  &_swigt__p_iTerrainFactoryState,
  &_swigt__p_iTerrainObjectState,
  &_swigt__p_iTextureCallback,
  &_swigt__p_iTextureHandle,
  &_swigt__p_iTextureList,
  &_swigt__p_iTextureManager,
  &_swigt__p_iTextureWrapper,
  &_swigt__p_iThingEnvironment,
  &_swigt__p_iThingFactoryState,
  &_swigt__p_iThingState,
  &_swigt__p_iVFS,
  &_swigt__p_iVerbosityManager,
  &_swigt__p_iView,
  &_swigt__p_iVirtualClock,
  &_swigt__p_iVisibilityCuller,
  &_swigt__p_iVisibilityCullerListener,
  &_swigt__p_iVisibilityObject,
  &_swigt__p_iVisibilityObjectIterator,
  &_swigt__p_int,
  &_swigt__p_int16_t,
  &_swigt__p_int32_t,
  &_swigt__p_int64_t,
  &_swigt__p_int8_t,
  &_swigt__p_int_least64_t,
  &_swigt__p_p__csPyEventHandler,
  &_swigt__p_p_char,
  &_swigt__p_p_csImageIOFileFormatDescription,
  &_swigt__p_p_csOrthoTransform,
  &_swigt__p_p_csPath,
  &_swigt__p_p_csRenderMesh,
  &_swigt__p_p_csReversibleTransform,
  &_swigt__p_p_csShaderVariable,
  &_swigt__p_p_csVector3,
  &_swigt__p_p_iAnimTimeUpdateHandler,
  &_swigt__p_p_iArrayChangeAllTcsShaderVariable_p_t,
  &_swigt__p_p_iArrayChangeAllTcsSprite2DVertex_t,
  &_swigt__p_p_iArrayChangeElementsTcsShaderVariable_p_t,
  &_swigt__p_p_iArrayChangeElementsTcsSprite2DVertex_t,
  &_swigt__p_p_iArrayReadOnlyTcsShaderVariable_p_t,
  &_swigt__p_p_iArrayReadOnlyTcsSprite2DVertex_t,
  &_swigt__p_p_iArrayReadOnlyTiSceneNode_p_t,
  &_swigt__p_p_iAws,
  &_swigt__p_p_iAwsComponent,
  &_swigt__p_p_iAwsComponentFactory,
  &_swigt__p_p_iAwsComponentNode,
  &_swigt__p_p_iAwsConnectionKey,
  &_swigt__p_p_iAwsConnectionNodeFactory,
  &_swigt__p_p_iAwsFloatKey,
  &_swigt__p_p_iAwsIntKey,
  &_swigt__p_p_iAwsKey,
  &_swigt__p_p_iAwsKeyContainer,
  &_swigt__p_p_iAwsKeyFactory,
  &_swigt__p_p_iAwsLayoutManager,
  &_swigt__p_p_iAwsPointKey,
  &_swigt__p_p_iAwsPrefManager,
  &_swigt__p_p_iAwsRGBKey,
  &_swigt__p_p_iAwsRectKey,
  &_swigt__p_p_iAwsSink,
  &_swigt__p_p_iAwsSinkManager,
  &_swigt__p_p_iAwsSlot,
  &_swigt__p_p_iAwsSource,
  &_swigt__p_p_iAwsStringKey,
  &_swigt__p_p_iBase,
  &_swigt__p_p_iBinaryLoaderPlugin,
  &_swigt__p_p_iBodyGroup,
  &_swigt__p_p_iCacheManager,
  &_swigt__p_p_iCamera,
  &_swigt__p_p_iCameraPosition,
  &_swigt__p_p_iCameraPositionList,
  &_swigt__p_p_iCameraSectorListener,
  &_swigt__p_p_iClipper2D,
  &_swigt__p_p_iCollideSystem,
  &_swigt__p_p_iCollider,
  &_swigt__p_p_iColoredVertices,
  &_swigt__p_p_iCommandLineParser,
  &_swigt__p_p_iComponent,
  &_swigt__p_p_iConfigFile,
  &_swigt__p_p_iConfigIterator,
  &_swigt__p_p_iConfigManager,
  &_swigt__p_p_iConsoleOutput,
  &_swigt__p_p_iConsoleWatcher,
  &_swigt__p_p_iDataBuffer,
  &_swigt__p_p_iDebugHelper,
  &_swigt__p_p_iDocument,
  &_swigt__p_p_iDocumentAttribute,
  &_swigt__p_p_iDocumentAttributeIterator,
  &_swigt__p_p_iDocumentNode,
  &_swigt__p_p_iDocumentNodeIterator,
  &_swigt__p_p_iDocumentSystem,
  &_swigt__p_p_iDynamicSystem,
  &_swigt__p_p_iDynamics,
  &_swigt__p_p_iDynamicsColliderCollisionCallback,
  &_swigt__p_p_iDynamicsCollisionCallback,
  &_swigt__p_p_iDynamicsMoveCallback,
  &_swigt__p_p_iDynamicsSystemCollider,
  &_swigt__p_p_iEngine,
  &_swigt__p_p_iEngineFrameCallback,
  &_swigt__p_p_iEngineSectorCallback,
  &_swigt__p_p_iEngineSequenceManager,
  &_swigt__p_p_iEngineSequenceParameters,
  &_swigt__p_p_iEvent,
  &_swigt__p_p_iEventAttributeIterator,
  &_swigt__p_p_iEventCord,
  &_swigt__p_p_iEventHandler,
  &_swigt__p_p_iEventNameRegistry,
  &_swigt__p_p_iEventOutlet,
  &_swigt__p_p_iEventPlug,
  &_swigt__p_p_iEventQueue,
  &_swigt__p_p_iFactory,
  &_swigt__p_p_iFile,
  &_swigt__p_p_iFont,
  &_swigt__p_p_iFontDeleteNotify,
  &_swigt__p_p_iFontServer,
  &_swigt__p_p_iFrustumView,
  &_swigt__p_p_iFrustumViewUserdata,
  &_swigt__p_p_iGenMeshAnimationControl,
  &_swigt__p_p_iGenMeshAnimationControlFactory,
  &_swigt__p_p_iGenMeshAnimationControlType,
  &_swigt__p_p_iGenMeshSkeletonControlState,
  &_swigt__p_p_iGeneralFactoryState,
  &_swigt__p_p_iGeneralMeshCommonState,
  &_swigt__p_p_iGeneralMeshState,
  &_swigt__p_p_iGeneralMeshSubMesh,
  &_swigt__p_p_iGraphics2D,
  &_swigt__p_p_iGraphics3D,
  &_swigt__p_p_iHalo,
  &_swigt__p_p_iImage,
  &_swigt__p_p_iImageIO,
  &_swigt__p_p_iJoint,
  &_swigt__p_p_iJoystickDriver,
  &_swigt__p_p_iKeyComposer,
  &_swigt__p_p_iKeyboardDriver,
  &_swigt__p_p_iLight,
  &_swigt__p_p_iLightCallback,
  &_swigt__p_p_iLightIterator,
  &_swigt__p_p_iLightList,
  &_swigt__p_p_iLightVisibleCallback,
  &_swigt__p_p_iLightingProcessData,
  &_swigt__p_p_iLightingProcessInfo,
  &_swigt__p_p_iLoader,
  &_swigt__p_p_iLoaderPlugin,
  &_swigt__p_p_iLoaderStatus,
  &_swigt__p_p_iMapNode,
  &_swigt__p_p_iMaterial,
  &_swigt__p_p_iMaterialEngine,
  &_swigt__p_p_iMaterialList,
  &_swigt__p_p_iMaterialWrapper,
  &_swigt__p_p_iMeshDrawCallback,
  &_swigt__p_p_iMeshFactoryList,
  &_swigt__p_p_iMeshFactoryWrapper,
  &_swigt__p_p_iMeshList,
  &_swigt__p_p_iMeshObject,
  &_swigt__p_p_iMeshObjectDrawCallback,
  &_swigt__p_p_iMeshObjectFactory,
  &_swigt__p_p_iMeshObjectType,
  &_swigt__p_p_iMeshWrapper,
  &_swigt__p_p_iMeshWrapperIterator,
  &_swigt__p_p_iMissingLoaderData,
  &_swigt__p_p_iMouseDriver,
  &_swigt__p_p_iMovable,
  &_swigt__p_p_iMovableListener,
  &_swigt__p_p_iMovieRecorder,
  &_swigt__p_p_iNativeWindow,
  &_swigt__p_p_iNativeWindowManager,
  &_swigt__p_p_iODEAMotorJoint,
  &_swigt__p_p_iODEBallJoint,
  &_swigt__p_p_iODEDynamicState,
  &_swigt__p_p_iODEDynamicSystemState,
  &_swigt__p_p_iODEFrameUpdateCallback,
  &_swigt__p_p_iODEGeneralJointState,
  &_swigt__p_p_iODEHinge2Joint,
  &_swigt__p_p_iODEHingeJoint,
  &_swigt__p_p_iODEJointState,
  &_swigt__p_p_iODESliderJoint,
  &_swigt__p_p_iODEUniversalJoint,
  &_swigt__p_p_iObject,
  &_swigt__p_p_iObjectIterator,
  &_swigt__p_p_iObjectModel,
  &_swigt__p_p_iObjectModelListener,
  &_swigt__p_p_iObjectNameChangeListener,
  &_swigt__p_p_iObjectRegistry,
  &_swigt__p_p_iObjectRegistryIterator,
  &_swigt__p_p_iOffscreenCanvasCallback,
  &_swigt__p_p_iParameterESM,
  &_swigt__p_p_iParticleBuiltinEffectorFactory,
  &_swigt__p_p_iParticleBuiltinEffectorForce,
  &_swigt__p_p_iParticleBuiltinEffectorLinColor,
  &_swigt__p_p_iParticleBuiltinEffectorVelocityField,
  &_swigt__p_p_iParticleBuiltinEmitterBase,
  &_swigt__p_p_iParticleBuiltinEmitterBox,
  &_swigt__p_p_iParticleBuiltinEmitterCone,
  &_swigt__p_p_iParticleBuiltinEmitterCylinder,
  &_swigt__p_p_iParticleBuiltinEmitterFactory,
  &_swigt__p_p_iParticleBuiltinEmitterSphere,
  &_swigt__p_p_iParticleEffector,
  &_swigt__p_p_iParticleEmitter,
  &_swigt__p_p_iParticleSystem,
  &_swigt__p_p_iParticleSystemBase,
  &_swigt__p_p_iParticleSystemFactory,
  &_swigt__p_p_iPath,
  &_swigt__p_p_iPluginIterator,
  &_swigt__p_p_iPluginManager,
  &_swigt__p_p_iPolygonHandle,
  &_swigt__p_p_iPolygonMesh,
  &_swigt__p_p_iPortal,
  &_swigt__p_p_iPortalCallback,
  &_swigt__p_p_iPortalContainer,
  &_swigt__p_p_iRegion,
  &_swigt__p_p_iRegionList,
  &_swigt__p_p_iRenderBuffer,
  &_swigt__p_p_iRendererLightmap,
  &_swigt__p_p_iReporter,
  &_swigt__p_p_iReporterIterator,
  &_swigt__p_p_iReporterListener,
  &_swigt__p_p_iRigidBody,
  &_swigt__p_p_iSCF,
  &_swigt__p_p_iSaver,
  &_swigt__p_p_iSceneNode,
  &_swigt__p_p_iSceneNodeArray,
  &_swigt__p_p_iScript,
  &_swigt__p_p_iScriptObject,
  &_swigt__p_p_iSector,
  &_swigt__p_p_iSectorCallback,
  &_swigt__p_p_iSectorIterator,
  &_swigt__p_p_iSectorList,
  &_swigt__p_p_iSectorMeshCallback,
  &_swigt__p_p_iSequenceTimedOperation,
  &_swigt__p_p_iSequenceTrigger,
  &_swigt__p_p_iSequenceWrapper,
  &_swigt__p_p_iShader,
  &_swigt__p_p_iShaderCompiler,
  &_swigt__p_p_iShaderManager,
  &_swigt__p_p_iShaderPriorityList,
  &_swigt__p_p_iShaderVarStack,
  &_swigt__p_p_iShaderVariableAccessor,
  &_swigt__p_p_iShaderVariableContext,
  &_swigt__p_p_iSimpleFormerState,
  &_swigt__p_p_iSkeleton,
  &_swigt__p_p_iSkeletonBone,
  &_swigt__p_p_iSkeletonBoneFactory,
  &_swigt__p_p_iSkeletonBoneRagdollInfo,
  &_swigt__p_p_iSkeletonBoneUpdateCallback,
  &_swigt__p_p_iSkeletonFactory,
  &_swigt__p_p_iSkeletonGraveyard,
  &_swigt__p_p_iSkeletonScript,
  &_swigt__p_p_iSkeletonScriptCallback,
  &_swigt__p_p_iSkeletonScriptKeyFrame,
  &_swigt__p_p_iSkeletonSocket,
  &_swigt__p_p_iSkeletonSocketFactory,
  &_swigt__p_p_iSkeletonUpdateCallback,
  &_swigt__p_p_iSndSysData,
  &_swigt__p_p_iSndSysListener,
  &_swigt__p_p_iSndSysLoader,
  &_swigt__p_p_iSndSysManager,
  &_swigt__p_p_iSndSysRenderer,
  &_swigt__p_p_iSndSysRendererCallback,
  &_swigt__p_p_iSndSysRendererSoftware,
  &_swigt__p_p_iSndSysSoftwareDriver,
  &_swigt__p_p_iSndSysSoftwareFilter3D,
  &_swigt__p_p_iSndSysSoftwareOutputFilter,
  &_swigt__p_p_iSndSysSource,
  &_swigt__p_p_iSndSysSourceSoftware,
  &_swigt__p_p_iSndSysSourceSoftware3D,
  &_swigt__p_p_iSndSysStream,
  &_swigt__p_p_iSndSysStreamCallback,
  &_swigt__p_p_iSndSysWrapper,
  &_swigt__p_p_iSprite2DFactoryState,
  &_swigt__p_p_iSprite2DState,
  &_swigt__p_p_iSprite2DUVAnimation,
  &_swigt__p_p_iSprite2DUVAnimationFrame,
  &_swigt__p_p_iSprite3DFactoryState,
  &_swigt__p_p_iSprite3DState,
  &_swigt__p_p_iSpriteAction,
  &_swigt__p_p_iSpriteCal3DFactoryState,
  &_swigt__p_p_iSpriteCal3DSocket,
  &_swigt__p_p_iSpriteCal3DState,
  &_swigt__p_p_iSpriteFrame,
  &_swigt__p_p_iSpriteSocket,
  &_swigt__p_p_iStandardReporterListener,
  &_swigt__p_p_iString,
  &_swigt__p_p_iStringArray,
  &_swigt__p_p_iStringSet,
  &_swigt__p_p_iSuperLightmap,
  &_swigt__p_p_iTerraFormer,
  &_swigt__p_p_iTerraSampler,
  &_swigt__p_p_iTerrainFactoryState,
  &_swigt__p_p_iTerrainObjectState,
  &_swigt__p_p_iTextureCallback,
  &_swigt__p_p_iTextureHandle,
  &_swigt__p_p_iTextureList,
  &_swigt__p_p_iTextureManager,
  &_swigt__p_p_iTextureWrapper,
  &_swigt__p_p_iThingEnvironment,
  &_swigt__p_p_iThingFactoryState,
  &_swigt__p_p_iThingState,
  &_swigt__p_p_iVFS,
  &_swigt__p_p_iView,
  &_swigt__p_p_iVirtualClock,
  &_swigt__p_p_iVisibilityCuller,
  &_swigt__p_p_iVisibilityCullerListener,
  &_swigt__p_p_iVisibilityObject,
  &_swigt__p_p_iVisibilityObjectIterator,
  &_swigt__p_p_scfImplementation1TcsPath_iPath_t,
  &_swigt__p_p_void,
  &_swigt__p_scfImplementation1TcsPath_iPath_t,
  &_swigt__p_size_t,
  &_swigt__p_uint16_t,
  &_swigt__p_uint32_t,
  &_swigt__p_uint64_t,
  &_swigt__p_uint8_t,
  &_swigt__p_uint_least64_t,
  &_swigt__p_unsigned_char,
  &_swigt__p_unsigned_int,
  &_swigt__p_unsigned_long,
  &_swigt__p_utf32_char,
  &_swigt__p_void,
  &_swigt__p_wchar_t,
};

static swig_cast_info _swigc__p_AllocatorType[] = {  {&_swigt__p_AllocatorType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CS__Memory__AllocatorMalloc[] = {  {&_swigt__p_CS__Memory__AllocatorMalloc, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CS__TriangleTTint_t[] = {  {&_swigt__p_CS__TriangleTTint_t, 0, 0, 0},  {&_swigt__p_csTriangle, _p_csTriangleTo_p_CS__TriangleTTint_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CalAnimationCallback[] = {  {&_swigt__p_CalAnimationCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CalCoreModel[] = {  {&_swigt__p_CalCoreModel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CalModel[] = {  {&_swigt__p_CalModel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CapacityHandlerType[] = {  {&_swigt__p_CapacityHandlerType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_ContainedType[] = {  {&_swigt__p_ContainedType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_ElementHandlerType[] = {  {&_swigt__p_ElementHandlerType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FILE[] = {  {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FileFormatDescription[] = {  {&_swigt__p_FileFormatDescription, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_HashType[] = {  {&_swigt__p_HashType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_SndSysFilterLocation[] = {  {&_swigt__p_SndSysFilterLocation, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_ThisType[] = {  {&_swigt__p_ThisType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_ValueType[] = {  {&_swigt__p_ValueType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__csKeyCharType[] = {  {&_swigt__p__csKeyCharType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__csKeyEventType[] = {  {&_swigt__p__csKeyEventType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__csKeyModifierNumType[] = {  {&_swigt__p__csKeyModifierNumType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__csKeyModifierType[] = {  {&_swigt__p__csKeyModifierType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__csKeyModifiers[] = {  {&_swigt__p__csKeyModifiers, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__csMouseCursorID[] = {  {&_swigt__p__csMouseCursorID, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__csMouseEventType[] = {  {&_swigt__p__csMouseEventType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__csPyEventHandler[] = {  {&_swigt__p__csPyEventHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_awsConnectionNode[] = {  {&_swigt__p_awsConnectionNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_basetype[] = {  {&_swigt__p_basetype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_bool[] = {  {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csAlphaMode[] = {  {&_swigt__p_csAlphaMode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayCapacityDefault[] = {  {&_swigt__p_csArrayCapacityDefault, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayCapacityLinearTcsArrayThresholdVariable_t[] = {  {&_swigt__p_csArrayCapacityLinearTcsArrayThresholdVariable_t, 0, 0, 0},  {&_swigt__p_csArrayCapacityDefault, _p_csArrayCapacityDefaultTo_p_csArrayCapacityLinearTcsArrayThresholdVariable_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTcsIntersectingTriangle_csArrayElementHandlerTcsIntersectingTriangle_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTcsIntersectingTriangle_csArrayElementHandlerTcsIntersectingTriangle_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTcsShaderVariable_p_csArrayElementHandlerTcsShaderVariable_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTcsShaderVariable_p_csArrayElementHandlerTcsShaderVariable_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayThresholdVariable[] = {  {&_swigt__p_csArrayThresholdVariable, 0, 0, 0},  {&_swigt__p_csArrayCapacityLinearTcsArrayThresholdVariable_t, _p_csArrayCapacityLinearTcsArrayThresholdVariable_tTo_p_csArrayThresholdVariable, 0, 0},  {&_swigt__p_csArrayCapacityDefault, _p_csArrayCapacityDefaultTo_p_csArrayThresholdVariable, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTiImage_p_csArrayElementHandlerTiImage_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTiImage_p_csArrayElementHandlerTiImage_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTiLight_p_csArrayElementHandlerTiLight_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTiLight_p_csArrayElementHandlerTiLight_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csArrayTvoid_pp_csArrayElementHandlerTvoid_pp_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t[] = {  {&_swigt__p_csArrayTvoid_pp_csArrayElementHandlerTvoid_pp_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csBSpline[] = {  {&_swigt__p_csBSpline, 0, 0, 0},  {&_swigt__p_csCatmullRomSpline, _p_csCatmullRomSplineTo_p_csBSpline, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csBitmapMetrics[] = {  {&_swigt__p_csBitmapMetrics, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csBox2[] = {  {&_swigt__p_csBox2, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csBox3[] = {  {&_swigt__p_csBox3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csCatmullRomSpline[] = {  {&_swigt__p_csCatmullRomSpline, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csColliderActor[] = {  {&_swigt__p_csColliderActor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csColliderHelper[] = {  {&_swigt__p_csColliderHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csColliderWrapper[] = {  {&_swigt__p_csColliderWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csCollisionPair[] = {  {&_swigt__p_csCollisionPair, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csColor[] = {  {&_swigt__p_csColor, 0, 0, 0},  {&_swigt__p_csColor4, _p_csColor4To_p_csColor, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csColor4[] = {  {&_swigt__p_csColor4, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csCommandEventData[] = {  {&_swigt__p_csCommandEventData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csCommandEventHelper[] = {  {&_swigt__p_csCommandEventHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csCommandLineHelper[] = {  {&_swigt__p_csCommandLineHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csCompressVertex[] = {  {&_swigt__p_csCompressVertex, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csCoreRenderMesh[] = {  {&_swigt__p_csCoreRenderMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csCubicSpline[] = {  {&_swigt__p_csCubicSpline, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csDVector3[] = {  {&_swigt__p_csDVector3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csEllipsoid[] = {  {&_swigt__p_csEllipsoid, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csEvent[] = {  {&_swigt__p_csEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csEventNameRegistry[] = {  {&_swigt__p_csEventNameRegistry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csFileTime[] = {  {&_swigt__p_csFileTime, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csFlags[] = {  {&_swigt__p_csFlags, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csFog[] = {  {&_swigt__p_csFog, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csFrustum[] = {  {&_swigt__p_csFrustum, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csFrustumContext[] = {  {&_swigt__p_csFrustumContext, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csGeomDebugHelper[] = {  {&_swigt__p_csGeomDebugHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csGlyphMetrics[] = {  {&_swigt__p_csGlyphMetrics, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csGraphics3DCaps[] = {  {&_swigt__p_csGraphics3DCaps, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csHandlerID[] = {  {&_swigt__p_csHandlerID, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csHashTcsRefTiShader_t_unsigned_long_CS__Memory__AllocatorMalloc_t[] = {  {&_swigt__p_csHashTcsRefTiShader_t_unsigned_long_CS__Memory__AllocatorMalloc_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csHitBeamResult[] = {  {&_swigt__p_csHitBeamResult, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csImageArea[] = {  {&_swigt__p_csImageArea, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csImageIOFileFormatDescription[] = {  {&_swigt__p_csImageIOFileFormatDescription, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csInitializer[] = {  {&_swigt__p_csInitializer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csInputEventHelper[] = {  {&_swigt__p_csInputEventHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csIntersect2[] = {  {&_swigt__p_csIntersect2, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csIntersect3[] = {  {&_swigt__p_csIntersect3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csIntersectingTriangle[] = {  {&_swigt__p_csIntersectingTriangle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csJoystickEventData[] = {  {&_swigt__p_csJoystickEventData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csJoystickEventHelper[] = {  {&_swigt__p_csJoystickEventHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csKeyEventData[] = {  {&_swigt__p_csKeyEventData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csKeyEventHelper[] = {  {&_swigt__p_csKeyEventHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csListenerProperties[] = {  {&_swigt__p_csListenerProperties, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csMath2[] = {  {&_swigt__p_csMath2, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csMath3[] = {  {&_swigt__p_csMath3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csMatrix2[] = {  {&_swigt__p_csMatrix2, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csMatrix3[] = {  {&_swigt__p_csMatrix3, 0, 0, 0},  {&_swigt__p_csXRotMatrix3, _p_csXRotMatrix3To_p_csMatrix3, 0, 0},  {&_swigt__p_csYRotMatrix3, _p_csYRotMatrix3To_p_csMatrix3, 0, 0},  {&_swigt__p_csZRotMatrix3, _p_csZRotMatrix3To_p_csMatrix3, 0, 0},  {&_swigt__p_csXScaleMatrix3, _p_csXScaleMatrix3To_p_csMatrix3, 0, 0},  {&_swigt__p_csYScaleMatrix3, _p_csYScaleMatrix3To_p_csMatrix3, 0, 0},  {&_swigt__p_csZScaleMatrix3, _p_csZScaleMatrix3To_p_csMatrix3, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csMeshedPolygon[] = {  {&_swigt__p_csMeshedPolygon, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csMouseEventData[] = {  {&_swigt__p_csMouseEventData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csMouseEventHelper[] = {  {&_swigt__p_csMouseEventHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csOBB[] = {  {&_swigt__p_csOBB, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csObject[] = {  {&_swigt__p_csObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csOrthoTransform[] = {  {&_swigt__p_csOrthoTransform, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csParticle[] = {  {&_swigt__p_csParticle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csParticleAux[] = {  {&_swigt__p_csParticleAux, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csParticleBuffer[] = {  {&_swigt__p_csParticleBuffer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPath[] = {  {&_swigt__p_csPath, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPixelCoord[] = {  {&_swigt__p_csPixelCoord, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPixelFormat[] = {  {&_swigt__p_csPixelFormat, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPixmap[] = {  {&_swigt__p_csPixmap, 0, 0, 0},  {&_swigt__p_csSimplePixmap, _p_csSimplePixmapTo_p_csPixmap, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPlane2[] = {  {&_swigt__p_csPlane2, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPlane3[] = {  {&_swigt__p_csPlane3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPluginRequest[] = {  {&_swigt__p_csPluginRequest, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPoly2D[] = {  {&_swigt__p_csPoly2D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPoly2DFactory[] = {  {&_swigt__p_csPoly2DFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPoly3D[] = {  {&_swigt__p_csPoly3D, 0, 0, 0},  {&_swigt__p_csVector3Array, _p_csVector3ArrayTo_p_csPoly3D, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPolygonMesh[] = {  {&_swigt__p_csPolygonMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPolygonMeshBox[] = {  {&_swigt__p_csPolygonMeshBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPolygonRange[] = {  {&_swigt__p_csPolygonRange, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTcsFrustum_t[] = {  {&_swigt__p_csPtrTcsFrustum_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiBase_t[] = {  {&_swigt__p_csPtrTiBase_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiEngineSequenceParameters_t[] = {  {&_swigt__p_csPtrTiEngineSequenceParameters_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiEventOutlet_t[] = {  {&_swigt__p_csPtrTiEventOutlet_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiGenMeshAnimationControlFactory_t[] = {  {&_swigt__p_csPtrTiGenMeshAnimationControlFactory_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiGenMeshAnimationControl_t[] = {  {&_swigt__p_csPtrTiGenMeshAnimationControl_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiKeyComposer_t[] = {  {&_swigt__p_csPtrTiKeyComposer_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiLightIterator_t[] = {  {&_swigt__p_csPtrTiLightIterator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiLightingProcessData_t[] = {  {&_swigt__p_csPtrTiLightingProcessData_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiLoaderContext_t[] = {  {&_swigt__p_csPtrTiLoaderContext_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiLoaderStatus_t[] = {  {&_swigt__p_csPtrTiLoaderStatus_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiODEHinge2Joint_t[] = {  {&_swigt__p_csPtrTiODEHinge2Joint_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiObjectIterator_t[] = {  {&_swigt__p_csPtrTiObjectIterator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiObjectRegistryIterator_t[] = {  {&_swigt__p_csPtrTiObjectRegistryIterator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiObjectWatcher_t[] = {  {&_swigt__p_csPtrTiObjectWatcher_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiParameterESM_t[] = {  {&_swigt__p_csPtrTiParameterESM_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiParticleBuiltinEffectorVelocityField_t[] = {  {&_swigt__p_csPtrTiParticleBuiltinEffectorVelocityField_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiPluginIterator_t[] = {  {&_swigt__p_csPtrTiPluginIterator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiPolygonHandle_t[] = {  {&_swigt__p_csPtrTiPolygonHandle_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiRendererLightmap_t[] = {  {&_swigt__p_csPtrTiRendererLightmap_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiRigidBody_t[] = {  {&_swigt__p_csPtrTiRigidBody_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiSectorIterator_t[] = {  {&_swigt__p_csPtrTiSectorIterator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiSequenceTrigger_t[] = {  {&_swigt__p_csPtrTiSequenceTrigger_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiSequenceWrapper_t[] = {  {&_swigt__p_csPtrTiSequenceWrapper_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiShaderPriorityList_t[] = {  {&_swigt__p_csPtrTiShaderPriorityList_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiShader_t[] = {  {&_swigt__p_csPtrTiShader_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiShadowBlockList_t[] = {  {&_swigt__p_csPtrTiShadowBlockList_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiSuperLightmap_t[] = {  {&_swigt__p_csPtrTiSuperLightmap_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csPtrTiVisibilityObjectIterator_t[] = {  {&_swigt__p_csPtrTiVisibilityObjectIterator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csQuaternion[] = {  {&_swigt__p_csQuaternion, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRGBcolor[] = {  {&_swigt__p_csRGBcolor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRGBpixel[] = {  {&_swigt__p_csRGBpixel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRandomGen[] = {  {&_swigt__p_csRandomGen, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRect[] = {  {&_swigt__p_csRect, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRectRegion[] = {  {&_swigt__p_csRectRegion, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefArrayTcsShaderVariable_t[] = {  {&_swigt__p_csRefArrayTcsShaderVariable_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefArrayTiAwsKey_t[] = {  {&_swigt__p_csRefArrayTiAwsKey_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefArrayTiObject_t[] = {  {&_swigt__p_csRefArrayTiObject_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefArrayTiSceneNode_t[] = {  {&_swigt__p_csRefArrayTiSceneNode_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefArrayTiShader_t[] = {  {&_swigt__p_csRefArrayTiShader_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefCount[] = {  {&_swigt__p_csShaderVariable, _p_csShaderVariableTo_p_csRefCount, 0, 0},  {&_swigt__p_csRefCount, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiBase_t[] = {  {&_swigt__p_csRefTiBase_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiDocumentAttributeIterator_t[] = {  {&_swigt__p_csRefTiDocumentAttributeIterator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiDocumentAttribute_t[] = {  {&_swigt__p_csRefTiDocumentAttribute_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiDocumentNodeIterator_t[] = {  {&_swigt__p_csRefTiDocumentNodeIterator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiDocumentNode_t[] = {  {&_swigt__p_csRefTiDocumentNode_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiDynamicsSystemCollider_t[] = {  {&_swigt__p_csRefTiDynamicsSystemCollider_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiEventAttributeIterator_t[] = {  {&_swigt__p_csRefTiEventAttributeIterator_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiEventHandlerRegistry_t[] = {  {&_swigt__p_csRefTiEventHandlerRegistry_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiEventHandler_t[] = {  {&_swigt__p_csRefTiEventHandler_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiEventNameRegistry_t[] = {  {&_swigt__p_csRefTiEventNameRegistry_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiEvent_t[] = {  {&_swigt__p_csRefTiEvent_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiGeneralFactoryState_t[] = {  {&_swigt__p_csRefTiGeneralFactoryState_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiImage_t[] = {  {&_swigt__p_csRefTiImage_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiRenderBuffer_t[] = {  {&_swigt__p_csRefTiRenderBuffer_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiRigidBody_t[] = {  {&_swigt__p_csRefTiRigidBody_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiScriptObject_t[] = {  {&_swigt__p_csRefTiScriptObject_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRefTiString_t[] = {  {&_swigt__p_csRefTiString_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRenderBufferHolder[] = {  {&_swigt__p_csRenderBufferHolder, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRenderBufferName[] = {  {&_swigt__p_csRenderBufferName, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRenderMesh[] = {  {&_swigt__p_csRenderMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRenderMeshList[] = {  {&_swigt__p_csRenderMeshList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csRenderMeshModes[] = {  {&_swigt__p_csRenderMeshModes, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csReporterHelper[] = {  {&_swigt__p_csReporterHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csReversibleTransform[] = {  {&_swigt__p_csReversibleTransform, 0, 0, 0},  {&_swigt__p_csOrthoTransform, _p_csOrthoTransformTo_p_csReversibleTransform, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csScreenBoxResult[] = {  {&_swigt__p_csScreenBoxResult, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSectorHitBeamResult[] = {  {&_swigt__p_csSectorHitBeamResult, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSegment2[] = {  {&_swigt__p_csSegment2, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSegment3[] = {  {&_swigt__p_csSegment3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSetTcsPtrKeyTiMeshWrapper_t_CS__Memory__AllocatorMalloc_t[] = {  {&_swigt__p_csSetTcsPtrKeyTiMeshWrapper_t_CS__Memory__AllocatorMalloc_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t[] = {  {&_swigt__p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csShaderMetadata[] = {  {&_swigt__p_csShaderMetadata, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csShaderTagPresence[] = {  {&_swigt__p_csShaderTagPresence, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csShaderVariable[] = {  {&_swigt__p_csShaderVariable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSimplePixmap[] = {  {&_swigt__p_csSimplePixmap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSimpleRenderMesh[] = {  {&_swigt__p_csSimpleRenderMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSndSysRendererSoftware[] = {  {&_swigt__p_csSndSysRendererSoftware, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSndSysSoundFormat[] = {  {&_swigt__p_csSndSysSoundFormat, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSourceParameters3D[] = {  {&_swigt__p_csSourceParameters3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSphere[] = {  {&_swigt__p_csSphere, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSpline[] = {  {&_swigt__p_csBSpline, _p_csBSplineTo_p_csSpline, 0, 0},  {&_swigt__p_csSpline, 0, 0, 0},  {&_swigt__p_csCatmullRomSpline, _p_csCatmullRomSplineTo_p_csSpline, 0, 0},  {&_swigt__p_csCubicSpline, _p_csCubicSplineTo_p_csSpline, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSprite2DVertex[] = {  {&_swigt__p_csSprite2DVertex, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSpriteCal3DActiveAnim[] = {  {&_swigt__p_csSpriteCal3DActiveAnim, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csSquaredDist[] = {  {&_swigt__p_csSquaredDist, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csStrKey[] = {  {&_swigt__p_csStrKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csString[] = {  {&_swigt__p_csString, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csStringArray[] = {  {&_swigt__p_csStringArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csStringBase[] = {  {&_swigt__p_csStringBase, 0, 0, 0},  {&_swigt__p_csStringFastT36_t, _p_csStringFastT36_tTo_p_csStringBase, 0, 0},  {&_swigt__p_csString, _p_csStringTo_p_csStringBase, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csStringFastT36_t[] = {  {&_swigt__p_csStringFastT36_t, 0, 0, 0},  {&_swigt__p_csString, _p_csStringTo_p_csStringFastT36_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csStringSet[] = {  {&_swigt__p_csStringSet, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csTinyDocumentSystem[] = {  {&_swigt__p_csTinyDocumentSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csTraceBeamResult[] = {  {&_swigt__p_csTraceBeamResult, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csTransform[] = {  {&_swigt__p_csTransform, 0, 0, 0},  {&_swigt__p_csReversibleTransform, _p_csReversibleTransformTo_p_csTransform, 0, 0},  {&_swigt__p_csOrthoTransform, _p_csOrthoTransformTo_p_csTransform, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csTriangle[] = {  {&_swigt__p_csTriangle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csVector2[] = {  {&_swigt__p_csVector2, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csVector3[] = {  {&_swigt__p_csVector3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csVector3Array[] = {  {&_swigt__p_csVector3Array, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csVector4[] = {  {&_swigt__p_csVector4, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csVertexAttrib[] = {  {&_swigt__p_csVertexAttrib, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csVertexStatus[] = {  {&_swigt__p_csVertexStatus, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csView[] = {  {&_swigt__p_csView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csWrapPtr[] = {  {&_swigt__p_csWrapPtr, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csXRotMatrix3[] = {  {&_swigt__p_csXRotMatrix3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csXScaleMatrix3[] = {  {&_swigt__p_csXScaleMatrix3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csYRotMatrix3[] = {  {&_swigt__p_csYRotMatrix3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csYScaleMatrix3[] = {  {&_swigt__p_csYScaleMatrix3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csZRotMatrix3[] = {  {&_swigt__p_csZRotMatrix3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_csZScaleMatrix3[] = {  {&_swigt__p_csZScaleMatrix3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsRGBKey[] = {{&_swigt__p_f_p_iBase__p_iAwsRGBKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iRendererLightmap[] = {{&_swigt__p_f_p_iBase__p_iRendererLightmap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSuperLightmap[] = {{&_swigt__p_f_p_iBase__p_iSuperLightmap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iConsoleOutput[] = {{&_swigt__p_f_p_iBase__p_iConsoleOutput, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iTerrainObjectState[] = {{&_swigt__p_f_p_iBase__p_iTerrainObjectState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iClipper2D[] = {{&_swigt__p_f_p_iBase__p_iClipper2D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleEffector[] = {{&_swigt__p_f_p_iBase__p_iParticleEffector, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDebugHelper[] = {{&_swigt__p_f_p_iBase__p_iDebugHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEDynamicState[] = {{&_swigt__p_f_p_iBase__p_iODEDynamicState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDocumentAttribute[] = {{&_swigt__p_f_p_iBase__p_iDocumentAttribute, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEHingeJoint[] = {{&_swigt__p_f_p_iBase__p_iODEHingeJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMaterialEngine[] = {{&_swigt__p_f_p_iBase__p_iMaterialEngine, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iImageIO[] = {{&_swigt__p_f_p_iBase__p_iImageIO, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iPath[] = {{&_swigt__p_f_p_iBase__p_iPath, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSCF[] = {{&_swigt__p_f_p_iBase__p_iSCF, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLoaderStatus[] = {{&_swigt__p_f_p_iBase__p_iLoaderStatus, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEBallJoint[] = {{&_swigt__p_f_p_iBase__p_iODEBallJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iTextureHandle[] = {{&_swigt__p_f_p_iBase__p_iTextureHandle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGeneralMeshState[] = {{&_swigt__p_f_p_iBase__p_iGeneralMeshState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDynamics[] = {{&_swigt__p_f_p_iBase__p_iDynamics, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParameterESM[] = {{&_swigt__p_f_p_iBase__p_iParameterESM, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysSoftwareOutputFilter[] = {{&_swigt__p_f_p_iBase__p_iSndSysSoftwareOutputFilter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsIntKey[] = {{&_swigt__p_f_p_iBase__p_iAwsIntKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterCylinder[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterCylinder, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEDynamicSystemState[] = {{&_swigt__p_f_p_iBase__p_iODEDynamicSystemState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshList[] = {{&_swigt__p_f_p_iBase__p_iMeshList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEventPlug[] = {{&_swigt__p_f_p_iBase__p_iEventPlug, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterBox[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_t[] = {{&_swigt__p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEJointState[] = {{&_swigt__p_f_p_iBase__p_iODEJointState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEGeneralJointState[] = {{&_swigt__p_f_p_iBase__p_iODEGeneralJointState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_t[] = {{&_swigt__p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMaterialWrapper[] = {{&_swigt__p_f_p_iBase__p_iMaterialWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iTextureWrapper[] = {{&_swigt__p_f_p_iBase__p_iTextureWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshWrapper[] = {{&_swigt__p_f_p_iBase__p_iMeshWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshFactoryWrapper[] = {{&_swigt__p_f_p_iBase__p_iMeshFactoryWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysWrapper[] = {{&_swigt__p_f_p_iBase__p_iSndSysWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSequenceWrapper[] = {{&_swigt__p_f_p_iBase__p_iSequenceWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iString[] = {{&_swigt__p_f_p_iBase__p_iString, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iConsoleWatcher[] = {{&_swigt__p_f_p_iBase__p_iConsoleWatcher, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEngine[] = {{&_swigt__p_f_p_iBase__p_iEngine, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSimpleFormerState[] = {{&_swigt__p_f_p_iBase__p_iSimpleFormerState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMaterial[] = {{&_swigt__p_f_p_iBase__p_iMaterial, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSprite2DUVAnimation[] = {{&_swigt__p_f_p_iBase__p_iSprite2DUVAnimation, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t[] = {{&_swigt__p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iPolygonMesh[] = {{&_swigt__p_f_p_iBase__p_iPolygonMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iTerrainFactoryState[] = {{&_swigt__p_f_p_iBase__p_iTerrainFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iThingFactoryState[] = {{&_swigt__p_f_p_iBase__p_iThingFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSpriteCal3DFactoryState[] = {{&_swigt__p_f_p_iBase__p_iSpriteCal3DFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSprite3DFactoryState[] = {{&_swigt__p_f_p_iBase__p_iSprite3DFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSprite2DFactoryState[] = {{&_swigt__p_f_p_iBase__p_iSprite2DFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGeneralFactoryState[] = {{&_swigt__p_f_p_iBase__p_iGeneralFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleEmitter[] = {{&_swigt__p_f_p_iBase__p_iParticleEmitter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGraphics2D[] = {{&_swigt__p_f_p_iBase__p_iGraphics2D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDocument[] = {{&_swigt__p_f_p_iBase__p_iDocument, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iShaderPriorityList[] = {{&_swigt__p_f_p_iBase__p_iShaderPriorityList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysSourceSoftware3D[] = {{&_swigt__p_f_p_iBase__p_iSndSysSourceSoftware3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDataBuffer[] = {{&_swigt__p_f_p_iBase__p_iDataBuffer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshObject[] = {{&_swigt__p_f_p_iBase__p_iMeshObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iScriptObject[] = {{&_swigt__p_f_p_iBase__p_iScriptObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonGraveyard[] = {{&_swigt__p_f_p_iBase__p_iSkeletonGraveyard, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSequenceTimedOperation[] = {{&_swigt__p_f_p_iBase__p_iSequenceTimedOperation, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iHalo[] = {{&_swigt__p_f_p_iBase__p_iHalo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iFontServer[] = {{&_swigt__p_f_p_iBase__p_iFontServer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iStringArray[] = {{&_swigt__p_f_p_iBase__p_iStringArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iReporter[] = {{&_swigt__p_f_p_iBase__p_iReporter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_t[] = {{&_swigt__p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEventAttributeIterator[] = {{&_swigt__p_f_p_iBase__p_iEventAttributeIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iObjectRegistryIterator[] = {{&_swigt__p_f_p_iBase__p_iObjectRegistryIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iObjectIterator[] = {{&_swigt__p_f_p_iBase__p_iObjectIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshWrapperIterator[] = {{&_swigt__p_f_p_iBase__p_iMeshWrapperIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSectorIterator[] = {{&_swigt__p_f_p_iBase__p_iSectorIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iReporterIterator[] = {{&_swigt__p_f_p_iBase__p_iReporterIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDocumentNodeIterator[] = {{&_swigt__p_f_p_iBase__p_iDocumentNodeIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDocumentAttributeIterator[] = {{&_swigt__p_f_p_iBase__p_iDocumentAttributeIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iConfigIterator[] = {{&_swigt__p_f_p_iBase__p_iConfigIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iPluginIterator[] = {{&_swigt__p_f_p_iBase__p_iPluginIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iVisibilityObjectIterator[] = {{&_swigt__p_f_p_iBase__p_iVisibilityObjectIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLightIterator[] = {{&_swigt__p_f_p_iBase__p_iLightIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMapNode[] = {{&_swigt__p_f_p_iBase__p_iMapNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGenMeshAnimationControl[] = {{&_swigt__p_f_p_iBase__p_iGenMeshAnimationControl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iObjectRegistry[] = {{&_swigt__p_f_p_iBase__p_iObjectRegistry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEventNameRegistry[] = {{&_swigt__p_f_p_iBase__p_iEventNameRegistry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysListener[] = {{&_swigt__p_f_p_iBase__p_iSndSysListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iVisibilityCullerListener[] = {{&_swigt__p_f_p_iBase__p_iVisibilityCullerListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iObjectModelListener[] = {{&_swigt__p_f_p_iBase__p_iObjectModelListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iCameraSectorListener[] = {{&_swigt__p_f_p_iBase__p_iCameraSectorListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMovableListener[] = {{&_swigt__p_f_p_iBase__p_iMovableListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iObjectNameChangeListener[] = {{&_swigt__p_f_p_iBase__p_iObjectNameChangeListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iReporterListener[] = {{&_swigt__p_f_p_iBase__p_iReporterListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iStandardReporterListener[] = {{&_swigt__p_f_p_iBase__p_iStandardReporterListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDocumentSystem[] = {{&_swigt__p_f_p_iBase__p_iDocumentSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_csPath[] = {{&_swigt__p_f_p_iBase__p_csPath, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysSourceSoftware[] = {{&_swigt__p_f_p_iBase__p_iSndSysSourceSoftware, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysRendererSoftware[] = {{&_swigt__p_f_p_iBase__p_iSndSysRendererSoftware, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSprite2DUVAnimationFrame[] = {{&_swigt__p_f_p_iBase__p_iSprite2DUVAnimationFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iTerraFormer[] = {{&_swigt__p_f_p_iBase__p_iTerraFormer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeleton[] = {{&_swigt__p_f_p_iBase__p_iSkeleton, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSector[] = {{&_swigt__p_f_p_iBase__p_iSector, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSequenceTrigger[] = {{&_swigt__p_f_p_iBase__p_iSequenceTrigger, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iPortalContainer[] = {{&_swigt__p_f_p_iBase__p_iPortalContainer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsKeyContainer[] = {{&_swigt__p_f_p_iBase__p_iAwsKeyContainer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODESliderJoint[] = {{&_swigt__p_f_p_iBase__p_iODESliderJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEAMotorJoint[] = {{&_swigt__p_f_p_iBase__p_iODEAMotorJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEHinge2Joint[] = {{&_swigt__p_f_p_iBase__p_iODEHinge2Joint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iRegionList[] = {{&_swigt__p_f_p_iBase__p_iRegionList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iCameraPositionList[] = {{&_swigt__p_f_p_iBase__p_iCameraPositionList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEffectorVelocityField[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorVelocityField, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSpriteAction[] = {{&_swigt__p_f_p_iBase__p_iSpriteAction, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLightList[] = {{&_swigt__p_f_p_iBase__p_iLightList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iFile[] = {{&_swigt__p_f_p_iBase__p_iFile, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshObjectDrawCallback[] = {{&_swigt__p_f_p_iBase__p_iMeshObjectDrawCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonUpdateCallback[] = {{&_swigt__p_f_p_iBase__p_iSkeletonUpdateCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonScriptCallback[] = {{&_swigt__p_f_p_iBase__p_iSkeletonScriptCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonBoneUpdateCallback[] = {{&_swigt__p_f_p_iBase__p_iSkeletonBoneUpdateCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iPortalCallback[] = {{&_swigt__p_f_p_iBase__p_iPortalCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLightCallback[] = {{&_swigt__p_f_p_iBase__p_iLightCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSectorCallback[] = {{&_swigt__p_f_p_iBase__p_iSectorCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSectorMeshCallback[] = {{&_swigt__p_f_p_iBase__p_iSectorMeshCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLightVisibleCallback[] = {{&_swigt__p_f_p_iBase__p_iLightVisibleCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEngineFrameCallback[] = {{&_swigt__p_f_p_iBase__p_iEngineFrameCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEngineSectorCallback[] = {{&_swigt__p_f_p_iBase__p_iEngineSectorCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iTextureCallback[] = {{&_swigt__p_f_p_iBase__p_iTextureCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshDrawCallback[] = {{&_swigt__p_f_p_iBase__p_iMeshDrawCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysStreamCallback[] = {{&_swigt__p_f_p_iBase__p_iSndSysStreamCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysRendererCallback[] = {{&_swigt__p_f_p_iBase__p_iSndSysRendererCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iOffscreenCanvasCallback[] = {{&_swigt__p_f_p_iBase__p_iOffscreenCanvasCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDynamicsMoveCallback[] = {{&_swigt__p_f_p_iBase__p_iDynamicsMoveCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDynamicsCollisionCallback[] = {{&_swigt__p_f_p_iBase__p_iDynamicsCollisionCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDynamicsColliderCollisionCallback[] = {{&_swigt__p_f_p_iBase__p_iDynamicsColliderCollisionCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEFrameUpdateCallback[] = {{&_swigt__p_f_p_iBase__p_iODEFrameUpdateCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iVisibilityObject[] = {{&_swigt__p_f_p_iBase__p_iVisibilityObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iObject[] = {{&_swigt__p_f_p_iBase__p_iObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iCamera[] = {{&_swigt__p_f_p_iBase__p_iCamera, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iCommandLineParser[] = {{&_swigt__p_f_p_iBase__p_iCommandLineParser, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshFactoryList[] = {{&_swigt__p_f_p_iBase__p_iMeshFactoryList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGraphics3D[] = {{&_swigt__p_f_p_iBase__p_iGraphics3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iVirtualClock[] = {{&_swigt__p_f_p_iBase__p_iVirtualClock, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshObjectType[] = {{&_swigt__p_f_p_iBase__p_iMeshObjectType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMovieRecorder[] = {{&_swigt__p_f_p_iBase__p_iMovieRecorder, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSprite2DState[] = {{&_swigt__p_f_p_iBase__p_iSprite2DState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterSphere[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterSphere, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iThingEnvironment[] = {{&_swigt__p_f_p_iBase__p_iThingEnvironment, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMovable[] = {{&_swigt__p_f_p_iBase__p_iMovable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAws[] = {{&_swigt__p_f_p_iBase__p_iAws, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSceneNodeArray[] = {{&_swigt__p_f_p_iBase__p_iSceneNodeArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iShaderVariableContext[] = {{&_swigt__p_f_p_iBase__p_iShaderVariableContext, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSectorList[] = {{&_swigt__p_f_p_iBase__p_iSectorList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleSystem[] = {{&_swigt__p_f_p_iBase__p_iParticleSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iCollideSystem[] = {{&_swigt__p_f_p_iBase__p_iCollideSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDynamicSystem[] = {{&_swigt__p_f_p_iBase__p_iDynamicSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysSoftwareFilter3D[] = {{&_swigt__p_f_p_iBase__p_iSndSysSoftwareFilter3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iShaderCompiler[] = {{&_swigt__p_f_p_iBase__p_iShaderCompiler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLightingProcessData[] = {{&_swigt__p_f_p_iBase__p_iLightingProcessData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iCameraPosition[] = {{&_swigt__p_f_p_iBase__p_iCameraPosition, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iBinaryLoaderPlugin[] = {{&_swigt__p_f_p_iBase__p_iBinaryLoaderPlugin, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLoaderPlugin[] = {{&_swigt__p_f_p_iBase__p_iLoaderPlugin, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonSocket[] = {{&_swigt__p_f_p_iBase__p_iSkeletonSocket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSpriteCal3DSocket[] = {{&_swigt__p_f_p_iBase__p_iSpriteCal3DSocket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysStream[] = {{&_swigt__p_f_p_iBase__p_iSndSysStream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iVisibilityCuller[] = {{&_swigt__p_f_p_iBase__p_iVisibilityCuller, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGeneralMeshCommonState[] = {{&_swigt__p_f_p_iBase__p_iGeneralMeshCommonState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iConfigFile[] = {{&_swigt__p_f_p_iBase__p_iConfigFile, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEventQueue[] = {{&_swigt__p_f_p_iBase__p_iEventQueue, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iVFS[] = {{&_swigt__p_f_p_iBase__p_iVFS, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iRigidBody[] = {{&_swigt__p_f_p_iBase__p_iRigidBody, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsComponentNode[] = {{&_swigt__p_f_p_iBase__p_iAwsComponentNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEventOutlet[] = {{&_swigt__p_f_p_iBase__p_iEventOutlet, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDocumentNode[] = {{&_swigt__p_f_p_iBase__p_iDocumentNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_t[] = {{&_swigt__p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_t[] = {{&_swigt__p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iFont[] = {{&_swigt__p_f_p_iBase__p_iFont, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSpriteCal3DState[] = {{&_swigt__p_f_p_iBase__p_iSpriteCal3DState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSprite3DState[] = {{&_swigt__p_f_p_iBase__p_iSprite3DState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iKeyboardDriver[] = {{&_swigt__p_f_p_iBase__p_iKeyboardDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iBodyGroup[] = {{&_swigt__p_f_p_iBase__p_iBodyGroup, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iFrustumView[] = {{&_swigt__p_f_p_iBase__p_iFrustumView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAnimTimeUpdateHandler[] = {{&_swigt__p_f_p_iBase__p_iAnimTimeUpdateHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEventHandler[] = {{&_swigt__p_f_p_iBase__p_iEventHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p__csPyEventHandler[] = {{&_swigt__p_f_p_iBase__p__csPyEventHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iPortal[] = {{&_swigt__p_f_p_iBase__p_iPortal, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEngineSequenceParameters[] = {{&_swigt__p_f_p_iBase__p_iEngineSequenceParameters, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsKey[] = {{&_swigt__p_f_p_iBase__p_iAwsKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iView[] = {{&_swigt__p_f_p_iBase__p_iView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGenMeshAnimationControlType[] = {{&_swigt__p_f_p_iBase__p_iGenMeshAnimationControlType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iKeyComposer[] = {{&_swigt__p_f_p_iBase__p_iKeyComposer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_t[] = {{&_swigt__p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMaterialList[] = {{&_swigt__p_f_p_iBase__p_iMaterialList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsRectKey[] = {{&_swigt__p_f_p_iBase__p_iAwsRectKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLightingProcessInfo[] = {{&_swigt__p_f_p_iBase__p_iLightingProcessInfo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iJoint[] = {{&_swigt__p_f_p_iBase__p_iJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSpriteSocket[] = {{&_swigt__p_f_p_iBase__p_iSpriteSocket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterBase[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterBase, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterCone[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterCone, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysRenderer[] = {{&_swigt__p_f_p_iBase__p_iSndSysRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsComponent[] = {{&_swigt__p_f_p_iBase__p_iAwsComponent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iComponent[] = {{&_swigt__p_f_p_iBase__p_iComponent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLight[] = {{&_swigt__p_f_p_iBase__p_iLight, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsStringKey[] = {{&_swigt__p_f_p_iBase__p_iAwsStringKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGenMeshSkeletonControlState[] = {{&_swigt__p_f_p_iBase__p_iGenMeshSkeletonControlState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsSource[] = {{&_swigt__p_f_p_iBase__p_iAwsSource, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysSource[] = {{&_swigt__p_f_p_iBase__p_iSndSysSource, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEffectorForce[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorForce, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEffectorFactory[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterFactory[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleSystemFactory[] = {{&_swigt__p_f_p_iBase__p_iParticleSystemFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMeshObjectFactory[] = {{&_swigt__p_f_p_iBase__p_iMeshObjectFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonFactory[] = {{&_swigt__p_f_p_iBase__p_iSkeletonFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonSocketFactory[] = {{&_swigt__p_f_p_iBase__p_iSkeletonSocketFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonBoneFactory[] = {{&_swigt__p_f_p_iBase__p_iSkeletonBoneFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGenMeshAnimationControlFactory[] = {{&_swigt__p_f_p_iBase__p_iGenMeshAnimationControlFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsConnectionNodeFactory[] = {{&_swigt__p_f_p_iBase__p_iAwsConnectionNodeFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsKeyFactory[] = {{&_swigt__p_f_p_iBase__p_iAwsKeyFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsComponentFactory[] = {{&_swigt__p_f_p_iBase__p_iAwsComponentFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iFactory[] = {{&_swigt__p_f_p_iBase__p_iFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysSoftwareDriver[] = {{&_swigt__p_f_p_iBase__p_iSndSysSoftwareDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMouseDriver[] = {{&_swigt__p_f_p_iBase__p_iMouseDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iJoystickDriver[] = {{&_swigt__p_f_p_iBase__p_iJoystickDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_t[] = {{&_swigt__p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysLoader[] = {{&_swigt__p_f_p_iBase__p_iSndSysLoader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iLoader[] = {{&_swigt__p_f_p_iBase__p_iLoader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iFrustumViewUserdata[] = {{&_swigt__p_f_p_iBase__p_iFrustumViewUserdata, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsSink[] = {{&_swigt__p_f_p_iBase__p_iAwsSink, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iShader[] = {{&_swigt__p_f_p_iBase__p_iShader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iTextureList[] = {{&_swigt__p_f_p_iBase__p_iTextureList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iNativeWindow[] = {{&_swigt__p_f_p_iBase__p_iNativeWindow, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleSystemBase[] = {{&_swigt__p_f_p_iBase__p_iParticleSystemBase, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSpriteFrame[] = {{&_swigt__p_f_p_iBase__p_iSpriteFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonScript[] = {{&_swigt__p_f_p_iBase__p_iSkeletonScript, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iFontDeleteNotify[] = {{&_swigt__p_f_p_iBase__p_iFontDeleteNotify, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iThingState[] = {{&_swigt__p_f_p_iBase__p_iThingState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsFloatKey[] = {{&_swigt__p_f_p_iBase__p_iAwsFloatKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iShaderVariableAccessor[] = {{&_swigt__p_f_p_iBase__p_iShaderVariableAccessor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iTerraSampler[] = {{&_swigt__p_f_p_iBase__p_iTerraSampler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEvent[] = {{&_swigt__p_f_p_iBase__p_iEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonBone[] = {{&_swigt__p_f_p_iBase__p_iSkeletonBone, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsSlot[] = {{&_swigt__p_f_p_iBase__p_iAwsSlot, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSceneNode[] = {{&_swigt__p_f_p_iBase__p_iSceneNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonScriptKeyFrame[] = {{&_swigt__p_f_p_iBase__p_iSkeletonScriptKeyFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iParticleBuiltinEffectorLinColor[] = {{&_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorLinColor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iShaderVarStack[] = {{&_swigt__p_f_p_iBase__p_iShaderVarStack, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iGeneralMeshSubMesh[] = {{&_swigt__p_f_p_iBase__p_iGeneralMeshSubMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iImage[] = {{&_swigt__p_f_p_iBase__p_iImage, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iCollider[] = {{&_swigt__p_f_p_iBase__p_iCollider, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iDynamicsSystemCollider[] = {{&_swigt__p_f_p_iBase__p_iDynamicsSystemCollider, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iODEUniversalJoint[] = {{&_swigt__p_f_p_iBase__p_iODEUniversalJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iPolygonHandle[] = {{&_swigt__p_f_p_iBase__p_iPolygonHandle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iObjectModel[] = {{&_swigt__p_f_p_iBase__p_iObjectModel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsConnectionKey[] = {{&_swigt__p_f_p_iBase__p_iAwsConnectionKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSkeletonBoneRagdollInfo[] = {{&_swigt__p_f_p_iBase__p_iSkeletonBoneRagdollInfo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iMissingLoaderData[] = {{&_swigt__p_f_p_iBase__p_iMissingLoaderData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iRegion[] = {{&_swigt__p_f_p_iBase__p_iRegion, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iStringSet[] = {{&_swigt__p_f_p_iBase__p_iStringSet, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iColoredVertices[] = {{&_swigt__p_f_p_iBase__p_iColoredVertices, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsLayoutManager[] = {{&_swigt__p_f_p_iBase__p_iAwsLayoutManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsSinkManager[] = {{&_swigt__p_f_p_iBase__p_iAwsSinkManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsPrefManager[] = {{&_swigt__p_f_p_iBase__p_iAwsPrefManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysManager[] = {{&_swigt__p_f_p_iBase__p_iSndSysManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iCacheManager[] = {{&_swigt__p_f_p_iBase__p_iCacheManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iPluginManager[] = {{&_swigt__p_f_p_iBase__p_iPluginManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iConfigManager[] = {{&_swigt__p_f_p_iBase__p_iConfigManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iNativeWindowManager[] = {{&_swigt__p_f_p_iBase__p_iNativeWindowManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iShaderManager[] = {{&_swigt__p_f_p_iBase__p_iShaderManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iTextureManager[] = {{&_swigt__p_f_p_iBase__p_iTextureManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEngineSequenceManager[] = {{&_swigt__p_f_p_iBase__p_iEngineSequenceManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iAwsPointKey[] = {{&_swigt__p_f_p_iBase__p_iAwsPointKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iScript[] = {{&_swigt__p_f_p_iBase__p_iScript, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSaver[] = {{&_swigt__p_f_p_iBase__p_iSaver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iSndSysData[] = {{&_swigt__p_f_p_iBase__p_iSndSysData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iEventCord[] = {{&_swigt__p_f_p_iBase__p_iEventCord, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iBase__p_iBase[] = {  {&_swigt__p_f_p_iBase__p_iAwsRGBKey, _p_f_p_iBase__p_iAwsRGBKeyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iRendererLightmap, _p_f_p_iBase__p_iRendererLightmapTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSuperLightmap, _p_f_p_iBase__p_iSuperLightmapTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iConsoleOutput, _p_f_p_iBase__p_iConsoleOutputTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iTerrainObjectState, _p_f_p_iBase__p_iTerrainObjectStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iClipper2D, _p_f_p_iBase__p_iClipper2DTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleEffector, _p_f_p_iBase__p_iParticleEffectorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDebugHelper, _p_f_p_iBase__p_iDebugHelperTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEDynamicState, _p_f_p_iBase__p_iODEDynamicStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDocumentAttribute, _p_f_p_iBase__p_iDocumentAttributeTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEHingeJoint, _p_f_p_iBase__p_iODEHingeJointTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMaterialEngine, _p_f_p_iBase__p_iMaterialEngineTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iImageIO, _p_f_p_iBase__p_iImageIOTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iPath, _p_f_p_iBase__p_iPathTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSCF, _p_f_p_iBase__p_iSCFTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iLoaderStatus, _p_f_p_iBase__p_iLoaderStatusTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEBallJoint, _p_f_p_iBase__p_iODEBallJointTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iTextureHandle, _p_f_p_iBase__p_iTextureHandleTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGeneralMeshState, _p_f_p_iBase__p_iGeneralMeshStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDynamics, _p_f_p_iBase__p_iDynamicsTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParameterESM, _p_f_p_iBase__p_iParameterESMTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysSoftwareOutputFilter, _p_f_p_iBase__p_iSndSysSoftwareOutputFilterTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsIntKey, _p_f_p_iBase__p_iAwsIntKeyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterCylinder, _p_f_p_iBase__p_iParticleBuiltinEmitterCylinderTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEDynamicSystemState, _p_f_p_iBase__p_iODEDynamicSystemStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshList, _p_f_p_iBase__p_iMeshListTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEventPlug, _p_f_p_iBase__p_iEventPlugTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterBox, _p_f_p_iBase__p_iParticleBuiltinEmitterBoxTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_t, _p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_tTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEJointState, _p_f_p_iBase__p_iODEJointStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEGeneralJointState, _p_f_p_iBase__p_iODEGeneralJointStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_t, _p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_tTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMaterialWrapper, _p_f_p_iBase__p_iMaterialWrapperTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iTextureWrapper, _p_f_p_iBase__p_iTextureWrapperTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshWrapper, _p_f_p_iBase__p_iMeshWrapperTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshFactoryWrapper, _p_f_p_iBase__p_iMeshFactoryWrapperTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysWrapper, _p_f_p_iBase__p_iSndSysWrapperTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSequenceWrapper, _p_f_p_iBase__p_iSequenceWrapperTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iString, _p_f_p_iBase__p_iStringTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iConsoleWatcher, _p_f_p_iBase__p_iConsoleWatcherTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEngine, _p_f_p_iBase__p_iEngineTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSimpleFormerState, _p_f_p_iBase__p_iSimpleFormerStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMaterial, _p_f_p_iBase__p_iMaterialTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSprite2DUVAnimation, _p_f_p_iBase__p_iSprite2DUVAnimationTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t, _p_f_p_iBase__p_scfImplementation1TcsPath_iPath_tTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iPolygonMesh, _p_f_p_iBase__p_iPolygonMeshTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iTerrainFactoryState, _p_f_p_iBase__p_iTerrainFactoryStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iThingFactoryState, _p_f_p_iBase__p_iThingFactoryStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSpriteCal3DFactoryState, _p_f_p_iBase__p_iSpriteCal3DFactoryStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSprite3DFactoryState, _p_f_p_iBase__p_iSprite3DFactoryStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSprite2DFactoryState, _p_f_p_iBase__p_iSprite2DFactoryStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGeneralFactoryState, _p_f_p_iBase__p_iGeneralFactoryStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleEmitter, _p_f_p_iBase__p_iParticleEmitterTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGraphics2D, _p_f_p_iBase__p_iGraphics2DTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDocument, _p_f_p_iBase__p_iDocumentTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iShaderPriorityList, _p_f_p_iBase__p_iShaderPriorityListTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysSourceSoftware3D, _p_f_p_iBase__p_iSndSysSourceSoftware3DTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDataBuffer, _p_f_p_iBase__p_iDataBufferTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshObject, _p_f_p_iBase__p_iMeshObjectTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iScriptObject, _p_f_p_iBase__p_iScriptObjectTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonGraveyard, _p_f_p_iBase__p_iSkeletonGraveyardTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSequenceTimedOperation, _p_f_p_iBase__p_iSequenceTimedOperationTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iHalo, _p_f_p_iBase__p_iHaloTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iFontServer, _p_f_p_iBase__p_iFontServerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iStringArray, _p_f_p_iBase__p_iStringArrayTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iReporter, _p_f_p_iBase__p_iReporterTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_t, _p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_tTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEventAttributeIterator, _p_f_p_iBase__p_iEventAttributeIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iObjectRegistryIterator, _p_f_p_iBase__p_iObjectRegistryIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iObjectIterator, _p_f_p_iBase__p_iObjectIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshWrapperIterator, _p_f_p_iBase__p_iMeshWrapperIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSectorIterator, _p_f_p_iBase__p_iSectorIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iReporterIterator, _p_f_p_iBase__p_iReporterIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDocumentNodeIterator, _p_f_p_iBase__p_iDocumentNodeIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDocumentAttributeIterator, _p_f_p_iBase__p_iDocumentAttributeIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iConfigIterator, _p_f_p_iBase__p_iConfigIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iPluginIterator, _p_f_p_iBase__p_iPluginIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iVisibilityObjectIterator, _p_f_p_iBase__p_iVisibilityObjectIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iLightIterator, _p_f_p_iBase__p_iLightIteratorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMapNode, _p_f_p_iBase__p_iMapNodeTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGenMeshAnimationControl, _p_f_p_iBase__p_iGenMeshAnimationControlTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iObjectRegistry, _p_f_p_iBase__p_iObjectRegistryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEventNameRegistry, _p_f_p_iBase__p_iEventNameRegistryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysListener, _p_f_p_iBase__p_iSndSysListenerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iVisibilityCullerListener, _p_f_p_iBase__p_iVisibilityCullerListenerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iObjectModelListener, _p_f_p_iBase__p_iObjectModelListenerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iCameraSectorListener, _p_f_p_iBase__p_iCameraSectorListenerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMovableListener, _p_f_p_iBase__p_iMovableListenerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iObjectNameChangeListener, _p_f_p_iBase__p_iObjectNameChangeListenerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iReporterListener, _p_f_p_iBase__p_iReporterListenerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iStandardReporterListener, _p_f_p_iBase__p_iStandardReporterListenerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDocumentSystem, _p_f_p_iBase__p_iDocumentSystemTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_csPath, _p_f_p_iBase__p_csPathTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysSourceSoftware, _p_f_p_iBase__p_iSndSysSourceSoftwareTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysRendererSoftware, _p_f_p_iBase__p_iSndSysRendererSoftwareTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSprite2DUVAnimationFrame, _p_f_p_iBase__p_iSprite2DUVAnimationFrameTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iTerraFormer, _p_f_p_iBase__p_iTerraFormerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeleton, _p_f_p_iBase__p_iSkeletonTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSector, _p_f_p_iBase__p_iSectorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSequenceTrigger, _p_f_p_iBase__p_iSequenceTriggerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iPortalContainer, _p_f_p_iBase__p_iPortalContainerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsKeyContainer, _p_f_p_iBase__p_iAwsKeyContainerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODESliderJoint, _p_f_p_iBase__p_iODESliderJointTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEAMotorJoint, _p_f_p_iBase__p_iODEAMotorJointTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEHinge2Joint, _p_f_p_iBase__p_iODEHinge2JointTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iRegionList, _p_f_p_iBase__p_iRegionListTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iCameraPositionList, _p_f_p_iBase__p_iCameraPositionListTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorVelocityField, _p_f_p_iBase__p_iParticleBuiltinEffectorVelocityFieldTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSpriteAction, _p_f_p_iBase__p_iSpriteActionTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iBase, 0, 0, 0},  {&_swigt__p_f_p_iBase__p_iLightList, _p_f_p_iBase__p_iLightListTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iFile, _p_f_p_iBase__p_iFileTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshObjectDrawCallback, _p_f_p_iBase__p_iMeshObjectDrawCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonUpdateCallback, _p_f_p_iBase__p_iSkeletonUpdateCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonScriptCallback, _p_f_p_iBase__p_iSkeletonScriptCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonBoneUpdateCallback, _p_f_p_iBase__p_iSkeletonBoneUpdateCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iPortalCallback, _p_f_p_iBase__p_iPortalCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iLightCallback, _p_f_p_iBase__p_iLightCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSectorCallback, _p_f_p_iBase__p_iSectorCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSectorMeshCallback, _p_f_p_iBase__p_iSectorMeshCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iLightVisibleCallback, _p_f_p_iBase__p_iLightVisibleCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEngineFrameCallback, _p_f_p_iBase__p_iEngineFrameCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEngineSectorCallback, _p_f_p_iBase__p_iEngineSectorCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iTextureCallback, _p_f_p_iBase__p_iTextureCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshDrawCallback, _p_f_p_iBase__p_iMeshDrawCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysStreamCallback, _p_f_p_iBase__p_iSndSysStreamCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysRendererCallback, _p_f_p_iBase__p_iSndSysRendererCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iOffscreenCanvasCallback, _p_f_p_iBase__p_iOffscreenCanvasCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDynamicsMoveCallback, _p_f_p_iBase__p_iDynamicsMoveCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDynamicsCollisionCallback, _p_f_p_iBase__p_iDynamicsCollisionCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDynamicsColliderCollisionCallback, _p_f_p_iBase__p_iDynamicsColliderCollisionCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEFrameUpdateCallback, _p_f_p_iBase__p_iODEFrameUpdateCallbackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iVisibilityObject, _p_f_p_iBase__p_iVisibilityObjectTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iObject, _p_f_p_iBase__p_iObjectTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iCamera, _p_f_p_iBase__p_iCameraTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iCommandLineParser, _p_f_p_iBase__p_iCommandLineParserTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshFactoryList, _p_f_p_iBase__p_iMeshFactoryListTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGraphics3D, _p_f_p_iBase__p_iGraphics3DTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iVirtualClock, _p_f_p_iBase__p_iVirtualClockTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshObjectType, _p_f_p_iBase__p_iMeshObjectTypeTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMovieRecorder, _p_f_p_iBase__p_iMovieRecorderTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSprite2DState, _p_f_p_iBase__p_iSprite2DStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterSphere, _p_f_p_iBase__p_iParticleBuiltinEmitterSphereTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iThingEnvironment, _p_f_p_iBase__p_iThingEnvironmentTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMovable, _p_f_p_iBase__p_iMovableTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAws, _p_f_p_iBase__p_iAwsTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSceneNodeArray, _p_f_p_iBase__p_iSceneNodeArrayTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iShaderVariableContext, _p_f_p_iBase__p_iShaderVariableContextTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSectorList, _p_f_p_iBase__p_iSectorListTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleSystem, _p_f_p_iBase__p_iParticleSystemTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iCollideSystem, _p_f_p_iBase__p_iCollideSystemTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDynamicSystem, _p_f_p_iBase__p_iDynamicSystemTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysSoftwareFilter3D, _p_f_p_iBase__p_iSndSysSoftwareFilter3DTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iShaderCompiler, _p_f_p_iBase__p_iShaderCompilerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iLightingProcessData, _p_f_p_iBase__p_iLightingProcessDataTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iCameraPosition, _p_f_p_iBase__p_iCameraPositionTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iBinaryLoaderPlugin, _p_f_p_iBase__p_iBinaryLoaderPluginTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iLoaderPlugin, _p_f_p_iBase__p_iLoaderPluginTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonSocket, _p_f_p_iBase__p_iSkeletonSocketTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSpriteCal3DSocket, _p_f_p_iBase__p_iSpriteCal3DSocketTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysStream, _p_f_p_iBase__p_iSndSysStreamTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iVisibilityCuller, _p_f_p_iBase__p_iVisibilityCullerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGeneralMeshCommonState, _p_f_p_iBase__p_iGeneralMeshCommonStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iConfigFile, _p_f_p_iBase__p_iConfigFileTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEventQueue, _p_f_p_iBase__p_iEventQueueTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iVFS, _p_f_p_iBase__p_iVFSTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iRigidBody, _p_f_p_iBase__p_iRigidBodyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsComponentNode, _p_f_p_iBase__p_iAwsComponentNodeTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEventOutlet, _p_f_p_iBase__p_iEventOutletTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDocumentNode, _p_f_p_iBase__p_iDocumentNodeTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_t, _p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_tTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_t, _p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_tTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iFont, _p_f_p_iBase__p_iFontTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSpriteCal3DState, _p_f_p_iBase__p_iSpriteCal3DStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSprite3DState, _p_f_p_iBase__p_iSprite3DStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iKeyboardDriver, _p_f_p_iBase__p_iKeyboardDriverTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iBodyGroup, _p_f_p_iBase__p_iBodyGroupTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iFrustumView, _p_f_p_iBase__p_iFrustumViewTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAnimTimeUpdateHandler, _p_f_p_iBase__p_iAnimTimeUpdateHandlerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEventHandler, _p_f_p_iBase__p_iEventHandlerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p__csPyEventHandler, _p_f_p_iBase__p__csPyEventHandlerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iPortal, _p_f_p_iBase__p_iPortalTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEngineSequenceParameters, _p_f_p_iBase__p_iEngineSequenceParametersTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsKey, _p_f_p_iBase__p_iAwsKeyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iView, _p_f_p_iBase__p_iViewTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGenMeshAnimationControlType, _p_f_p_iBase__p_iGenMeshAnimationControlTypeTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iKeyComposer, _p_f_p_iBase__p_iKeyComposerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_t, _p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_tTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMaterialList, _p_f_p_iBase__p_iMaterialListTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsRectKey, _p_f_p_iBase__p_iAwsRectKeyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iLightingProcessInfo, _p_f_p_iBase__p_iLightingProcessInfoTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iJoint, _p_f_p_iBase__p_iJointTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSpriteSocket, _p_f_p_iBase__p_iSpriteSocketTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterBase, _p_f_p_iBase__p_iParticleBuiltinEmitterBaseTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterCone, _p_f_p_iBase__p_iParticleBuiltinEmitterConeTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysRenderer, _p_f_p_iBase__p_iSndSysRendererTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsComponent, _p_f_p_iBase__p_iAwsComponentTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iComponent, _p_f_p_iBase__p_iComponentTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iLight, _p_f_p_iBase__p_iLightTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsStringKey, _p_f_p_iBase__p_iAwsStringKeyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGenMeshSkeletonControlState, _p_f_p_iBase__p_iGenMeshSkeletonControlStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsSource, _p_f_p_iBase__p_iAwsSourceTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysSource, _p_f_p_iBase__p_iSndSysSourceTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorForce, _p_f_p_iBase__p_iParticleBuiltinEffectorForceTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorFactory, _p_f_p_iBase__p_iParticleBuiltinEffectorFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEmitterFactory, _p_f_p_iBase__p_iParticleBuiltinEmitterFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleSystemFactory, _p_f_p_iBase__p_iParticleSystemFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMeshObjectFactory, _p_f_p_iBase__p_iMeshObjectFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonFactory, _p_f_p_iBase__p_iSkeletonFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonSocketFactory, _p_f_p_iBase__p_iSkeletonSocketFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonBoneFactory, _p_f_p_iBase__p_iSkeletonBoneFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGenMeshAnimationControlFactory, _p_f_p_iBase__p_iGenMeshAnimationControlFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsConnectionNodeFactory, _p_f_p_iBase__p_iAwsConnectionNodeFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsKeyFactory, _p_f_p_iBase__p_iAwsKeyFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsComponentFactory, _p_f_p_iBase__p_iAwsComponentFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iFactory, _p_f_p_iBase__p_iFactoryTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysSoftwareDriver, _p_f_p_iBase__p_iSndSysSoftwareDriverTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMouseDriver, _p_f_p_iBase__p_iMouseDriverTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iJoystickDriver, _p_f_p_iBase__p_iJoystickDriverTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_t, _p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_tTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysLoader, _p_f_p_iBase__p_iSndSysLoaderTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iLoader, _p_f_p_iBase__p_iLoaderTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iFrustumViewUserdata, _p_f_p_iBase__p_iFrustumViewUserdataTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsSink, _p_f_p_iBase__p_iAwsSinkTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iShader, _p_f_p_iBase__p_iShaderTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iTextureList, _p_f_p_iBase__p_iTextureListTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iNativeWindow, _p_f_p_iBase__p_iNativeWindowTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleSystemBase, _p_f_p_iBase__p_iParticleSystemBaseTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSpriteFrame, _p_f_p_iBase__p_iSpriteFrameTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonScript, _p_f_p_iBase__p_iSkeletonScriptTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iFontDeleteNotify, _p_f_p_iBase__p_iFontDeleteNotifyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iThingState, _p_f_p_iBase__p_iThingStateTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsFloatKey, _p_f_p_iBase__p_iAwsFloatKeyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iShaderVariableAccessor, _p_f_p_iBase__p_iShaderVariableAccessorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iTerraSampler, _p_f_p_iBase__p_iTerraSamplerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEvent, _p_f_p_iBase__p_iEventTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonBone, _p_f_p_iBase__p_iSkeletonBoneTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsSlot, _p_f_p_iBase__p_iAwsSlotTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSceneNode, _p_f_p_iBase__p_iSceneNodeTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonScriptKeyFrame, _p_f_p_iBase__p_iSkeletonScriptKeyFrameTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iParticleBuiltinEffectorLinColor, _p_f_p_iBase__p_iParticleBuiltinEffectorLinColorTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iShaderVarStack, _p_f_p_iBase__p_iShaderVarStackTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iGeneralMeshSubMesh, _p_f_p_iBase__p_iGeneralMeshSubMeshTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iImage, _p_f_p_iBase__p_iImageTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iCollider, _p_f_p_iBase__p_iColliderTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iDynamicsSystemCollider, _p_f_p_iBase__p_iDynamicsSystemColliderTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iODEUniversalJoint, _p_f_p_iBase__p_iODEUniversalJointTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iPolygonHandle, _p_f_p_iBase__p_iPolygonHandleTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iObjectModel, _p_f_p_iBase__p_iObjectModelTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsConnectionKey, _p_f_p_iBase__p_iAwsConnectionKeyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSkeletonBoneRagdollInfo, _p_f_p_iBase__p_iSkeletonBoneRagdollInfoTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iMissingLoaderData, _p_f_p_iBase__p_iMissingLoaderDataTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iRegion, _p_f_p_iBase__p_iRegionTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iStringSet, _p_f_p_iBase__p_iStringSetTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iColoredVertices, _p_f_p_iBase__p_iColoredVerticesTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsLayoutManager, _p_f_p_iBase__p_iAwsLayoutManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsSinkManager, _p_f_p_iBase__p_iAwsSinkManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsPrefManager, _p_f_p_iBase__p_iAwsPrefManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysManager, _p_f_p_iBase__p_iSndSysManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iCacheManager, _p_f_p_iBase__p_iCacheManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iPluginManager, _p_f_p_iBase__p_iPluginManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iConfigManager, _p_f_p_iBase__p_iConfigManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iNativeWindowManager, _p_f_p_iBase__p_iNativeWindowManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iShaderManager, _p_f_p_iBase__p_iShaderManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iTextureManager, _p_f_p_iBase__p_iTextureManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEngineSequenceManager, _p_f_p_iBase__p_iEngineSequenceManagerTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iAwsPointKey, _p_f_p_iBase__p_iAwsPointKeyTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iScript, _p_f_p_iBase__p_iScriptTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSaver, _p_f_p_iBase__p_iSaverTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iSndSysData, _p_f_p_iBase__p_iSndSysDataTo_p_f_p_iBase__p_iBase, 0, 0},  {&_swigt__p_f_p_iBase__p_iEventCord, _p_f_p_iBase__p_iEventCordTo_p_f_p_iBase__p_iBase, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_iMeshWrapper_p_iFrustumView_bool__void[] = {  {&_swigt__p_f_p_iMeshWrapper_p_iFrustumView_bool__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_unsigned_long_int_p_iAwsSource__void[] = {  {&_swigt__p_f_unsigned_long_int_p_iAwsSource__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_unsigned_long_p_void_p_iAwsSource__void[] = {  {&_swigt__p_f_unsigned_long_p_void_p_iAwsSource__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_float[] = {  {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAnimTimeUpdateHandler[] = {  {&_swigt__p_iAnimTimeUpdateHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iArrayChangeAllTcsShaderVariable_p_t[] = {  {&_swigt__p_iArrayChangeAllTcsShaderVariable_p_t, 0, 0, 0},  {&_swigt__p_iShaderVarStack, _p_iShaderVarStackTo_p_iArrayChangeAllTcsShaderVariable_p_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iArrayChangeAllTcsSprite2DVertex_t[] = {  {&_swigt__p_iArrayChangeAllTcsSprite2DVertex_t, 0, 0, 0},  {&_swigt__p_iColoredVertices, _p_iColoredVerticesTo_p_iArrayChangeAllTcsSprite2DVertex_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iArrayChangeElementsTcsShaderVariable_p_t[] = {  {&_swigt__p_iArrayChangeElementsTcsShaderVariable_p_t, 0, 0, 0},  {&_swigt__p_iShaderVarStack, _p_iShaderVarStackTo_p_iArrayChangeElementsTcsShaderVariable_p_t, 0, 0},  {&_swigt__p_iArrayChangeAllTcsShaderVariable_p_t, _p_iArrayChangeAllTcsShaderVariable_p_tTo_p_iArrayChangeElementsTcsShaderVariable_p_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iArrayChangeElementsTcsSprite2DVertex_t[] = {  {&_swigt__p_iArrayChangeElementsTcsSprite2DVertex_t, 0, 0, 0},  {&_swigt__p_iArrayChangeAllTcsSprite2DVertex_t, _p_iArrayChangeAllTcsSprite2DVertex_tTo_p_iArrayChangeElementsTcsSprite2DVertex_t, 0, 0},  {&_swigt__p_iColoredVertices, _p_iColoredVerticesTo_p_iArrayChangeElementsTcsSprite2DVertex_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iArrayReadOnlyTcsShaderVariable_p_t[] = {  {&_swigt__p_iArrayReadOnlyTcsShaderVariable_p_t, 0, 0, 0},  {&_swigt__p_iShaderVarStack, _p_iShaderVarStackTo_p_iArrayReadOnlyTcsShaderVariable_p_t, 0, 0},  {&_swigt__p_iArrayChangeElementsTcsShaderVariable_p_t, _p_iArrayChangeElementsTcsShaderVariable_p_tTo_p_iArrayReadOnlyTcsShaderVariable_p_t, 0, 0},  {&_swigt__p_iArrayChangeAllTcsShaderVariable_p_t, _p_iArrayChangeAllTcsShaderVariable_p_tTo_p_iArrayReadOnlyTcsShaderVariable_p_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iArrayReadOnlyTcsSprite2DVertex_t[] = {  {&_swigt__p_iArrayReadOnlyTcsSprite2DVertex_t, 0, 0, 0},  {&_swigt__p_iArrayChangeElementsTcsSprite2DVertex_t, _p_iArrayChangeElementsTcsSprite2DVertex_tTo_p_iArrayReadOnlyTcsSprite2DVertex_t, 0, 0},  {&_swigt__p_iArrayChangeAllTcsSprite2DVertex_t, _p_iArrayChangeAllTcsSprite2DVertex_tTo_p_iArrayReadOnlyTcsSprite2DVertex_t, 0, 0},  {&_swigt__p_iColoredVertices, _p_iColoredVerticesTo_p_iArrayReadOnlyTcsSprite2DVertex_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iArrayReadOnlyTiSceneNode_p_t[] = {  {&_swigt__p_iArrayReadOnlyTiSceneNode_p_t, 0, 0, 0},  {&_swigt__p_iSceneNodeArray, _p_iSceneNodeArrayTo_p_iArrayReadOnlyTiSceneNode_p_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAws[] = {  {&_swigt__p_iAws, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsCanvas[] = {  {&_swigt__p_iAwsCanvas, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsComponent[] = {  {&_swigt__p_iAwsComponent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsComponentFactory[] = {  {&_swigt__p_iAwsComponentFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsComponentNode[] = {  {&_swigt__p_iAwsComponentNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsConnectionKey[] = {  {&_swigt__p_iAwsConnectionKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsConnectionNodeFactory[] = {  {&_swigt__p_iAwsConnectionNodeFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsFloatKey[] = {  {&_swigt__p_iAwsFloatKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsIntKey[] = {  {&_swigt__p_iAwsIntKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsKey[] = {  {&_swigt__p_iAwsRectKey, _p_iAwsRectKeyTo_p_iAwsKey, 0, 0},  {&_swigt__p_iAwsKey, 0, 0, 0},  {&_swigt__p_iAwsConnectionKey, _p_iAwsConnectionKeyTo_p_iAwsKey, 0, 0},  {&_swigt__p_iAwsPointKey, _p_iAwsPointKeyTo_p_iAwsKey, 0, 0},  {&_swigt__p_iAwsIntKey, _p_iAwsIntKeyTo_p_iAwsKey, 0, 0},  {&_swigt__p_iAwsStringKey, _p_iAwsStringKeyTo_p_iAwsKey, 0, 0},  {&_swigt__p_iAwsRGBKey, _p_iAwsRGBKeyTo_p_iAwsKey, 0, 0},  {&_swigt__p_iAwsKeyContainer, _p_iAwsKeyContainerTo_p_iAwsKey, 0, 0},  {&_swigt__p_iAwsComponentNode, _p_iAwsComponentNodeTo_p_iAwsKey, 0, 0},  {&_swigt__p_iAwsFloatKey, _p_iAwsFloatKeyTo_p_iAwsKey, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsKeyContainer[] = {  {&_swigt__p_iAwsKeyContainer, 0, 0, 0},  {&_swigt__p_iAwsComponentNode, _p_iAwsComponentNodeTo_p_iAwsKeyContainer, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsKeyFactory[] = {  {&_swigt__p_iAwsKeyFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsLayoutManager[] = {  {&_swigt__p_iAwsLayoutManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsParmList[] = {  {&_swigt__p_iAwsParmList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsPointKey[] = {  {&_swigt__p_iAwsPointKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsPrefManager[] = {  {&_swigt__p_iAwsPrefManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsRGBKey[] = {  {&_swigt__p_iAwsRGBKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsRGBKey__RGB[] = {  {&_swigt__p_iAwsRGBKey__RGB, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsRectKey[] = {  {&_swigt__p_iAwsRectKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsSink[] = {  {&_swigt__p_iAwsSink, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsSinkManager[] = {  {&_swigt__p_iAwsSinkManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsSlot[] = {  {&_swigt__p_iAwsSlot, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsSource[] = {  {&_swigt__p_iAwsComponent, _p_iAwsComponentTo_p_iAwsSource, 0, 0},  {&_swigt__p_iAwsSource, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iAwsStringKey[] = {  {&_swigt__p_iAwsStringKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iBase[] = {  {&_swigt__p_iAwsRGBKey, _p_iAwsRGBKeyTo_p_iBase, 0, 0},  {&_swigt__p_iRendererLightmap, _p_iRendererLightmapTo_p_iBase, 0, 0},  {&_swigt__p_iSuperLightmap, _p_iSuperLightmapTo_p_iBase, 0, 0},  {&_swigt__p_iConsoleOutput, _p_iConsoleOutputTo_p_iBase, 0, 0},  {&_swigt__p_iTerrainObjectState, _p_iTerrainObjectStateTo_p_iBase, 0, 0},  {&_swigt__p_iClipper2D, _p_iClipper2DTo_p_iBase, 0, 0},  {&_swigt__p_iParticleEffector, _p_iParticleEffectorTo_p_iBase, 0, 0},  {&_swigt__p_iDebugHelper, _p_iDebugHelperTo_p_iBase, 0, 0},  {&_swigt__p_iODEDynamicState, _p_iODEDynamicStateTo_p_iBase, 0, 0},  {&_swigt__p_iDocumentAttribute, _p_iDocumentAttributeTo_p_iBase, 0, 0},  {&_swigt__p_iODEHingeJoint, _p_iODEHingeJointTo_p_iBase, 0, 0},  {&_swigt__p_iMaterialEngine, _p_iMaterialEngineTo_p_iBase, 0, 0},  {&_swigt__p_iImageIO, _p_iImageIOTo_p_iBase, 0, 0},  {&_swigt__p_iPath, _p_iPathTo_p_iBase, 0, 0},  {&_swigt__p_iSCF, _p_iSCFTo_p_iBase, 0, 0},  {&_swigt__p_iLoaderStatus, _p_iLoaderStatusTo_p_iBase, 0, 0},  {&_swigt__p_iODEBallJoint, _p_iODEBallJointTo_p_iBase, 0, 0},  {&_swigt__p_iTextureHandle, _p_iTextureHandleTo_p_iBase, 0, 0},  {&_swigt__p_iGeneralMeshState, _p_iGeneralMeshStateTo_p_iBase, 0, 0},  {&_swigt__p_iDynamics, _p_iDynamicsTo_p_iBase, 0, 0},  {&_swigt__p_iParameterESM, _p_iParameterESMTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysSoftwareOutputFilter, _p_iSndSysSoftwareOutputFilterTo_p_iBase, 0, 0},  {&_swigt__p_iArrayChangeAllTcsShaderVariable_p_t, _p_iArrayChangeAllTcsShaderVariable_p_tTo_p_iBase, 0, 0},  {&_swigt__p_iArrayChangeElementsTcsShaderVariable_p_t, _p_iArrayChangeElementsTcsShaderVariable_p_tTo_p_iBase, 0, 0},  {&_swigt__p_iArrayReadOnlyTcsShaderVariable_p_t, _p_iArrayReadOnlyTcsShaderVariable_p_tTo_p_iBase, 0, 0},  {&_swigt__p_iAwsIntKey, _p_iAwsIntKeyTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterCylinder, _p_iParticleBuiltinEmitterCylinderTo_p_iBase, 0, 0},  {&_swigt__p_iODEDynamicSystemState, _p_iODEDynamicSystemStateTo_p_iBase, 0, 0},  {&_swigt__p_iMeshList, _p_iMeshListTo_p_iBase, 0, 0},  {&_swigt__p_iEventPlug, _p_iEventPlugTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterBox, _p_iParticleBuiltinEmitterBoxTo_p_iBase, 0, 0},  {&_swigt__p_iODEGeneralJointState, _p_iODEGeneralJointStateTo_p_iBase, 0, 0},  {&_swigt__p_iODEJointState, _p_iODEJointStateTo_p_iBase, 0, 0},  {&_swigt__p_iMaterialWrapper, _p_iMaterialWrapperTo_p_iBase, 0, 0},  {&_swigt__p_iTextureWrapper, _p_iTextureWrapperTo_p_iBase, 0, 0},  {&_swigt__p_iMeshWrapper, _p_iMeshWrapperTo_p_iBase, 0, 0},  {&_swigt__p_iMeshFactoryWrapper, _p_iMeshFactoryWrapperTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysWrapper, _p_iSndSysWrapperTo_p_iBase, 0, 0},  {&_swigt__p_iSequenceWrapper, _p_iSequenceWrapperTo_p_iBase, 0, 0},  {&_swigt__p_iString, _p_iStringTo_p_iBase, 0, 0},  {&_swigt__p_iConsoleWatcher, _p_iConsoleWatcherTo_p_iBase, 0, 0},  {&_swigt__p_iEngine, _p_iEngineTo_p_iBase, 0, 0},  {&_swigt__p_iSimpleFormerState, _p_iSimpleFormerStateTo_p_iBase, 0, 0},  {&_swigt__p_iMaterial, _p_iMaterialTo_p_iBase, 0, 0},  {&_swigt__p_iSprite2DUVAnimation, _p_iSprite2DUVAnimationTo_p_iBase, 0, 0},  {&_swigt__p_scfImplementation1TcsPath_iPath_t, _p_scfImplementation1TcsPath_iPath_tTo_p_iBase, 0, 0},  {&_swigt__p_iPolygonMesh, _p_iPolygonMeshTo_p_iBase, 0, 0},  {&_swigt__p_iTerrainFactoryState, _p_iTerrainFactoryStateTo_p_iBase, 0, 0},  {&_swigt__p_iThingFactoryState, _p_iThingFactoryStateTo_p_iBase, 0, 0},  {&_swigt__p_iSpriteCal3DFactoryState, _p_iSpriteCal3DFactoryStateTo_p_iBase, 0, 0},  {&_swigt__p_iSprite3DFactoryState, _p_iSprite3DFactoryStateTo_p_iBase, 0, 0},  {&_swigt__p_iSprite2DFactoryState, _p_iSprite2DFactoryStateTo_p_iBase, 0, 0},  {&_swigt__p_iGeneralFactoryState, _p_iGeneralFactoryStateTo_p_iBase, 0, 0},  {&_swigt__p_iParticleEmitter, _p_iParticleEmitterTo_p_iBase, 0, 0},  {&_swigt__p_iGraphics2D, _p_iGraphics2DTo_p_iBase, 0, 0},  {&_swigt__p_iDocument, _p_iDocumentTo_p_iBase, 0, 0},  {&_swigt__p_iShaderPriorityList, _p_iShaderPriorityListTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysSourceSoftware3D, _p_iSndSysSourceSoftware3DTo_p_iBase, 0, 0},  {&_swigt__p_iDataBuffer, _p_iDataBufferTo_p_iBase, 0, 0},  {&_swigt__p_iScriptObject, _p_iScriptObjectTo_p_iBase, 0, 0},  {&_swigt__p_iMeshObject, _p_iMeshObjectTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonGraveyard, _p_iSkeletonGraveyardTo_p_iBase, 0, 0},  {&_swigt__p_iSequenceTimedOperation, _p_iSequenceTimedOperationTo_p_iBase, 0, 0},  {&_swigt__p_iHalo, _p_iHaloTo_p_iBase, 0, 0},  {&_swigt__p_iFontServer, _p_iFontServerTo_p_iBase, 0, 0},  {&_swigt__p_iStringArray, _p_iStringArrayTo_p_iBase, 0, 0},  {&_swigt__p_iReporter, _p_iReporterTo_p_iBase, 0, 0},  {&_swigt__p_iEventAttributeIterator, _p_iEventAttributeIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iObjectRegistryIterator, _p_iObjectRegistryIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iObjectIterator, _p_iObjectIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iMeshWrapperIterator, _p_iMeshWrapperIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iSectorIterator, _p_iSectorIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iLightIterator, _p_iLightIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iVisibilityObjectIterator, _p_iVisibilityObjectIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iPluginIterator, _p_iPluginIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iConfigIterator, _p_iConfigIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iDocumentAttributeIterator, _p_iDocumentAttributeIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iDocumentNodeIterator, _p_iDocumentNodeIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iReporterIterator, _p_iReporterIteratorTo_p_iBase, 0, 0},  {&_swigt__p_iMapNode, _p_iMapNodeTo_p_iBase, 0, 0},  {&_swigt__p_iGenMeshAnimationControl, _p_iGenMeshAnimationControlTo_p_iBase, 0, 0},  {&_swigt__p_iObjectRegistry, _p_iObjectRegistryTo_p_iBase, 0, 0},  {&_swigt__p_iEventNameRegistry, _p_iEventNameRegistryTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysListener, _p_iSndSysListenerTo_p_iBase, 0, 0},  {&_swigt__p_iVisibilityCullerListener, _p_iVisibilityCullerListenerTo_p_iBase, 0, 0},  {&_swigt__p_iObjectModelListener, _p_iObjectModelListenerTo_p_iBase, 0, 0},  {&_swigt__p_iCameraSectorListener, _p_iCameraSectorListenerTo_p_iBase, 0, 0},  {&_swigt__p_iMovableListener, _p_iMovableListenerTo_p_iBase, 0, 0},  {&_swigt__p_iObjectNameChangeListener, _p_iObjectNameChangeListenerTo_p_iBase, 0, 0},  {&_swigt__p_iReporterListener, _p_iReporterListenerTo_p_iBase, 0, 0},  {&_swigt__p_iStandardReporterListener, _p_iStandardReporterListenerTo_p_iBase, 0, 0},  {&_swigt__p_iDocumentSystem, _p_iDocumentSystemTo_p_iBase, 0, 0},  {&_swigt__p_csPath, _p_csPathTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysSourceSoftware, _p_iSndSysSourceSoftwareTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysRendererSoftware, _p_iSndSysRendererSoftwareTo_p_iBase, 0, 0},  {&_swigt__p_iSprite2DUVAnimationFrame, _p_iSprite2DUVAnimationFrameTo_p_iBase, 0, 0},  {&_swigt__p_iTerraFormer, _p_iTerraFormerTo_p_iBase, 0, 0},  {&_swigt__p_iSkeleton, _p_iSkeletonTo_p_iBase, 0, 0},  {&_swigt__p_iSector, _p_iSectorTo_p_iBase, 0, 0},  {&_swigt__p_iSequenceTrigger, _p_iSequenceTriggerTo_p_iBase, 0, 0},  {&_swigt__p_iPortalContainer, _p_iPortalContainerTo_p_iBase, 0, 0},  {&_swigt__p_iAwsKeyContainer, _p_iAwsKeyContainerTo_p_iBase, 0, 0},  {&_swigt__p_iODESliderJoint, _p_iODESliderJointTo_p_iBase, 0, 0},  {&_swigt__p_iODEAMotorJoint, _p_iODEAMotorJointTo_p_iBase, 0, 0},  {&_swigt__p_iODEHinge2Joint, _p_iODEHinge2JointTo_p_iBase, 0, 0},  {&_swigt__p_iRegionList, _p_iRegionListTo_p_iBase, 0, 0},  {&_swigt__p_iCameraPositionList, _p_iCameraPositionListTo_p_iBase, 0, 0},  {&_swigt__p_iSpriteAction, _p_iSpriteActionTo_p_iBase, 0, 0},  {&_swigt__p_iBase, 0, 0, 0},  {&_swigt__p_iLightList, _p_iLightListTo_p_iBase, 0, 0},  {&_swigt__p_iFile, _p_iFileTo_p_iBase, 0, 0},  {&_swigt__p_iMeshObjectDrawCallback, _p_iMeshObjectDrawCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonUpdateCallback, _p_iSkeletonUpdateCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonScriptCallback, _p_iSkeletonScriptCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonBoneUpdateCallback, _p_iSkeletonBoneUpdateCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iPortalCallback, _p_iPortalCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iLightCallback, _p_iLightCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iSectorCallback, _p_iSectorCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iSectorMeshCallback, _p_iSectorMeshCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iLightVisibleCallback, _p_iLightVisibleCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iEngineFrameCallback, _p_iEngineFrameCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iEngineSectorCallback, _p_iEngineSectorCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iTextureCallback, _p_iTextureCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iMeshDrawCallback, _p_iMeshDrawCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysStreamCallback, _p_iSndSysStreamCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysRendererCallback, _p_iSndSysRendererCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iOffscreenCanvasCallback, _p_iOffscreenCanvasCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iDynamicsMoveCallback, _p_iDynamicsMoveCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iDynamicsCollisionCallback, _p_iDynamicsCollisionCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iDynamicsColliderCollisionCallback, _p_iDynamicsColliderCollisionCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iODEFrameUpdateCallback, _p_iODEFrameUpdateCallbackTo_p_iBase, 0, 0},  {&_swigt__p_iVisibilityObject, _p_iVisibilityObjectTo_p_iBase, 0, 0},  {&_swigt__p_iObject, _p_iObjectTo_p_iBase, 0, 0},  {&_swigt__p_iCamera, _p_iCameraTo_p_iBase, 0, 0},  {&_swigt__p_iCommandLineParser, _p_iCommandLineParserTo_p_iBase, 0, 0},  {&_swigt__p_iMeshFactoryList, _p_iMeshFactoryListTo_p_iBase, 0, 0},  {&_swigt__p_iGraphics3D, _p_iGraphics3DTo_p_iBase, 0, 0},  {&_swigt__p_iVirtualClock, _p_iVirtualClockTo_p_iBase, 0, 0},  {&_swigt__p_iMeshObjectType, _p_iMeshObjectTypeTo_p_iBase, 0, 0},  {&_swigt__p_iMovieRecorder, _p_iMovieRecorderTo_p_iBase, 0, 0},  {&_swigt__p_iSprite2DState, _p_iSprite2DStateTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterSphere, _p_iParticleBuiltinEmitterSphereTo_p_iBase, 0, 0},  {&_swigt__p_iThingEnvironment, _p_iThingEnvironmentTo_p_iBase, 0, 0},  {&_swigt__p_iMovable, _p_iMovableTo_p_iBase, 0, 0},  {&_swigt__p_iAws, _p_iAwsTo_p_iBase, 0, 0},  {&_swigt__p_iSceneNodeArray, _p_iSceneNodeArrayTo_p_iBase, 0, 0},  {&_swigt__p_iShaderVariableContext, _p_iShaderVariableContextTo_p_iBase, 0, 0},  {&_swigt__p_iSectorList, _p_iSectorListTo_p_iBase, 0, 0},  {&_swigt__p_iDynamicSystem, _p_iDynamicSystemTo_p_iBase, 0, 0},  {&_swigt__p_iCollideSystem, _p_iCollideSystemTo_p_iBase, 0, 0},  {&_swigt__p_iParticleSystem, _p_iParticleSystemTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysSoftwareFilter3D, _p_iSndSysSoftwareFilter3DTo_p_iBase, 0, 0},  {&_swigt__p_iShaderCompiler, _p_iShaderCompilerTo_p_iBase, 0, 0},  {&_swigt__p_iLightingProcessData, _p_iLightingProcessDataTo_p_iBase, 0, 0},  {&_swigt__p_iCameraPosition, _p_iCameraPositionTo_p_iBase, 0, 0},  {&_swigt__p_iLoaderPlugin, _p_iLoaderPluginTo_p_iBase, 0, 0},  {&_swigt__p_iBinaryLoaderPlugin, _p_iBinaryLoaderPluginTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonSocket, _p_iSkeletonSocketTo_p_iBase, 0, 0},  {&_swigt__p_iSpriteCal3DSocket, _p_iSpriteCal3DSocketTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysStream, _p_iSndSysStreamTo_p_iBase, 0, 0},  {&_swigt__p_iVisibilityCuller, _p_iVisibilityCullerTo_p_iBase, 0, 0},  {&_swigt__p_iGeneralMeshCommonState, _p_iGeneralMeshCommonStateTo_p_iBase, 0, 0},  {&_swigt__p_iConfigFile, _p_iConfigFileTo_p_iBase, 0, 0},  {&_swigt__p_iEventQueue, _p_iEventQueueTo_p_iBase, 0, 0},  {&_swigt__p_iVFS, _p_iVFSTo_p_iBase, 0, 0},  {&_swigt__p_iRigidBody, _p_iRigidBodyTo_p_iBase, 0, 0},  {&_swigt__p_iAwsComponentNode, _p_iAwsComponentNodeTo_p_iBase, 0, 0},  {&_swigt__p_iEventOutlet, _p_iEventOutletTo_p_iBase, 0, 0},  {&_swigt__p_iDocumentNode, _p_iDocumentNodeTo_p_iBase, 0, 0},  {&_swigt__p_iArrayChangeAllTcsSprite2DVertex_t, _p_iArrayChangeAllTcsSprite2DVertex_tTo_p_iBase, 0, 0},  {&_swigt__p_iArrayChangeElementsTcsSprite2DVertex_t, _p_iArrayChangeElementsTcsSprite2DVertex_tTo_p_iBase, 0, 0},  {&_swigt__p_iArrayReadOnlyTcsSprite2DVertex_t, _p_iArrayReadOnlyTcsSprite2DVertex_tTo_p_iBase, 0, 0},  {&_swigt__p_iFont, _p_iFontTo_p_iBase, 0, 0},  {&_swigt__p_iSpriteCal3DState, _p_iSpriteCal3DStateTo_p_iBase, 0, 0},  {&_swigt__p_iSprite3DState, _p_iSprite3DStateTo_p_iBase, 0, 0},  {&_swigt__p_iKeyboardDriver, _p_iKeyboardDriverTo_p_iBase, 0, 0},  {&_swigt__p_iBodyGroup, _p_iBodyGroupTo_p_iBase, 0, 0},  {&_swigt__p_iFrustumView, _p_iFrustumViewTo_p_iBase, 0, 0},  {&_swigt__p_iAnimTimeUpdateHandler, _p_iAnimTimeUpdateHandlerTo_p_iBase, 0, 0},  {&_swigt__p_iEventHandler, _p_iEventHandlerTo_p_iBase, 0, 0},  {&_swigt__p__csPyEventHandler, _p__csPyEventHandlerTo_p_iBase, 0, 0},  {&_swigt__p_iPortal, _p_iPortalTo_p_iBase, 0, 0},  {&_swigt__p_iEngineSequenceParameters, _p_iEngineSequenceParametersTo_p_iBase, 0, 0},  {&_swigt__p_iAwsKey, _p_iAwsKeyTo_p_iBase, 0, 0},  {&_swigt__p_iView, _p_iViewTo_p_iBase, 0, 0},  {&_swigt__p_iGenMeshAnimationControlType, _p_iGenMeshAnimationControlTypeTo_p_iBase, 0, 0},  {&_swigt__p_iKeyComposer, _p_iKeyComposerTo_p_iBase, 0, 0},  {&_swigt__p_iArrayReadOnlyTiSceneNode_p_t, _p_iArrayReadOnlyTiSceneNode_p_tTo_p_iBase, 0, 0},  {&_swigt__p_iMaterialList, _p_iMaterialListTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEffectorVelocityField, _p_iParticleBuiltinEffectorVelocityFieldTo_p_iBase, 0, 0},  {&_swigt__p_iAwsRectKey, _p_iAwsRectKeyTo_p_iBase, 0, 0},  {&_swigt__p_iLightingProcessInfo, _p_iLightingProcessInfoTo_p_iBase, 0, 0},  {&_swigt__p_iJoint, _p_iJointTo_p_iBase, 0, 0},  {&_swigt__p_iSpriteSocket, _p_iSpriteSocketTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterBase, _p_iParticleBuiltinEmitterBaseTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterCone, _p_iParticleBuiltinEmitterConeTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysRenderer, _p_iSndSysRendererTo_p_iBase, 0, 0},  {&_swigt__p_iAwsComponent, _p_iAwsComponentTo_p_iBase, 0, 0},  {&_swigt__p_iComponent, _p_iComponentTo_p_iBase, 0, 0},  {&_swigt__p_iLight, _p_iLightTo_p_iBase, 0, 0},  {&_swigt__p_iAwsStringKey, _p_iAwsStringKeyTo_p_iBase, 0, 0},  {&_swigt__p_iGenMeshSkeletonControlState, _p_iGenMeshSkeletonControlStateTo_p_iBase, 0, 0},  {&_swigt__p_iAwsSource, _p_iAwsSourceTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysSource, _p_iSndSysSourceTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEffectorForce, _p_iParticleBuiltinEffectorForceTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEffectorFactory, _p_iParticleBuiltinEffectorFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterFactory, _p_iParticleBuiltinEmitterFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iParticleSystemFactory, _p_iParticleSystemFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iMeshObjectFactory, _p_iMeshObjectFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonFactory, _p_iSkeletonFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonSocketFactory, _p_iSkeletonSocketFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonBoneFactory, _p_iSkeletonBoneFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iGenMeshAnimationControlFactory, _p_iGenMeshAnimationControlFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iAwsConnectionNodeFactory, _p_iAwsConnectionNodeFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iAwsKeyFactory, _p_iAwsKeyFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iAwsComponentFactory, _p_iAwsComponentFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iFactory, _p_iFactoryTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysSoftwareDriver, _p_iSndSysSoftwareDriverTo_p_iBase, 0, 0},  {&_swigt__p_iMouseDriver, _p_iMouseDriverTo_p_iBase, 0, 0},  {&_swigt__p_iJoystickDriver, _p_iJoystickDriverTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysLoader, _p_iSndSysLoaderTo_p_iBase, 0, 0},  {&_swigt__p_iLoader, _p_iLoaderTo_p_iBase, 0, 0},  {&_swigt__p_iFrustumViewUserdata, _p_iFrustumViewUserdataTo_p_iBase, 0, 0},  {&_swigt__p_iAwsSink, _p_iAwsSinkTo_p_iBase, 0, 0},  {&_swigt__p_iShader, _p_iShaderTo_p_iBase, 0, 0},  {&_swigt__p_iTextureList, _p_iTextureListTo_p_iBase, 0, 0},  {&_swigt__p_iNativeWindow, _p_iNativeWindowTo_p_iBase, 0, 0},  {&_swigt__p_iParticleSystemBase, _p_iParticleSystemBaseTo_p_iBase, 0, 0},  {&_swigt__p_iSpriteFrame, _p_iSpriteFrameTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonScript, _p_iSkeletonScriptTo_p_iBase, 0, 0},  {&_swigt__p_iFontDeleteNotify, _p_iFontDeleteNotifyTo_p_iBase, 0, 0},  {&_swigt__p_iAwsFloatKey, _p_iAwsFloatKeyTo_p_iBase, 0, 0},  {&_swigt__p_iThingState, _p_iThingStateTo_p_iBase, 0, 0},  {&_swigt__p_iShaderVariableAccessor, _p_iShaderVariableAccessorTo_p_iBase, 0, 0},  {&_swigt__p_iTerraSampler, _p_iTerraSamplerTo_p_iBase, 0, 0},  {&_swigt__p_iEvent, _p_iEventTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonBone, _p_iSkeletonBoneTo_p_iBase, 0, 0},  {&_swigt__p_iAwsSlot, _p_iAwsSlotTo_p_iBase, 0, 0},  {&_swigt__p_iSceneNode, _p_iSceneNodeTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonScriptKeyFrame, _p_iSkeletonScriptKeyFrameTo_p_iBase, 0, 0},  {&_swigt__p_iShaderVarStack, _p_iShaderVarStackTo_p_iBase, 0, 0},  {&_swigt__p_iParticleBuiltinEffectorLinColor, _p_iParticleBuiltinEffectorLinColorTo_p_iBase, 0, 0},  {&_swigt__p_iGeneralMeshSubMesh, _p_iGeneralMeshSubMeshTo_p_iBase, 0, 0},  {&_swigt__p_iODEUniversalJoint, _p_iODEUniversalJointTo_p_iBase, 0, 0},  {&_swigt__p_iImage, _p_iImageTo_p_iBase, 0, 0},  {&_swigt__p_iCollider, _p_iColliderTo_p_iBase, 0, 0},  {&_swigt__p_iDynamicsSystemCollider, _p_iDynamicsSystemColliderTo_p_iBase, 0, 0},  {&_swigt__p_iAwsConnectionKey, _p_iAwsConnectionKeyTo_p_iBase, 0, 0},  {&_swigt__p_iPolygonHandle, _p_iPolygonHandleTo_p_iBase, 0, 0},  {&_swigt__p_iObjectModel, _p_iObjectModelTo_p_iBase, 0, 0},  {&_swigt__p_iSkeletonBoneRagdollInfo, _p_iSkeletonBoneRagdollInfoTo_p_iBase, 0, 0},  {&_swigt__p_iMissingLoaderData, _p_iMissingLoaderDataTo_p_iBase, 0, 0},  {&_swigt__p_iRegion, _p_iRegionTo_p_iBase, 0, 0},  {&_swigt__p_iStringSet, _p_iStringSetTo_p_iBase, 0, 0},  {&_swigt__p_iShaderManager, _p_iShaderManagerTo_p_iBase, 0, 0},  {&_swigt__p_iConfigManager, _p_iConfigManagerTo_p_iBase, 0, 0},  {&_swigt__p_iColoredVertices, _p_iColoredVerticesTo_p_iBase, 0, 0},  {&_swigt__p_iAwsLayoutManager, _p_iAwsLayoutManagerTo_p_iBase, 0, 0},  {&_swigt__p_iAwsSinkManager, _p_iAwsSinkManagerTo_p_iBase, 0, 0},  {&_swigt__p_iAwsPrefManager, _p_iAwsPrefManagerTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysManager, _p_iSndSysManagerTo_p_iBase, 0, 0},  {&_swigt__p_iCacheManager, _p_iCacheManagerTo_p_iBase, 0, 0},  {&_swigt__p_iPluginManager, _p_iPluginManagerTo_p_iBase, 0, 0},  {&_swigt__p_iNativeWindowManager, _p_iNativeWindowManagerTo_p_iBase, 0, 0},  {&_swigt__p_iTextureManager, _p_iTextureManagerTo_p_iBase, 0, 0},  {&_swigt__p_iEngineSequenceManager, _p_iEngineSequenceManagerTo_p_iBase, 0, 0},  {&_swigt__p_iAwsPointKey, _p_iAwsPointKeyTo_p_iBase, 0, 0},  {&_swigt__p_iScript, _p_iScriptTo_p_iBase, 0, 0},  {&_swigt__p_iSaver, _p_iSaverTo_p_iBase, 0, 0},  {&_swigt__p_iSndSysData, _p_iSndSysDataTo_p_iBase, 0, 0},  {&_swigt__p_iEventCord, _p_iEventCordTo_p_iBase, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iBaseHalo[] = {  {&_swigt__p_iBaseHalo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iBinaryLoaderPlugin[] = {  {&_swigt__p_iBinaryLoaderPlugin, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iBodyGroup[] = {  {&_swigt__p_iBodyGroup, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCacheManager[] = {  {&_swigt__p_iCacheManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCamera[] = {  {&_swigt__p_iCamera, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCameraPosition[] = {  {&_swigt__p_iCameraPosition, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCameraPositionList[] = {  {&_swigt__p_iCameraPositionList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCameraSectorListener[] = {  {&_swigt__p_iCameraSectorListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iClipper2D[] = {  {&_swigt__p_iClipper2D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCollection[] = {  {&_swigt__p_iCollection, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCollectionList[] = {  {&_swigt__p_iCollectionList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCollideSystem[] = {  {&_swigt__p_iCollideSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCollider[] = {  {&_swigt__p_iCollider, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iColoredVertices[] = {  {&_swigt__p_iColoredVertices, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCommandLineParser[] = {  {&_swigt__p_iCommandLineParser, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iComponent[] = {  {&_swigt__p_iComponent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iConfigFile[] = {  {&_swigt__p_iConfigManager, _p_iConfigManagerTo_p_iConfigFile, 0, 0},  {&_swigt__p_iConfigFile, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iConfigIterator[] = {  {&_swigt__p_iConfigIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iConfigManager[] = {  {&_swigt__p_iConfigManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iConsoleOutput[] = {  {&_swigt__p_iConsoleOutput, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iConsoleWatcher[] = {  {&_swigt__p_iConsoleWatcher, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iCrossHalo[] = {  {&_swigt__p_iCrossHalo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDataBuffer[] = {  {&_swigt__p_iDataBuffer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDebugHelper[] = {  {&_swigt__p_iDebugHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDocument[] = {  {&_swigt__p_iDocument, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDocumentAttribute[] = {  {&_swigt__p_iDocumentAttribute, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDocumentAttributeIterator[] = {  {&_swigt__p_iDocumentAttributeIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDocumentNode[] = {  {&_swigt__p_iDocumentNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDocumentNodeIterator[] = {  {&_swigt__p_iDocumentNodeIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDocumentSystem[] = {  {&_swigt__p_iDocumentSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDynamicSystem[] = {  {&_swigt__p_iDynamicSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDynamics[] = {  {&_swigt__p_iDynamics, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDynamicsColliderCollisionCallback[] = {  {&_swigt__p_iDynamicsColliderCollisionCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDynamicsCollisionCallback[] = {  {&_swigt__p_iDynamicsCollisionCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDynamicsMoveCallback[] = {  {&_swigt__p_iDynamicsMoveCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iDynamicsSystemCollider[] = {  {&_swigt__p_iDynamicsSystemCollider, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEngine[] = {  {&_swigt__p_iEngine, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEngineFrameCallback[] = {  {&_swigt__p_iEngineFrameCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEngineSectorCallback[] = {  {&_swigt__p_iEngineSectorCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEngineSequenceManager[] = {  {&_swigt__p_iEngineSequenceManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEngineSequenceParameters[] = {  {&_swigt__p_iEngineSequenceParameters, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEvent[] = {  {&_swigt__p_iEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEventAttributeIterator[] = {  {&_swigt__p_iEventAttributeIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEventCord[] = {  {&_swigt__p_iEventCord, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEventHandler[] = {  {&_swigt__p_iEventHandler, 0, 0, 0},  {&_swigt__p__csPyEventHandler, _p__csPyEventHandlerTo_p_iEventHandler, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEventNameRegistry[] = {  {&_swigt__p_iEventNameRegistry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEventOutlet[] = {  {&_swigt__p_iEventOutlet, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEventPlug[] = {  {&_swigt__p_iEventPlug, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iEventQueue[] = {  {&_swigt__p_iEventQueue, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iFactory[] = {  {&_swigt__p_iFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iFile[] = {  {&_swigt__p_iFile, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iFlareHalo[] = {  {&_swigt__p_iFlareHalo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iFont[] = {  {&_swigt__p_iFont, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iFontDeleteNotify[] = {  {&_swigt__p_iFontDeleteNotify, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iFontServer[] = {  {&_swigt__p_iFontServer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iFrustumView[] = {  {&_swigt__p_iFrustumView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iFrustumViewUserdata[] = {  {&_swigt__p_iLightingProcessInfo, _p_iLightingProcessInfoTo_p_iFrustumViewUserdata, 0, 0},  {&_swigt__p_iFrustumViewUserdata, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGenMeshAnimationControl[] = {  {&_swigt__p_iGenMeshAnimationControl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGenMeshAnimationControlFactory[] = {  {&_swigt__p_iGenMeshAnimationControlFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGenMeshAnimationControlType[] = {  {&_swigt__p_iGenMeshAnimationControlType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGenMeshSkeletonControlState[] = {  {&_swigt__p_iGenMeshSkeletonControlState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGeneralFactoryState[] = {  {&_swigt__p_iGeneralFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGeneralMeshCommonState[] = {  {&_swigt__p_iGeneralMeshCommonState, 0, 0, 0},  {&_swigt__p_iGeneralMeshState, _p_iGeneralMeshStateTo_p_iGeneralMeshCommonState, 0, 0},  {&_swigt__p_iGeneralFactoryState, _p_iGeneralFactoryStateTo_p_iGeneralMeshCommonState, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGeneralMeshState[] = {  {&_swigt__p_iGeneralMeshState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGeneralMeshSubMesh[] = {  {&_swigt__p_iGeneralMeshSubMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGraphics2D[] = {  {&_swigt__p_iGraphics2D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iGraphics3D[] = {  {&_swigt__p_iGraphics3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iHalo[] = {  {&_swigt__p_iHalo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iImage[] = {  {&_swigt__p_iImage, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iImageIO[] = {  {&_swigt__p_iImageIO, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iJoint[] = {  {&_swigt__p_iJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iJoystickDriver[] = {  {&_swigt__p_iJoystickDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iKeyComposer[] = {  {&_swigt__p_iKeyComposer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iKeyboardDriver[] = {  {&_swigt__p_iKeyboardDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLODControl[] = {  {&_swigt__p_iLODControl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLight[] = {  {&_swigt__p_iLight, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLightCallback[] = {  {&_swigt__p_iLightCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLightIterator[] = {  {&_swigt__p_iLightIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLightList[] = {  {&_swigt__p_iLightList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLightVisibleCallback[] = {  {&_swigt__p_iLightVisibleCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLightingInfo[] = {  {&_swigt__p_iLightingInfo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLightingProcessData[] = {  {&_swigt__p_iLightingProcessData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLightingProcessInfo[] = {  {&_swigt__p_iLightingProcessInfo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLoader[] = {  {&_swigt__p_iLoader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLoaderContext[] = {  {&_swigt__p_iLoaderContext, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLoaderPlugin[] = {  {&_swigt__p_iLoaderPlugin, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iLoaderStatus[] = {  {&_swigt__p_iLoaderStatus, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMapNode[] = {  {&_swigt__p_iMapNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMaterial[] = {  {&_swigt__p_iMaterial, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMaterialEngine[] = {  {&_swigt__p_iMaterialEngine, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMaterialList[] = {  {&_swigt__p_iMaterialList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMaterialWrapper[] = {  {&_swigt__p_iMaterialWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshDrawCallback[] = {  {&_swigt__p_iMeshDrawCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshFactoryList[] = {  {&_swigt__p_iMeshFactoryList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshFactoryWrapper[] = {  {&_swigt__p_iMeshFactoryWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshGenerator[] = {  {&_swigt__p_iMeshGenerator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshList[] = {  {&_swigt__p_iMeshList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshObject[] = {  {&_swigt__p_iMeshObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshObjectDrawCallback[] = {  {&_swigt__p_iMeshObjectDrawCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshObjectFactory[] = {  {&_swigt__p_iMeshObjectFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshObjectType[] = {  {&_swigt__p_iMeshObjectType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshWrapper[] = {  {&_swigt__p_iMeshWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMeshWrapperIterator[] = {  {&_swigt__p_iMeshWrapperIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMissingLoaderData[] = {  {&_swigt__p_iMissingLoaderData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMouseDriver[] = {  {&_swigt__p_iMouseDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMovable[] = {  {&_swigt__p_iMovable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMovableListener[] = {  {&_swigt__p_iMovableListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iMovieRecorder[] = {  {&_swigt__p_iMovieRecorder, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iNativeWindow[] = {  {&_swigt__p_iNativeWindow, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iNativeWindowManager[] = {  {&_swigt__p_iNativeWindowManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iNovaHalo[] = {  {&_swigt__p_iNovaHalo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEAMotorJoint[] = {  {&_swigt__p_iODEAMotorJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEBallJoint[] = {  {&_swigt__p_iODEBallJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEDynamicState[] = {  {&_swigt__p_iODEDynamicState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEDynamicSystemState[] = {  {&_swigt__p_iODEDynamicSystemState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEFrameUpdateCallback[] = {  {&_swigt__p_iODEFrameUpdateCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEGeneralJointState[] = {  {&_swigt__p_iODEUniversalJoint, _p_iODEUniversalJointTo_p_iODEGeneralJointState, 0, 0},  {&_swigt__p_iODEHingeJoint, _p_iODEHingeJointTo_p_iODEGeneralJointState, 0, 0},  {&_swigt__p_iODEGeneralJointState, 0, 0, 0},  {&_swigt__p_iODESliderJoint, _p_iODESliderJointTo_p_iODEGeneralJointState, 0, 0},  {&_swigt__p_iODEAMotorJoint, _p_iODEAMotorJointTo_p_iODEGeneralJointState, 0, 0},  {&_swigt__p_iODEHinge2Joint, _p_iODEHinge2JointTo_p_iODEGeneralJointState, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEHinge2Joint[] = {  {&_swigt__p_iODEHinge2Joint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEHingeJoint[] = {  {&_swigt__p_iODEHingeJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEJointState[] = {  {&_swigt__p_iODEJointState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODESliderJoint[] = {  {&_swigt__p_iODESliderJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iODEUniversalJoint[] = {  {&_swigt__p_iODEUniversalJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iObject[] = {  {&_swigt__p_iObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iObjectIterator[] = {  {&_swigt__p_iObjectIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iObjectModel[] = {  {&_swigt__p_iObjectModel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iObjectModelListener[] = {  {&_swigt__p_iObjectModelListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iObjectNameChangeListener[] = {  {&_swigt__p_iObjectNameChangeListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iObjectRegistry[] = {  {&_swigt__p_iObjectRegistry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iObjectRegistryIterator[] = {  {&_swigt__p_iObjectRegistryIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iOffscreenCanvasCallback[] = {  {&_swigt__p_iOffscreenCanvasCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParameterESM[] = {  {&_swigt__p_iParameterESM, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEffectorFactory[] = {  {&_swigt__p_iParticleBuiltinEffectorFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEffectorForce[] = {  {&_swigt__p_iParticleBuiltinEffectorForce, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEffectorLinColor[] = {  {&_swigt__p_iParticleBuiltinEffectorLinColor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEffectorVelocityField[] = {  {&_swigt__p_iParticleBuiltinEffectorVelocityField, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEmitterBase[] = {  {&_swigt__p_iParticleBuiltinEmitterBase, 0, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterCone, _p_iParticleBuiltinEmitterConeTo_p_iParticleBuiltinEmitterBase, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterBox, _p_iParticleBuiltinEmitterBoxTo_p_iParticleBuiltinEmitterBase, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterSphere, _p_iParticleBuiltinEmitterSphereTo_p_iParticleBuiltinEmitterBase, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterCylinder, _p_iParticleBuiltinEmitterCylinderTo_p_iParticleBuiltinEmitterBase, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEmitterBox[] = {  {&_swigt__p_iParticleBuiltinEmitterBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEmitterCone[] = {  {&_swigt__p_iParticleBuiltinEmitterCone, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEmitterCylinder[] = {  {&_swigt__p_iParticleBuiltinEmitterCylinder, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEmitterFactory[] = {  {&_swigt__p_iParticleBuiltinEmitterFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleBuiltinEmitterSphere[] = {  {&_swigt__p_iParticleBuiltinEmitterSphere, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleEffector[] = {  {&_swigt__p_iParticleBuiltinEffectorVelocityField, _p_iParticleBuiltinEffectorVelocityFieldTo_p_iParticleEffector, 0, 0},  {&_swigt__p_iParticleEffector, 0, 0, 0},  {&_swigt__p_iParticleBuiltinEffectorForce, _p_iParticleBuiltinEffectorForceTo_p_iParticleEffector, 0, 0},  {&_swigt__p_iParticleBuiltinEffectorLinColor, _p_iParticleBuiltinEffectorLinColorTo_p_iParticleEffector, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleEmitter[] = {  {&_swigt__p_iParticleBuiltinEmitterBase, _p_iParticleBuiltinEmitterBaseTo_p_iParticleEmitter, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterCone, _p_iParticleBuiltinEmitterConeTo_p_iParticleEmitter, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterBox, _p_iParticleBuiltinEmitterBoxTo_p_iParticleEmitter, 0, 0},  {&_swigt__p_iParticleEmitter, 0, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterSphere, _p_iParticleBuiltinEmitterSphereTo_p_iParticleEmitter, 0, 0},  {&_swigt__p_iParticleBuiltinEmitterCylinder, _p_iParticleBuiltinEmitterCylinderTo_p_iParticleEmitter, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleSystem[] = {  {&_swigt__p_iParticleSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleSystemBase[] = {  {&_swigt__p_iParticleSystemBase, 0, 0, 0},  {&_swigt__p_iParticleSystem, _p_iParticleSystemTo_p_iParticleSystemBase, 0, 0},  {&_swigt__p_iParticleSystemFactory, _p_iParticleSystemFactoryTo_p_iParticleSystemBase, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iParticleSystemFactory[] = {  {&_swigt__p_iParticleSystemFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iPath[] = {  {&_swigt__p_iPath, 0, 0, 0},  {&_swigt__p_scfImplementation1TcsPath_iPath_t, _p_scfImplementation1TcsPath_iPath_tTo_p_iPath, 0, 0},  {&_swigt__p_csPath, _p_csPathTo_p_iPath, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iPluginIterator[] = {  {&_swigt__p_iPluginIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iPluginManager[] = {  {&_swigt__p_iPluginManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iPolygonHandle[] = {  {&_swigt__p_iPolygonHandle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iPolygonMesh[] = {  {&_swigt__p_iPolygonMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iPortal[] = {  {&_swigt__p_iPortal, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iPortalCallback[] = {  {&_swigt__p_iPortalCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iPortalContainer[] = {  {&_swigt__p_iPortalContainer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iProgressMeter[] = {  {&_swigt__p_iProgressMeter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iRegion[] = {  {&_swigt__p_iRegion, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iRegionList[] = {  {&_swigt__p_iRegionList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iRenderBuffer[] = {  {&_swigt__p_iRenderBuffer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iRenderLoop[] = {  {&_swigt__p_iRenderLoop, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iRenderLoopManager[] = {  {&_swigt__p_iRenderLoopManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iRenderView[] = {  {&_swigt__p_iRenderView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iRendererLightmap[] = {  {&_swigt__p_iRendererLightmap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iReporter[] = {  {&_swigt__p_iReporter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iReporterIterator[] = {  {&_swigt__p_iReporterIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iReporterListener[] = {  {&_swigt__p_iReporterListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iRigidBody[] = {  {&_swigt__p_iRigidBody, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSCF[] = {  {&_swigt__p_iSCF, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSaver[] = {  {&_swigt__p_iSaver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSceneNode[] = {  {&_swigt__p_iSceneNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSceneNodeArray[] = {  {&_swigt__p_iSceneNodeArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iScript[] = {  {&_swigt__p_iScript, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iScriptObject[] = {  {&_swigt__p_iScriptObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSector[] = {  {&_swigt__p_iSector, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSectorCallback[] = {  {&_swigt__p_iSectorCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSectorIterator[] = {  {&_swigt__p_iSectorIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSectorList[] = {  {&_swigt__p_iSectorList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSectorMeshCallback[] = {  {&_swigt__p_iSectorMeshCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSequence[] = {  {&_swigt__p_iSequence, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSequenceManager[] = {  {&_swigt__p_iSequenceManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSequenceTimedOperation[] = {  {&_swigt__p_iSequenceTimedOperation, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSequenceTrigger[] = {  {&_swigt__p_iSequenceTrigger, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSequenceWrapper[] = {  {&_swigt__p_iSequenceWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShader[] = {  {&_swigt__p_iShader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShaderCompiler[] = {  {&_swigt__p_iShaderCompiler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShaderManager[] = {  {&_swigt__p_iShaderManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShaderPriorityList[] = {  {&_swigt__p_iShaderPriorityList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShaderVarStack[] = {  {&_swigt__p_iShaderVarStack, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShaderVariableAccessor[] = {  {&_swigt__p_iShaderVariableAccessor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShaderVariableContext[] = {  {&_swigt__p_iShaderManager, _p_iShaderManagerTo_p_iShaderVariableContext, 0, 0},  {&_swigt__p_iShader, _p_iShaderTo_p_iShaderVariableContext, 0, 0},  {&_swigt__p_iMaterial, _p_iMaterialTo_p_iShaderVariableContext, 0, 0},  {&_swigt__p_iShaderVariableContext, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShadowBlockList[] = {  {&_swigt__p_iShadowBlockList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShadowCaster[] = {  {&_swigt__p_iShadowCaster, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iShadowReceiver[] = {  {&_swigt__p_iShadowReceiver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSharedVariable[] = {  {&_swigt__p_iSharedVariable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSharedVariableList[] = {  {&_swigt__p_iSharedVariableList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSimpleFormerState[] = {  {&_swigt__p_iSimpleFormerState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeleton[] = {  {&_swigt__p_iSkeleton, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonBone[] = {  {&_swigt__p_iSkeletonBone, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonBoneFactory[] = {  {&_swigt__p_iSkeletonBoneFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonBoneRagdollInfo[] = {  {&_swigt__p_iSkeletonBoneRagdollInfo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonBoneUpdateCallback[] = {  {&_swigt__p_iSkeletonBoneUpdateCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonFactory[] = {  {&_swigt__p_iSkeletonFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonGraveyard[] = {  {&_swigt__p_iSkeletonGraveyard, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonScript[] = {  {&_swigt__p_iSkeletonScript, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonScriptCallback[] = {  {&_swigt__p_iSkeletonScriptCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonScriptKeyFrame[] = {  {&_swigt__p_iSkeletonScriptKeyFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonSocket[] = {  {&_swigt__p_iSkeletonSocket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonSocketFactory[] = {  {&_swigt__p_iSkeletonSocketFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSkeletonUpdateCallback[] = {  {&_swigt__p_iSkeletonUpdateCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysData[] = {  {&_swigt__p_iSndSysData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysListener[] = {  {&_swigt__p_iSndSysListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysLoader[] = {  {&_swigt__p_iSndSysLoader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysManager[] = {  {&_swigt__p_iSndSysManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysRenderer[] = {  {&_swigt__p_iSndSysRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysRendererCallback[] = {  {&_swigt__p_iSndSysRendererCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysRendererSoftware[] = {  {&_swigt__p_iSndSysRendererSoftware, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysSoftwareDriver[] = {  {&_swigt__p_iSndSysSoftwareDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysSoftwareFilter3D[] = {  {&_swigt__p_iSndSysSoftwareFilter3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysSoftwareFilter3DProperties[] = {  {&_swigt__p_iSndSysSoftwareFilter3DProperties, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysSoftwareOutputFilter[] = {  {&_swigt__p_iSndSysSoftwareOutputFilter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysSource[] = {  {&_swigt__p_iSndSysSourceSoftware3D, _p_iSndSysSourceSoftware3DTo_p_iSndSysSource, 0, 0},  {&_swigt__p_iSndSysSource, 0, 0, 0},  {&_swigt__p_iSndSysSourceSoftware, _p_iSndSysSourceSoftwareTo_p_iSndSysSource, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysSourceSoftware[] = {  {&_swigt__p_iSndSysSourceSoftware3D, _p_iSndSysSourceSoftware3DTo_p_iSndSysSourceSoftware, 0, 0},  {&_swigt__p_iSndSysSourceSoftware, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysSourceSoftware3D[] = {  {&_swigt__p_iSndSysSourceSoftware3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysStream[] = {  {&_swigt__p_iSndSysStream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysStreamCallback[] = {  {&_swigt__p_iSndSysStreamCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSndSysWrapper[] = {  {&_swigt__p_iSndSysWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSprite2DFactoryState[] = {  {&_swigt__p_iSprite2DState, _p_iSprite2DStateTo_p_iSprite2DFactoryState, 0, 0},  {&_swigt__p_iSprite2DFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSprite2DState[] = {  {&_swigt__p_iSprite2DState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSprite2DUVAnimation[] = {  {&_swigt__p_iSprite2DUVAnimation, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSprite2DUVAnimationFrame[] = {  {&_swigt__p_iSprite2DUVAnimationFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSprite3DFactoryState[] = {  {&_swigt__p_iSprite3DFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSprite3DState[] = {  {&_swigt__p_iSprite3DState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSpriteAction[] = {  {&_swigt__p_iSpriteAction, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSpriteCal3DFactoryState[] = {  {&_swigt__p_iSpriteCal3DFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSpriteCal3DSocket[] = {  {&_swigt__p_iSpriteCal3DSocket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSpriteCal3DState[] = {  {&_swigt__p_iSpriteCal3DState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSpriteFrame[] = {  {&_swigt__p_iSpriteFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSpriteSocket[] = {  {&_swigt__p_iSpriteSocket, 0, 0, 0},  {&_swigt__p_iSpriteCal3DSocket, _p_iSpriteCal3DSocketTo_p_iSpriteSocket, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iStandardReporterListener[] = {  {&_swigt__p_iStandardReporterListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iStreamSource[] = {  {&_swigt__p_iStreamSource, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iString[] = {  {&_swigt__p_iString, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iStringArray[] = {  {&_swigt__p_iStringArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iStringSet[] = {  {&_swigt__p_iStringSet, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iSuperLightmap[] = {  {&_swigt__p_iSuperLightmap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iTerraFormer[] = {  {&_swigt__p_iTerraFormer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iTerraSampler[] = {  {&_swigt__p_iTerraSampler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iTerrainFactoryState[] = {  {&_swigt__p_iTerrainFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iTerrainObjectState[] = {  {&_swigt__p_iTerrainObjectState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iTextureCallback[] = {  {&_swigt__p_iTextureCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iTextureHandle[] = {  {&_swigt__p_iTextureHandle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iTextureList[] = {  {&_swigt__p_iTextureList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iTextureManager[] = {  {&_swigt__p_iTextureManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iTextureWrapper[] = {  {&_swigt__p_iTextureWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iThingEnvironment[] = {  {&_swigt__p_iThingEnvironment, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iThingFactoryState[] = {  {&_swigt__p_iThingFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iThingState[] = {  {&_swigt__p_iThingState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iVFS[] = {  {&_swigt__p_iVFS, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iVerbosityManager[] = {  {&_swigt__p_iVerbosityManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iView[] = {  {&_swigt__p_iView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iVirtualClock[] = {  {&_swigt__p_iVirtualClock, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iVisibilityCuller[] = {  {&_swigt__p_iVisibilityCuller, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iVisibilityCullerListener[] = {  {&_swigt__p_iVisibilityCullerListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iVisibilityObject[] = {  {&_swigt__p_iVisibilityObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_iVisibilityObjectIterator[] = {  {&_swigt__p_iVisibilityObjectIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int16_t[] = {  {&_swigt__p_int16_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int32_t[] = {  {&_swigt__p_int32_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int64_t[] = {  {&_swigt__p_int64_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int8_t[] = {  {&_swigt__p_int8_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int_least64_t[] = {  {&_swigt__p_int_least64_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_char[] = {  {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_csImageIOFileFormatDescription[] = {  {&_swigt__p_p_csImageIOFileFormatDescription, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_csRenderMesh[] = {  {&_swigt__p_p_csRenderMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_csOrthoTransform[] = {{&_swigt__p_p_csOrthoTransform, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_csReversibleTransform[] = {  {&_swigt__p_p_csReversibleTransform, 0, 0, 0},  {&_swigt__p_p_csOrthoTransform, _p_p_csOrthoTransformTo_p_p_csReversibleTransform, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_csShaderVariable[] = {  {&_swigt__p_p_csShaderVariable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_csVector3[] = {  {&_swigt__p_p_csVector3, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsRGBKey[] = {{&_swigt__p_p_iAwsRGBKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iRendererLightmap[] = {{&_swigt__p_p_iRendererLightmap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSuperLightmap[] = {{&_swigt__p_p_iSuperLightmap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iConsoleOutput[] = {{&_swigt__p_p_iConsoleOutput, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iTerrainObjectState[] = {{&_swigt__p_p_iTerrainObjectState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iClipper2D[] = {{&_swigt__p_p_iClipper2D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleEffector[] = {{&_swigt__p_p_iParticleEffector, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDebugHelper[] = {{&_swigt__p_p_iDebugHelper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEDynamicState[] = {{&_swigt__p_p_iODEDynamicState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDocumentAttribute[] = {{&_swigt__p_p_iDocumentAttribute, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEHingeJoint[] = {{&_swigt__p_p_iODEHingeJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMaterialEngine[] = {{&_swigt__p_p_iMaterialEngine, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iImageIO[] = {{&_swigt__p_p_iImageIO, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iPath[] = {{&_swigt__p_p_iPath, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSCF[] = {{&_swigt__p_p_iSCF, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLoaderStatus[] = {{&_swigt__p_p_iLoaderStatus, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEBallJoint[] = {{&_swigt__p_p_iODEBallJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGeneralMeshState[] = {{&_swigt__p_p_iGeneralMeshState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDynamics[] = {{&_swigt__p_p_iDynamics, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParameterESM[] = {{&_swigt__p_p_iParameterESM, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysSoftwareOutputFilter[] = {{&_swigt__p_p_iSndSysSoftwareOutputFilter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iArrayChangeAllTcsShaderVariable_p_t[] = {{&_swigt__p_p_iArrayChangeAllTcsShaderVariable_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iArrayChangeElementsTcsShaderVariable_p_t[] = {{&_swigt__p_p_iArrayChangeElementsTcsShaderVariable_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iArrayReadOnlyTcsShaderVariable_p_t[] = {{&_swigt__p_p_iArrayReadOnlyTcsShaderVariable_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsIntKey[] = {{&_swigt__p_p_iAwsIntKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEmitterCylinder[] = {{&_swigt__p_p_iParticleBuiltinEmitterCylinder, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEDynamicSystemState[] = {{&_swigt__p_p_iODEDynamicSystemState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshList[] = {{&_swigt__p_p_iMeshList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEventPlug[] = {{&_swigt__p_p_iEventPlug, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEmitterBox[] = {{&_swigt__p_p_iParticleBuiltinEmitterBox, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEJointState[] = {{&_swigt__p_p_iODEJointState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEGeneralJointState[] = {{&_swigt__p_p_iODEGeneralJointState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshFactoryWrapper[] = {{&_swigt__p_p_iMeshFactoryWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysWrapper[] = {{&_swigt__p_p_iSndSysWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSequenceWrapper[] = {{&_swigt__p_p_iSequenceWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iConsoleWatcher[] = {{&_swigt__p_p_iConsoleWatcher, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEngine[] = {{&_swigt__p_p_iEngine, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSimpleFormerState[] = {{&_swigt__p_p_iSimpleFormerState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMaterial[] = {{&_swigt__p_p_iMaterial, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSprite2DUVAnimation[] = {{&_swigt__p_p_iSprite2DUVAnimation, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_scfImplementation1TcsPath_iPath_t[] = {{&_swigt__p_p_scfImplementation1TcsPath_iPath_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iPolygonMesh[] = {{&_swigt__p_p_iPolygonMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iTerrainFactoryState[] = {{&_swigt__p_p_iTerrainFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iThingFactoryState[] = {{&_swigt__p_p_iThingFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSpriteCal3DFactoryState[] = {{&_swigt__p_p_iSpriteCal3DFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSprite3DFactoryState[] = {{&_swigt__p_p_iSprite3DFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSprite2DFactoryState[] = {{&_swigt__p_p_iSprite2DFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGeneralFactoryState[] = {{&_swigt__p_p_iGeneralFactoryState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleEmitter[] = {{&_swigt__p_p_iParticleEmitter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGraphics2D[] = {{&_swigt__p_p_iGraphics2D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDocument[] = {{&_swigt__p_p_iDocument, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iShaderPriorityList[] = {{&_swigt__p_p_iShaderPriorityList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysSourceSoftware3D[] = {{&_swigt__p_p_iSndSysSourceSoftware3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDataBuffer[] = {{&_swigt__p_p_iDataBuffer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshObject[] = {{&_swigt__p_p_iMeshObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iScriptObject[] = {{&_swigt__p_p_iScriptObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonGraveyard[] = {{&_swigt__p_p_iSkeletonGraveyard, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSequenceTimedOperation[] = {{&_swigt__p_p_iSequenceTimedOperation, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iHalo[] = {{&_swigt__p_p_iHalo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iFontServer[] = {{&_swigt__p_p_iFontServer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iStringArray[] = {{&_swigt__p_p_iStringArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iReporter[] = {{&_swigt__p_p_iReporter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEventAttributeIterator[] = {{&_swigt__p_p_iEventAttributeIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iObjectRegistryIterator[] = {{&_swigt__p_p_iObjectRegistryIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iObjectIterator[] = {{&_swigt__p_p_iObjectIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshWrapperIterator[] = {{&_swigt__p_p_iMeshWrapperIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSectorIterator[] = {{&_swigt__p_p_iSectorIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLightIterator[] = {{&_swigt__p_p_iLightIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iReporterIterator[] = {{&_swigt__p_p_iReporterIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDocumentNodeIterator[] = {{&_swigt__p_p_iDocumentNodeIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDocumentAttributeIterator[] = {{&_swigt__p_p_iDocumentAttributeIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iConfigIterator[] = {{&_swigt__p_p_iConfigIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iPluginIterator[] = {{&_swigt__p_p_iPluginIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iVisibilityObjectIterator[] = {{&_swigt__p_p_iVisibilityObjectIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMapNode[] = {{&_swigt__p_p_iMapNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGenMeshAnimationControl[] = {{&_swigt__p_p_iGenMeshAnimationControl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iObjectRegistry[] = {{&_swigt__p_p_iObjectRegistry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEventNameRegistry[] = {{&_swigt__p_p_iEventNameRegistry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysListener[] = {{&_swigt__p_p_iSndSysListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iVisibilityCullerListener[] = {{&_swigt__p_p_iVisibilityCullerListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iObjectModelListener[] = {{&_swigt__p_p_iObjectModelListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iCameraSectorListener[] = {{&_swigt__p_p_iCameraSectorListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMovableListener[] = {{&_swigt__p_p_iMovableListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iObjectNameChangeListener[] = {{&_swigt__p_p_iObjectNameChangeListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iReporterListener[] = {{&_swigt__p_p_iReporterListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iStandardReporterListener[] = {{&_swigt__p_p_iStandardReporterListener, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDocumentSystem[] = {{&_swigt__p_p_iDocumentSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_csPath[] = {{&_swigt__p_p_csPath, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysSourceSoftware[] = {{&_swigt__p_p_iSndSysSourceSoftware, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysRendererSoftware[] = {{&_swigt__p_p_iSndSysRendererSoftware, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSprite2DUVAnimationFrame[] = {{&_swigt__p_p_iSprite2DUVAnimationFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iTerraFormer[] = {{&_swigt__p_p_iTerraFormer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeleton[] = {{&_swigt__p_p_iSkeleton, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSequenceTrigger[] = {{&_swigt__p_p_iSequenceTrigger, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iPortalContainer[] = {{&_swigt__p_p_iPortalContainer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsKeyContainer[] = {{&_swigt__p_p_iAwsKeyContainer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODESliderJoint[] = {{&_swigt__p_p_iODESliderJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEAMotorJoint[] = {{&_swigt__p_p_iODEAMotorJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEHinge2Joint[] = {{&_swigt__p_p_iODEHinge2Joint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iRegionList[] = {{&_swigt__p_p_iRegionList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iCameraPositionList[] = {{&_swigt__p_p_iCameraPositionList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSpriteAction[] = {{&_swigt__p_p_iSpriteAction, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLightList[] = {{&_swigt__p_p_iLightList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iFile[] = {{&_swigt__p_p_iFile, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshObjectDrawCallback[] = {{&_swigt__p_p_iMeshObjectDrawCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonUpdateCallback[] = {{&_swigt__p_p_iSkeletonUpdateCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonScriptCallback[] = {{&_swigt__p_p_iSkeletonScriptCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonBoneUpdateCallback[] = {{&_swigt__p_p_iSkeletonBoneUpdateCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iPortalCallback[] = {{&_swigt__p_p_iPortalCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLightCallback[] = {{&_swigt__p_p_iLightCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSectorCallback[] = {{&_swigt__p_p_iSectorCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSectorMeshCallback[] = {{&_swigt__p_p_iSectorMeshCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLightVisibleCallback[] = {{&_swigt__p_p_iLightVisibleCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEngineFrameCallback[] = {{&_swigt__p_p_iEngineFrameCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEngineSectorCallback[] = {{&_swigt__p_p_iEngineSectorCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iTextureCallback[] = {{&_swigt__p_p_iTextureCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshDrawCallback[] = {{&_swigt__p_p_iMeshDrawCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysStreamCallback[] = {{&_swigt__p_p_iSndSysStreamCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysRendererCallback[] = {{&_swigt__p_p_iSndSysRendererCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iOffscreenCanvasCallback[] = {{&_swigt__p_p_iOffscreenCanvasCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDynamicsMoveCallback[] = {{&_swigt__p_p_iDynamicsMoveCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDynamicsCollisionCallback[] = {{&_swigt__p_p_iDynamicsCollisionCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDynamicsColliderCollisionCallback[] = {{&_swigt__p_p_iDynamicsColliderCollisionCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEFrameUpdateCallback[] = {{&_swigt__p_p_iODEFrameUpdateCallback, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iVisibilityObject[] = {{&_swigt__p_p_iVisibilityObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iObject[] = {{&_swigt__p_p_iObject, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iCamera[] = {{&_swigt__p_p_iCamera, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iCommandLineParser[] = {{&_swigt__p_p_iCommandLineParser, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshFactoryList[] = {{&_swigt__p_p_iMeshFactoryList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGraphics3D[] = {{&_swigt__p_p_iGraphics3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iVirtualClock[] = {{&_swigt__p_p_iVirtualClock, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshObjectType[] = {{&_swigt__p_p_iMeshObjectType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMovieRecorder[] = {{&_swigt__p_p_iMovieRecorder, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSprite2DState[] = {{&_swigt__p_p_iSprite2DState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEmitterSphere[] = {{&_swigt__p_p_iParticleBuiltinEmitterSphere, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iThingEnvironment[] = {{&_swigt__p_p_iThingEnvironment, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMovable[] = {{&_swigt__p_p_iMovable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAws[] = {{&_swigt__p_p_iAws, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSceneNodeArray[] = {{&_swigt__p_p_iSceneNodeArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iShaderVariableContext[] = {{&_swigt__p_p_iShaderVariableContext, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSectorList[] = {{&_swigt__p_p_iSectorList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleSystem[] = {{&_swigt__p_p_iParticleSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iCollideSystem[] = {{&_swigt__p_p_iCollideSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDynamicSystem[] = {{&_swigt__p_p_iDynamicSystem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysSoftwareFilter3D[] = {{&_swigt__p_p_iSndSysSoftwareFilter3D, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iShaderCompiler[] = {{&_swigt__p_p_iShaderCompiler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLightingProcessData[] = {{&_swigt__p_p_iLightingProcessData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iCameraPosition[] = {{&_swigt__p_p_iCameraPosition, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iBinaryLoaderPlugin[] = {{&_swigt__p_p_iBinaryLoaderPlugin, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLoaderPlugin[] = {{&_swigt__p_p_iLoaderPlugin, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonSocket[] = {{&_swigt__p_p_iSkeletonSocket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSpriteCal3DSocket[] = {{&_swigt__p_p_iSpriteCal3DSocket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysStream[] = {{&_swigt__p_p_iSndSysStream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iVisibilityCuller[] = {{&_swigt__p_p_iVisibilityCuller, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGeneralMeshCommonState[] = {{&_swigt__p_p_iGeneralMeshCommonState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iConfigFile[] = {{&_swigt__p_p_iConfigFile, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEventQueue[] = {{&_swigt__p_p_iEventQueue, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iVFS[] = {{&_swigt__p_p_iVFS, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iRigidBody[] = {{&_swigt__p_p_iRigidBody, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsComponentNode[] = {{&_swigt__p_p_iAwsComponentNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEventOutlet[] = {{&_swigt__p_p_iEventOutlet, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDocumentNode[] = {{&_swigt__p_p_iDocumentNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iArrayChangeAllTcsSprite2DVertex_t[] = {{&_swigt__p_p_iArrayChangeAllTcsSprite2DVertex_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iArrayChangeElementsTcsSprite2DVertex_t[] = {{&_swigt__p_p_iArrayChangeElementsTcsSprite2DVertex_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iArrayReadOnlyTcsSprite2DVertex_t[] = {{&_swigt__p_p_iArrayReadOnlyTcsSprite2DVertex_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iFont[] = {{&_swigt__p_p_iFont, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSpriteCal3DState[] = {{&_swigt__p_p_iSpriteCal3DState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSprite3DState[] = {{&_swigt__p_p_iSprite3DState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iKeyboardDriver[] = {{&_swigt__p_p_iKeyboardDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iBodyGroup[] = {{&_swigt__p_p_iBodyGroup, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iFrustumView[] = {{&_swigt__p_p_iFrustumView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAnimTimeUpdateHandler[] = {{&_swigt__p_p_iAnimTimeUpdateHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEventHandler[] = {{&_swigt__p_p_iEventHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p__csPyEventHandler[] = {{&_swigt__p_p__csPyEventHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEngineSequenceParameters[] = {{&_swigt__p_p_iEngineSequenceParameters, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsKey[] = {{&_swigt__p_p_iAwsKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iView[] = {{&_swigt__p_p_iView, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGenMeshAnimationControlType[] = {{&_swigt__p_p_iGenMeshAnimationControlType, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iKeyComposer[] = {{&_swigt__p_p_iKeyComposer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iArrayReadOnlyTiSceneNode_p_t[] = {{&_swigt__p_p_iArrayReadOnlyTiSceneNode_p_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMaterialList[] = {{&_swigt__p_p_iMaterialList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsRectKey[] = {{&_swigt__p_p_iAwsRectKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEffectorVelocityField[] = {{&_swigt__p_p_iParticleBuiltinEffectorVelocityField, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLightingProcessInfo[] = {{&_swigt__p_p_iLightingProcessInfo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iJoint[] = {{&_swigt__p_p_iJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSpriteSocket[] = {{&_swigt__p_p_iSpriteSocket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEmitterBase[] = {{&_swigt__p_p_iParticleBuiltinEmitterBase, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEmitterCone[] = {{&_swigt__p_p_iParticleBuiltinEmitterCone, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysRenderer[] = {{&_swigt__p_p_iSndSysRenderer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsComponent[] = {{&_swigt__p_p_iAwsComponent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iComponent[] = {{&_swigt__p_p_iComponent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsStringKey[] = {{&_swigt__p_p_iAwsStringKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGenMeshSkeletonControlState[] = {{&_swigt__p_p_iGenMeshSkeletonControlState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsSource[] = {{&_swigt__p_p_iAwsSource, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysSource[] = {{&_swigt__p_p_iSndSysSource, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEffectorForce[] = {{&_swigt__p_p_iParticleBuiltinEffectorForce, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEffectorFactory[] = {{&_swigt__p_p_iParticleBuiltinEffectorFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEmitterFactory[] = {{&_swigt__p_p_iParticleBuiltinEmitterFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleSystemFactory[] = {{&_swigt__p_p_iParticleSystemFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshObjectFactory[] = {{&_swigt__p_p_iMeshObjectFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonFactory[] = {{&_swigt__p_p_iSkeletonFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonSocketFactory[] = {{&_swigt__p_p_iSkeletonSocketFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonBoneFactory[] = {{&_swigt__p_p_iSkeletonBoneFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGenMeshAnimationControlFactory[] = {{&_swigt__p_p_iGenMeshAnimationControlFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsConnectionNodeFactory[] = {{&_swigt__p_p_iAwsConnectionNodeFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsKeyFactory[] = {{&_swigt__p_p_iAwsKeyFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsComponentFactory[] = {{&_swigt__p_p_iAwsComponentFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iFactory[] = {{&_swigt__p_p_iFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysSoftwareDriver[] = {{&_swigt__p_p_iSndSysSoftwareDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMouseDriver[] = {{&_swigt__p_p_iMouseDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iJoystickDriver[] = {{&_swigt__p_p_iJoystickDriver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysLoader[] = {{&_swigt__p_p_iSndSysLoader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLoader[] = {{&_swigt__p_p_iLoader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iFrustumViewUserdata[] = {{&_swigt__p_p_iFrustumViewUserdata, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsSink[] = {{&_swigt__p_p_iAwsSink, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iShader[] = {{&_swigt__p_p_iShader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iTextureList[] = {{&_swigt__p_p_iTextureList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iNativeWindow[] = {{&_swigt__p_p_iNativeWindow, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleSystemBase[] = {{&_swigt__p_p_iParticleSystemBase, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSpriteFrame[] = {{&_swigt__p_p_iSpriteFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonScript[] = {{&_swigt__p_p_iSkeletonScript, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iFontDeleteNotify[] = {{&_swigt__p_p_iFontDeleteNotify, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iThingState[] = {{&_swigt__p_p_iThingState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsFloatKey[] = {{&_swigt__p_p_iAwsFloatKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iShaderVariableAccessor[] = {{&_swigt__p_p_iShaderVariableAccessor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iTerraSampler[] = {{&_swigt__p_p_iTerraSampler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEvent[] = {{&_swigt__p_p_iEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonBone[] = {{&_swigt__p_p_iSkeletonBone, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsSlot[] = {{&_swigt__p_p_iAwsSlot, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonScriptKeyFrame[] = {{&_swigt__p_p_iSkeletonScriptKeyFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iParticleBuiltinEffectorLinColor[] = {{&_swigt__p_p_iParticleBuiltinEffectorLinColor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iShaderVarStack[] = {{&_swigt__p_p_iShaderVarStack, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iGeneralMeshSubMesh[] = {{&_swigt__p_p_iGeneralMeshSubMesh, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iImage[] = {{&_swigt__p_p_iImage, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iDynamicsSystemCollider[] = {{&_swigt__p_p_iDynamicsSystemCollider, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iODEUniversalJoint[] = {{&_swigt__p_p_iODEUniversalJoint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iPolygonHandle[] = {{&_swigt__p_p_iPolygonHandle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iObjectModel[] = {{&_swigt__p_p_iObjectModel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsConnectionKey[] = {{&_swigt__p_p_iAwsConnectionKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSkeletonBoneRagdollInfo[] = {{&_swigt__p_p_iSkeletonBoneRagdollInfo, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMissingLoaderData[] = {{&_swigt__p_p_iMissingLoaderData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iRegion[] = {{&_swigt__p_p_iRegion, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iStringSet[] = {{&_swigt__p_p_iStringSet, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iColoredVertices[] = {{&_swigt__p_p_iColoredVertices, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsLayoutManager[] = {{&_swigt__p_p_iAwsLayoutManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsSinkManager[] = {{&_swigt__p_p_iAwsSinkManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsPrefManager[] = {{&_swigt__p_p_iAwsPrefManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysManager[] = {{&_swigt__p_p_iSndSysManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iCacheManager[] = {{&_swigt__p_p_iCacheManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iPluginManager[] = {{&_swigt__p_p_iPluginManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iConfigManager[] = {{&_swigt__p_p_iConfigManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iNativeWindowManager[] = {{&_swigt__p_p_iNativeWindowManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iShaderManager[] = {{&_swigt__p_p_iShaderManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iTextureManager[] = {{&_swigt__p_p_iTextureManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEngineSequenceManager[] = {{&_swigt__p_p_iEngineSequenceManager, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iAwsPointKey[] = {{&_swigt__p_p_iAwsPointKey, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iScript[] = {{&_swigt__p_p_iScript, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSaver[] = {{&_swigt__p_p_iSaver, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSndSysData[] = {{&_swigt__p_p_iSndSysData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iEventCord[] = {{&_swigt__p_p_iEventCord, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iBase[] = {  {&_swigt__p_p_iAwsRGBKey, _p_p_iAwsRGBKeyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iRendererLightmap, _p_p_iRendererLightmapTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSuperLightmap, _p_p_iSuperLightmapTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iConsoleOutput, _p_p_iConsoleOutputTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iTerrainObjectState, _p_p_iTerrainObjectStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iClipper2D, _p_p_iClipper2DTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleEffector, _p_p_iParticleEffectorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDebugHelper, _p_p_iDebugHelperTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEDynamicState, _p_p_iODEDynamicStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDocumentAttribute, _p_p_iDocumentAttributeTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEHingeJoint, _p_p_iODEHingeJointTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMaterialEngine, _p_p_iMaterialEngineTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iImageIO, _p_p_iImageIOTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iPath, _p_p_iPathTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSCF, _p_p_iSCFTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iLoaderStatus, _p_p_iLoaderStatusTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEBallJoint, _p_p_iODEBallJointTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iTextureHandle, _p_p_iTextureHandleTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGeneralMeshState, _p_p_iGeneralMeshStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDynamics, _p_p_iDynamicsTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParameterESM, _p_p_iParameterESMTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysSoftwareOutputFilter, _p_p_iSndSysSoftwareOutputFilterTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iArrayChangeAllTcsShaderVariable_p_t, _p_p_iArrayChangeAllTcsShaderVariable_p_tTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iArrayChangeElementsTcsShaderVariable_p_t, _p_p_iArrayChangeElementsTcsShaderVariable_p_tTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iArrayReadOnlyTcsShaderVariable_p_t, _p_p_iArrayReadOnlyTcsShaderVariable_p_tTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsIntKey, _p_p_iAwsIntKeyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEmitterCylinder, _p_p_iParticleBuiltinEmitterCylinderTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEDynamicSystemState, _p_p_iODEDynamicSystemStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshList, _p_p_iMeshListTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEventPlug, _p_p_iEventPlugTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEmitterBox, _p_p_iParticleBuiltinEmitterBoxTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEJointState, _p_p_iODEJointStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEGeneralJointState, _p_p_iODEGeneralJointStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMaterialWrapper, _p_p_iMaterialWrapperTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iTextureWrapper, _p_p_iTextureWrapperTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshWrapper, _p_p_iMeshWrapperTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshFactoryWrapper, _p_p_iMeshFactoryWrapperTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysWrapper, _p_p_iSndSysWrapperTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSequenceWrapper, _p_p_iSequenceWrapperTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iString, _p_p_iStringTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iConsoleWatcher, _p_p_iConsoleWatcherTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEngine, _p_p_iEngineTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSimpleFormerState, _p_p_iSimpleFormerStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMaterial, _p_p_iMaterialTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSprite2DUVAnimation, _p_p_iSprite2DUVAnimationTo_p_p_iBase, 0, 0},  {&_swigt__p_p_scfImplementation1TcsPath_iPath_t, _p_p_scfImplementation1TcsPath_iPath_tTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iPolygonMesh, _p_p_iPolygonMeshTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iTerrainFactoryState, _p_p_iTerrainFactoryStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iThingFactoryState, _p_p_iThingFactoryStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSpriteCal3DFactoryState, _p_p_iSpriteCal3DFactoryStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSprite3DFactoryState, _p_p_iSprite3DFactoryStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSprite2DFactoryState, _p_p_iSprite2DFactoryStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGeneralFactoryState, _p_p_iGeneralFactoryStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleEmitter, _p_p_iParticleEmitterTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGraphics2D, _p_p_iGraphics2DTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDocument, _p_p_iDocumentTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iShaderPriorityList, _p_p_iShaderPriorityListTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysSourceSoftware3D, _p_p_iSndSysSourceSoftware3DTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDataBuffer, _p_p_iDataBufferTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshObject, _p_p_iMeshObjectTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iScriptObject, _p_p_iScriptObjectTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonGraveyard, _p_p_iSkeletonGraveyardTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSequenceTimedOperation, _p_p_iSequenceTimedOperationTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iHalo, _p_p_iHaloTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iFontServer, _p_p_iFontServerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iStringArray, _p_p_iStringArrayTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iReporter, _p_p_iReporterTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEventAttributeIterator, _p_p_iEventAttributeIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iObjectRegistryIterator, _p_p_iObjectRegistryIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iObjectIterator, _p_p_iObjectIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshWrapperIterator, _p_p_iMeshWrapperIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSectorIterator, _p_p_iSectorIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iLightIterator, _p_p_iLightIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iReporterIterator, _p_p_iReporterIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDocumentNodeIterator, _p_p_iDocumentNodeIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDocumentAttributeIterator, _p_p_iDocumentAttributeIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iConfigIterator, _p_p_iConfigIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iPluginIterator, _p_p_iPluginIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iVisibilityObjectIterator, _p_p_iVisibilityObjectIteratorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMapNode, _p_p_iMapNodeTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGenMeshAnimationControl, _p_p_iGenMeshAnimationControlTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iObjectRegistry, _p_p_iObjectRegistryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEventNameRegistry, _p_p_iEventNameRegistryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysListener, _p_p_iSndSysListenerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iVisibilityCullerListener, _p_p_iVisibilityCullerListenerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iObjectModelListener, _p_p_iObjectModelListenerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iCameraSectorListener, _p_p_iCameraSectorListenerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMovableListener, _p_p_iMovableListenerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iObjectNameChangeListener, _p_p_iObjectNameChangeListenerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iReporterListener, _p_p_iReporterListenerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iStandardReporterListener, _p_p_iStandardReporterListenerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDocumentSystem, _p_p_iDocumentSystemTo_p_p_iBase, 0, 0},  {&_swigt__p_p_csPath, _p_p_csPathTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysSourceSoftware, _p_p_iSndSysSourceSoftwareTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysRendererSoftware, _p_p_iSndSysRendererSoftwareTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSprite2DUVAnimationFrame, _p_p_iSprite2DUVAnimationFrameTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iTerraFormer, _p_p_iTerraFormerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeleton, _p_p_iSkeletonTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSector, _p_p_iSectorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSequenceTrigger, _p_p_iSequenceTriggerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iPortalContainer, _p_p_iPortalContainerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsKeyContainer, _p_p_iAwsKeyContainerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODESliderJoint, _p_p_iODESliderJointTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEAMotorJoint, _p_p_iODEAMotorJointTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEHinge2Joint, _p_p_iODEHinge2JointTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iRegionList, _p_p_iRegionListTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iCameraPositionList, _p_p_iCameraPositionListTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSpriteAction, _p_p_iSpriteActionTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iBase, 0, 0, 0},  {&_swigt__p_p_iLightList, _p_p_iLightListTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iFile, _p_p_iFileTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshObjectDrawCallback, _p_p_iMeshObjectDrawCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonUpdateCallback, _p_p_iSkeletonUpdateCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonScriptCallback, _p_p_iSkeletonScriptCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonBoneUpdateCallback, _p_p_iSkeletonBoneUpdateCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iPortalCallback, _p_p_iPortalCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iLightCallback, _p_p_iLightCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSectorCallback, _p_p_iSectorCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSectorMeshCallback, _p_p_iSectorMeshCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iLightVisibleCallback, _p_p_iLightVisibleCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEngineFrameCallback, _p_p_iEngineFrameCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEngineSectorCallback, _p_p_iEngineSectorCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iTextureCallback, _p_p_iTextureCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshDrawCallback, _p_p_iMeshDrawCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysStreamCallback, _p_p_iSndSysStreamCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysRendererCallback, _p_p_iSndSysRendererCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iOffscreenCanvasCallback, _p_p_iOffscreenCanvasCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDynamicsMoveCallback, _p_p_iDynamicsMoveCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDynamicsCollisionCallback, _p_p_iDynamicsCollisionCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDynamicsColliderCollisionCallback, _p_p_iDynamicsColliderCollisionCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEFrameUpdateCallback, _p_p_iODEFrameUpdateCallbackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iVisibilityObject, _p_p_iVisibilityObjectTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iObject, _p_p_iObjectTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iCamera, _p_p_iCameraTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iCommandLineParser, _p_p_iCommandLineParserTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshFactoryList, _p_p_iMeshFactoryListTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGraphics3D, _p_p_iGraphics3DTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iVirtualClock, _p_p_iVirtualClockTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshObjectType, _p_p_iMeshObjectTypeTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMovieRecorder, _p_p_iMovieRecorderTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSprite2DState, _p_p_iSprite2DStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEmitterSphere, _p_p_iParticleBuiltinEmitterSphereTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iThingEnvironment, _p_p_iThingEnvironmentTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMovable, _p_p_iMovableTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAws, _p_p_iAwsTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSceneNodeArray, _p_p_iSceneNodeArrayTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iShaderVariableContext, _p_p_iShaderVariableContextTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSectorList, _p_p_iSectorListTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleSystem, _p_p_iParticleSystemTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iCollideSystem, _p_p_iCollideSystemTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDynamicSystem, _p_p_iDynamicSystemTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysSoftwareFilter3D, _p_p_iSndSysSoftwareFilter3DTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iShaderCompiler, _p_p_iShaderCompilerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iLightingProcessData, _p_p_iLightingProcessDataTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iCameraPosition, _p_p_iCameraPositionTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iBinaryLoaderPlugin, _p_p_iBinaryLoaderPluginTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iLoaderPlugin, _p_p_iLoaderPluginTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonSocket, _p_p_iSkeletonSocketTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSpriteCal3DSocket, _p_p_iSpriteCal3DSocketTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysStream, _p_p_iSndSysStreamTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iVisibilityCuller, _p_p_iVisibilityCullerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGeneralMeshCommonState, _p_p_iGeneralMeshCommonStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iConfigFile, _p_p_iConfigFileTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEventQueue, _p_p_iEventQueueTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iVFS, _p_p_iVFSTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iRigidBody, _p_p_iRigidBodyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsComponentNode, _p_p_iAwsComponentNodeTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEventOutlet, _p_p_iEventOutletTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDocumentNode, _p_p_iDocumentNodeTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iArrayChangeAllTcsSprite2DVertex_t, _p_p_iArrayChangeAllTcsSprite2DVertex_tTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iArrayChangeElementsTcsSprite2DVertex_t, _p_p_iArrayChangeElementsTcsSprite2DVertex_tTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iArrayReadOnlyTcsSprite2DVertex_t, _p_p_iArrayReadOnlyTcsSprite2DVertex_tTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iFont, _p_p_iFontTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSpriteCal3DState, _p_p_iSpriteCal3DStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSprite3DState, _p_p_iSprite3DStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iKeyboardDriver, _p_p_iKeyboardDriverTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iBodyGroup, _p_p_iBodyGroupTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iFrustumView, _p_p_iFrustumViewTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAnimTimeUpdateHandler, _p_p_iAnimTimeUpdateHandlerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEventHandler, _p_p_iEventHandlerTo_p_p_iBase, 0, 0},  {&_swigt__p_p__csPyEventHandler, _p_p__csPyEventHandlerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iPortal, _p_p_iPortalTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEngineSequenceParameters, _p_p_iEngineSequenceParametersTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsKey, _p_p_iAwsKeyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iView, _p_p_iViewTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGenMeshAnimationControlType, _p_p_iGenMeshAnimationControlTypeTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iKeyComposer, _p_p_iKeyComposerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iArrayReadOnlyTiSceneNode_p_t, _p_p_iArrayReadOnlyTiSceneNode_p_tTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMaterialList, _p_p_iMaterialListTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsRectKey, _p_p_iAwsRectKeyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEffectorVelocityField, _p_p_iParticleBuiltinEffectorVelocityFieldTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iLightingProcessInfo, _p_p_iLightingProcessInfoTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iJoint, _p_p_iJointTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSpriteSocket, _p_p_iSpriteSocketTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEmitterBase, _p_p_iParticleBuiltinEmitterBaseTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEmitterCone, _p_p_iParticleBuiltinEmitterConeTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysRenderer, _p_p_iSndSysRendererTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsComponent, _p_p_iAwsComponentTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iComponent, _p_p_iComponentTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iLight, _p_p_iLightTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsStringKey, _p_p_iAwsStringKeyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGenMeshSkeletonControlState, _p_p_iGenMeshSkeletonControlStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsSource, _p_p_iAwsSourceTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysSource, _p_p_iSndSysSourceTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEffectorForce, _p_p_iParticleBuiltinEffectorForceTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEffectorFactory, _p_p_iParticleBuiltinEffectorFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEmitterFactory, _p_p_iParticleBuiltinEmitterFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleSystemFactory, _p_p_iParticleSystemFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMeshObjectFactory, _p_p_iMeshObjectFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonFactory, _p_p_iSkeletonFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonSocketFactory, _p_p_iSkeletonSocketFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonBoneFactory, _p_p_iSkeletonBoneFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGenMeshAnimationControlFactory, _p_p_iGenMeshAnimationControlFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsConnectionNodeFactory, _p_p_iAwsConnectionNodeFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsKeyFactory, _p_p_iAwsKeyFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsComponentFactory, _p_p_iAwsComponentFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iFactory, _p_p_iFactoryTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysSoftwareDriver, _p_p_iSndSysSoftwareDriverTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMouseDriver, _p_p_iMouseDriverTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iJoystickDriver, _p_p_iJoystickDriverTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysLoader, _p_p_iSndSysLoaderTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iLoader, _p_p_iLoaderTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iFrustumViewUserdata, _p_p_iFrustumViewUserdataTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsSink, _p_p_iAwsSinkTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iShader, _p_p_iShaderTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iTextureList, _p_p_iTextureListTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iNativeWindow, _p_p_iNativeWindowTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleSystemBase, _p_p_iParticleSystemBaseTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSpriteFrame, _p_p_iSpriteFrameTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonScript, _p_p_iSkeletonScriptTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iFontDeleteNotify, _p_p_iFontDeleteNotifyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iThingState, _p_p_iThingStateTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsFloatKey, _p_p_iAwsFloatKeyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iShaderVariableAccessor, _p_p_iShaderVariableAccessorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iTerraSampler, _p_p_iTerraSamplerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEvent, _p_p_iEventTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonBone, _p_p_iSkeletonBoneTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsSlot, _p_p_iAwsSlotTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSceneNode, _p_p_iSceneNodeTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonScriptKeyFrame, _p_p_iSkeletonScriptKeyFrameTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iParticleBuiltinEffectorLinColor, _p_p_iParticleBuiltinEffectorLinColorTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iShaderVarStack, _p_p_iShaderVarStackTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iGeneralMeshSubMesh, _p_p_iGeneralMeshSubMeshTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iImage, _p_p_iImageTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iCollider, _p_p_iColliderTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iDynamicsSystemCollider, _p_p_iDynamicsSystemColliderTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iODEUniversalJoint, _p_p_iODEUniversalJointTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iPolygonHandle, _p_p_iPolygonHandleTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iObjectModel, _p_p_iObjectModelTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsConnectionKey, _p_p_iAwsConnectionKeyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSkeletonBoneRagdollInfo, _p_p_iSkeletonBoneRagdollInfoTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iMissingLoaderData, _p_p_iMissingLoaderDataTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iRegion, _p_p_iRegionTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iStringSet, _p_p_iStringSetTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iColoredVertices, _p_p_iColoredVerticesTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsLayoutManager, _p_p_iAwsLayoutManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsSinkManager, _p_p_iAwsSinkManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsPrefManager, _p_p_iAwsPrefManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysManager, _p_p_iSndSysManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iCacheManager, _p_p_iCacheManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iPluginManager, _p_p_iPluginManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iConfigManager, _p_p_iConfigManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iNativeWindowManager, _p_p_iNativeWindowManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iShaderManager, _p_p_iShaderManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iTextureManager, _p_p_iTextureManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEngineSequenceManager, _p_p_iEngineSequenceManagerTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iAwsPointKey, _p_p_iAwsPointKeyTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iScript, _p_p_iScriptTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSaver, _p_p_iSaverTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iSndSysData, _p_p_iSndSysDataTo_p_p_iBase, 0, 0},  {&_swigt__p_p_iEventCord, _p_p_iEventCordTo_p_p_iBase, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iCollider[] = {  {&_swigt__p_p_iCollider, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iLight[] = {  {&_swigt__p_p_iLight, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMaterialWrapper[] = {  {&_swigt__p_p_iMaterialWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iMeshWrapper[] = {  {&_swigt__p_p_iMeshWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iPortal[] = {  {&_swigt__p_p_iPortal, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iRenderBuffer[] = {  {&_swigt__p_p_iRenderBuffer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSceneNode[] = {  {&_swigt__p_p_iSceneNode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iSector[] = {  {&_swigt__p_p_iSector, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iString[] = {  {&_swigt__p_p_iString, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iTextureHandle[] = {  {&_swigt__p_p_iTextureHandle, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_iTextureWrapper[] = {  {&_swigt__p_p_iTextureWrapper, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_void[] = {  {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_scfImplementation1TcsPath_iPath_t[] = {  {&_swigt__p_scfImplementation1TcsPath_iPath_t, 0, 0, 0},  {&_swigt__p_csPath, _p_csPathTo_p_scfImplementation1TcsPath_iPath_t, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_size_t[] = {  {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_uint16_t[] = {  {&_swigt__p_uint16_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_uint32_t[] = {  {&_swigt__p_uint32_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_uint64_t[] = {  {&_swigt__p_uint64_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_uint8_t[] = {  {&_swigt__p_uint8_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_uint_least64_t[] = {  {&_swigt__p_uint_least64_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_utf32_char[] = {  {&_swigt__p_utf32_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wchar_t[] = {  {&_swigt__p_wchar_t, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_AllocatorType,
  _swigc__p_CS__Memory__AllocatorMalloc,
  _swigc__p_CS__TriangleTTint_t,
  _swigc__p_CalAnimationCallback,
  _swigc__p_CalCoreModel,
  _swigc__p_CalModel,
  _swigc__p_CapacityHandlerType,
  _swigc__p_ContainedType,
  _swigc__p_ElementHandlerType,
  _swigc__p_FILE,
  _swigc__p_FileFormatDescription,
  _swigc__p_HashType,
  _swigc__p_SndSysFilterLocation,
  _swigc__p_ThisType,
  _swigc__p_ValueType,
  _swigc__p__csKeyCharType,
  _swigc__p__csKeyEventType,
  _swigc__p__csKeyModifierNumType,
  _swigc__p__csKeyModifierType,
  _swigc__p__csKeyModifiers,
  _swigc__p__csMouseCursorID,
  _swigc__p__csMouseEventType,
  _swigc__p__csPyEventHandler,
  _swigc__p_awsConnectionNode,
  _swigc__p_basetype,
  _swigc__p_bool,
  _swigc__p_char,
  _swigc__p_csAlphaMode,
  _swigc__p_csArrayCapacityDefault,
  _swigc__p_csArrayCapacityLinearTcsArrayThresholdVariable_t,
  _swigc__p_csArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_csArrayElementHandlerTcsArrayTchar_csArrayElementHandlerTchar_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTcsIntersectingTriangle_csArrayElementHandlerTcsIntersectingTriangle_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTcsShaderVariable_p_csArrayElementHandlerTcsShaderVariable_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayThresholdVariable,
  _swigc__p_csArrayTiImage_p_csArrayElementHandlerTiImage_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTiLight_p_csArrayElementHandlerTiLight_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTiMaterialWrapper_p_csArrayElementHandlerTiMaterialWrapper_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csArrayTvoid_pp_csArrayElementHandlerTvoid_pp_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t,
  _swigc__p_csBSpline,
  _swigc__p_csBitmapMetrics,
  _swigc__p_csBox2,
  _swigc__p_csBox3,
  _swigc__p_csCatmullRomSpline,
  _swigc__p_csColliderActor,
  _swigc__p_csColliderHelper,
  _swigc__p_csColliderWrapper,
  _swigc__p_csCollisionPair,
  _swigc__p_csColor,
  _swigc__p_csColor4,
  _swigc__p_csCommandEventData,
  _swigc__p_csCommandEventHelper,
  _swigc__p_csCommandLineHelper,
  _swigc__p_csCompressVertex,
  _swigc__p_csCoreRenderMesh,
  _swigc__p_csCubicSpline,
  _swigc__p_csDVector3,
  _swigc__p_csEllipsoid,
  _swigc__p_csEvent,
  _swigc__p_csEventNameRegistry,
  _swigc__p_csFileTime,
  _swigc__p_csFlags,
  _swigc__p_csFog,
  _swigc__p_csFrustum,
  _swigc__p_csFrustumContext,
  _swigc__p_csGeomDebugHelper,
  _swigc__p_csGlyphMetrics,
  _swigc__p_csGraphics3DCaps,
  _swigc__p_csHandlerID,
  _swigc__p_csHashTcsRefTiShader_t_unsigned_long_CS__Memory__AllocatorMalloc_t,
  _swigc__p_csHitBeamResult,
  _swigc__p_csImageArea,
  _swigc__p_csImageIOFileFormatDescription,
  _swigc__p_csInitializer,
  _swigc__p_csInputEventHelper,
  _swigc__p_csIntersect2,
  _swigc__p_csIntersect3,
  _swigc__p_csIntersectingTriangle,
  _swigc__p_csJoystickEventData,
  _swigc__p_csJoystickEventHelper,
  _swigc__p_csKeyEventData,
  _swigc__p_csKeyEventHelper,
  _swigc__p_csListenerProperties,
  _swigc__p_csMath2,
  _swigc__p_csMath3,
  _swigc__p_csMatrix2,
  _swigc__p_csMatrix3,
  _swigc__p_csMeshedPolygon,
  _swigc__p_csMouseEventData,
  _swigc__p_csMouseEventHelper,
  _swigc__p_csOBB,
  _swigc__p_csObject,
  _swigc__p_csOrthoTransform,
  _swigc__p_csParticle,
  _swigc__p_csParticleAux,
  _swigc__p_csParticleBuffer,
  _swigc__p_csPath,
  _swigc__p_csPixelCoord,
  _swigc__p_csPixelFormat,
  _swigc__p_csPixmap,
  _swigc__p_csPlane2,
  _swigc__p_csPlane3,
  _swigc__p_csPluginRequest,
  _swigc__p_csPoly2D,
  _swigc__p_csPoly2DFactory,
  _swigc__p_csPoly3D,
  _swigc__p_csPolygonMesh,
  _swigc__p_csPolygonMeshBox,
  _swigc__p_csPolygonRange,
  _swigc__p_csPtrTcsFrustum_t,
  _swigc__p_csPtrTiBase_t,
  _swigc__p_csPtrTiEngineSequenceParameters_t,
  _swigc__p_csPtrTiEventOutlet_t,
  _swigc__p_csPtrTiGenMeshAnimationControlFactory_t,
  _swigc__p_csPtrTiGenMeshAnimationControl_t,
  _swigc__p_csPtrTiKeyComposer_t,
  _swigc__p_csPtrTiLightIterator_t,
  _swigc__p_csPtrTiLightingProcessData_t,
  _swigc__p_csPtrTiLoaderContext_t,
  _swigc__p_csPtrTiLoaderStatus_t,
  _swigc__p_csPtrTiODEHinge2Joint_t,
  _swigc__p_csPtrTiObjectIterator_t,
  _swigc__p_csPtrTiObjectRegistryIterator_t,
  _swigc__p_csPtrTiObjectWatcher_t,
  _swigc__p_csPtrTiParameterESM_t,
  _swigc__p_csPtrTiParticleBuiltinEffectorVelocityField_t,
  _swigc__p_csPtrTiPluginIterator_t,
  _swigc__p_csPtrTiPolygonHandle_t,
  _swigc__p_csPtrTiRendererLightmap_t,
  _swigc__p_csPtrTiRigidBody_t,
  _swigc__p_csPtrTiSectorIterator_t,
  _swigc__p_csPtrTiSequenceTrigger_t,
  _swigc__p_csPtrTiSequenceWrapper_t,
  _swigc__p_csPtrTiShaderPriorityList_t,
  _swigc__p_csPtrTiShader_t,
  _swigc__p_csPtrTiShadowBlockList_t,
  _swigc__p_csPtrTiSuperLightmap_t,
  _swigc__p_csPtrTiVisibilityObjectIterator_t,
  _swigc__p_csQuaternion,
  _swigc__p_csRGBcolor,
  _swigc__p_csRGBpixel,
  _swigc__p_csRandomGen,
  _swigc__p_csRect,
  _swigc__p_csRectRegion,
  _swigc__p_csRefArrayTcsShaderVariable_t,
  _swigc__p_csRefArrayTiAwsKey_t,
  _swigc__p_csRefArrayTiObject_t,
  _swigc__p_csRefArrayTiSceneNode_t,
  _swigc__p_csRefArrayTiShader_t,
  _swigc__p_csRefCount,
  _swigc__p_csRefTiBase_t,
  _swigc__p_csRefTiDocumentAttributeIterator_t,
  _swigc__p_csRefTiDocumentAttribute_t,
  _swigc__p_csRefTiDocumentNodeIterator_t,
  _swigc__p_csRefTiDocumentNode_t,
  _swigc__p_csRefTiDynamicsSystemCollider_t,
  _swigc__p_csRefTiEventAttributeIterator_t,
  _swigc__p_csRefTiEventHandlerRegistry_t,
  _swigc__p_csRefTiEventHandler_t,
  _swigc__p_csRefTiEventNameRegistry_t,
  _swigc__p_csRefTiEvent_t,
  _swigc__p_csRefTiGeneralFactoryState_t,
  _swigc__p_csRefTiImage_t,
  _swigc__p_csRefTiRenderBuffer_t,
  _swigc__p_csRefTiRigidBody_t,
  _swigc__p_csRefTiScriptObject_t,
  _swigc__p_csRefTiString_t,
  _swigc__p_csRenderBufferHolder,
  _swigc__p_csRenderBufferName,
  _swigc__p_csRenderMesh,
  _swigc__p_csRenderMeshList,
  _swigc__p_csRenderMeshModes,
  _swigc__p_csReporterHelper,
  _swigc__p_csReversibleTransform,
  _swigc__p_csScreenBoxResult,
  _swigc__p_csSectorHitBeamResult,
  _swigc__p_csSegment2,
  _swigc__p_csSegment3,
  _swigc__p_csSetTcsPtrKeyTiMeshWrapper_t_CS__Memory__AllocatorMalloc_t,
  _swigc__p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t,
  _swigc__p_csShaderMetadata,
  _swigc__p_csShaderTagPresence,
  _swigc__p_csShaderVariable,
  _swigc__p_csSimplePixmap,
  _swigc__p_csSimpleRenderMesh,
  _swigc__p_csSndSysRendererSoftware,
  _swigc__p_csSndSysSoundFormat,
  _swigc__p_csSourceParameters3D,
  _swigc__p_csSphere,
  _swigc__p_csSpline,
  _swigc__p_csSprite2DVertex,
  _swigc__p_csSpriteCal3DActiveAnim,
  _swigc__p_csSquaredDist,
  _swigc__p_csStrKey,
  _swigc__p_csString,
  _swigc__p_csStringArray,
  _swigc__p_csStringBase,
  _swigc__p_csStringFastT36_t,
  _swigc__p_csStringSet,
  _swigc__p_csTinyDocumentSystem,
  _swigc__p_csTraceBeamResult,
  _swigc__p_csTransform,
  _swigc__p_csTriangle,
  _swigc__p_csVector2,
  _swigc__p_csVector3,
  _swigc__p_csVector3Array,
  _swigc__p_csVector4,
  _swigc__p_csVertexAttrib,
  _swigc__p_csVertexStatus,
  _swigc__p_csView,
  _swigc__p_csWrapPtr,
  _swigc__p_csXRotMatrix3,
  _swigc__p_csXScaleMatrix3,
  _swigc__p_csYRotMatrix3,
  _swigc__p_csYScaleMatrix3,
  _swigc__p_csZRotMatrix3,
  _swigc__p_csZScaleMatrix3,
  _swigc__p_double,
  _swigc__p_f_p_iBase__p__csPyEventHandler,
  _swigc__p_f_p_iBase__p_csPath,
  _swigc__p_f_p_iBase__p_iAnimTimeUpdateHandler,
  _swigc__p_f_p_iBase__p_iArrayChangeAllTcsShaderVariable_p_t,
  _swigc__p_f_p_iBase__p_iArrayChangeAllTcsSprite2DVertex_t,
  _swigc__p_f_p_iBase__p_iArrayChangeElementsTcsShaderVariable_p_t,
  _swigc__p_f_p_iBase__p_iArrayChangeElementsTcsSprite2DVertex_t,
  _swigc__p_f_p_iBase__p_iArrayReadOnlyTcsShaderVariable_p_t,
  _swigc__p_f_p_iBase__p_iArrayReadOnlyTcsSprite2DVertex_t,
  _swigc__p_f_p_iBase__p_iArrayReadOnlyTiSceneNode_p_t,
  _swigc__p_f_p_iBase__p_iAws,
  _swigc__p_f_p_iBase__p_iAwsComponent,
  _swigc__p_f_p_iBase__p_iAwsComponentFactory,
  _swigc__p_f_p_iBase__p_iAwsComponentNode,
  _swigc__p_f_p_iBase__p_iAwsConnectionKey,
  _swigc__p_f_p_iBase__p_iAwsConnectionNodeFactory,
  _swigc__p_f_p_iBase__p_iAwsFloatKey,
  _swigc__p_f_p_iBase__p_iAwsIntKey,
  _swigc__p_f_p_iBase__p_iAwsKey,
  _swigc__p_f_p_iBase__p_iAwsKeyContainer,
  _swigc__p_f_p_iBase__p_iAwsKeyFactory,
  _swigc__p_f_p_iBase__p_iAwsLayoutManager,
  _swigc__p_f_p_iBase__p_iAwsPointKey,
  _swigc__p_f_p_iBase__p_iAwsPrefManager,
  _swigc__p_f_p_iBase__p_iAwsRGBKey,
  _swigc__p_f_p_iBase__p_iAwsRectKey,
  _swigc__p_f_p_iBase__p_iAwsSink,
  _swigc__p_f_p_iBase__p_iAwsSinkManager,
  _swigc__p_f_p_iBase__p_iAwsSlot,
  _swigc__p_f_p_iBase__p_iAwsSource,
  _swigc__p_f_p_iBase__p_iAwsStringKey,
  _swigc__p_f_p_iBase__p_iBase,
  _swigc__p_f_p_iBase__p_iBinaryLoaderPlugin,
  _swigc__p_f_p_iBase__p_iBodyGroup,
  _swigc__p_f_p_iBase__p_iCacheManager,
  _swigc__p_f_p_iBase__p_iCamera,
  _swigc__p_f_p_iBase__p_iCameraPosition,
  _swigc__p_f_p_iBase__p_iCameraPositionList,
  _swigc__p_f_p_iBase__p_iCameraSectorListener,
  _swigc__p_f_p_iBase__p_iClipper2D,
  _swigc__p_f_p_iBase__p_iCollideSystem,
  _swigc__p_f_p_iBase__p_iCollider,
  _swigc__p_f_p_iBase__p_iColoredVertices,
  _swigc__p_f_p_iBase__p_iCommandLineParser,
  _swigc__p_f_p_iBase__p_iComponent,
  _swigc__p_f_p_iBase__p_iConfigFile,
  _swigc__p_f_p_iBase__p_iConfigIterator,
  _swigc__p_f_p_iBase__p_iConfigManager,
  _swigc__p_f_p_iBase__p_iConsoleOutput,
  _swigc__p_f_p_iBase__p_iConsoleWatcher,
  _swigc__p_f_p_iBase__p_iDataBuffer,
  _swigc__p_f_p_iBase__p_iDebugHelper,
  _swigc__p_f_p_iBase__p_iDocument,
  _swigc__p_f_p_iBase__p_iDocumentAttribute,
  _swigc__p_f_p_iBase__p_iDocumentAttributeIterator,
  _swigc__p_f_p_iBase__p_iDocumentNode,
  _swigc__p_f_p_iBase__p_iDocumentNodeIterator,
  _swigc__p_f_p_iBase__p_iDocumentSystem,
  _swigc__p_f_p_iBase__p_iDynamicSystem,
  _swigc__p_f_p_iBase__p_iDynamics,
  _swigc__p_f_p_iBase__p_iDynamicsColliderCollisionCallback,
  _swigc__p_f_p_iBase__p_iDynamicsCollisionCallback,
  _swigc__p_f_p_iBase__p_iDynamicsMoveCallback,
  _swigc__p_f_p_iBase__p_iDynamicsSystemCollider,
  _swigc__p_f_p_iBase__p_iEngine,
  _swigc__p_f_p_iBase__p_iEngineFrameCallback,
  _swigc__p_f_p_iBase__p_iEngineSectorCallback,
  _swigc__p_f_p_iBase__p_iEngineSequenceManager,
  _swigc__p_f_p_iBase__p_iEngineSequenceParameters,
  _swigc__p_f_p_iBase__p_iEvent,
  _swigc__p_f_p_iBase__p_iEventAttributeIterator,
  _swigc__p_f_p_iBase__p_iEventCord,
  _swigc__p_f_p_iBase__p_iEventHandler,
  _swigc__p_f_p_iBase__p_iEventNameRegistry,
  _swigc__p_f_p_iBase__p_iEventOutlet,
  _swigc__p_f_p_iBase__p_iEventPlug,
  _swigc__p_f_p_iBase__p_iEventQueue,
  _swigc__p_f_p_iBase__p_iFactory,
  _swigc__p_f_p_iBase__p_iFile,
  _swigc__p_f_p_iBase__p_iFont,
  _swigc__p_f_p_iBase__p_iFontDeleteNotify,
  _swigc__p_f_p_iBase__p_iFontServer,
  _swigc__p_f_p_iBase__p_iFrustumView,
  _swigc__p_f_p_iBase__p_iFrustumViewUserdata,
  _swigc__p_f_p_iBase__p_iGenMeshAnimationControl,
  _swigc__p_f_p_iBase__p_iGenMeshAnimationControlFactory,
  _swigc__p_f_p_iBase__p_iGenMeshAnimationControlType,
  _swigc__p_f_p_iBase__p_iGenMeshSkeletonControlState,
  _swigc__p_f_p_iBase__p_iGeneralFactoryState,
  _swigc__p_f_p_iBase__p_iGeneralMeshCommonState,
  _swigc__p_f_p_iBase__p_iGeneralMeshState,
  _swigc__p_f_p_iBase__p_iGeneralMeshSubMesh,
  _swigc__p_f_p_iBase__p_iGraphics2D,
  _swigc__p_f_p_iBase__p_iGraphics3D,
  _swigc__p_f_p_iBase__p_iHalo,
  _swigc__p_f_p_iBase__p_iImage,
  _swigc__p_f_p_iBase__p_iImageIO,
  _swigc__p_f_p_iBase__p_iJoint,
  _swigc__p_f_p_iBase__p_iJoystickDriver,
  _swigc__p_f_p_iBase__p_iKeyComposer,
  _swigc__p_f_p_iBase__p_iKeyboardDriver,
  _swigc__p_f_p_iBase__p_iLight,
  _swigc__p_f_p_iBase__p_iLightCallback,
  _swigc__p_f_p_iBase__p_iLightIterator,
  _swigc__p_f_p_iBase__p_iLightList,
  _swigc__p_f_p_iBase__p_iLightVisibleCallback,
  _swigc__p_f_p_iBase__p_iLightingProcessData,
  _swigc__p_f_p_iBase__p_iLightingProcessInfo,
  _swigc__p_f_p_iBase__p_iLoader,
  _swigc__p_f_p_iBase__p_iLoaderPlugin,
  _swigc__p_f_p_iBase__p_iLoaderStatus,
  _swigc__p_f_p_iBase__p_iMapNode,
  _swigc__p_f_p_iBase__p_iMaterial,
  _swigc__p_f_p_iBase__p_iMaterialEngine,
  _swigc__p_f_p_iBase__p_iMaterialList,
  _swigc__p_f_p_iBase__p_iMaterialWrapper,
  _swigc__p_f_p_iBase__p_iMeshDrawCallback,
  _swigc__p_f_p_iBase__p_iMeshFactoryList,
  _swigc__p_f_p_iBase__p_iMeshFactoryWrapper,
  _swigc__p_f_p_iBase__p_iMeshList,
  _swigc__p_f_p_iBase__p_iMeshObject,
  _swigc__p_f_p_iBase__p_iMeshObjectDrawCallback,
  _swigc__p_f_p_iBase__p_iMeshObjectFactory,
  _swigc__p_f_p_iBase__p_iMeshObjectType,
  _swigc__p_f_p_iBase__p_iMeshWrapper,
  _swigc__p_f_p_iBase__p_iMeshWrapperIterator,
  _swigc__p_f_p_iBase__p_iMissingLoaderData,
  _swigc__p_f_p_iBase__p_iMouseDriver,
  _swigc__p_f_p_iBase__p_iMovable,
  _swigc__p_f_p_iBase__p_iMovableListener,
  _swigc__p_f_p_iBase__p_iMovieRecorder,
  _swigc__p_f_p_iBase__p_iNativeWindow,
  _swigc__p_f_p_iBase__p_iNativeWindowManager,
  _swigc__p_f_p_iBase__p_iODEAMotorJoint,
  _swigc__p_f_p_iBase__p_iODEBallJoint,
  _swigc__p_f_p_iBase__p_iODEDynamicState,
  _swigc__p_f_p_iBase__p_iODEDynamicSystemState,
  _swigc__p_f_p_iBase__p_iODEFrameUpdateCallback,
  _swigc__p_f_p_iBase__p_iODEGeneralJointState,
  _swigc__p_f_p_iBase__p_iODEHinge2Joint,
  _swigc__p_f_p_iBase__p_iODEHingeJoint,
  _swigc__p_f_p_iBase__p_iODEJointState,
  _swigc__p_f_p_iBase__p_iODESliderJoint,
  _swigc__p_f_p_iBase__p_iODEUniversalJoint,
  _swigc__p_f_p_iBase__p_iObject,
  _swigc__p_f_p_iBase__p_iObjectIterator,
  _swigc__p_f_p_iBase__p_iObjectModel,
  _swigc__p_f_p_iBase__p_iObjectModelListener,
  _swigc__p_f_p_iBase__p_iObjectNameChangeListener,
  _swigc__p_f_p_iBase__p_iObjectRegistry,
  _swigc__p_f_p_iBase__p_iObjectRegistryIterator,
  _swigc__p_f_p_iBase__p_iOffscreenCanvasCallback,
  _swigc__p_f_p_iBase__p_iParameterESM,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEffectorFactory,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEffectorForce,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEffectorLinColor,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEffectorVelocityField,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterBase,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterBox,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterCone,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterCylinder,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterFactory,
  _swigc__p_f_p_iBase__p_iParticleBuiltinEmitterSphere,
  _swigc__p_f_p_iBase__p_iParticleEffector,
  _swigc__p_f_p_iBase__p_iParticleEmitter,
  _swigc__p_f_p_iBase__p_iParticleSystem,
  _swigc__p_f_p_iBase__p_iParticleSystemBase,
  _swigc__p_f_p_iBase__p_iParticleSystemFactory,
  _swigc__p_f_p_iBase__p_iPath,
  _swigc__p_f_p_iBase__p_iPluginIterator,
  _swigc__p_f_p_iBase__p_iPluginManager,
  _swigc__p_f_p_iBase__p_iPolygonHandle,
  _swigc__p_f_p_iBase__p_iPolygonMesh,
  _swigc__p_f_p_iBase__p_iPortal,
  _swigc__p_f_p_iBase__p_iPortalCallback,
  _swigc__p_f_p_iBase__p_iPortalContainer,
  _swigc__p_f_p_iBase__p_iRegion,
  _swigc__p_f_p_iBase__p_iRegionList,
  _swigc__p_f_p_iBase__p_iRendererLightmap,
  _swigc__p_f_p_iBase__p_iReporter,
  _swigc__p_f_p_iBase__p_iReporterIterator,
  _swigc__p_f_p_iBase__p_iReporterListener,
  _swigc__p_f_p_iBase__p_iRigidBody,
  _swigc__p_f_p_iBase__p_iSCF,
  _swigc__p_f_p_iBase__p_iSaver,
  _swigc__p_f_p_iBase__p_iSceneNode,
  _swigc__p_f_p_iBase__p_iSceneNodeArray,
  _swigc__p_f_p_iBase__p_iScript,
  _swigc__p_f_p_iBase__p_iScriptObject,
  _swigc__p_f_p_iBase__p_iSector,
  _swigc__p_f_p_iBase__p_iSectorCallback,
  _swigc__p_f_p_iBase__p_iSectorIterator,
  _swigc__p_f_p_iBase__p_iSectorList,
  _swigc__p_f_p_iBase__p_iSectorMeshCallback,
  _swigc__p_f_p_iBase__p_iSequenceTimedOperation,
  _swigc__p_f_p_iBase__p_iSequenceTrigger,
  _swigc__p_f_p_iBase__p_iSequenceWrapper,
  _swigc__p_f_p_iBase__p_iShader,
  _swigc__p_f_p_iBase__p_iShaderCompiler,
  _swigc__p_f_p_iBase__p_iShaderManager,
  _swigc__p_f_p_iBase__p_iShaderPriorityList,
  _swigc__p_f_p_iBase__p_iShaderVarStack,
  _swigc__p_f_p_iBase__p_iShaderVariableAccessor,
  _swigc__p_f_p_iBase__p_iShaderVariableContext,
  _swigc__p_f_p_iBase__p_iSimpleFormerState,
  _swigc__p_f_p_iBase__p_iSkeleton,
  _swigc__p_f_p_iBase__p_iSkeletonBone,
  _swigc__p_f_p_iBase__p_iSkeletonBoneFactory,
  _swigc__p_f_p_iBase__p_iSkeletonBoneRagdollInfo,
  _swigc__p_f_p_iBase__p_iSkeletonBoneUpdateCallback,
  _swigc__p_f_p_iBase__p_iSkeletonFactory,
  _swigc__p_f_p_iBase__p_iSkeletonGraveyard,
  _swigc__p_f_p_iBase__p_iSkeletonScript,
  _swigc__p_f_p_iBase__p_iSkeletonScriptCallback,
  _swigc__p_f_p_iBase__p_iSkeletonScriptKeyFrame,
  _swigc__p_f_p_iBase__p_iSkeletonSocket,
  _swigc__p_f_p_iBase__p_iSkeletonSocketFactory,
  _swigc__p_f_p_iBase__p_iSkeletonUpdateCallback,
  _swigc__p_f_p_iBase__p_iSndSysData,
  _swigc__p_f_p_iBase__p_iSndSysListener,
  _swigc__p_f_p_iBase__p_iSndSysLoader,
  _swigc__p_f_p_iBase__p_iSndSysManager,
  _swigc__p_f_p_iBase__p_iSndSysRenderer,
  _swigc__p_f_p_iBase__p_iSndSysRendererCallback,
  _swigc__p_f_p_iBase__p_iSndSysRendererSoftware,
  _swigc__p_f_p_iBase__p_iSndSysSoftwareDriver,
  _swigc__p_f_p_iBase__p_iSndSysSoftwareFilter3D,
  _swigc__p_f_p_iBase__p_iSndSysSoftwareOutputFilter,
  _swigc__p_f_p_iBase__p_iSndSysSource,
  _swigc__p_f_p_iBase__p_iSndSysSourceSoftware,
  _swigc__p_f_p_iBase__p_iSndSysSourceSoftware3D,
  _swigc__p_f_p_iBase__p_iSndSysStream,
  _swigc__p_f_p_iBase__p_iSndSysStreamCallback,
  _swigc__p_f_p_iBase__p_iSndSysWrapper,
  _swigc__p_f_p_iBase__p_iSprite2DFactoryState,
  _swigc__p_f_p_iBase__p_iSprite2DState,
  _swigc__p_f_p_iBase__p_iSprite2DUVAnimation,
  _swigc__p_f_p_iBase__p_iSprite2DUVAnimationFrame,
  _swigc__p_f_p_iBase__p_iSprite3DFactoryState,
  _swigc__p_f_p_iBase__p_iSprite3DState,
  _swigc__p_f_p_iBase__p_iSpriteAction,
  _swigc__p_f_p_iBase__p_iSpriteCal3DFactoryState,
  _swigc__p_f_p_iBase__p_iSpriteCal3DSocket,
  _swigc__p_f_p_iBase__p_iSpriteCal3DState,
  _swigc__p_f_p_iBase__p_iSpriteFrame,
  _swigc__p_f_p_iBase__p_iSpriteSocket,
  _swigc__p_f_p_iBase__p_iStandardReporterListener,
  _swigc__p_f_p_iBase__p_iString,
  _swigc__p_f_p_iBase__p_iStringArray,
  _swigc__p_f_p_iBase__p_iStringSet,
  _swigc__p_f_p_iBase__p_iSuperLightmap,
  _swigc__p_f_p_iBase__p_iTerraFormer,
  _swigc__p_f_p_iBase__p_iTerraSampler,
  _swigc__p_f_p_iBase__p_iTerrainFactoryState,
  _swigc__p_f_p_iBase__p_iTerrainObjectState,
  _swigc__p_f_p_iBase__p_iTextureCallback,
  _swigc__p_f_p_iBase__p_iTextureHandle,
  _swigc__p_f_p_iBase__p_iTextureList,
  _swigc__p_f_p_iBase__p_iTextureManager,
  _swigc__p_f_p_iBase__p_iTextureWrapper,
  _swigc__p_f_p_iBase__p_iThingEnvironment,
  _swigc__p_f_p_iBase__p_iThingFactoryState,
  _swigc__p_f_p_iBase__p_iThingState,
  _swigc__p_f_p_iBase__p_iVFS,
  _swigc__p_f_p_iBase__p_iView,
  _swigc__p_f_p_iBase__p_iVirtualClock,
  _swigc__p_f_p_iBase__p_iVisibilityCuller,
  _swigc__p_f_p_iBase__p_iVisibilityCullerListener,
  _swigc__p_f_p_iBase__p_iVisibilityObject,
  _swigc__p_f_p_iBase__p_iVisibilityObjectIterator,
  _swigc__p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t,
  _swigc__p_f_p_iMeshWrapper_p_iFrustumView_bool__void,
  _swigc__p_f_unsigned_long_int_p_iAwsSource__void,
  _swigc__p_f_unsigned_long_p_void_p_iAwsSource__void,
  _swigc__p_float,
  _swigc__p_iAnimTimeUpdateHandler,
  _swigc__p_iArrayChangeAllTcsShaderVariable_p_t,
  _swigc__p_iArrayChangeAllTcsSprite2DVertex_t,
  _swigc__p_iArrayChangeElementsTcsShaderVariable_p_t,
  _swigc__p_iArrayChangeElementsTcsSprite2DVertex_t,
  _swigc__p_iArrayReadOnlyTcsShaderVariable_p_t,
  _swigc__p_iArrayReadOnlyTcsSprite2DVertex_t,
  _swigc__p_iArrayReadOnlyTiSceneNode_p_t,
  _swigc__p_iAws,
  _swigc__p_iAwsCanvas,
  _swigc__p_iAwsComponent,
  _swigc__p_iAwsComponentFactory,
  _swigc__p_iAwsComponentNode,
  _swigc__p_iAwsConnectionKey,
  _swigc__p_iAwsConnectionNodeFactory,
  _swigc__p_iAwsFloatKey,
  _swigc__p_iAwsIntKey,
  _swigc__p_iAwsKey,
  _swigc__p_iAwsKeyContainer,
  _swigc__p_iAwsKeyFactory,
  _swigc__p_iAwsLayoutManager,
  _swigc__p_iAwsParmList,
  _swigc__p_iAwsPointKey,
  _swigc__p_iAwsPrefManager,
  _swigc__p_iAwsRGBKey,
  _swigc__p_iAwsRGBKey__RGB,
  _swigc__p_iAwsRectKey,
  _swigc__p_iAwsSink,
  _swigc__p_iAwsSinkManager,
  _swigc__p_iAwsSlot,
  _swigc__p_iAwsSource,
  _swigc__p_iAwsStringKey,
  _swigc__p_iBase,
  _swigc__p_iBaseHalo,
  _swigc__p_iBinaryLoaderPlugin,
  _swigc__p_iBodyGroup,
  _swigc__p_iCacheManager,
  _swigc__p_iCamera,
  _swigc__p_iCameraPosition,
  _swigc__p_iCameraPositionList,
  _swigc__p_iCameraSectorListener,
  _swigc__p_iClipper2D,
  _swigc__p_iCollection,
  _swigc__p_iCollectionList,
  _swigc__p_iCollideSystem,
  _swigc__p_iCollider,
  _swigc__p_iColoredVertices,
  _swigc__p_iCommandLineParser,
  _swigc__p_iComponent,
  _swigc__p_iConfigFile,
  _swigc__p_iConfigIterator,
  _swigc__p_iConfigManager,
  _swigc__p_iConsoleOutput,
  _swigc__p_iConsoleWatcher,
  _swigc__p_iCrossHalo,
  _swigc__p_iDataBuffer,
  _swigc__p_iDebugHelper,
  _swigc__p_iDocument,
  _swigc__p_iDocumentAttribute,
  _swigc__p_iDocumentAttributeIterator,
  _swigc__p_iDocumentNode,
  _swigc__p_iDocumentNodeIterator,
  _swigc__p_iDocumentSystem,
  _swigc__p_iDynamicSystem,
  _swigc__p_iDynamics,
  _swigc__p_iDynamicsColliderCollisionCallback,
  _swigc__p_iDynamicsCollisionCallback,
  _swigc__p_iDynamicsMoveCallback,
  _swigc__p_iDynamicsSystemCollider,
  _swigc__p_iEngine,
  _swigc__p_iEngineFrameCallback,
  _swigc__p_iEngineSectorCallback,
  _swigc__p_iEngineSequenceManager,
  _swigc__p_iEngineSequenceParameters,
  _swigc__p_iEvent,
  _swigc__p_iEventAttributeIterator,
  _swigc__p_iEventCord,
  _swigc__p_iEventHandler,
  _swigc__p_iEventNameRegistry,
  _swigc__p_iEventOutlet,
  _swigc__p_iEventPlug,
  _swigc__p_iEventQueue,
  _swigc__p_iFactory,
  _swigc__p_iFile,
  _swigc__p_iFlareHalo,
  _swigc__p_iFont,
  _swigc__p_iFontDeleteNotify,
  _swigc__p_iFontServer,
  _swigc__p_iFrustumView,
  _swigc__p_iFrustumViewUserdata,
  _swigc__p_iGenMeshAnimationControl,
  _swigc__p_iGenMeshAnimationControlFactory,
  _swigc__p_iGenMeshAnimationControlType,
  _swigc__p_iGenMeshSkeletonControlState,
  _swigc__p_iGeneralFactoryState,
  _swigc__p_iGeneralMeshCommonState,
  _swigc__p_iGeneralMeshState,
  _swigc__p_iGeneralMeshSubMesh,
  _swigc__p_iGraphics2D,
  _swigc__p_iGraphics3D,
  _swigc__p_iHalo,
  _swigc__p_iImage,
  _swigc__p_iImageIO,
  _swigc__p_iJoint,
  _swigc__p_iJoystickDriver,
  _swigc__p_iKeyComposer,
  _swigc__p_iKeyboardDriver,
  _swigc__p_iLODControl,
  _swigc__p_iLight,
  _swigc__p_iLightCallback,
  _swigc__p_iLightIterator,
  _swigc__p_iLightList,
  _swigc__p_iLightVisibleCallback,
  _swigc__p_iLightingInfo,
  _swigc__p_iLightingProcessData,
  _swigc__p_iLightingProcessInfo,
  _swigc__p_iLoader,
  _swigc__p_iLoaderContext,
  _swigc__p_iLoaderPlugin,
  _swigc__p_iLoaderStatus,
  _swigc__p_iMapNode,
  _swigc__p_iMaterial,
  _swigc__p_iMaterialEngine,
  _swigc__p_iMaterialList,
  _swigc__p_iMaterialWrapper,
  _swigc__p_iMeshDrawCallback,
  _swigc__p_iMeshFactoryList,
  _swigc__p_iMeshFactoryWrapper,
  _swigc__p_iMeshGenerator,
  _swigc__p_iMeshList,
  _swigc__p_iMeshObject,
  _swigc__p_iMeshObjectDrawCallback,
  _swigc__p_iMeshObjectFactory,
  _swigc__p_iMeshObjectType,
  _swigc__p_iMeshWrapper,
  _swigc__p_iMeshWrapperIterator,
  _swigc__p_iMissingLoaderData,
  _swigc__p_iMouseDriver,
  _swigc__p_iMovable,
  _swigc__p_iMovableListener,
  _swigc__p_iMovieRecorder,
  _swigc__p_iNativeWindow,
  _swigc__p_iNativeWindowManager,
  _swigc__p_iNovaHalo,
  _swigc__p_iODEAMotorJoint,
  _swigc__p_iODEBallJoint,
  _swigc__p_iODEDynamicState,
  _swigc__p_iODEDynamicSystemState,
  _swigc__p_iODEFrameUpdateCallback,
  _swigc__p_iODEGeneralJointState,
  _swigc__p_iODEHinge2Joint,
  _swigc__p_iODEHingeJoint,
  _swigc__p_iODEJointState,
  _swigc__p_iODESliderJoint,
  _swigc__p_iODEUniversalJoint,
  _swigc__p_iObject,
  _swigc__p_iObjectIterator,
  _swigc__p_iObjectModel,
  _swigc__p_iObjectModelListener,
  _swigc__p_iObjectNameChangeListener,
  _swigc__p_iObjectRegistry,
  _swigc__p_iObjectRegistryIterator,
  _swigc__p_iOffscreenCanvasCallback,
  _swigc__p_iParameterESM,
  _swigc__p_iParticleBuiltinEffectorFactory,
  _swigc__p_iParticleBuiltinEffectorForce,
  _swigc__p_iParticleBuiltinEffectorLinColor,
  _swigc__p_iParticleBuiltinEffectorVelocityField,
  _swigc__p_iParticleBuiltinEmitterBase,
  _swigc__p_iParticleBuiltinEmitterBox,
  _swigc__p_iParticleBuiltinEmitterCone,
  _swigc__p_iParticleBuiltinEmitterCylinder,
  _swigc__p_iParticleBuiltinEmitterFactory,
  _swigc__p_iParticleBuiltinEmitterSphere,
  _swigc__p_iParticleEffector,
  _swigc__p_iParticleEmitter,
  _swigc__p_iParticleSystem,
  _swigc__p_iParticleSystemBase,
  _swigc__p_iParticleSystemFactory,
  _swigc__p_iPath,
  _swigc__p_iPluginIterator,
  _swigc__p_iPluginManager,
  _swigc__p_iPolygonHandle,
  _swigc__p_iPolygonMesh,
  _swigc__p_iPortal,
  _swigc__p_iPortalCallback,
  _swigc__p_iPortalContainer,
  _swigc__p_iProgressMeter,
  _swigc__p_iRegion,
  _swigc__p_iRegionList,
  _swigc__p_iRenderBuffer,
  _swigc__p_iRenderLoop,
  _swigc__p_iRenderLoopManager,
  _swigc__p_iRenderView,
  _swigc__p_iRendererLightmap,
  _swigc__p_iReporter,
  _swigc__p_iReporterIterator,
  _swigc__p_iReporterListener,
  _swigc__p_iRigidBody,
  _swigc__p_iSCF,
  _swigc__p_iSaver,
  _swigc__p_iSceneNode,
  _swigc__p_iSceneNodeArray,
  _swigc__p_iScript,
  _swigc__p_iScriptObject,
  _swigc__p_iSector,
  _swigc__p_iSectorCallback,
  _swigc__p_iSectorIterator,
  _swigc__p_iSectorList,
  _swigc__p_iSectorMeshCallback,
  _swigc__p_iSequence,
  _swigc__p_iSequenceManager,
  _swigc__p_iSequenceTimedOperation,
  _swigc__p_iSequenceTrigger,
  _swigc__p_iSequenceWrapper,
  _swigc__p_iShader,
  _swigc__p_iShaderCompiler,
  _swigc__p_iShaderManager,
  _swigc__p_iShaderPriorityList,
  _swigc__p_iShaderVarStack,
  _swigc__p_iShaderVariableAccessor,
  _swigc__p_iShaderVariableContext,
  _swigc__p_iShadowBlockList,
  _swigc__p_iShadowCaster,
  _swigc__p_iShadowReceiver,
  _swigc__p_iSharedVariable,
  _swigc__p_iSharedVariableList,
  _swigc__p_iSimpleFormerState,
  _swigc__p_iSkeleton,
  _swigc__p_iSkeletonBone,
  _swigc__p_iSkeletonBoneFactory,
  _swigc__p_iSkeletonBoneRagdollInfo,
  _swigc__p_iSkeletonBoneUpdateCallback,
  _swigc__p_iSkeletonFactory,
  _swigc__p_iSkeletonGraveyard,
  _swigc__p_iSkeletonScript,
  _swigc__p_iSkeletonScriptCallback,
  _swigc__p_iSkeletonScriptKeyFrame,
  _swigc__p_iSkeletonSocket,
  _swigc__p_iSkeletonSocketFactory,
  _swigc__p_iSkeletonUpdateCallback,
  _swigc__p_iSndSysData,
  _swigc__p_iSndSysListener,
  _swigc__p_iSndSysLoader,
  _swigc__p_iSndSysManager,
  _swigc__p_iSndSysRenderer,
  _swigc__p_iSndSysRendererCallback,
  _swigc__p_iSndSysRendererSoftware,
  _swigc__p_iSndSysSoftwareDriver,
  _swigc__p_iSndSysSoftwareFilter3D,
  _swigc__p_iSndSysSoftwareFilter3DProperties,
  _swigc__p_iSndSysSoftwareOutputFilter,
  _swigc__p_iSndSysSource,
  _swigc__p_iSndSysSourceSoftware,
  _swigc__p_iSndSysSourceSoftware3D,
  _swigc__p_iSndSysStream,
  _swigc__p_iSndSysStreamCallback,
  _swigc__p_iSndSysWrapper,
  _swigc__p_iSprite2DFactoryState,
  _swigc__p_iSprite2DState,
  _swigc__p_iSprite2DUVAnimation,
  _swigc__p_iSprite2DUVAnimationFrame,
  _swigc__p_iSprite3DFactoryState,
  _swigc__p_iSprite3DState,
  _swigc__p_iSpriteAction,
  _swigc__p_iSpriteCal3DFactoryState,
  _swigc__p_iSpriteCal3DSocket,
  _swigc__p_iSpriteCal3DState,
  _swigc__p_iSpriteFrame,
  _swigc__p_iSpriteSocket,
  _swigc__p_iStandardReporterListener,
  _swigc__p_iStreamSource,
  _swigc__p_iString,
  _swigc__p_iStringArray,
  _swigc__p_iStringSet,
  _swigc__p_iSuperLightmap,
  _swigc__p_iTerraFormer,
  _swigc__p_iTerraSampler,
  _swigc__p_iTerrainFactoryState,
  _swigc__p_iTerrainObjectState,
  _swigc__p_iTextureCallback,
  _swigc__p_iTextureHandle,
  _swigc__p_iTextureList,
  _swigc__p_iTextureManager,
  _swigc__p_iTextureWrapper,
  _swigc__p_iThingEnvironment,
  _swigc__p_iThingFactoryState,
  _swigc__p_iThingState,
  _swigc__p_iVFS,
  _swigc__p_iVerbosityManager,
  _swigc__p_iView,
  _swigc__p_iVirtualClock,
  _swigc__p_iVisibilityCuller,
  _swigc__p_iVisibilityCullerListener,
  _swigc__p_iVisibilityObject,
  _swigc__p_iVisibilityObjectIterator,
  _swigc__p_int,
  _swigc__p_int16_t,
  _swigc__p_int32_t,
  _swigc__p_int64_t,
  _swigc__p_int8_t,
  _swigc__p_int_least64_t,
  _swigc__p_p__csPyEventHandler,
  _swigc__p_p_char,
  _swigc__p_p_csImageIOFileFormatDescription,
  _swigc__p_p_csOrthoTransform,
  _swigc__p_p_csPath,
  _swigc__p_p_csRenderMesh,
  _swigc__p_p_csReversibleTransform,
  _swigc__p_p_csShaderVariable,
  _swigc__p_p_csVector3,
  _swigc__p_p_iAnimTimeUpdateHandler,
  _swigc__p_p_iArrayChangeAllTcsShaderVariable_p_t,
  _swigc__p_p_iArrayChangeAllTcsSprite2DVertex_t,
  _swigc__p_p_iArrayChangeElementsTcsShaderVariable_p_t,
  _swigc__p_p_iArrayChangeElementsTcsSprite2DVertex_t,
  _swigc__p_p_iArrayReadOnlyTcsShaderVariable_p_t,
  _swigc__p_p_iArrayReadOnlyTcsSprite2DVertex_t,
  _swigc__p_p_iArrayReadOnlyTiSceneNode_p_t,
  _swigc__p_p_iAws,
  _swigc__p_p_iAwsComponent,
  _swigc__p_p_iAwsComponentFactory,
  _swigc__p_p_iAwsComponentNode,
  _swigc__p_p_iAwsConnectionKey,
  _swigc__p_p_iAwsConnectionNodeFactory,
  _swigc__p_p_iAwsFloatKey,
  _swigc__p_p_iAwsIntKey,
  _swigc__p_p_iAwsKey,
  _swigc__p_p_iAwsKeyContainer,
  _swigc__p_p_iAwsKeyFactory,
  _swigc__p_p_iAwsLayoutManager,
  _swigc__p_p_iAwsPointKey,
  _swigc__p_p_iAwsPrefManager,
  _swigc__p_p_iAwsRGBKey,
  _swigc__p_p_iAwsRectKey,
  _swigc__p_p_iAwsSink,
  _swigc__p_p_iAwsSinkManager,
  _swigc__p_p_iAwsSlot,
  _swigc__p_p_iAwsSource,
  _swigc__p_p_iAwsStringKey,
  _swigc__p_p_iBase,
  _swigc__p_p_iBinaryLoaderPlugin,
  _swigc__p_p_iBodyGroup,
  _swigc__p_p_iCacheManager,
  _swigc__p_p_iCamera,
  _swigc__p_p_iCameraPosition,
  _swigc__p_p_iCameraPositionList,
  _swigc__p_p_iCameraSectorListener,
  _swigc__p_p_iClipper2D,
  _swigc__p_p_iCollideSystem,
  _swigc__p_p_iCollider,
  _swigc__p_p_iColoredVertices,
  _swigc__p_p_iCommandLineParser,
  _swigc__p_p_iComponent,
  _swigc__p_p_iConfigFile,
  _swigc__p_p_iConfigIterator,
  _swigc__p_p_iConfigManager,
  _swigc__p_p_iConsoleOutput,
  _swigc__p_p_iConsoleWatcher,
  _swigc__p_p_iDataBuffer,
  _swigc__p_p_iDebugHelper,
  _swigc__p_p_iDocument,
  _swigc__p_p_iDocumentAttribute,
  _swigc__p_p_iDocumentAttributeIterator,
  _swigc__p_p_iDocumentNode,
  _swigc__p_p_iDocumentNodeIterator,
  _swigc__p_p_iDocumentSystem,
  _swigc__p_p_iDynamicSystem,
  _swigc__p_p_iDynamics,
  _swigc__p_p_iDynamicsColliderCollisionCallback,
  _swigc__p_p_iDynamicsCollisionCallback,
  _swigc__p_p_iDynamicsMoveCallback,
  _swigc__p_p_iDynamicsSystemCollider,
  _swigc__p_p_iEngine,
  _swigc__p_p_iEngineFrameCallback,
  _swigc__p_p_iEngineSectorCallback,
  _swigc__p_p_iEngineSequenceManager,
  _swigc__p_p_iEngineSequenceParameters,
  _swigc__p_p_iEvent,
  _swigc__p_p_iEventAttributeIterator,
  _swigc__p_p_iEventCord,
  _swigc__p_p_iEventHandler,
  _swigc__p_p_iEventNameRegistry,
  _swigc__p_p_iEventOutlet,
  _swigc__p_p_iEventPlug,
  _swigc__p_p_iEventQueue,
  _swigc__p_p_iFactory,
  _swigc__p_p_iFile,
  _swigc__p_p_iFont,
  _swigc__p_p_iFontDeleteNotify,
  _swigc__p_p_iFontServer,
  _swigc__p_p_iFrustumView,
  _swigc__p_p_iFrustumViewUserdata,
  _swigc__p_p_iGenMeshAnimationControl,
  _swigc__p_p_iGenMeshAnimationControlFactory,
  _swigc__p_p_iGenMeshAnimationControlType,
  _swigc__p_p_iGenMeshSkeletonControlState,
  _swigc__p_p_iGeneralFactoryState,
  _swigc__p_p_iGeneralMeshCommonState,
  _swigc__p_p_iGeneralMeshState,
  _swigc__p_p_iGeneralMeshSubMesh,
  _swigc__p_p_iGraphics2D,
  _swigc__p_p_iGraphics3D,
  _swigc__p_p_iHalo,
  _swigc__p_p_iImage,
  _swigc__p_p_iImageIO,
  _swigc__p_p_iJoint,
  _swigc__p_p_iJoystickDriver,
  _swigc__p_p_iKeyComposer,
  _swigc__p_p_iKeyboardDriver,
  _swigc__p_p_iLight,
  _swigc__p_p_iLightCallback,
  _swigc__p_p_iLightIterator,
  _swigc__p_p_iLightList,
  _swigc__p_p_iLightVisibleCallback,
  _swigc__p_p_iLightingProcessData,
  _swigc__p_p_iLightingProcessInfo,
  _swigc__p_p_iLoader,
  _swigc__p_p_iLoaderPlugin,
  _swigc__p_p_iLoaderStatus,
  _swigc__p_p_iMapNode,
  _swigc__p_p_iMaterial,
  _swigc__p_p_iMaterialEngine,
  _swigc__p_p_iMaterialList,
  _swigc__p_p_iMaterialWrapper,
  _swigc__p_p_iMeshDrawCallback,
  _swigc__p_p_iMeshFactoryList,
  _swigc__p_p_iMeshFactoryWrapper,
  _swigc__p_p_iMeshList,
  _swigc__p_p_iMeshObject,
  _swigc__p_p_iMeshObjectDrawCallback,
  _swigc__p_p_iMeshObjectFactory,
  _swigc__p_p_iMeshObjectType,
  _swigc__p_p_iMeshWrapper,
  _swigc__p_p_iMeshWrapperIterator,
  _swigc__p_p_iMissingLoaderData,
  _swigc__p_p_iMouseDriver,
  _swigc__p_p_iMovable,
  _swigc__p_p_iMovableListener,
  _swigc__p_p_iMovieRecorder,
  _swigc__p_p_iNativeWindow,
  _swigc__p_p_iNativeWindowManager,
  _swigc__p_p_iODEAMotorJoint,
  _swigc__p_p_iODEBallJoint,
  _swigc__p_p_iODEDynamicState,
  _swigc__p_p_iODEDynamicSystemState,
  _swigc__p_p_iODEFrameUpdateCallback,
  _swigc__p_p_iODEGeneralJointState,
  _swigc__p_p_iODEHinge2Joint,
  _swigc__p_p_iODEHingeJoint,
  _swigc__p_p_iODEJointState,
  _swigc__p_p_iODESliderJoint,
  _swigc__p_p_iODEUniversalJoint,
  _swigc__p_p_iObject,
  _swigc__p_p_iObjectIterator,
  _swigc__p_p_iObjectModel,
  _swigc__p_p_iObjectModelListener,
  _swigc__p_p_iObjectNameChangeListener,
  _swigc__p_p_iObjectRegistry,
  _swigc__p_p_iObjectRegistryIterator,
  _swigc__p_p_iOffscreenCanvasCallback,
  _swigc__p_p_iParameterESM,
  _swigc__p_p_iParticleBuiltinEffectorFactory,
  _swigc__p_p_iParticleBuiltinEffectorForce,
  _swigc__p_p_iParticleBuiltinEffectorLinColor,
  _swigc__p_p_iParticleBuiltinEffectorVelocityField,
  _swigc__p_p_iParticleBuiltinEmitterBase,
  _swigc__p_p_iParticleBuiltinEmitterBox,
  _swigc__p_p_iParticleBuiltinEmitterCone,
  _swigc__p_p_iParticleBuiltinEmitterCylinder,
  _swigc__p_p_iParticleBuiltinEmitterFactory,
  _swigc__p_p_iParticleBuiltinEmitterSphere,
  _swigc__p_p_iParticleEffector,
  _swigc__p_p_iParticleEmitter,
  _swigc__p_p_iParticleSystem,
  _swigc__p_p_iParticleSystemBase,
  _swigc__p_p_iParticleSystemFactory,
  _swigc__p_p_iPath,
  _swigc__p_p_iPluginIterator,
  _swigc__p_p_iPluginManager,
  _swigc__p_p_iPolygonHandle,
  _swigc__p_p_iPolygonMesh,
  _swigc__p_p_iPortal,
  _swigc__p_p_iPortalCallback,
  _swigc__p_p_iPortalContainer,
  _swigc__p_p_iRegion,
  _swigc__p_p_iRegionList,
  _swigc__p_p_iRenderBuffer,
  _swigc__p_p_iRendererLightmap,
  _swigc__p_p_iReporter,
  _swigc__p_p_iReporterIterator,
  _swigc__p_p_iReporterListener,
  _swigc__p_p_iRigidBody,
  _swigc__p_p_iSCF,
  _swigc__p_p_iSaver,
  _swigc__p_p_iSceneNode,
  _swigc__p_p_iSceneNodeArray,
  _swigc__p_p_iScript,
  _swigc__p_p_iScriptObject,
  _swigc__p_p_iSector,
  _swigc__p_p_iSectorCallback,
  _swigc__p_p_iSectorIterator,
  _swigc__p_p_iSectorList,
  _swigc__p_p_iSectorMeshCallback,
  _swigc__p_p_iSequenceTimedOperation,
  _swigc__p_p_iSequenceTrigger,
  _swigc__p_p_iSequenceWrapper,
  _swigc__p_p_iShader,
  _swigc__p_p_iShaderCompiler,
  _swigc__p_p_iShaderManager,
  _swigc__p_p_iShaderPriorityList,
  _swigc__p_p_iShaderVarStack,
  _swigc__p_p_iShaderVariableAccessor,
  _swigc__p_p_iShaderVariableContext,
  _swigc__p_p_iSimpleFormerState,
  _swigc__p_p_iSkeleton,
  _swigc__p_p_iSkeletonBone,
  _swigc__p_p_iSkeletonBoneFactory,
  _swigc__p_p_iSkeletonBoneRagdollInfo,
  _swigc__p_p_iSkeletonBoneUpdateCallback,
  _swigc__p_p_iSkeletonFactory,
  _swigc__p_p_iSkeletonGraveyard,
  _swigc__p_p_iSkeletonScript,
  _swigc__p_p_iSkeletonScriptCallback,
  _swigc__p_p_iSkeletonScriptKeyFrame,
  _swigc__p_p_iSkeletonSocket,
  _swigc__p_p_iSkeletonSocketFactory,
  _swigc__p_p_iSkeletonUpdateCallback,
  _swigc__p_p_iSndSysData,
  _swigc__p_p_iSndSysListener,
  _swigc__p_p_iSndSysLoader,
  _swigc__p_p_iSndSysManager,
  _swigc__p_p_iSndSysRenderer,
  _swigc__p_p_iSndSysRendererCallback,
  _swigc__p_p_iSndSysRendererSoftware,
  _swigc__p_p_iSndSysSoftwareDriver,
  _swigc__p_p_iSndSysSoftwareFilter3D,
  _swigc__p_p_iSndSysSoftwareOutputFilter,
  _swigc__p_p_iSndSysSource,
  _swigc__p_p_iSndSysSourceSoftware,
  _swigc__p_p_iSndSysSourceSoftware3D,
  _swigc__p_p_iSndSysStream,
  _swigc__p_p_iSndSysStreamCallback,
  _swigc__p_p_iSndSysWrapper,
  _swigc__p_p_iSprite2DFactoryState,
  _swigc__p_p_iSprite2DState,
  _swigc__p_p_iSprite2DUVAnimation,
  _swigc__p_p_iSprite2DUVAnimationFrame,
  _swigc__p_p_iSprite3DFactoryState,
  _swigc__p_p_iSprite3DState,
  _swigc__p_p_iSpriteAction,
  _swigc__p_p_iSpriteCal3DFactoryState,
  _swigc__p_p_iSpriteCal3DSocket,
  _swigc__p_p_iSpriteCal3DState,
  _swigc__p_p_iSpriteFrame,
  _swigc__p_p_iSpriteSocket,
  _swigc__p_p_iStandardReporterListener,
  _swigc__p_p_iString,
  _swigc__p_p_iStringArray,
  _swigc__p_p_iStringSet,
  _swigc__p_p_iSuperLightmap,
  _swigc__p_p_iTerraFormer,
  _swigc__p_p_iTerraSampler,
  _swigc__p_p_iTerrainFactoryState,
  _swigc__p_p_iTerrainObjectState,
  _swigc__p_p_iTextureCallback,
  _swigc__p_p_iTextureHandle,
  _swigc__p_p_iTextureList,
  _swigc__p_p_iTextureManager,
  _swigc__p_p_iTextureWrapper,
  _swigc__p_p_iThingEnvironment,
  _swigc__p_p_iThingFactoryState,
  _swigc__p_p_iThingState,
  _swigc__p_p_iVFS,
  _swigc__p_p_iView,
  _swigc__p_p_iVirtualClock,
  _swigc__p_p_iVisibilityCuller,
  _swigc__p_p_iVisibilityCullerListener,
  _swigc__p_p_iVisibilityObject,
  _swigc__p_p_iVisibilityObjectIterator,
  _swigc__p_p_scfImplementation1TcsPath_iPath_t,
  _swigc__p_p_void,
  _swigc__p_scfImplementation1TcsPath_iPath_t,
  _swigc__p_size_t,
  _swigc__p_uint16_t,
  _swigc__p_uint32_t,
  _swigc__p_uint64_t,
  _swigc__p_uint8_t,
  _swigc__p_uint_least64_t,
  _swigc__p_unsigned_char,
  _swigc__p_unsigned_int,
  _swigc__p_unsigned_long,
  _swigc__p_utf32_char,
  _swigc__p_void,
  _swigc__p_wchar_t,
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */

static swig_const_info swig_const_table[] = {
{0, 0, 0, 0.0, 0, 0}};

#ifdef __cplusplus
}
#endif
/* -----------------------------------------------------------------------------
 * Type initialization:
 * This problem is tough by the requirement that no dynamic 
 * memory is used. Also, since swig_type_info structures store pointers to 
 * swig_cast_info structures and swig_cast_info structures store pointers back
 * to swig_type_info structures, we need some lookup code at initialization. 
 * The idea is that swig generates all the structures that are needed. 
 * The runtime then collects these partially filled structures. 
 * The SWIG_InitializeModule function takes these initial arrays out of 
 * swig_module, and does all the lookup, filling in the swig_module.types
 * array with the correct data and linking the correct swig_cast_info
 * structures together.
 *
 * The generated swig_type_info structures are assigned staticly to an initial 
 * array. We just loop though that array, and handle each type individually.
 * First we lookup if this type has been already loaded, and if so, use the
 * loaded structure instead of the generated one. Then we have to fill in the
 * cast linked list. The cast data is initially stored in something like a
 * two-dimensional array. Each row corresponds to a type (there are the same
 * number of rows as there are in the swig_type_initial array). Each entry in
 * a column is one of the swig_cast_info structures for that type.
 * The cast_initial array is actually an array of arrays, because each row has
 * a variable number of columns. So to actually build the cast linked list,
 * we find the array of casts associated with the type, and loop through it 
 * adding the casts to the list. The one last trick we need to do is making
 * sure the type pointer in the swig_cast_info struct is correct.
 *
 * First off, we lookup the cast->type name to see if it is already loaded. 
 * There are three cases to handle:
 *  1) If the cast->type has already been loaded AND the type we are adding
 *     casting info to has not been loaded (it is in this module), THEN we
 *     replace the cast->type pointer with the type pointer that has already
 *     been loaded.
 *  2) If BOTH types (the one we are adding casting info to, and the 
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 *     the previous module so we just ignore it.
 *  3) Finally, if cast->type has not already been loaded, then we add that
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 *     be correct.
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#if 0
} /* c-mode */
#endif
#endif

#if 0
#define SWIGRUNTIME_DEBUG
#endif

SWIGRUNTIME void
SWIG_InitializeModule(void *clientdata) {
  size_t i;
  swig_module_info *module_head;
  static int init_run = 0;
  
  clientdata = clientdata;
  
  if (init_run) return;
  init_run = 1;
  
  /* Initialize the swig_module */
  swig_module.type_initial = swig_type_initial;
  swig_module.cast_initial = swig_cast_initial;
  
  /* Try and load any already created modules */
  module_head = SWIG_GetModule(clientdata);
  if (module_head) {
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  } else {
    /* This is the first module loaded */
    swig_module.next = &swig_module;
    SWIG_SetModule(clientdata, &swig_module);
  }
  
  /* Now work on filling in swig_module.types */
#ifdef SWIGRUNTIME_DEBUG
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
#endif
  for (i = 0; i < swig_module.size; ++i) {
    swig_type_info *type = 0;
    swig_type_info *ret;
    swig_cast_info *cast;
    
#ifdef SWIGRUNTIME_DEBUG
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
    
    /* if there is another module already loaded */
    if (swig_module.next != &swig_module) {
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
    }
    if (type) {
      /* Overwrite clientdata field */
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found type %s\n", type->name);
#endif
      if (swig_module.type_initial[i]->clientdata) {
        type->clientdata = swig_module.type_initial[i]->clientdata;
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
#endif
      }
    } else {
      type = swig_module.type_initial[i];
    }
    
    /* Insert casting types */
    cast = swig_module.cast_initial[i];
    while (cast->type) {
      /* Don't need to add information already in the list */
      ret = 0;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
#endif
      if (swig_module.next != &swig_module) {
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
#ifdef SWIGRUNTIME_DEBUG
        if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
#endif
      }
      if (ret) {
        if (type == swig_module.type_initial[i]) {
#ifdef SWIGRUNTIME_DEBUG
          printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
#endif
          cast->type = ret;
          ret = 0;
        } else {
          /* Check for casting already in the list */
          swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
#ifdef SWIGRUNTIME_DEBUG
          if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
#endif
          if (!ocast) ret = 0;
        }
      }
      
      if (!ret) {
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
#endif
        if (type->cast) {
          type->cast->prev = cast;
          cast->next = type->cast;
        }
        type->cast = cast;
      }
      cast++;
    }
    /* Set entry in modules->types array equal to the type */
    swig_module.types[i] = type;
  }
  swig_module.types[i] = 0;
  
#ifdef SWIGRUNTIME_DEBUG
  printf("**** SWIG_InitializeModule: Cast List ******\n");
  for (i = 0; i < swig_module.size; ++i) {
    int j = 0;
    swig_cast_info *cast = swig_module.cast_initial[i];
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
    while (cast->type) {
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
      cast++;
      ++j;
    }
    printf("---- Total casts: %d\n",j);
  }
  printf("**** SWIG_InitializeModule: Cast List ******\n");
#endif
}

/* This function will propagate the clientdata field of type to
* any new swig_type_info structures that have been added into the list
* of equivalent types.  It is like calling
* SWIG_TypeClientData(type, clientdata) a second time.
*/
SWIGRUNTIME void
SWIG_PropagateClientData(void) {
  size_t i;
  swig_cast_info *equiv;
  static int init_run = 0;
  
  if (init_run) return;
  init_run = 1;
  
  for (i = 0; i < swig_module.size; i++) {
    if (swig_module.types[i]->clientdata) {
      equiv = swig_module.types[i]->cast;
      while (equiv) {
        if (!equiv->converter) {
          if (equiv->type && !equiv->type->clientdata)
          SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
        }
        equiv = equiv->next;
      }
    }
  }
}

#ifdef __cplusplus
#if 0
{
  /* c-mode */
#endif
}
#endif



#ifdef __cplusplus
extern "C" {
#endif
  
  /* Python-specific SWIG API */
#define SWIG_newvarlink()                             SWIG_Python_newvarlink()
#define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
#define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants)
  
  /* -----------------------------------------------------------------------------
   * global variable support code.
   * ----------------------------------------------------------------------------- */
  
  typedef struct swig_globalvar {
    char       *name;                  /* Name of global variable */
    PyObject *(*get_attr)(void);       /* Return the current value */
    int       (*set_attr)(PyObject *); /* Set the value */
    struct swig_globalvar *next;
  } swig_globalvar;
  
  typedef struct swig_varlinkobject {
    PyObject_HEAD
    swig_globalvar *vars;
  } swig_varlinkobject;
  
  SWIGINTERN PyObject *
  swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
    return PyString_FromString("<Swig global variables>");
  }
  
  SWIGINTERN PyObject *
  swig_varlink_str(swig_varlinkobject *v) {
    PyObject *str = PyString_FromString("(");
    swig_globalvar  *var;
    for (var = v->vars; var; var=var->next) {
      PyString_ConcatAndDel(&str,PyString_FromString(var->name));
      if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
    }
    PyString_ConcatAndDel(&str,PyString_FromString(")"));
    return str;
  }
  
  SWIGINTERN int
  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
    PyObject *str = swig_varlink_str(v);
    fprintf(fp,"Swig global variables ");
    fprintf(fp,"%s\n", PyString_AsString(str));
    Py_DECREF(str);
    return 0;
  }
  
  SWIGINTERN void
  swig_varlink_dealloc(swig_varlinkobject *v) {
    swig_globalvar *var = v->vars;
    while (var) {
      swig_globalvar *n = var->next;
      free(var->name);
      free(var);
      var = n;
    }
  }
  
  SWIGINTERN PyObject *
  swig_varlink_getattr(swig_varlinkobject *v, char *n) {
    PyObject *res = NULL;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->get_attr)();
        break;
      }
      var = var->next;
    }
    if (res == NULL && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }
  
  SWIGINTERN int
  swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
    int res = 1;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->set_attr)(p);
        break;
      }
      var = var->next;
    }
    if (res == 1 && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }
  
  SWIGINTERN PyTypeObject*
  swig_varlink_type(void) {
    static char varlink__doc__[] = "Swig var link object";
    static PyTypeObject varlink_type;
    static int type_init = 0;  
    if (!type_init) {
      const PyTypeObject tmp
      = {
        PyObject_HEAD_INIT(NULL)
        0,                                  /* Number of items in variable part (ob_size) */
        (char *)"swigvarlink",              /* Type name (tp_name) */
        sizeof(swig_varlinkobject),         /* Basic size (tp_basicsize) */
        0,                                  /* Itemsize (tp_itemsize) */
        (destructor) swig_varlink_dealloc,   /* Deallocator (tp_dealloc) */ 
        (printfunc) swig_varlink_print,     /* Print (tp_print) */
        (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
        (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
        0,                                  /* tp_compare */
        (reprfunc) swig_varlink_repr,       /* tp_repr */
        0,                                  /* tp_as_number */
        0,                                  /* tp_as_sequence */
        0,                                  /* tp_as_mapping */
        0,                                  /* tp_hash */
        0,                                  /* tp_call */
        (reprfunc)swig_varlink_str,        /* tp_str */
        0,                                  /* tp_getattro */
        0,                                  /* tp_setattro */
        0,                                  /* tp_as_buffer */
        0,                                  /* tp_flags */
        varlink__doc__,                     /* tp_doc */
        0,                                  /* tp_traverse */
        0,                                  /* tp_clear */
        0,                                  /* tp_richcompare */
        0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
        0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
        0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
      varlink_type = tmp;
      varlink_type.ob_type = &PyType_Type;
      type_init = 1;
    }
    return &varlink_type;
  }
  
  /* Create a variable linking object for use later */
  SWIGINTERN PyObject *
  SWIG_Python_newvarlink(void) {
    swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
    if (result) {
      result->vars = 0;
    }
    return ((PyObject*) result);
  }
  
  SWIGINTERN void 
  SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
    swig_varlinkobject *v = (swig_varlinkobject *) p;
    swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
    if (gv) {
      size_t size = strlen(name)+1;
      gv->name = (char *)malloc(size);
      if (gv->name) {
        strncpy(gv->name,name,size);
        gv->get_attr = get_attr;
        gv->set_attr = set_attr;
        gv->next = v->vars;
      }
    }
    v->vars = gv;
  }
  
  SWIGINTERN PyObject *
  SWIG_globals() {
    static PyObject *_SWIG_globals = 0; 
    if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();  
    return _SWIG_globals;
  }
  
  /* -----------------------------------------------------------------------------
   * constants/methods manipulation
   * ----------------------------------------------------------------------------- */
  
  /* Install Constants */
  SWIGINTERN void
  SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
    PyObject *obj = 0;
    size_t i;
    for (i = 0; constants[i].type; ++i) {
      switch(constants[i].type) {
      case SWIG_PY_POINTER:
        obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
        break;
      case SWIG_PY_BINARY:
        obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
        break;
      default:
        obj = 0;
        break;
      }
      if (obj) {
        PyDict_SetItemString(d, constants[i].name, obj);
        Py_DECREF(obj);
      }
    }
  }
  
  /* -----------------------------------------------------------------------------*/
  /* Fix SwigMethods to carry the callback ptrs when needed */
  /* -----------------------------------------------------------------------------*/
  
  SWIGINTERN void
  SWIG_Python_FixMethods(PyMethodDef *methods,
    swig_const_info *const_table,
    swig_type_info **types,
    swig_type_info **types_initial) {
    size_t i;
    for (i = 0; methods[i].ml_name; ++i) {
      char *c = methods[i].ml_doc;
      if (c && (c = strstr(c, "swig_ptr: "))) {
        int j;
        swig_const_info *ci = 0;
        char *name = c + 10;
        for (j = 0; const_table[j].type; ++j) {
          if (strncmp(const_table[j].name, name, 
              strlen(const_table[j].name)) == 0) {
            ci = &(const_table[j]);
            break;
          }
        }
        if (ci) {
          size_t shift = (ci->ptype) - types;
          swig_type_info *ty = types_initial[shift];
          size_t ldoc = (c - methods[i].ml_doc);
          size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
          char *ndoc = (char*)malloc(ldoc + lptr + 10);
          if (ndoc) {
            char *buff = ndoc;
            void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
            if (ptr) {
              strncpy(buff, methods[i].ml_doc, ldoc);
              buff += ldoc;
              strncpy(buff, "swig_ptr: ", 10);
              buff += 10;
              SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
              methods[i].ml_doc = ndoc;
            }
          }
        }
      }
    }
  } 
  
#ifdef __cplusplus
}
#endif

/* -----------------------------------------------------------------------------*
 *  Partial Init method
 * -----------------------------------------------------------------------------*/

#ifdef __cplusplus
extern "C"
#endif
SWIGEXPORT void SWIG_init(void) {
  PyObject *m, *d;
  
  /* Fix SwigMethods to carry the callback ptrs when needed */
  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
  
  m = Py_InitModule((char *) SWIG_name, SwigMethods);
  d = PyModule_GetDict(m);
  
  SWIG_InitializeModule(0);
  SWIG_InstallConstants(d,swig_const_table);
  
  
  SWIG_Python_SetConstant(d, "CS_WCHAR_T_SIZE",SWIG_From_int(static_cast< int >(2)));
  PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
  SWIG_addvarlink(SWIG_globals(),(char*)"csArrayItemNotFound",csArrayItemNotFound_get, csArrayItemNotFound_set);
  SWIG_addvarlink(SWIG_globals(),(char*)"iSCF_SCF",iSCF_SCF_get, iSCF_SCF_set);
  SWIG_Python_SetConstant(d, "SCF_STATIC_CLASS_CONTEXT",SWIG_FromCharPtr("*static*"));
  SWIG_Python_SetConstant(d, "SCF_VERBOSE_NONE",SWIG_From_int(static_cast< int >(SCF_VERBOSE_NONE)));
  SWIG_Python_SetConstant(d, "SCF_VERBOSE_PLUGIN_SCAN",SWIG_From_int(static_cast< int >(SCF_VERBOSE_PLUGIN_SCAN)));
  SWIG_Python_SetConstant(d, "SCF_VERBOSE_PLUGIN_LOAD",SWIG_From_int(static_cast< int >(SCF_VERBOSE_PLUGIN_LOAD)));
  SWIG_Python_SetConstant(d, "SCF_VERBOSE_PLUGIN_REGISTER",SWIG_From_int(static_cast< int >(SCF_VERBOSE_PLUGIN_REGISTER)));
  SWIG_Python_SetConstant(d, "SCF_VERBOSE_CLASS_REGISTER",SWIG_From_int(static_cast< int >(SCF_VERBOSE_CLASS_REGISTER)));
  SWIG_Python_SetConstant(d, "SCF_VERBOSE_ALL",SWIG_From_int(static_cast< int >(SCF_VERBOSE_ALL)));
  SWIG_Python_SetConstant(d, "CS_DBGHELP_UNITTEST",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_DBGHELP_BENCHMARK",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_DBGHELP_TXTDUMP",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "CS_DBGHELP_GFXDUMP",SWIG_From_int(static_cast< int >(8)));
  SWIG_Python_SetConstant(d, "CS_DBGHELP_STATETEST",SWIG_From_int(static_cast< int >(16)));
  SWIG_Python_SetConstant(d, "CS_AXIS_NONE",SWIG_From_int(static_cast< int >(CS_AXIS_NONE)));
  SWIG_Python_SetConstant(d, "CS_AXIS_X",SWIG_From_int(static_cast< int >(CS_AXIS_X)));
  SWIG_Python_SetConstant(d, "CS_AXIS_Y",SWIG_From_int(static_cast< int >(CS_AXIS_Y)));
  SWIG_Python_SetConstant(d, "CS_AXIS_Z",SWIG_From_int(static_cast< int >(CS_AXIS_Z)));
  SWIG_Python_SetConstant(d, "CS_AXIS_W",SWIG_From_int(static_cast< int >(CS_AXIS_W)));
  SWIG_Python_SetConstant(d, "CS_POLY_IN",SWIG_From_int(static_cast< int >(CS_POLY_IN)));
  SWIG_Python_SetConstant(d, "CS_POLY_ON",SWIG_From_int(static_cast< int >(CS_POLY_ON)));
  SWIG_Python_SetConstant(d, "CS_POLY_OUT",SWIG_From_int(static_cast< int >(CS_POLY_OUT)));
  SWIG_Python_SetConstant(d, "CS_POL_SAME_PLANE",SWIG_From_int(static_cast< int >(CS_POL_SAME_PLANE)));
  SWIG_Python_SetConstant(d, "CS_POL_FRONT",SWIG_From_int(static_cast< int >(CS_POL_FRONT)));
  SWIG_Python_SetConstant(d, "CS_POL_BACK",SWIG_From_int(static_cast< int >(CS_POL_BACK)));
  SWIG_Python_SetConstant(d, "CS_POL_SPLIT_NEEDED",SWIG_From_int(static_cast< int >(CS_POL_SPLIT_NEEDED)));
  SWIG_Python_SetConstant(d, "CS_BOUNDINGBOX_MAXVALUE",SWIG_From_double(static_cast< double >(1000000000.)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_xy",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_xy)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_xY",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_xY)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_Xy",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_Xy)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_XY",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_XY)));
  SWIG_Python_SetConstant(d, "CS_BOX_CENTER2",SWIG_From_int(static_cast< int >(CS_BOX_CENTER2)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xy_Xy",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xy_Xy)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_Xy_xy",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_Xy_xy)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_Xy_XY",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_Xy_XY)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XY_Xy",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XY_Xy)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XY_xY",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XY_xY)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xY_XY",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xY_XY)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xY_xy",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xY_xy)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xy_xY",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xy_xY)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_xyz",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_xyz)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_xyZ",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_xyZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_xYz",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_xYz)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_xYZ",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_xYZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_Xyz",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_Xyz)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_XyZ",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_XyZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_XYz",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_XYz)));
  SWIG_Python_SetConstant(d, "CS_BOX_CORNER_XYZ",SWIG_From_int(static_cast< int >(CS_BOX_CORNER_XYZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_CENTER3",SWIG_From_int(static_cast< int >(CS_BOX_CENTER3)));
  SWIG_Python_SetConstant(d, "CS_BOX_SIDE_x",SWIG_From_int(static_cast< int >(CS_BOX_SIDE_x)));
  SWIG_Python_SetConstant(d, "CS_BOX_SIDE_X",SWIG_From_int(static_cast< int >(CS_BOX_SIDE_X)));
  SWIG_Python_SetConstant(d, "CS_BOX_SIDE_y",SWIG_From_int(static_cast< int >(CS_BOX_SIDE_y)));
  SWIG_Python_SetConstant(d, "CS_BOX_SIDE_Y",SWIG_From_int(static_cast< int >(CS_BOX_SIDE_Y)));
  SWIG_Python_SetConstant(d, "CS_BOX_SIDE_z",SWIG_From_int(static_cast< int >(CS_BOX_SIDE_z)));
  SWIG_Python_SetConstant(d, "CS_BOX_SIDE_Z",SWIG_From_int(static_cast< int >(CS_BOX_SIDE_Z)));
  SWIG_Python_SetConstant(d, "CS_BOX_INSIDE",SWIG_From_int(static_cast< int >(CS_BOX_INSIDE)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_Xyz_xyz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_Xyz_xyz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xyz_Xyz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xyz_Xyz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xyz_xYz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xyz_xYz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xYz_xyz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xYz_xyz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xYz_XYz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xYz_XYz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XYz_xYz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XYz_xYz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XYz_Xyz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XYz_Xyz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_Xyz_XYz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_Xyz_XYz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_Xyz_XyZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_Xyz_XyZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XyZ_Xyz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XyZ_Xyz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XyZ_XYZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XyZ_XYZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XYZ_XyZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XYZ_XyZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XYZ_XYz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XYZ_XYz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XYz_XYZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XYz_XYZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XYZ_xYZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XYZ_xYZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xYZ_XYZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xYZ_XYZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xYZ_xYz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xYZ_xYz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xYz_xYZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xYz_xYZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xYZ_xyZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xYZ_xyZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xyZ_xYZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xyZ_xYZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xyZ_xyz",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xyZ_xyz)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xyz_xyZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xyz_xyZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_xyZ_XyZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_xyZ_XyZ)));
  SWIG_Python_SetConstant(d, "CS_BOX_EDGE_XyZ_xyZ",SWIG_From_int(static_cast< int >(CS_BOX_EDGE_XyZ_xyZ)));
  SWIG_Python_SetConstant(d, "R_COEF",SWIG_From_int(static_cast< int >(173)));
  SWIG_Python_SetConstant(d, "G_COEF",SWIG_From_int(static_cast< int >(242)));
  SWIG_Python_SetConstant(d, "B_COEF",SWIG_From_int(static_cast< int >(107)));
  SWIG_Python_SetConstant(d, "R_COEF_SQ",SWIG_From_int(static_cast< int >(299)));
  SWIG_Python_SetConstant(d, "G_COEF_SQ",SWIG_From_int(static_cast< int >(587)));
  SWIG_Python_SetConstant(d, "B_COEF_SQ",SWIG_From_int(static_cast< int >(114)));
  SWIG_Python_SetConstant(d, "csShaderVariable_UNKNOWN",SWIG_From_int(static_cast< int >(csShaderVariable::UNKNOWN)));
  SWIG_Python_SetConstant(d, "csShaderVariable_INT",SWIG_From_int(static_cast< int >(csShaderVariable::INT)));
  SWIG_Python_SetConstant(d, "csShaderVariable_FLOAT",SWIG_From_int(static_cast< int >(csShaderVariable::FLOAT)));
  SWIG_Python_SetConstant(d, "csShaderVariable_TEXTURE",SWIG_From_int(static_cast< int >(csShaderVariable::TEXTURE)));
  SWIG_Python_SetConstant(d, "csShaderVariable_RENDERBUFFER",SWIG_From_int(static_cast< int >(csShaderVariable::RENDERBUFFER)));
  SWIG_Python_SetConstant(d, "csShaderVariable_VECTOR2",SWIG_From_int(static_cast< int >(csShaderVariable::VECTOR2)));
  SWIG_Python_SetConstant(d, "csShaderVariable_VECTOR3",SWIG_From_int(static_cast< int >(csShaderVariable::VECTOR3)));
  SWIG_Python_SetConstant(d, "csShaderVariable_VECTOR4",SWIG_From_int(static_cast< int >(csShaderVariable::VECTOR4)));
  SWIG_Python_SetConstant(d, "csShaderVariable_MATRIX",SWIG_From_int(static_cast< int >(csShaderVariable::MATRIX)));
  SWIG_Python_SetConstant(d, "csShaderVariable_TRANSFORM",SWIG_From_int(static_cast< int >(csShaderVariable::TRANSFORM)));
  SWIG_Python_SetConstant(d, "csShaderVariable_ARRAY",SWIG_From_int(static_cast< int >(csShaderVariable::ARRAY)));
  SWIG_Python_SetConstant(d, "csShaderVariable_COLOR",SWIG_From_int(static_cast< int >(csShaderVariable::COLOR)));
  SWIG_addvarlink(SWIG_globals(),(char*)"aws_debug",aws_debug_get, aws_debug_set);
  SWIG_addvarlink(SWIG_globals(),(char*)"AWSF_AlwaysEraseWindows",AWSF_AlwaysEraseWindows_get, AWSF_AlwaysEraseWindows_set);
  SWIG_addvarlink(SWIG_globals(),(char*)"AWSF_AlwaysRedrawWindows",AWSF_AlwaysRedrawWindows_get, AWSF_AlwaysRedrawWindows_set);
  SWIG_addvarlink(SWIG_globals(),(char*)"AWSF_RaiseOnMouseOver",AWSF_RaiseOnMouseOver_get, AWSF_RaiseOnMouseOver_set);
  SWIG_addvarlink(SWIG_globals(),(char*)"AWSF_KeyboardControl",AWSF_KeyboardControl_get, AWSF_KeyboardControl_set);
  SWIG_Python_SetConstant(d, "MAX_OUTPUT_VERTICES",SWIG_From_int(static_cast< int >(64)));
  SWIG_Python_SetConstant(d, "CS_CLIP_OUTSIDE",SWIG_From_int(static_cast< int >(CS_CLIP_OUTSIDE)));
  SWIG_Python_SetConstant(d, "CS_CLIP_CLIPPED",SWIG_From_int(static_cast< int >(CS_CLIP_CLIPPED)));
  SWIG_Python_SetConstant(d, "CS_CLIP_INSIDE",SWIG_From_int(static_cast< int >(CS_CLIP_INSIDE)));
  SWIG_Python_SetConstant(d, "CS_VERTEX_ORIGINAL",SWIG_From_int(static_cast< int >(CS_VERTEX_ORIGINAL)));
  SWIG_Python_SetConstant(d, "CS_VERTEX_ONEDGE",SWIG_From_int(static_cast< int >(CS_VERTEX_ONEDGE)));
  SWIG_Python_SetConstant(d, "CS_VERTEX_INSIDE",SWIG_From_int(static_cast< int >(CS_VERTEX_INSIDE)));
  SWIG_Python_SetConstant(d, "iClipper2D_clipperPoly",SWIG_From_int(static_cast< int >(iClipper2D::clipperPoly)));
  SWIG_Python_SetConstant(d, "iClipper2D_clipperBox",SWIG_From_int(static_cast< int >(iClipper2D::clipperBox)));
  SWIG_Python_SetConstant(d, "CS_POLYMESH_CLOSED",SWIG_From_int(static_cast< int >(CS_POLYMESH_CLOSED)));
  SWIG_Python_SetConstant(d, "CS_POLYMESH_NOTCLOSED",SWIG_From_int(static_cast< int >(CS_POLYMESH_NOTCLOSED)));
  SWIG_Python_SetConstant(d, "CS_POLYMESH_CONVEX",SWIG_From_int(static_cast< int >(CS_POLYMESH_CONVEX)));
  SWIG_Python_SetConstant(d, "CS_POLYMESH_NOTCONVEX",SWIG_From_int(static_cast< int >(CS_POLYMESH_NOTCONVEX)));
  SWIG_Python_SetConstant(d, "CS_POLYMESH_DEFORMABLE",SWIG_From_int(static_cast< int >(CS_POLYMESH_DEFORMABLE)));
  SWIG_Python_SetConstant(d, "CS_POLYMESH_TRIANGLEMESH",SWIG_From_int(static_cast< int >(CS_POLYMESH_TRIANGLEMESH)));
  SWIG_Python_SetConstant(d, "CS_LIGHT_ACTIVEHALO",SWIG_From_int(static_cast< int >(0x80000000)));
  SWIG_Python_SetConstant(d, "CS_LIGHT_DYNAMICTYPE_STATIC",SWIG_From_int(static_cast< int >(CS_LIGHT_DYNAMICTYPE_STATIC)));
  SWIG_Python_SetConstant(d, "CS_LIGHT_DYNAMICTYPE_PSEUDO",SWIG_From_int(static_cast< int >(CS_LIGHT_DYNAMICTYPE_PSEUDO)));
  SWIG_Python_SetConstant(d, "CS_LIGHT_DYNAMICTYPE_DYNAMIC",SWIG_From_int(static_cast< int >(CS_LIGHT_DYNAMICTYPE_DYNAMIC)));
  SWIG_Python_SetConstant(d, "CS_DEFAULT_LIGHT_LEVEL",SWIG_From_int(static_cast< int >(20)));
  SWIG_Python_SetConstant(d, "CS_NORMAL_LIGHT_LEVEL",SWIG_From_int(static_cast< int >(128)));
  SWIG_Python_SetConstant(d, "CS_ATTN_NONE",SWIG_From_int(static_cast< int >(CS_ATTN_NONE)));
  SWIG_Python_SetConstant(d, "CS_ATTN_LINEAR",SWIG_From_int(static_cast< int >(CS_ATTN_LINEAR)));
  SWIG_Python_SetConstant(d, "CS_ATTN_INVERSE",SWIG_From_int(static_cast< int >(CS_ATTN_INVERSE)));
  SWIG_Python_SetConstant(d, "CS_ATTN_REALISTIC",SWIG_From_int(static_cast< int >(CS_ATTN_REALISTIC)));
  SWIG_Python_SetConstant(d, "CS_ATTN_CLQ",SWIG_From_int(static_cast< int >(CS_ATTN_CLQ)));
  SWIG_Python_SetConstant(d, "CS_LIGHT_POINTLIGHT",SWIG_From_int(static_cast< int >(CS_LIGHT_POINTLIGHT)));
  SWIG_Python_SetConstant(d, "CS_LIGHT_DIRECTIONAL",SWIG_From_int(static_cast< int >(CS_LIGHT_DIRECTIONAL)));
  SWIG_Python_SetConstant(d, "CS_LIGHT_SPOTLIGHT",SWIG_From_int(static_cast< int >(CS_LIGHT_SPOTLIGHT)));
  SWIG_Python_SetConstant(d, "CS_FOG_MODE_NONE",SWIG_From_int(static_cast< int >(CS_FOG_MODE_NONE)));
  SWIG_Python_SetConstant(d, "CS_FOG_MODE_LINEAR",SWIG_From_int(static_cast< int >(CS_FOG_MODE_LINEAR)));
  SWIG_Python_SetConstant(d, "CS_FOG_MODE_EXP",SWIG_From_int(static_cast< int >(CS_FOG_MODE_EXP)));
  SWIG_Python_SetConstant(d, "CS_FOG_MODE_EXP2",SWIG_From_int(static_cast< int >(CS_FOG_MODE_EXP2)));
  SWIG_Python_SetConstant(d, "CS_FOG_MODE_CRYSTALSPACE",SWIG_From_int(static_cast< int >(CS_FOG_MODE_CRYSTALSPACE)));
  SWIG_Python_SetConstant(d, "CS_ENGINE_CACHE_READ",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_ENGINE_CACHE_WRITE",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_ENGINE_CACHE_NOUPDATE",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "CS_RENDPRI_SORT_NONE",SWIG_From_int(static_cast< int >(CS_RENDPRI_SORT_NONE)));
  SWIG_Python_SetConstant(d, "CS_RENDPRI_SORT_BACK2FRONT",SWIG_From_int(static_cast< int >(CS_RENDPRI_SORT_BACK2FRONT)));
  SWIG_Python_SetConstant(d, "CS_RENDPRI_SORT_FRONT2BACK",SWIG_From_int(static_cast< int >(CS_RENDPRI_SORT_FRONT2BACK)));
  SWIG_Python_SetConstant(d, "CS_ENTITY_DETAIL",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_ENTITY_CAMERA",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "CS_ENTITY_INVISIBLEMESH",SWIG_From_int(static_cast< int >(8)));
  SWIG_Python_SetConstant(d, "CS_ENTITY_NOSHADOWS",SWIG_From_int(static_cast< int >(16)));
  SWIG_Python_SetConstant(d, "CS_ENTITY_NOLIGHTING",SWIG_From_int(static_cast< int >(32)));
  SWIG_Python_SetConstant(d, "CS_ENTITY_NOHITBEAM",SWIG_From_int(static_cast< int >(64)));
  SWIG_Python_SetConstant(d, "CS_ENTITY_NOCLIP",SWIG_From_int(static_cast< int >(128)));
  SWIG_Python_SetConstant(d, "CS_LIGHTINGUPDATE_SORTRELEVANCE",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_LIGHTINGUPDATE_ALWAYSUPDATE",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_CULLER_HINT_GOODOCCLUDER",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "CS_CULLER_HINT_BADOCCLUDER",SWIG_From_int(static_cast< int >(8)));
  SWIG_Python_SetConstant(d, "CS_PORTAL_CLIPDEST",SWIG_From_int(static_cast< int >(0x00000001)));
  SWIG_Python_SetConstant(d, "CS_PORTAL_CLIPSTRADDLING",SWIG_From_int(static_cast< int >(0x00000002)));
  SWIG_Python_SetConstant(d, "CS_PORTAL_ZFILL",SWIG_From_int(static_cast< int >(0x00000004)));
  SWIG_Python_SetConstant(d, "CS_PORTAL_WARP",SWIG_From_int(static_cast< int >(0x00000008)));
  SWIG_Python_SetConstant(d, "CS_PORTAL_MIRROR",SWIG_From_int(static_cast< int >(0x00000010)));
  SWIG_Python_SetConstant(d, "CS_PORTAL_STATICDEST",SWIG_From_int(static_cast< int >(0x00000020)));
  SWIG_Python_SetConstant(d, "CS_PORTAL_FLOAT",SWIG_From_int(static_cast< int >(0x00000040)));
  SWIG_Python_SetConstant(d, "CS_PORTAL_COLLDET",SWIG_From_int(static_cast< int >(0x00000080)));
  SWIG_Python_SetConstant(d, "CS_PORTAL_VISCULL",SWIG_From_int(static_cast< int >(0x00000100)));
  SWIG_Python_SetConstant(d, "CS_BTT_NONE",SWIG_From_int(static_cast< int >(CS_BTT_NONE)));
  SWIG_Python_SetConstant(d, "CS_BTT_SCRIPT",SWIG_From_int(static_cast< int >(CS_BTT_SCRIPT)));
  SWIG_Python_SetConstant(d, "CS_BTT_RIGID_BODY",SWIG_From_int(static_cast< int >(CS_BTT_RIGID_BODY)));
  SWIG_Python_SetConstant(d, "CS_BGT_NONE",SWIG_From_int(static_cast< int >(CS_BGT_NONE)));
  SWIG_Python_SetConstant(d, "CS_BGT_BOX",SWIG_From_int(static_cast< int >(CS_BGT_BOX)));
  SWIG_Python_SetConstant(d, "CS_BGT_SPHERE",SWIG_From_int(static_cast< int >(CS_BGT_SPHERE)));
  SWIG_Python_SetConstant(d, "CS_BGT_CYLINDER",SWIG_From_int(static_cast< int >(CS_BGT_CYLINDER)));
  SWIG_Python_SetConstant(d, "CS_SPR_LIGHTING_HQ",SWIG_From_int(static_cast< int >(CS_SPR_LIGHTING_HQ)));
  SWIG_Python_SetConstant(d, "CS_SPR_LIGHTING_LQ",SWIG_From_int(static_cast< int >(CS_SPR_LIGHTING_LQ)));
  SWIG_Python_SetConstant(d, "CS_SPR_LIGHTING_FAST",SWIG_From_int(static_cast< int >(CS_SPR_LIGHTING_FAST)));
  SWIG_Python_SetConstant(d, "CS_SPR_LIGHTING_RANDOM",SWIG_From_int(static_cast< int >(CS_SPR_LIGHTING_RANDOM)));
  SWIG_Python_SetConstant(d, "CS_SPR_LIGHT_GLOBAL",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_SPR_LIGHT_TEMPLATE",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_SPR_LIGHT_LOCAL",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_SPR_LOD_GLOBAL",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_SPR_LOD_TEMPLATE",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_SPR_LOD_LOCAL",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "iSpriteCal3DState_C3D_ANIM_TYPE_NONE",SWIG_From_int(static_cast< int >(iSpriteCal3DState::C3D_ANIM_TYPE_NONE)));
  SWIG_Python_SetConstant(d, "iSpriteCal3DState_C3D_ANIM_TYPE_IDLE",SWIG_From_int(static_cast< int >(iSpriteCal3DState::C3D_ANIM_TYPE_IDLE)));
  SWIG_Python_SetConstant(d, "iSpriteCal3DState_C3D_ANIM_TYPE_TRAVEL",SWIG_From_int(static_cast< int >(iSpriteCal3DState::C3D_ANIM_TYPE_TRAVEL)));
  SWIG_Python_SetConstant(d, "iSpriteCal3DState_C3D_ANIM_TYPE_CYCLE",SWIG_From_int(static_cast< int >(iSpriteCal3DState::C3D_ANIM_TYPE_CYCLE)));
  SWIG_Python_SetConstant(d, "iSpriteCal3DState_C3D_ANIM_TYPE_STYLE_CYCLE",SWIG_From_int(static_cast< int >(iSpriteCal3DState::C3D_ANIM_TYPE_STYLE_CYCLE)));
  SWIG_Python_SetConstant(d, "iSpriteCal3DState_C3D_ANIM_TYPE_ACTION",SWIG_From_int(static_cast< int >(iSpriteCal3DState::C3D_ANIM_TYPE_ACTION)));
  SWIG_Python_SetConstant(d, "CS_MESH_STATICPOS",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_MESH_STATICSHAPE",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_FACTORY_STATICSHAPE",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_POLY_LIGHTING",SWIG_From_int(static_cast< int >(0x00000001)));
  SWIG_Python_SetConstant(d, "CS_POLY_COLLDET",SWIG_From_int(static_cast< int >(0x00000002)));
  SWIG_Python_SetConstant(d, "CS_POLY_VISCULL",SWIG_From_int(static_cast< int >(0x00000004)));
  SWIG_Python_SetConstant(d, "CS_POLYINDEX_LAST",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "CS_THING_NOCOMPRESS",SWIG_From_int(static_cast< int >(0x00010000)));
  SWIG_Python_SetConstant(d, "CS_THING_MOVE_NEVER",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_THING_MOVE_OCCASIONAL",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_SORT_NONE",SWIG_From_int(static_cast< int >(CS_PARTICLE_SORT_NONE)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_SORT_DISTANCE",SWIG_From_int(static_cast< int >(CS_PARTICLE_SORT_DISTANCE)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_SORT_DOT",SWIG_From_int(static_cast< int >(CS_PARTICLE_SORT_DOT)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_CAMERAFACE",SWIG_From_int(static_cast< int >(CS_PARTICLE_CAMERAFACE)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_CAMERAFACE_APPROX",SWIG_From_int(static_cast< int >(CS_PARTICLE_CAMERAFACE_APPROX)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_ORIENT_COMMON",SWIG_From_int(static_cast< int >(CS_PARTICLE_ORIENT_COMMON)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_ORIENT_COMMON_APPROX",SWIG_From_int(static_cast< int >(CS_PARTICLE_ORIENT_COMMON_APPROX)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_ORIENT_VELOCITY",SWIG_From_int(static_cast< int >(CS_PARTICLE_ORIENT_VELOCITY)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_ORIENT_SELF",SWIG_From_int(static_cast< int >(CS_PARTICLE_ORIENT_SELF)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_ORIENT_SELF_FORWARD",SWIG_From_int(static_cast< int >(CS_PARTICLE_ORIENT_SELF_FORWARD)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_ROTATE_NONE",SWIG_From_int(static_cast< int >(CS_PARTICLE_ROTATE_NONE)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_ROTATE_TEXCOORD",SWIG_From_int(static_cast< int >(CS_PARTICLE_ROTATE_TEXCOORD)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_ROTATE_VERTICES",SWIG_From_int(static_cast< int >(CS_PARTICLE_ROTATE_VERTICES)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_INTEGRATE_NONE",SWIG_From_int(static_cast< int >(CS_PARTICLE_INTEGRATE_NONE)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_INTEGRATE_LINEAR",SWIG_From_int(static_cast< int >(CS_PARTICLE_INTEGRATE_LINEAR)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_INTEGRATE_BOTH",SWIG_From_int(static_cast< int >(CS_PARTICLE_INTEGRATE_BOTH)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_LOCAL_MODE",SWIG_From_int(static_cast< int >(CS_PARTICLE_LOCAL_MODE)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_LOCAL_EMITTER",SWIG_From_int(static_cast< int >(CS_PARTICLE_LOCAL_EMITTER)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_WORLD_MODE",SWIG_From_int(static_cast< int >(CS_PARTICLE_WORLD_MODE)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_BUILTIN_CENTER",SWIG_From_int(static_cast< int >(CS_PARTICLE_BUILTIN_CENTER)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_BUILTIN_VOLUME",SWIG_From_int(static_cast< int >(CS_PARTICLE_BUILTIN_VOLUME)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_BUILTIN_SURFACE",SWIG_From_int(static_cast< int >(CS_PARTICLE_BUILTIN_SURFACE)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_BUILTIN_SPIRAL",SWIG_From_int(static_cast< int >(CS_PARTICLE_BUILTIN_SPIRAL)));
  SWIG_Python_SetConstant(d, "CS_PARTICLE_BUILTIN_RADIALPOINT",SWIG_From_int(static_cast< int >(CS_PARTICLE_BUILTIN_RADIALPOINT)));
  SWIG_Python_SetConstant(d, "CS_SNDSYS_DATA_UNKNOWN_SIZE",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "SS_FILTER_LOC_RENDEROUT",SWIG_From_int(static_cast< int >(SS_FILTER_LOC_RENDEROUT)));
  SWIG_Python_SetConstant(d, "SS_FILTER_LOC_SOURCEOUT",SWIG_From_int(static_cast< int >(SS_FILTER_LOC_SOURCEOUT)));
  SWIG_Python_SetConstant(d, "SS_FILTER_LOC_SOURCEIN",SWIG_From_int(static_cast< int >(SS_FILTER_LOC_SOURCEIN)));
  SWIG_Python_SetConstant(d, "CS_SNDSYS_SOURCE_DISTANCE_INFINITE",SWIG_From_double(static_cast< double >(-1.0f)));
  SWIG_Python_SetConstant(d, "CSSNDSYS_SAMPLE_LITTLE_ENDIAN",SWIG_From_int(static_cast< int >(0x00)));
  SWIG_Python_SetConstant(d, "CSSNDSYS_SAMPLE_BIG_ENDIAN",SWIG_From_int(static_cast< int >(0x01)));
  SWIG_Python_SetConstant(d, "CSSNDSYS_SAMPLE_ENDIAN_MASK",SWIG_From_int(static_cast< int >(0x01)));
  SWIG_addvarlink(SWIG_globals(),(char*)"CS_SNDSYS_STREAM_UNKNOWN_LENGTH",CS_SNDSYS_STREAM_UNKNOWN_LENGTH_get, CS_SNDSYS_STREAM_UNKNOWN_LENGTH_set);
  SWIG_Python_SetConstant(d, "CS_SNDSYS_STREAM_PAUSED",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_SNDSYS_STREAM_UNPAUSED",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_SNDSYS_STREAM_DONTLOOP",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_SNDSYS_STREAM_LOOP",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_SND3D_DISABLE",SWIG_From_int(static_cast< int >(CS_SND3D_DISABLE)));
  SWIG_Python_SetConstant(d, "CS_SND3D_RELATIVE",SWIG_From_int(static_cast< int >(CS_SND3D_RELATIVE)));
  SWIG_Python_SetConstant(d, "CS_SND3D_ABSOLUTE",SWIG_From_int(static_cast< int >(CS_SND3D_ABSOLUTE)));
  SWIG_Python_SetConstant(d, "CS_SNDSYS_SOURCE_STOPPED",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_SNDSYS_SOURCE_PLAYING",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "VFS_PATH_DIVIDER",SWIG_From_char(static_cast< char >(',')));
  SWIG_Python_SetConstant(d, "VFS_PATH_SEPARATOR",SWIG_From_char(static_cast< char >('/')));
  SWIG_Python_SetConstant(d, "VFS_MAX_PATH_LEN",SWIG_From_int(static_cast< int >(256)));
  SWIG_Python_SetConstant(d, "VFS_FILE_MODE",SWIG_From_int(static_cast< int >(0x0000000f)));
  SWIG_Python_SetConstant(d, "VFS_FILE_READ",SWIG_From_int(static_cast< int >(0x00000000)));
  SWIG_Python_SetConstant(d, "VFS_FILE_WRITE",SWIG_From_int(static_cast< int >(0x00000001)));
  SWIG_Python_SetConstant(d, "VFS_FILE_APPEND",SWIG_From_int(static_cast< int >(0x00000002)));
  SWIG_Python_SetConstant(d, "VFS_FILE_UNCOMPRESSED",SWIG_From_int(static_cast< int >(0x80000000)));
  SWIG_Python_SetConstant(d, "VFS_STATUS_OK",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "VFS_STATUS_OTHER",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "VFS_STATUS_NOSPACE",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "VFS_STATUS_RESOURCES",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "VFS_STATUS_ACCESSDENIED",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "VFS_STATUS_IOERROR",SWIG_From_int(static_cast< int >(5)));
  SWIG_addvarlink(SWIG_globals(),(char*)"csInvalidStringID",csInvalidStringID_get, csInvalidStringID_set);
  SWIG_Python_SetConstant(d, "CS_MAX_MOUSE_COUNT",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "CS_MAX_MOUSE_AXES",SWIG_From_int(static_cast< int >(8)));
  SWIG_Python_SetConstant(d, "CS_MAX_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(10)));
  SWIG_Python_SetConstant(d, "CS_MAX_JOYSTICK_COUNT",SWIG_From_int(static_cast< int >(16)));
  SWIG_Python_SetConstant(d, "CS_MAX_JOYSTICK_BUTTONS",SWIG_From_int(static_cast< int >(10)));
  SWIG_Python_SetConstant(d, "CS_MAX_JOYSTICK_AXES",SWIG_From_int(static_cast< int >(8)));
  SWIG_Python_SetConstant(d, "csEventErrNone",SWIG_From_int(static_cast< int >(csEventErrNone)));
  SWIG_Python_SetConstant(d, "csEventErrLossy",SWIG_From_int(static_cast< int >(csEventErrLossy)));
  SWIG_Python_SetConstant(d, "csEventErrNotFound",SWIG_From_int(static_cast< int >(csEventErrNotFound)));
  SWIG_Python_SetConstant(d, "csEventErrMismatchInt",SWIG_From_int(static_cast< int >(csEventErrMismatchInt)));
  SWIG_Python_SetConstant(d, "csEventErrMismatchUInt",SWIG_From_int(static_cast< int >(csEventErrMismatchUInt)));
  SWIG_Python_SetConstant(d, "csEventErrMismatchFloat",SWIG_From_int(static_cast< int >(csEventErrMismatchFloat)));
  SWIG_Python_SetConstant(d, "csEventErrMismatchBuffer",SWIG_From_int(static_cast< int >(csEventErrMismatchBuffer)));
  SWIG_Python_SetConstant(d, "csEventErrMismatchEvent",SWIG_From_int(static_cast< int >(csEventErrMismatchEvent)));
  SWIG_Python_SetConstant(d, "csEventErrMismatchIBase",SWIG_From_int(static_cast< int >(csEventErrMismatchIBase)));
  SWIG_Python_SetConstant(d, "csEventErrUhOhUnknown",SWIG_From_int(static_cast< int >(csEventErrUhOhUnknown)));
  SWIG_Python_SetConstant(d, "csEventAttrUnknown",SWIG_From_int(static_cast< int >(csEventAttrUnknown)));
  SWIG_Python_SetConstant(d, "csEventAttrInt",SWIG_From_int(static_cast< int >(csEventAttrInt)));
  SWIG_Python_SetConstant(d, "csEventAttrUInt",SWIG_From_int(static_cast< int >(csEventAttrUInt)));
  SWIG_Python_SetConstant(d, "csEventAttrFloat",SWIG_From_int(static_cast< int >(csEventAttrFloat)));
  SWIG_Python_SetConstant(d, "csEventAttrDatabuffer",SWIG_From_int(static_cast< int >(csEventAttrDatabuffer)));
  SWIG_Python_SetConstant(d, "csEventAttrEvent",SWIG_From_int(static_cast< int >(csEventAttrEvent)));
  SWIG_Python_SetConstant(d, "csEventAttriBase",SWIG_From_int(static_cast< int >(csEventAttriBase)));
  SWIG_Python_SetConstant(d, "csKeyEventTypeUp",SWIG_From_int(static_cast< int >(csKeyEventTypeUp)));
  SWIG_Python_SetConstant(d, "csKeyEventTypeDown",SWIG_From_int(static_cast< int >(csKeyEventTypeDown)));
  SWIG_Python_SetConstant(d, "csMouseEventTypeMove",SWIG_From_int(static_cast< int >(csMouseEventTypeMove)));
  SWIG_Python_SetConstant(d, "csMouseEventTypeUp",SWIG_From_int(static_cast< int >(csMouseEventTypeUp)));
  SWIG_Python_SetConstant(d, "csMouseEventTypeDown",SWIG_From_int(static_cast< int >(csMouseEventTypeDown)));
  SWIG_Python_SetConstant(d, "csMouseEventTypeClick",SWIG_From_int(static_cast< int >(csMouseEventTypeClick)));
  SWIG_Python_SetConstant(d, "csMouseEventTypeDoubleClick",SWIG_From_int(static_cast< int >(csMouseEventTypeDoubleClick)));
  SWIG_Python_SetConstant(d, "csmbNone",SWIG_From_int(static_cast< int >(csmbNone)));
  SWIG_Python_SetConstant(d, "csmbLeft",SWIG_From_int(static_cast< int >(csmbLeft)));
  SWIG_Python_SetConstant(d, "csmbRight",SWIG_From_int(static_cast< int >(csmbRight)));
  SWIG_Python_SetConstant(d, "csmbMiddle",SWIG_From_int(static_cast< int >(csmbMiddle)));
  SWIG_Python_SetConstant(d, "csmbWheelUp",SWIG_From_int(static_cast< int >(csmbWheelUp)));
  SWIG_Python_SetConstant(d, "csmbWheelDown",SWIG_From_int(static_cast< int >(csmbWheelDown)));
  SWIG_Python_SetConstant(d, "csmbExtra1",SWIG_From_int(static_cast< int >(csmbExtra1)));
  SWIG_Python_SetConstant(d, "csmbExtra2",SWIG_From_int(static_cast< int >(csmbExtra2)));
  SWIG_Python_SetConstant(d, "csKeyModifierTypeShift",SWIG_From_int(static_cast< int >(csKeyModifierTypeShift)));
  SWIG_Python_SetConstant(d, "csKeyModifierTypeCtrl",SWIG_From_int(static_cast< int >(csKeyModifierTypeCtrl)));
  SWIG_Python_SetConstant(d, "csKeyModifierTypeAlt",SWIG_From_int(static_cast< int >(csKeyModifierTypeAlt)));
  SWIG_Python_SetConstant(d, "csKeyModifierTypeCapsLock",SWIG_From_int(static_cast< int >(csKeyModifierTypeCapsLock)));
  SWIG_Python_SetConstant(d, "csKeyModifierTypeNumLock",SWIG_From_int(static_cast< int >(csKeyModifierTypeNumLock)));
  SWIG_Python_SetConstant(d, "csKeyModifierTypeScrollLock",SWIG_From_int(static_cast< int >(csKeyModifierTypeScrollLock)));
  SWIG_Python_SetConstant(d, "csKeyModifierTypeLast",SWIG_From_int(static_cast< int >(csKeyModifierTypeLast)));
  SWIG_Python_SetConstant(d, "csKeyModifierNumLeft",SWIG_From_int(static_cast< int >(csKeyModifierNumLeft)));
  SWIG_Python_SetConstant(d, "csKeyModifierNumRight",SWIG_From_int(static_cast< int >(csKeyModifierNumRight)));
  SWIG_Python_SetConstant(d, "csKeyModifierNumAny",SWIG_From_int(static_cast< int >(csKeyModifierNumAny)));
  SWIG_Python_SetConstant(d, "CSKEY_ESC",SWIG_From_int(static_cast< int >(27)));
  SWIG_Python_SetConstant(d, "CSKEY_ENTER",SWIG_From_char(static_cast< char >('\n')));
  SWIG_Python_SetConstant(d, "CSKEY_TAB",SWIG_From_char(static_cast< char >('\t')));
  SWIG_Python_SetConstant(d, "CSKEY_BACKSPACE",SWIG_From_char(static_cast< char >('\10')));
  SWIG_Python_SetConstant(d, "CSKEY_SPACE",SWIG_From_char(static_cast< char >(' ')));
  SWIG_Python_SetConstant(d, "CSKEY_SPECIAL_FIRST",SWIG_From_int(static_cast< int >(0x108000)));
  SWIG_Python_SetConstant(d, "CSKEY_SPECIAL_LAST",SWIG_From_int(static_cast< int >(0x10fffd)));
  SWIG_Python_SetConstant(d, "CSKEY_UP",SWIG_From_int(static_cast< int >((0x108000+(0x00)))));
  SWIG_Python_SetConstant(d, "CSKEY_DOWN",SWIG_From_int(static_cast< int >((0x108000+(0x01)))));
  SWIG_Python_SetConstant(d, "CSKEY_LEFT",SWIG_From_int(static_cast< int >((0x108000+(0x02)))));
  SWIG_Python_SetConstant(d, "CSKEY_RIGHT",SWIG_From_int(static_cast< int >((0x108000+(0x03)))));
  SWIG_Python_SetConstant(d, "CSKEY_PGUP",SWIG_From_int(static_cast< int >((0x108000+(0x04)))));
  SWIG_Python_SetConstant(d, "CSKEY_PGDN",SWIG_From_int(static_cast< int >((0x108000+(0x05)))));
  SWIG_Python_SetConstant(d, "CSKEY_HOME",SWIG_From_int(static_cast< int >((0x108000+(0x06)))));
  SWIG_Python_SetConstant(d, "CSKEY_END",SWIG_From_int(static_cast< int >((0x108000+(0x07)))));
  SWIG_Python_SetConstant(d, "CSKEY_INS",SWIG_From_int(static_cast< int >((0x108000+(0x08)))));
  SWIG_Python_SetConstant(d, "CSKEY_DEL",SWIG_From_int(static_cast< int >((0x108000+(0x09)))));
  SWIG_Python_SetConstant(d, "CSKEY_CONTEXT",SWIG_From_int(static_cast< int >((0x108000+(0x0a)))));
  SWIG_Python_SetConstant(d, "CSKEY_PRINTSCREEN",SWIG_From_int(static_cast< int >((0x108000+(0x0b)))));
  SWIG_Python_SetConstant(d, "CSKEY_PAUSE",SWIG_From_int(static_cast< int >((0x108000+(0x0c)))));
  SWIG_Python_SetConstant(d, "CSKEY_F1",SWIG_From_int(static_cast< int >((0x108000+(0x10)))));
  SWIG_Python_SetConstant(d, "CSKEY_F2",SWIG_From_int(static_cast< int >((0x108000+(0x11)))));
  SWIG_Python_SetConstant(d, "CSKEY_F3",SWIG_From_int(static_cast< int >((0x108000+(0x12)))));
  SWIG_Python_SetConstant(d, "CSKEY_F4",SWIG_From_int(static_cast< int >((0x108000+(0x13)))));
  SWIG_Python_SetConstant(d, "CSKEY_F5",SWIG_From_int(static_cast< int >((0x108000+(0x14)))));
  SWIG_Python_SetConstant(d, "CSKEY_F6",SWIG_From_int(static_cast< int >((0x108000+(0x15)))));
  SWIG_Python_SetConstant(d, "CSKEY_F7",SWIG_From_int(static_cast< int >((0x108000+(0x16)))));
  SWIG_Python_SetConstant(d, "CSKEY_F8",SWIG_From_int(static_cast< int >((0x108000+(0x17)))));
  SWIG_Python_SetConstant(d, "CSKEY_F9",SWIG_From_int(static_cast< int >((0x108000+(0x18)))));
  SWIG_Python_SetConstant(d, "CSKEY_F10",SWIG_From_int(static_cast< int >((0x108000+(0x19)))));
  SWIG_Python_SetConstant(d, "CSKEY_F11",SWIG_From_int(static_cast< int >((0x108000+(0x1a)))));
  SWIG_Python_SetConstant(d, "CSKEY_F12",SWIG_From_int(static_cast< int >((0x108000+(0x1b)))));
  SWIG_Python_SetConstant(d, "CSKEY_MODIFIER_FIRST",SWIG_From_int(static_cast< int >(0x2000)));
  SWIG_Python_SetConstant(d, "CSKEY_MODIFIER_LAST",SWIG_From_int(static_cast< int >(0x3fff)));
  SWIG_Python_SetConstant(d, "CSKEY_MODIFIERTYPE_SHIFT",SWIG_From_int(static_cast< int >(5)));
  SWIG_Python_SetConstant(d, "CSKEY_PAD_FLAG",SWIG_From_int(static_cast< int >(0x4000)));
  SWIG_Python_SetConstant(d, "csKeyCharTypeNormal",SWIG_From_int(static_cast< int >(csKeyCharTypeNormal)));
  SWIG_Python_SetConstant(d, "csKeyCharTypeDead",SWIG_From_int(static_cast< int >(csKeyCharTypeDead)));
  SWIG_Python_SetConstant(d, "CSEVTYPE_Keyboard",SWIG_From_int(static_cast< int >(0x00000001)));
  SWIG_Python_SetConstant(d, "CSEVTYPE_Mouse",SWIG_From_int(static_cast< int >(0x00000002)));
  SWIG_Python_SetConstant(d, "CSEVTYPE_Joystick",SWIG_From_int(static_cast< int >(0x00000004)));
  SWIG_Python_SetConstant(d, "csComposeNoChar",SWIG_From_int(static_cast< int >(csComposeNoChar)));
  SWIG_Python_SetConstant(d, "csComposeNormalChar",SWIG_From_int(static_cast< int >(csComposeNormalChar)));
  SWIG_Python_SetConstant(d, "csComposeComposedChar",SWIG_From_int(static_cast< int >(csComposeComposedChar)));
  SWIG_Python_SetConstant(d, "csComposeUncomposeable",SWIG_From_int(static_cast< int >(csComposeUncomposeable)));
  SWIG_Python_SetConstant(d, "iConfigManager_PriorityMin",SWIG_From_int(static_cast< int >(iConfigManager::PriorityMin)));
  SWIG_Python_SetConstant(d, "iConfigManager_PriorityVeryLow",SWIG_From_int(static_cast< int >(iConfigManager::PriorityVeryLow)));
  SWIG_Python_SetConstant(d, "iConfigManager_PriorityLow",SWIG_From_int(static_cast< int >(iConfigManager::PriorityLow)));
  SWIG_Python_SetConstant(d, "iConfigManager_PriorityMedium",SWIG_From_int(static_cast< int >(iConfigManager::PriorityMedium)));
  SWIG_Python_SetConstant(d, "iConfigManager_PriorityHigh",SWIG_From_int(static_cast< int >(iConfigManager::PriorityHigh)));
  SWIG_Python_SetConstant(d, "iConfigManager_PriorityVeryHigh",SWIG_From_int(static_cast< int >(iConfigManager::PriorityVeryHigh)));
  SWIG_Python_SetConstant(d, "iConfigManager_PriorityMax",SWIG_From_int(static_cast< int >(iConfigManager::PriorityMax)));
  SWIG_Python_SetConstant(d, "iConfigManager_ConfigPriorityPlugin",SWIG_From_int(static_cast< int >(iConfigManager::ConfigPriorityPlugin)));
  SWIG_Python_SetConstant(d, "iConfigManager_ConfigPriorityApplication",SWIG_From_int(static_cast< int >(iConfigManager::ConfigPriorityApplication)));
  SWIG_Python_SetConstant(d, "iConfigManager_ConfigPriorityUserGlobal",SWIG_From_int(static_cast< int >(iConfigManager::ConfigPriorityUserGlobal)));
  SWIG_Python_SetConstant(d, "iConfigManager_ConfigPriorityUserApp",SWIG_From_int(static_cast< int >(iConfigManager::ConfigPriorityUserApp)));
  SWIG_Python_SetConstant(d, "iConfigManager_ConfigPriorityCmdLine",SWIG_From_int(static_cast< int >(iConfigManager::ConfigPriorityCmdLine)));
  SWIG_Python_SetConstant(d, "CS_NODE_DOCUMENT",SWIG_From_int(static_cast< int >(CS_NODE_DOCUMENT)));
  SWIG_Python_SetConstant(d, "CS_NODE_ELEMENT",SWIG_From_int(static_cast< int >(CS_NODE_ELEMENT)));
  SWIG_Python_SetConstant(d, "CS_NODE_COMMENT",SWIG_From_int(static_cast< int >(CS_NODE_COMMENT)));
  SWIG_Python_SetConstant(d, "CS_NODE_UNKNOWN",SWIG_From_int(static_cast< int >(CS_NODE_UNKNOWN)));
  SWIG_Python_SetConstant(d, "CS_NODE_TEXT",SWIG_From_int(static_cast< int >(CS_NODE_TEXT)));
  SWIG_Python_SetConstant(d, "CS_NODE_DECLARATION",SWIG_From_int(static_cast< int >(CS_NODE_DECLARATION)));
  SWIG_Python_SetConstant(d, "CS_CHANGEABLE_NEVER",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_CHANGEABLE_NEWROOT",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_CHANGEABLE_YES",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_WRITE_BASELINE",SWIG_From_int(static_cast< int >(CS_WRITE_BASELINE)));
  SWIG_Python_SetConstant(d, "CS_WRITE_NOANTIALIAS",SWIG_From_int(static_cast< int >(CS_WRITE_NOANTIALIAS)));
  SWIG_Python_SetConstant(d, "CSDRAW_2DGRAPHICS",SWIG_From_int(static_cast< int >(0x00000001)));
  SWIG_Python_SetConstant(d, "CSDRAW_3DGRAPHICS",SWIG_From_int(static_cast< int >(0x00000002)));
  SWIG_Python_SetConstant(d, "CSDRAW_CLEARZBUFFER",SWIG_From_int(static_cast< int >(0x00000010)));
  SWIG_Python_SetConstant(d, "CSDRAW_CLEARSCREEN",SWIG_From_int(static_cast< int >(0x00000020)));
  SWIG_Python_SetConstant(d, "CS_CLIPPER_NONE",SWIG_From_int(static_cast< int >(-1)));
  SWIG_Python_SetConstant(d, "CS_CLIPPER_OPTIONAL",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_CLIPPER_TOPLEVEL",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_CLIPPER_REQUIRED",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_CLIP_NOT",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_CLIP_NEEDED",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_ZBUF_NONE",SWIG_From_int(static_cast< int >(CS_ZBUF_NONE)));
  SWIG_Python_SetConstant(d, "CS_ZBUF_FILL",SWIG_From_int(static_cast< int >(CS_ZBUF_FILL)));
  SWIG_Python_SetConstant(d, "CS_ZBUF_TEST",SWIG_From_int(static_cast< int >(CS_ZBUF_TEST)));
  SWIG_Python_SetConstant(d, "CS_ZBUF_USE",SWIG_From_int(static_cast< int >(CS_ZBUF_USE)));
  SWIG_Python_SetConstant(d, "CS_ZBUF_EQUAL",SWIG_From_int(static_cast< int >(CS_ZBUF_EQUAL)));
  SWIG_Python_SetConstant(d, "CS_ZBUF_INVERT",SWIG_From_int(static_cast< int >(CS_ZBUF_INVERT)));
  SWIG_Python_SetConstant(d, "CS_ZBUF_MESH",SWIG_From_int(static_cast< int >(CS_ZBUF_MESH)));
  SWIG_Python_SetConstant(d, "CS_ZBUF_MESH2",SWIG_From_int(static_cast< int >(CS_ZBUF_MESH2)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_SPECIFIC_FIRST",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_SPECIFIC_LAST",SWIG_From_int(static_cast< int >(15)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_GENERIC_FIRST",SWIG_From_int(static_cast< int >(100)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_GENERIC_LAST",SWIG_From_int(static_cast< int >((100+15))));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_UNUSED",SWIG_From_int(static_cast< int >(CS_VATTRIB_UNUSED)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_INVALID",SWIG_From_int(static_cast< int >(CS_VATTRIB_INVALID)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_POSITION",SWIG_From_int(static_cast< int >(CS_VATTRIB_POSITION)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_WEIGHT",SWIG_From_int(static_cast< int >(CS_VATTRIB_WEIGHT)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_NORMAL",SWIG_From_int(static_cast< int >(CS_VATTRIB_NORMAL)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_COLOR",SWIG_From_int(static_cast< int >(CS_VATTRIB_COLOR)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_PRIMARY_COLOR",SWIG_From_int(static_cast< int >(CS_VATTRIB_PRIMARY_COLOR)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_SECONDARY_COLOR",SWIG_From_int(static_cast< int >(CS_VATTRIB_SECONDARY_COLOR)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_FOGCOORD",SWIG_From_int(static_cast< int >(CS_VATTRIB_FOGCOORD)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_TEXCOORD",SWIG_From_int(static_cast< int >(CS_VATTRIB_TEXCOORD)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_TEXCOORD0",SWIG_From_int(static_cast< int >(CS_VATTRIB_TEXCOORD0)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_TEXCOORD1",SWIG_From_int(static_cast< int >(CS_VATTRIB_TEXCOORD1)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_TEXCOORD2",SWIG_From_int(static_cast< int >(CS_VATTRIB_TEXCOORD2)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_TEXCOORD3",SWIG_From_int(static_cast< int >(CS_VATTRIB_TEXCOORD3)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_TEXCOORD4",SWIG_From_int(static_cast< int >(CS_VATTRIB_TEXCOORD4)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_TEXCOORD5",SWIG_From_int(static_cast< int >(CS_VATTRIB_TEXCOORD5)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_TEXCOORD6",SWIG_From_int(static_cast< int >(CS_VATTRIB_TEXCOORD6)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_TEXCOORD7",SWIG_From_int(static_cast< int >(CS_VATTRIB_TEXCOORD7)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_0",SWIG_From_int(static_cast< int >(CS_VATTRIB_0)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_1",SWIG_From_int(static_cast< int >(CS_VATTRIB_1)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_2",SWIG_From_int(static_cast< int >(CS_VATTRIB_2)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_3",SWIG_From_int(static_cast< int >(CS_VATTRIB_3)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_4",SWIG_From_int(static_cast< int >(CS_VATTRIB_4)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_5",SWIG_From_int(static_cast< int >(CS_VATTRIB_5)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_6",SWIG_From_int(static_cast< int >(CS_VATTRIB_6)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_7",SWIG_From_int(static_cast< int >(CS_VATTRIB_7)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_8",SWIG_From_int(static_cast< int >(CS_VATTRIB_8)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_9",SWIG_From_int(static_cast< int >(CS_VATTRIB_9)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_10",SWIG_From_int(static_cast< int >(CS_VATTRIB_10)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_11",SWIG_From_int(static_cast< int >(CS_VATTRIB_11)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_12",SWIG_From_int(static_cast< int >(CS_VATTRIB_12)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_13",SWIG_From_int(static_cast< int >(CS_VATTRIB_13)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_14",SWIG_From_int(static_cast< int >(CS_VATTRIB_14)));
  SWIG_Python_SetConstant(d, "CS_VATTRIB_15",SWIG_From_int(static_cast< int >(CS_VATTRIB_15)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_TYPE_AUTO",SWIG_From_int(static_cast< int >((0x00000000))));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_TYPE_BLENDOP",SWIG_From_int(static_cast< int >((0x40000000))));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_TYPE_MESH",SWIG_From_int(static_cast< int >((0x80000000))));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_TYPE_MASK",SWIG_From_int(static_cast< int >((0xc0000000))));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_ZERO",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_ZERO)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_ONE",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_ONE)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_SRCCOLOR",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_SRCCOLOR)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_SRCCOLOR_INV",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_SRCCOLOR_INV)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_DSTCOLOR",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_DSTCOLOR)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_DSTCOLOR_INV",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_DSTCOLOR_INV)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_SRCALPHA",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_SRCALPHA)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_SRCALPHA_INV",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_SRCALPHA_INV)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_DSTALPHA",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_DSTALPHA)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_DSTALPHA_INV",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_DSTALPHA_INV)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_COUNT",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_COUNT)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_FACT_MASK",SWIG_From_int(static_cast< int >(CS_MIXMODE_FACT_MASK)));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_ALPHATEST_AUTO",SWIG_From_int(static_cast< int >((0x00000000))));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_ALPHATEST_ENABLE",SWIG_From_int(static_cast< int >((0x10000000))));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_ALPHATEST_DISABLE",SWIG_From_int(static_cast< int >((0x20000000))));
  SWIG_Python_SetConstant(d, "CS_MIXMODE_ALPHATEST_MASK",SWIG_From_int(static_cast< int >((0x30000000))));
  SWIG_Python_SetConstant(d, "CS_FX_COPY",SWIG_From_int(static_cast< int >(((0x00000000)|(0x00000000)))));
  SWIG_Python_SetConstant(d, "CS_FX_MESH",SWIG_From_int(static_cast< int >(((0x80000000)))));
  SWIG_Python_SetConstant(d, "CS_FX_FLAT",SWIG_From_int(static_cast< int >((0x04000000))));
  SWIG_Python_SetConstant(d, "CS_FX_MASK_ALPHA",SWIG_From_int(static_cast< int >((0x000000FF))));
  SWIG_Python_SetConstant(d, "CS_FX_MASK_MIXMODE",SWIG_From_int(static_cast< int >((0xf0ff0000))));
  SWIG_Python_SetConstant(d, "csAlphaMode_alphaNone",SWIG_From_int(static_cast< int >(csAlphaMode::alphaNone)));
  SWIG_Python_SetConstant(d, "csAlphaMode_alphaBinary",SWIG_From_int(static_cast< int >(csAlphaMode::alphaBinary)));
  SWIG_Python_SetConstant(d, "csAlphaMode_alphaSmooth",SWIG_From_int(static_cast< int >(csAlphaMode::alphaSmooth)));
  SWIG_Python_SetConstant(d, "CS_LIGHTPARAM_POSITION",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_LIGHTPARAM_DIFFUSE",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_LIGHTPARAM_SPECULAR",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_LIGHTPARAM_ATTENUATION",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "CS_SHADOW_VOLUME_BEGIN",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_SHADOW_VOLUME_PASS1",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_SHADOW_VOLUME_PASS2",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "CS_SHADOW_VOLUME_FAIL1",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "CS_SHADOW_VOLUME_FAIL2",SWIG_From_int(static_cast< int >(5)));
  SWIG_Python_SetConstant(d, "CS_SHADOW_VOLUME_USE",SWIG_From_int(static_cast< int >(6)));
  SWIG_Python_SetConstant(d, "CS_SHADOW_VOLUME_FINISH",SWIG_From_int(static_cast< int >(7)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_ZBUFFERMODE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_ZBUFFERMODE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_DITHERENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_DITHERENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_BILINEARMAPPINGENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_BILINEARMAPPINGENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_TRILINEARMAPPINGENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_TRILINEARMAPPINGENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_TRANSPARENCYENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_TRANSPARENCYENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_MIPMAPENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_MIPMAPENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_TEXTUREMAPPINGENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_TEXTUREMAPPINGENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_LIGHTINGENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_LIGHTINGENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_INTERLACINGENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_INTERLACINGENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_MMXENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_MMXENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_INTERPOLATIONSTEP",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_INTERPOLATIONSTEP)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_MAXPOLYGONSTODRAW",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_MAXPOLYGONSTODRAW)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_GOURAUDENABLE",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_GOURAUDENABLE)));
  SWIG_Python_SetConstant(d, "G3DRENDERSTATE_EDGES",SWIG_From_int(static_cast< int >(G3DRENDERSTATE_EDGES)));
  SWIG_Python_SetConstant(d, "CS_MESHTYPE_TRIANGLES",SWIG_From_int(static_cast< int >(CS_MESHTYPE_TRIANGLES)));
  SWIG_Python_SetConstant(d, "CS_MESHTYPE_QUADS",SWIG_From_int(static_cast< int >(CS_MESHTYPE_QUADS)));
  SWIG_Python_SetConstant(d, "CS_MESHTYPE_TRIANGLESTRIP",SWIG_From_int(static_cast< int >(CS_MESHTYPE_TRIANGLESTRIP)));
  SWIG_Python_SetConstant(d, "CS_MESHTYPE_TRIANGLEFAN",SWIG_From_int(static_cast< int >(CS_MESHTYPE_TRIANGLEFAN)));
  SWIG_Python_SetConstant(d, "CS_MESHTYPE_POINTS",SWIG_From_int(static_cast< int >(CS_MESHTYPE_POINTS)));
  SWIG_Python_SetConstant(d, "CS_MESHTYPE_POINT_SPRITES",SWIG_From_int(static_cast< int >(CS_MESHTYPE_POINT_SPRITES)));
  SWIG_Python_SetConstant(d, "CS_MESHTYPE_LINES",SWIG_From_int(static_cast< int >(CS_MESHTYPE_LINES)));
  SWIG_Python_SetConstant(d, "CS_MESHTYPE_LINESTRIP",SWIG_From_int(static_cast< int >(CS_MESHTYPE_LINESTRIP)));
  SWIG_Python_SetConstant(d, "csSimpleMeshScreenspace",SWIG_From_int(static_cast< int >(csSimpleMeshScreenspace)));
  SWIG_Python_SetConstant(d, "CS_OPENPORTAL_ZFILL",SWIG_From_int(static_cast< int >(CS_OPENPORTAL_ZFILL)));
  SWIG_Python_SetConstant(d, "CS_OPENPORTAL_MIRROR",SWIG_From_int(static_cast< int >(CS_OPENPORTAL_MIRROR)));
  SWIG_Python_SetConstant(d, "CS_OPENPORTAL_FLOAT",SWIG_From_int(static_cast< int >(CS_OPENPORTAL_FLOAT)));
  SWIG_Python_SetConstant(d, "csmcNone",SWIG_From_int(static_cast< int >(csmcNone)));
  SWIG_Python_SetConstant(d, "csmcArrow",SWIG_From_int(static_cast< int >(csmcArrow)));
  SWIG_Python_SetConstant(d, "csmcLens",SWIG_From_int(static_cast< int >(csmcLens)));
  SWIG_Python_SetConstant(d, "csmcCross",SWIG_From_int(static_cast< int >(csmcCross)));
  SWIG_Python_SetConstant(d, "csmcPen",SWIG_From_int(static_cast< int >(csmcPen)));
  SWIG_Python_SetConstant(d, "csmcMove",SWIG_From_int(static_cast< int >(csmcMove)));
  SWIG_Python_SetConstant(d, "csmcSizeNWSE",SWIG_From_int(static_cast< int >(csmcSizeNWSE)));
  SWIG_Python_SetConstant(d, "csmcSizeNESW",SWIG_From_int(static_cast< int >(csmcSizeNESW)));
  SWIG_Python_SetConstant(d, "csmcSizeNS",SWIG_From_int(static_cast< int >(csmcSizeNS)));
  SWIG_Python_SetConstant(d, "csmcSizeEW",SWIG_From_int(static_cast< int >(csmcSizeEW)));
  SWIG_Python_SetConstant(d, "csmcStop",SWIG_From_int(static_cast< int >(csmcStop)));
  SWIG_Python_SetConstant(d, "csmcWait",SWIG_From_int(static_cast< int >(csmcWait)));
  SWIG_Python_SetConstant(d, "CS_ALERT_ERROR",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_ALERT_WARNING",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_ALERT_NOTE",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "CSFONT_LARGE",SWIG_FromCharPtr("*large"));
  SWIG_Python_SetConstant(d, "CSFONT_ITALIC",SWIG_FromCharPtr("*italic"));
  SWIG_Python_SetConstant(d, "CSFONT_COURIER",SWIG_FromCharPtr("*courier"));
  SWIG_Python_SetConstant(d, "CSFONT_SMALL",SWIG_FromCharPtr("*small"));
  SWIG_Python_SetConstant(d, "CS_FONT_DEFAULT_GLYPH",SWIG_From_int(static_cast< int >(0xffff)));
  SWIG_Python_SetConstant(d, "TagNeutral",SWIG_From_int(static_cast< int >(TagNeutral)));
  SWIG_Python_SetConstant(d, "TagForbidden",SWIG_From_int(static_cast< int >(TagForbidden)));
  SWIG_Python_SetConstant(d, "TagRequired",SWIG_From_int(static_cast< int >(TagRequired)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEX_IMG_1D",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEX_IMG_1D)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEX_IMG_2D",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEX_IMG_2D)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEX_IMG_3D",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEX_IMG_3D)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEX_IMG_CUBEMAP",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEX_IMG_CUBEMAP)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEX_IMG_RECT",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEX_IMG_RECT)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEXTURE_CUBE_POS_X",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEXTURE_CUBE_POS_X)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEXTURE_CUBE_NEG_X",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEXTURE_CUBE_NEG_X)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEXTURE_CUBE_POS_Y",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEXTURE_CUBE_POS_Y)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEXTURE_CUBE_NEG_Y",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEXTURE_CUBE_NEG_Y)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEXTURE_CUBE_POS_Z",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEXTURE_CUBE_POS_Z)));
  SWIG_Python_SetConstant(d, "iTextureHandle_CS_TEXTURE_CUBE_NEG_Z",SWIG_From_int(static_cast< int >(iTextureHandle::CS_TEXTURE_CUBE_NEG_Z)));
  SWIG_Python_SetConstant(d, "iTextureHandle_RGBA8888",SWIG_From_int(static_cast< int >(iTextureHandle::RGBA8888)));
  SWIG_Python_SetConstant(d, "iTextureHandle_BGRA8888",SWIG_From_int(static_cast< int >(iTextureHandle::BGRA8888)));
  SWIG_Python_SetConstant(d, "CS_TEXTURE_2D",SWIG_From_int(static_cast< int >(0x00000001)));
  SWIG_Python_SetConstant(d, "CS_TEXTURE_3D",SWIG_From_int(static_cast< int >(0x00000002)));
  SWIG_Python_SetConstant(d, "CS_TEXTURE_NOMIPMAPS",SWIG_From_int(static_cast< int >(0x00000008)));
  SWIG_Python_SetConstant(d, "CS_TEXTURE_CLAMP",SWIG_From_int(static_cast< int >(0x00000010)));
  SWIG_Python_SetConstant(d, "CS_TEXTURE_NOFILTER",SWIG_From_int(static_cast< int >(0x00000020)));
  SWIG_Python_SetConstant(d, "CS_TEXTURE_NPOTS",SWIG_From_int(static_cast< int >(0x00000040)));
  SWIG_Python_SetConstant(d, "CS_TEXTURE_SCALE_UP",SWIG_From_int(static_cast< int >(0x00000080)));
  SWIG_Python_SetConstant(d, "CS_TEXTURE_SCALE_DOWN",SWIG_From_int(static_cast< int >(0x00000100)));
  SWIG_Python_SetConstant(d, "CS_MATERIAL_VARNAME_FLATCOLOR",SWIG_FromCharPtr("mat flatcolor"));
  SWIG_Python_SetConstant(d, "CS_MATERIAL_TEXTURE_DIFFUSE",SWIG_FromCharPtr("tex diffuse"));
  SWIG_Python_SetConstant(d, "CS_IMGFMT_MASK",SWIG_From_int(static_cast< int >((0x0000ffff))));
  SWIG_Python_SetConstant(d, "CS_IMGFMT_NONE",SWIG_From_int(static_cast< int >((0x00000000))));
  SWIG_Python_SetConstant(d, "CS_IMGFMT_TRUECOLOR",SWIG_From_int(static_cast< int >((0x00000001))));
  SWIG_Python_SetConstant(d, "CS_IMGFMT_PALETTED8",SWIG_From_int(static_cast< int >((0x00000002))));
  SWIG_Python_SetConstant(d, "CS_IMGFMT_ANY",SWIG_From_int(static_cast< int >(((0x0000ffff)))));
  SWIG_Python_SetConstant(d, "CS_IMGFMT_ALPHA",SWIG_From_int(static_cast< int >((0x00010000))));
  SWIG_Python_SetConstant(d, "CS_IMGFMT_INVALID",SWIG_From_int(static_cast< int >((0x80000000))));
  SWIG_Python_SetConstant(d, "csimg2D",SWIG_From_int(static_cast< int >(csimg2D)));
  SWIG_Python_SetConstant(d, "csimg3D",SWIG_From_int(static_cast< int >(csimg3D)));
  SWIG_Python_SetConstant(d, "csimgCube",SWIG_From_int(static_cast< int >(csimgCube)));
  SWIG_Python_SetConstant(d, "CS_IMAGEIO_LOAD",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_IMAGEIO_SAVE",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_REPORTER_SEVERITY_BUG",SWIG_From_int(static_cast< int >(0)));
  SWIG_Python_SetConstant(d, "CS_REPORTER_SEVERITY_ERROR",SWIG_From_int(static_cast< int >(1)));
  SWIG_Python_SetConstant(d, "CS_REPORTER_SEVERITY_WARNING",SWIG_From_int(static_cast< int >(2)));
  SWIG_Python_SetConstant(d, "CS_REPORTER_SEVERITY_NOTIFY",SWIG_From_int(static_cast< int >(3)));
  SWIG_Python_SetConstant(d, "CS_REPORTER_SEVERITY_DEBUG",SWIG_From_int(static_cast< int >(4)));
  SWIG_Python_SetConstant(d, "csConPageUp",SWIG_From_int(static_cast< int >(csConPageUp)));
  SWIG_Python_SetConstant(d, "csConPageDown",SWIG_From_int(static_cast< int >(csConPageDown)));
  SWIG_Python_SetConstant(d, "csConVeryTop",SWIG_From_int(static_cast< int >(csConVeryTop)));
  SWIG_Python_SetConstant(d, "csConVeryBottom",SWIG_From_int(static_cast< int >(csConVeryBottom)));
  SWIG_Python_SetConstant(d, "csConNoCursor",SWIG_From_int(static_cast< int >(csConNoCursor)));
  SWIG_Python_SetConstant(d, "csConNormalCursor",SWIG_From_int(static_cast< int >(csConNormalCursor)));
  SWIG_Python_SetConstant(d, "csConInsertCursor",SWIG_From_int(static_cast< int >(csConInsertCursor)));
  SWIG_Python_SetConstant(d, "CS_MESH_COLLIDER",SWIG_From_int(static_cast< int >(CS_MESH_COLLIDER)));
  SWIG_Python_SetConstant(d, "CS_TERRAFORMER_COLLIDER",SWIG_From_int(static_cast< int >(CS_TERRAFORMER_COLLIDER)));
  SWIG_Python_SetConstant(d, "NO_GEOMETRY",SWIG_From_int(static_cast< int >(NO_GEOMETRY)));
  SWIG_Python_SetConstant(d, "BOX_COLLIDER_GEOMETRY",SWIG_From_int(static_cast< int >(BOX_COLLIDER_GEOMETRY)));
  SWIG_Python_SetConstant(d, "PLANE_COLLIDER_GEOMETRY",SWIG_From_int(static_cast< int >(PLANE_COLLIDER_GEOMETRY)));
  SWIG_Python_SetConstant(d, "TRIMESH_COLLIDER_GEOMETRY",SWIG_From_int(static_cast< int >(TRIMESH_COLLIDER_GEOMETRY)));
  SWIG_Python_SetConstant(d, "CYLINDER_COLLIDER_GEOMETRY",SWIG_From_int(static_cast< int >(CYLINDER_COLLIDER_GEOMETRY)));
  SWIG_Python_SetConstant(d, "SPHERE_COLLIDER_GEOMETRY",SWIG_From_int(static_cast< int >(SPHERE_COLLIDER_GEOMETRY)));
  SWIG_Python_SetConstant(d, "CS_ODE_JOINT_TYPE_UNKNOWN",SWIG_From_int(static_cast< int >(CS_ODE_JOINT_TYPE_UNKNOWN)));
  SWIG_Python_SetConstant(d, "CS_ODE_JOINT_TYPE_BALL",SWIG_From_int(static_cast< int >(CS_ODE_JOINT_TYPE_BALL)));
  SWIG_Python_SetConstant(d, "CS_ODE_JOINT_TYPE_HINGE",SWIG_From_int(static_cast< int >(CS_ODE_JOINT_TYPE_HINGE)));
  SWIG_Python_SetConstant(d, "CS_ODE_JOINT_TYPE_SLIDER",SWIG_From_int(static_cast< int >(CS_ODE_JOINT_TYPE_SLIDER)));
  SWIG_Python_SetConstant(d, "CS_ODE_JOINT_TYPE_CONTACT",SWIG_From_int(static_cast< int >(CS_ODE_JOINT_TYPE_CONTACT)));
  SWIG_Python_SetConstant(d, "CS_ODE_JOINT_TYPE_UNIVERSAL",SWIG_From_int(static_cast< int >(CS_ODE_JOINT_TYPE_UNIVERSAL)));
  SWIG_Python_SetConstant(d, "CS_ODE_JOINT_TYPE_HINGE2",SWIG_From_int(static_cast< int >(CS_ODE_JOINT_TYPE_HINGE2)));
  SWIG_Python_SetConstant(d, "CS_ODE_JOINT_TYPE_FIXED",SWIG_From_int(static_cast< int >(CS_ODE_JOINT_TYPE_FIXED)));
  SWIG_Python_SetConstant(d, "CS_ODE_JOINT_TYPE_AMOTOR",SWIG_From_int(static_cast< int >(CS_ODE_JOINT_TYPE_AMOTOR)));
  SWIG_Python_SetConstant(d, "CS_ODE_AMOTOR_MODE_UNKNOWN",SWIG_From_int(static_cast< int >(CS_ODE_AMOTOR_MODE_UNKNOWN)));
  SWIG_Python_SetConstant(d, "CS_ODE_AMOTOR_MODE_USER",SWIG_From_int(static_cast< int >(CS_ODE_AMOTOR_MODE_USER)));
  SWIG_Python_SetConstant(d, "CS_ODE_AMOTOR_MODE_EULER",SWIG_From_int(static_cast< int >(CS_ODE_AMOTOR_MODE_EULER)));
  SWIG_Python_SetConstant(d, "CS_ODE_AMOTOR_MODE_LAST",SWIG_From_int(static_cast< int >(CS_ODE_AMOTOR_MODE_LAST)));
  SWIG_Python_SetConstant(d, "CS_SEQUENCE_LIGHTCHANGE_NONE",SWIG_From_int(static_cast< int >(CS_SEQUENCE_LIGHTCHANGE_NONE)));
  SWIG_Python_SetConstant(d, "CS_SEQUENCE_LIGHTCHANGE_LESS",SWIG_From_int(static_cast< int >(CS_SEQUENCE_LIGHTCHANGE_LESS)));
  SWIG_Python_SetConstant(d, "CS_SEQUENCE_LIGHTCHANGE_GREATER",SWIG_From_int(static_cast< int >(CS_SEQUENCE_LIGHTCHANGE_GREATER)));
}

